AWS::MemoryDB::SubnetGroupThe AWS::MemoryDB::SubnetGroup resource creates an Amazon MemoryDB Subnet Group.
4 configurable properties. 2 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
SubnetGroupName | string | RequiredCreate-only |
SubnetIds | Array<string> | Required |
Description | string | |
Tags | Array<Tag> |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
ARN | string | The Amazon Resource Name (ARN) of the subnet group. |
SupportedNetworkTypes | Array<string> | Supported network types would be a list of network types supported by subnet group and can be either [ipv4] or [ipv4, dual_stack] or [ipv6]. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::MemoryDB::SubnetGroup
Resources:
MyResource:
Type: AWS::MemoryDB::SubnetGroup
Properties:
SubnetGroupName: "my-subnetgroupname"
SubnetIds: "my-subnetids"
Tags:
- Key: Environment
Value: Production
Description: !Ref "AWS::StackName"Permissions CloudFormation needs in your IAM role to manage this resource.
memorydb:CreateSubnetGroupmemorydb:DescribeSubnetGroupsmemorydb:TagResourcememorydb:ListTagsiam:CreateServiceLinkedRolememorydb:DescribeSubnetGroupsmemorydb:ListTagsmemorydb:UpdateSubnetGroupmemorydb:DescribeSubnetGroupsmemorydb:ListTagsmemorydb:TagResourcememorydb:UntagResourcememorydb:DeleteSubnetGroupmemorydb:DescribeSubnetGroupsmemorydb:DescribeSubnetGroupsOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterSubnetGroupNameThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
SubnetGroupName