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.
example
Use a bare-bones client and the command you need to make an API call.
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.
Use a bare-bones client and the command you need to make an API call.
import { ElastiCacheClient, AuthorizeCacheSecurityGroupIngressCommand } from "@aws-sdk/client-elasticache"; // ES Modules import // const { ElastiCacheClient, AuthorizeCacheSecurityGroupIngressCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import const client = new ElastiCacheClient(config); const command = new AuthorizeCacheSecurityGroupIngressCommand(input); const response = await client.send(command);
AuthorizeCacheSecurityGroupIngressCommandInput for command's
input
shape.AuthorizeCacheSecurityGroupIngressCommandOutput for command's
response
shape.config for ElastiCacheClient's
config
shape.