v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14138306572.7 KB

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

get/#Action=CreateDBSubnetGroup

Query parameters

DBSubnetGroupNamestring required
<p>The name for the DB subnet group. This value is stored as a lowercase string.</p> <p>Constraints: Must contain no more than 255 letters, numbers, periods, underscores, spaces, or hyphens. Must not be default.</p> <p>Example: <code>mySubnetgroup</code> </p>
DBSubnetGroupDescriptionstring required

The description for the DB subnet group.

SubnetIdsstring[] required

The EC2 Subnet IDs for the DB subnet group.

Keystring

A key is the required name of the tag. The string value can be from 1 to 128 Unicode characters in length and can't be prefixed with <code>aws:</code> or <code>rds:</code>. The string can only contain the set of Unicode letters, digits, white-space, '', '.', '/', '=', '+', '-' (Java regex: "^([\p{L}\p{Z}\p{N}.:/=+\-]*)$").

Valuestring

A value is the optional value of the tag. The string value can be from 1 to 256 Unicode characters in length and can't be prefixed with <code>aws:</code> or <code>rds:</code>. The string can only contain the set of Unicode letters, digits, white-space, '', '.', '/', '=', '+', '-' (Java regex: "^([\p{L}\p{Z}\p{N}.:/=+\-]*)$").

The tags to be assigned to the new DB subnet group.

Action'CreateDBSubnetGroup' required
Version'2014-10-31' required

Response

Success