libZSservicesZSamazonka-elasticacheZSamazonka-elasticache
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ElastiCache.AuthorizeCacheSecurityGroupIngress

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.

Synopsis

Creating a Request

data AuthorizeCacheSecurityGroupIngress Source #

Represents the input of an AuthorizeCacheSecurityGroupIngress operation.

See: newAuthorizeCacheSecurityGroupIngress smart constructor.

Constructors

AuthorizeCacheSecurityGroupIngress' 

Fields

  • cacheSecurityGroupName :: Text

    The cache security group that allows network ingress.

  • eC2SecurityGroupName :: Text

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

  • eC2SecurityGroupOwnerId :: Text

    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.

Instances

Instances details
Eq AuthorizeCacheSecurityGroupIngress Source # 
Instance details

Defined in Amazonka.ElastiCache.AuthorizeCacheSecurityGroupIngress

Read AuthorizeCacheSecurityGroupIngress Source # 
Instance details

Defined in Amazonka.ElastiCache.AuthorizeCacheSecurityGroupIngress

Show AuthorizeCacheSecurityGroupIngress Source # 
Instance details

Defined in Amazonka.ElastiCache.AuthorizeCacheSecurityGroupIngress

Generic AuthorizeCacheSecurityGroupIngress Source # 
Instance details

Defined in Amazonka.ElastiCache.AuthorizeCacheSecurityGroupIngress

Associated Types

type Rep AuthorizeCacheSecurityGroupIngress :: Type -> Type #

NFData AuthorizeCacheSecurityGroupIngress Source # 
Instance details

Defined in Amazonka.ElastiCache.AuthorizeCacheSecurityGroupIngress

Hashable AuthorizeCacheSecurityGroupIngress Source # 
Instance details

Defined in Amazonka.ElastiCache.AuthorizeCacheSecurityGroupIngress

AWSRequest AuthorizeCacheSecurityGroupIngress Source # 
Instance details

Defined in Amazonka.ElastiCache.AuthorizeCacheSecurityGroupIngress

ToHeaders AuthorizeCacheSecurityGroupIngress Source # 
Instance details

Defined in Amazonka.ElastiCache.AuthorizeCacheSecurityGroupIngress

ToPath AuthorizeCacheSecurityGroupIngress Source # 
Instance details

Defined in Amazonka.ElastiCache.AuthorizeCacheSecurityGroupIngress

ToQuery AuthorizeCacheSecurityGroupIngress Source # 
Instance details

Defined in Amazonka.ElastiCache.AuthorizeCacheSecurityGroupIngress

type Rep AuthorizeCacheSecurityGroupIngress Source # 
Instance details

Defined in Amazonka.ElastiCache.AuthorizeCacheSecurityGroupIngress

type Rep AuthorizeCacheSecurityGroupIngress = D1 ('MetaData "AuthorizeCacheSecurityGroupIngress" "Amazonka.ElastiCache.AuthorizeCacheSecurityGroupIngress" "libZSservicesZSamazonka-elasticacheZSamazonka-elasticache" 'False) (C1 ('MetaCons "AuthorizeCacheSecurityGroupIngress'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cacheSecurityGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "eC2SecurityGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "eC2SecurityGroupOwnerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse AuthorizeCacheSecurityGroupIngress Source # 
Instance details

Defined in Amazonka.ElastiCache.AuthorizeCacheSecurityGroupIngress

newAuthorizeCacheSecurityGroupIngress Source #

Create a value of AuthorizeCacheSecurityGroupIngress with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:cacheSecurityGroupName:AuthorizeCacheSecurityGroupIngress', authorizeCacheSecurityGroupIngress_cacheSecurityGroupName - The cache security group that allows network ingress.

$sel:eC2SecurityGroupName:AuthorizeCacheSecurityGroupIngress', authorizeCacheSecurityGroupIngress_eC2SecurityGroupName - The Amazon EC2 security group to be authorized for ingress to the cache security group.

$sel:eC2SecurityGroupOwnerId:AuthorizeCacheSecurityGroupIngress', authorizeCacheSecurityGroupIngress_eC2SecurityGroupOwnerId - 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.

Request Lenses

authorizeCacheSecurityGroupIngress_eC2SecurityGroupName :: Lens' AuthorizeCacheSecurityGroupIngress Text Source #

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

authorizeCacheSecurityGroupIngress_eC2SecurityGroupOwnerId :: Lens' AuthorizeCacheSecurityGroupIngress Text Source #

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.

Destructuring the Response

data AuthorizeCacheSecurityGroupIngressResponse Source #

Instances

Instances details
Eq AuthorizeCacheSecurityGroupIngressResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.AuthorizeCacheSecurityGroupIngress

Read AuthorizeCacheSecurityGroupIngressResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.AuthorizeCacheSecurityGroupIngress

Show AuthorizeCacheSecurityGroupIngressResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.AuthorizeCacheSecurityGroupIngress

Generic AuthorizeCacheSecurityGroupIngressResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.AuthorizeCacheSecurityGroupIngress

NFData AuthorizeCacheSecurityGroupIngressResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.AuthorizeCacheSecurityGroupIngress

type Rep AuthorizeCacheSecurityGroupIngressResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.AuthorizeCacheSecurityGroupIngress

type Rep AuthorizeCacheSecurityGroupIngressResponse = D1 ('MetaData "AuthorizeCacheSecurityGroupIngressResponse" "Amazonka.ElastiCache.AuthorizeCacheSecurityGroupIngress" "libZSservicesZSamazonka-elasticacheZSamazonka-elasticache" 'False) (C1 ('MetaCons "AuthorizeCacheSecurityGroupIngressResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cacheSecurityGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CacheSecurityGroup)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

Response Lenses