AWS::ElastiCache::SecurityGroup
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.
Topics
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::ElastiCache::SecurityGroup", "Properties" : { "Description" :String} }
YAML
Type: AWS::ElastiCache::SecurityGroup Properties: Description:String
Properties
Return Values
Ref
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.
