Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can click “Customize cookies” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To continue without accepting these cookies, click “Continue without accepting.” To make more detailed choices or learn more, click “Customize cookies.”

Skip to content

/AWS1/CL_DMG=>CREATEREPLICATIONSUBNETGROUP()

About CreateReplicationSubnetGroup

Creates a replication subnet group given a list of the subnet IDs in a VPC.

The VPC needs to have at least one subnet in at least two availability zones in the Amazon Web Services Region, otherwise the service will throw a ReplicationSubnetGroupDoesNotCoverEnoughAZs exception.

If a replication subnet group exists in your Amazon Web Services account, the CreateReplicationSubnetGroup action returns the following error message: The Replication Subnet Group already exists. In this case, delete the existing replication subnet group. To do so, use the DeleteReplicationSubnetGroup action. Optionally, choose Subnet groups in the DMS console, then choose your subnet group. Next, choose Delete from Actions.

Method Signature

IMPORTING

Required arguments:

IV_REPLSUBNETGROUPIDENTIFIER TYPE /AWS1/DMGSTRING /AWS1/DMGSTRING

The name for the replication subnet group. This value is stored as a lowercase string.

Constraints: Must contain no more than 255 alphanumeric characters, periods, underscores, or hyphens. Must not be "default".

Example: mySubnetgroup

IV_REPLSUBNETGROUPDESC TYPE /AWS1/DMGSTRING /AWS1/DMGSTRING

The description for the subnet group.

IT_SUBNETIDS TYPE /AWS1/CL_DMGSUBNETIDLIST_W=>TT_SUBNETIDENTIFIERLIST TT_SUBNETIDENTIFIERLIST

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

Optional arguments:

IT_TAGS TYPE /AWS1/CL_DMGTAG=>TT_TAGLIST TT_TAGLIST

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

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_DMGCREREPLSNETGRPRSP /AWS1/CL_DMGCREREPLSNETGRPRSP

Domain /AWS1/RT_ACCOUNT_ID
Primitive Type NUMC