CfnReplicationSubnetGroupProps

class aws_cdk.aws_dms.CfnReplicationSubnetGroupProps(*, replication_subnet_group_description, subnet_ids, replication_subnet_group_identifier=None, tags=None)

Bases: object

Properties for defining a CfnReplicationSubnetGroup.

Parameters
  • replication_subnet_group_description (str) – The description for the subnet group.

  • subnet_ids (Sequence[str]) – One or more subnet IDs to be assigned to the subnet group.

  • replication_subnet_group_identifier (Optional[str]) – The identifier for the replication subnet group. If you don’t specify a name, AWS CloudFormation generates a unique ID and uses that ID for the identifier.

  • tags (Optional[Sequence[CfnTag]]) – One or more tags to be assigned to the subnet group.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-replicationsubnetgroup.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_dms as dms

cfn_replication_subnet_group_props = dms.CfnReplicationSubnetGroupProps(
    replication_subnet_group_description="replicationSubnetGroupDescription",
    subnet_ids=["subnetIds"],

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

Attributes

replication_subnet_group_description

The description for the subnet group.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-replicationsubnetgroup.html#cfn-dms-replicationsubnetgroup-replicationsubnetgroupdescription

Return type

str

replication_subnet_group_identifier

The identifier for the replication subnet group.

If you don’t specify a name, AWS CloudFormation generates a unique ID and uses that ID for the identifier.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-replicationsubnetgroup.html#cfn-dms-replicationsubnetgroup-replicationsubnetgroupidentifier

Return type

Optional[str]

subnet_ids

One or more subnet IDs to be assigned to the subnet group.

Link

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

Return type

List[str]

tags

One or more tags to be assigned to the subnet group.

Link

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

Return type

Optional[List[CfnTag]]