AWS::RDS::DBSubnetGroupThe AWS::RDS::DBSubnetGroup resource creates a database subnet group. Subnet groups must contain at least two subnets in two different Availability Zones in the same region. For more information, see [Working with DB subnet groups](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html#USER_VPC.Subnets) in the *Amazon RDS User Guide*.
4 configurable properties. 2 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
DBSubnetGroupDescription | string | Required |
SubnetIds | Array<string> | Required |
DBSubnetGroupName | string | Create-only |
Tags | Array<Tag> |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::RDS::DBSubnetGroup
Resources:
MyResource:
Type: AWS::RDS::DBSubnetGroup
Properties:
DBSubnetGroupDescription: "value"
SubnetIds: "my-subnetids"
Tags:
- Key: Environment
Value: ProductionPermissions CloudFormation needs in your IAM role to manage this resource.
iam:CreateServiceLinkedRolerds:CreateDBSubnetGrouprds:DescribeDBSubnetGroupsrds:AddTagsToResourcerds:RemoveTagsFromResourcerds:ListTagsForResourcerds:DescribeDBSubnetGroupsrds:ListTagsForResourcerds:ModifyDBSubnetGrouprds:DescribeDBSubnetGroupsrds:AddTagsToResourcerds:RemoveTagsFromResourcerds:ListTagsForResourcerds:DeleteDBSubnetGrouprds:DescribeDBSubnetGroupsrds:ListTagsForResourcerds:DescribeDBSubnetGroupsEverything you need to know about RDS on one page. HD quality, print-friendly.
Download Free InfographicDBSubnetGroupNameThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
DBSubnetGroupName