Skip to content

/AWS1/CL_RDS=>CREATEDBSUBNETGROUP()

About CreateDBSubnetGroup

Creates a new DB subnet group. DB subnet groups must contain at least one subnet in at least two AZs in the Amazon Web Services Region.

Method Signature

IMPORTING

Required arguments:

IV_DBSUBNETGROUPNAME TYPE /AWS1/RDSSTRING /AWS1/RDSSTRING

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

Constraints:

  • Must contain no more than 255 letters, numbers, periods, underscores, spaces, or hyphens.

  • Must not be default.

  • First character must be a letter.

Example: mydbsubnetgroup

IV_DBSUBNETGROUPDESCRIPTION TYPE /AWS1/RDSSTRING /AWS1/RDSSTRING

The description for the DB subnet group.

IT_SUBNETIDS TYPE /AWS1/CL_RDSSUBNETIDLIST_W=>TT_SUBNETIDENTIFIERLIST TT_SUBNETIDENTIFIERLIST

The EC2 Subnet IDs for the DB subnet group.

Optional arguments:

IT_TAGS TYPE /AWS1/CL_RDSTAG=>TT_TAGLIST TT_TAGLIST

Tags to assign to the DB subnet group.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_RDSCREDBSNETGROUPRSLT /AWS1/CL_RDSCREDBSNETGROUPRSLT