Skip to main content
Version: 0.0.25

Table: subnet_group

Table to manage Memory DB subnet groups. 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 can specify a subnet group or use the default one provided. MemoryDB uses that subnet group to choose a subnet and IP addresses within that subnet to associate with your nodes.


INSERT INTO subnet_group (subnet_group_name) VALUES ('subnet_group');
SELECT * FROM subnet_group WHERE subnet_group_name = 'subnet_group';
DELETE FROM subnet_group WHERE subnet_group_name = 'subnet_group';



Optional arn: string

AWS ARN for the subnet group

Optional description: string

Description for the subnet group

region: string

Region for the subnet group

subnet_group_name: string

Name for the subnet group

Optional subnets: string[]

List of subnets associated with the group