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 (PDF).

AWS::ElastiCache::SecurityGroupIngress

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.

Note

Updates are not supported.

Syntax

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

JSON

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

YAML

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

Properties

CacheSecurityGroupName

The name of the Cache Security Group to authorize.

Required: Yes

Type: String

Update requires: No interruption

EC2SecurityGroupName

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

Required: Yes

Type: String

Update requires: No interruption

EC2SecurityGroupOwnerId

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

Ref

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.

Fn::GetAtt