AWS SDK for .NET Documentation
AuthorizeCacheSecurityGroupIngress Method (authorizeCacheSecurityGroupIngressRequest)
Amazon ► Amazon.ElastiCache ► AmazonElastiCache ► AuthorizeCacheSecurityGroupIngress(AuthorizeCacheSecurityGroupIngressRequest)
Did this page help you? Yes No Tell us about it...

The AuthorizeCacheSecurityGroupIngress operation 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.

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

Declaration Syntax

C#

    AuthorizeCacheSecurityGroupIngressResponse AuthorizeCacheSecurityGroupIngress(
    	AuthorizeCacheSecurityGroupIngressRequest authorizeCacheSecurityGroupIngressRequest
    )

Parameters

authorizeCacheSecurityGroupIngressRequest (AuthorizeCacheSecurityGroupIngressRequest)
  Container for the necessary parameters to execute the AuthorizeCacheSecurityGroupIngress service method on AmazonElastiCache.

Return Value
The response from the AuthorizeCacheSecurityGroupIngress service method, as returned by AmazonElastiCache.
Exceptions

Exception | Condition
--- | ---
InvalidParameterValueException |
AuthorizationAlreadyExistsException |
InvalidCacheSecurityGroupStateException |
InvalidParameterCombinationException |
CacheSecurityGroupNotFoundException |

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)