CfnClusterSubnetGroupProps

class aws_cdk.aws_redshift.CfnClusterSubnetGroupProps(*, description, subnet_ids, tags=None)

Bases: object

Properties for defining a CfnClusterSubnetGroup.

Parameters:
  • description (str) – A description for the subnet group.

  • subnet_ids (Sequence[str]) – An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – Specifies an arbitrary set of tags (key–value pairs) to associate with this subnet group. Use tags to manage your resources.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-clustersubnetgroup.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_cluster_subnet_group_props = redshift.CfnClusterSubnetGroupProps(
    description="description",
    subnet_ids=["subnetIds"],

    # the properties below are optional
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

description

A description for the subnet group.

Link:

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

subnet_ids

An array of VPC subnet IDs.

A maximum of 20 subnets can be modified in a single request.

Link:

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

tags

Specifies an arbitrary set of tags (key–value pairs) to associate with this subnet group.

Use tags to manage your resources.

Link:

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