Skip to content

Authorize Cache Security Group Ingress

elasticache_authorize_cache_security_group_ingress R Documentation

Allows network ingress to a cache security group

Description

Allows network ingress to a cache security group. Applications using ElastiCache must be running on Amazon EC2, and Amazon EC2 security groups are used as the authorization mechanism.

You cannot authorize ingress from an Amazon EC2 security group in one region to an ElastiCache cluster in another region.

Usage

elasticache_authorize_cache_security_group_ingress(
  CacheSecurityGroupName, EC2SecurityGroupName, EC2SecurityGroupOwnerId)

Arguments

CacheSecurityGroupName

[required] The cache security group that allows network ingress.

EC2SecurityGroupName

[required] The Amazon EC2 security group to be authorized for ingress to the cache security group.

EC2SecurityGroupOwnerId

[required] The Amazon account number of the Amazon EC2 security group owner. Note that this is not the same thing as an Amazon access key ID - you must provide a valid Amazon account number for this parameter.

Value

A list with the following syntax:

list(
  CacheSecurityGroup = list(
    OwnerId = "string",
    CacheSecurityGroupName = "string",
    Description = "string",
    EC2SecurityGroups = list(
      list(
        Status = "string",
        EC2SecurityGroupName = "string",
        EC2SecurityGroupOwnerId = "string"
      )
    ),
    ARN = "string"
  )
)

Request syntax

svc$authorize_cache_security_group_ingress(
  CacheSecurityGroupName = "string",
  EC2SecurityGroupName = "string",
  EC2SecurityGroupOwnerId = "string"
)