Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AuthorizeCacheSecurityGroupIngressCommand

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.

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);
see

AuthorizeCacheSecurityGroupIngressCommandInput for command's input shape.

see

AuthorizeCacheSecurityGroupIngressCommandOutput for command's response shape.

see

config for ElastiCacheClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: AuthorizeCacheSecurityGroupIngressCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions

  • Returns EndpointParameterInstructions