AWS::DocDB::DBSubnetGroup

DocDB DBSubnetGroup

Resource Type definition for AWS::DocDB::DBSubnetGroup

Properties

4 configurable properties. 2 required. Click a row to see details.

Filter:
PropertyTypeFlags
DBSubnetGroupDescription
string
Required
SubnetIds
Array<string>
Required
DBSubnetGroupName
string
Create-only
Tags
Array<Tag>

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::DocDB::DBSubnetGroup

Resources:
  MyResource:
    Type: AWS::DocDB::DBSubnetGroup
    Properties:
      DBSubnetGroupDescription: "value"
      SubnetIds: "my-subnetids"
      Tags:
        - Key: Environment
          Value: Production

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

rds:CreateDBSubnetGrouprds:AddTagsToResourcerds:ListTagsForResource

read

rds:DescribeDBSubnetGroupsrds:ListTagsForResource

update

rds:ModifyDBSubnetGrouprds:AddTagsToResourcerds:RemoveTagsFromResource

list

rds:DescribeDBSubnetGroups

delete

rds:DeleteDBSubnetGroup

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

ServiceDocDB
Properties4
Required2
TaggingSupported
Primary IDDBSubnetGroupName

Supported Operations

CreateReadUpdateListDelete

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

DBSubnetGroupName

External Links