AWS CloudFormation
User Guide (API Version 2010-05-15)


The AWS::ElastiCache::SecurityGroup resource creates a cache security group. For more information about cache security groups, go to Cache Security Groups in the Amazon ElastiCache User Guide or go to CreateCacheSecurityGroup in the Amazon ElastiCache API Reference Guide.

To create an ElastiCache cluster in a VPC, use the AWS::EC2::SecurityGroup resource. For more information, see the VpcSecurityGroupIds property in the AWS::ElastiCache::CacheCluster resource.


To declare this entity in your AWS CloudFormation template, use the following syntax:


{ "Type" : "AWS::ElastiCache::SecurityGroup", "Properties" : { "Description" : String } }


Type: AWS::ElastiCache::SecurityGroup Properties: Description: String



A description for the cache security group.

Type: String

Required: No

Update requires: Updates are not supported.

Return Values


When you specify the AWS::ElastiCache::SecurityGroup resource as an argument to the Ref function, AWS CloudFormation returns the CacheSecurityGroupName property of the cache security group.

For more information about using the Ref function, see Ref.