CfnEndpointAuthorizationProps

class aws_cdk.aws_redshift.CfnEndpointAuthorizationProps(*, account, cluster_identifier, force=None, vpc_ids=None)

Bases: object

Properties for defining a CfnEndpointAuthorization.

Parameters:
  • account (str) – The AWS account ID of either the cluster owner (grantor) or grantee. If Grantee parameter is true, then the Account value is of the grantor.

  • cluster_identifier (str) – The cluster identifier.

  • force (Union[bool, IResolvable, None]) – Indicates whether to force the revoke action. If true, the Redshift-managed VPC endpoints associated with the endpoint authorization are also deleted.

  • vpc_ids (Optional[Sequence[str]]) – The virtual private cloud (VPC) identifiers to grant access to.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-endpointauthorization.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_redshift as redshift

cfn_endpoint_authorization_props = redshift.CfnEndpointAuthorizationProps(
    account="account",
    cluster_identifier="clusterIdentifier",

    # the properties below are optional
    force=False,
    vpc_ids=["vpcIds"]
)

Attributes

account

The AWS account ID of either the cluster owner (grantor) or grantee.

If Grantee parameter is true, then the Account value is of the grantor.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-endpointauthorization.html#cfn-redshift-endpointauthorization-account

cluster_identifier

The cluster identifier.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-endpointauthorization.html#cfn-redshift-endpointauthorization-clusteridentifier

force

Indicates whether to force the revoke action.

If true, the Redshift-managed VPC endpoints associated with the endpoint authorization are also deleted.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-endpointauthorization.html#cfn-redshift-endpointauthorization-force

vpc_ids

The virtual private cloud (VPC) identifiers to grant access to.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-endpointauthorization.html#cfn-redshift-endpointauthorization-vpcids