v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14106236407.5 KB

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

get/#Action=CreateDBSubnetGroup

Query parameters

DBSubnetGroupNamestring required
<p>The name for the 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 subnet group.

SubnetIdsstring[] required

The Amazon EC2 subnet IDs for the subnet group.

Keystring

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 contain only the set of Unicode letters, digits, white space, '', '.', '/', '=', '+', '-' (Java regex: "^([\p{L}\p{Z}\p{N}.:/=+\-]*)$").

Valuestring

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 contain only the set of Unicode letters, digits, white space, '', '.', '/', '=', '+', '-' (Java regex: "^([\p{L}\p{Z}\p{N}.:/=+\-]*)$").

The tags to be assigned to the subnet group.

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

Response

Success