AWS::ElastiCache::SecurityGroupIngress - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.


The AWS::ElastiCache::SecurityGroupIngress type authorizes ingress to a cache security group from hosts in specified Amazon EC2 security groups. For more information about ElastiCache security group ingress, go to AuthorizeCacheSecurityGroupIngress in the Amazon ElastiCache API Reference Guide.


Updates are not supported.


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


{ "Type" : "AWS::ElastiCache::SecurityGroupIngress", "Properties" : { "CacheSecurityGroupName" : String, "EC2SecurityGroupName" : String, "EC2SecurityGroupOwnerId" : String } }


Type: AWS::ElastiCache::SecurityGroupIngress Properties: CacheSecurityGroupName: String EC2SecurityGroupName: String EC2SecurityGroupOwnerId: String



The name of the Cache Security Group to authorize.

Required: Yes

Type: String

Update requires: No interruption


Name of the EC2 Security Group to include in the authorization.

Required: Yes

Type: String

Update requires: No interruption


Specifies the Amazon Account ID of the owner of the EC2 security group specified in the EC2SecurityGroupName property. The Amazon access key ID is not an acceptable value.

Required: No

Type: String

Update requires: No interruption

Return values


When the logical ID of this resource is provided to the Ref intrinsic function, Ref returns the resource name.

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