AWS::DMS::ReplicationSubnetGroupThe `AWS::DMS::ReplicationSubnetGroup` resource creates an AWS DMS replication subnet group. Subnet groups must contain at least two subnets in two different Availability Zones in the same AWS Region . > Resource creation fails if the `dms-vpc-role` AWS Identity and Access Management ( IAM ) role doesn't already exist. For more information, see [Creating the IAM Roles to Use With the AWS CLI and AWS DMS API](https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Security.APIRole.html) in the *AWS Database Migration Service User Guide* .
import { CfnReplicationSubnetGroup } from 'aws-cdk-lib/aws-dms';Or use the module namespace:
import * as dms from 'aws-cdk-lib/aws-dms';
// dms.CfnReplicationSubnetGroupConfiguration passed to the constructor as CfnReplicationSubnetGroupProps.
replicationSubnetGroupDescriptionRequiredstringThe description for the subnet group.
subnetIdsRequiredstring[]One or more subnet IDs to be assigned to the subnet group.
replicationSubnetGroupIdentifierOptionalstringThe identifier for the replication subnet group. If you don't specify a name, CloudFormation generates a unique ID and uses that ID for the identifier.
tagsOptionalCfnTag[]One or more tags to be assigned to the subnet group.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-dmsAWS::DMS::ReplicationSubnetGroup