This CloudFormation template creates an ElastiCache subnet group in a VPC with two subnets. The subnet group is used to specify the subnets where ElastiCache clusters can be created.

SubnetGroup
AWS::ElastiCache::SubnetGroup


SubnetIds

VPC
AWS::EC2::VPC


Subnet1
AWS::EC2::Subnet


Subnet2
AWS::EC2::Subnet


CloudFormation Template

Share Template