CfnEndpointAccessProps

class aws_cdk.aws_redshift.CfnEndpointAccessProps(*, endpoint_name, vpc_security_group_ids, cluster_identifier=None, resource_owner=None, subnet_group_name=None)

Bases: object

Properties for defining a CfnEndpointAccess.

Parameters
  • endpoint_name (str) – The name of the endpoint.

  • vpc_security_group_ids (Sequence[str]) – The security group that defines the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint.

  • cluster_identifier (Optional[str]) – The cluster identifier of the cluster associated with the endpoint.

  • resource_owner (Optional[str]) – The AWS account ID of the owner of the cluster.

  • subnet_group_name (Optional[str]) – The subnet group name where Amazon Redshift chooses to deploy the endpoint.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-endpointaccess.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_access_props = redshift.CfnEndpointAccessProps(
    endpoint_name="endpointName",
    vpc_security_group_ids=["vpcSecurityGroupIds"],

    # the properties below are optional
    cluster_identifier="clusterIdentifier",
    resource_owner="resourceOwner",
    subnet_group_name="subnetGroupName"
)

Attributes

cluster_identifier

The cluster identifier of the cluster associated with the endpoint.

Link

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

Return type

Optional[str]

endpoint_name

The name of the endpoint.

Link

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

Return type

str

resource_owner

The AWS account ID of the owner of the cluster.

Link

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

Return type

Optional[str]

subnet_group_name

The subnet group name where Amazon Redshift chooses to deploy the endpoint.

Link

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

Return type

Optional[str]

vpc_security_group_ids

The security group that defines the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint.

Link

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

Return type

List[str]