AWS Fundamentals Logo
AWS Fundamentals
AWS::ElastiCache::SubnetGroup

ElastiCache SubnetGroup

Resource Type definition for AWS::ElastiCache::SubnetGroup

Properties

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

Filter:
PropertyTypeFlags
Description
string
Required
SubnetIds
Array<string>
Required
CacheSubnetGroupName
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::ElastiCache::SubnetGroup

Resources:
  MyResource:
    Type: AWS::ElastiCache::SubnetGroup
    Properties:
      Description: "value"
      SubnetIds: "my-subnetids"
      Tags:
        - Key: Environment
          Value: Production

Required IAM Permissions

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

create

elasticache:CreateCacheSubnetGroupelasticache:AddTagsToResourceelasticache:DescribeCacheSubnetGroupselasticache:ListTagsForResource

read

elasticache:DescribeCacheSubnetGroupselasticache:ListTagsForResource

delete

elasticache:DeleteCacheSubnetGroupelasticache:DescribeCacheSubnetGroupselasticache:ListTagsForResource

list

elasticache:DescribeCacheSubnetGroups

update

elasticache:ModifyCacheSubnetGroupelasticache:DescribeCacheSubnetGroupselasticache:AddTagsToResourceelasticache:RemoveTagsFromResource

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

ServiceElastiCache
Properties4
Required2
TaggingSupported
Primary IDCacheSubnetGroupName

Supported Operations

CreateReadDeleteListUpdate

Immutable After Creation

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

CacheSubnetGroupName

External Links