v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1445255198.7 KB

Creates a subnet group. A subnet group is a collection of subnets (typically private) that you can designate for your clusters running in an Amazon Virtual Private Cloud (VPC) environment. When you create a cluster in an Amazon VPC, you must specify a subnet group. MemoryDB uses that subnet group to choose a subnet and IP addresses within that subnet to associate with your nodes. For more information, see <a href="https://docs.aws.amazon.com/MemoryDB/latest/devguide/subnetgroups.html">Subnets and subnet groups</a>.

post/#X-Amz-Target=AmazonMemoryDB.CreateSubnetGroup

Headers

X-Amz-Target'AmazonMemoryDB.CreateSubnetGroup' required

Request body

SubnetGroupNamestring required

The name of the subnet group.

Descriptionstring

A description for the subnet group.

SubnetIdsString[] required

A list of VPC subnet IDs for the subnet group.

Response

Success