Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data AuthorizeCacheSecurityGroupIngress = AuthorizeCacheSecurityGroupIngress' {}
- newAuthorizeCacheSecurityGroupIngress :: Text -> Text -> Text -> AuthorizeCacheSecurityGroupIngress
- authorizeCacheSecurityGroupIngress_cacheSecurityGroupName :: Lens' AuthorizeCacheSecurityGroupIngress Text
- authorizeCacheSecurityGroupIngress_eC2SecurityGroupName :: Lens' AuthorizeCacheSecurityGroupIngress Text
- authorizeCacheSecurityGroupIngress_eC2SecurityGroupOwnerId :: Lens' AuthorizeCacheSecurityGroupIngress Text
- data AuthorizeCacheSecurityGroupIngressResponse = AuthorizeCacheSecurityGroupIngressResponse' {}
- newAuthorizeCacheSecurityGroupIngressResponse :: Int -> AuthorizeCacheSecurityGroupIngressResponse
- authorizeCacheSecurityGroupIngressResponse_cacheSecurityGroup :: Lens' AuthorizeCacheSecurityGroupIngressResponse (Maybe CacheSecurityGroup)
- authorizeCacheSecurityGroupIngressResponse_httpStatus :: Lens' AuthorizeCacheSecurityGroupIngressResponse Int
Creating a Request
data AuthorizeCacheSecurityGroupIngress Source #
Represents the input of an AuthorizeCacheSecurityGroupIngress operation.
See: newAuthorizeCacheSecurityGroupIngress
smart constructor.
AuthorizeCacheSecurityGroupIngress' | |
|
Instances
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_cacheSecurityGroupName :: Lens' AuthorizeCacheSecurityGroupIngress Text Source #
The cache security group that allows network ingress.
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 #
See: newAuthorizeCacheSecurityGroupIngressResponse
smart constructor.
AuthorizeCacheSecurityGroupIngressResponse' | |
|
Instances
Eq AuthorizeCacheSecurityGroupIngressResponse Source # | |
Read AuthorizeCacheSecurityGroupIngressResponse Source # | |
Show AuthorizeCacheSecurityGroupIngressResponse Source # | |
Generic AuthorizeCacheSecurityGroupIngressResponse Source # | |
NFData AuthorizeCacheSecurityGroupIngressResponse Source # | |
type Rep AuthorizeCacheSecurityGroupIngressResponse Source # | |
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))) |
newAuthorizeCacheSecurityGroupIngressResponse Source #
Create a value of AuthorizeCacheSecurityGroupIngressResponse
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:cacheSecurityGroup:AuthorizeCacheSecurityGroupIngressResponse'
, authorizeCacheSecurityGroupIngressResponse_cacheSecurityGroup
- Undocumented member.
$sel:httpStatus:AuthorizeCacheSecurityGroupIngressResponse'
, authorizeCacheSecurityGroupIngressResponse_httpStatus
- The response's http status code.
Response Lenses
authorizeCacheSecurityGroupIngressResponse_cacheSecurityGroup :: Lens' AuthorizeCacheSecurityGroupIngressResponse (Maybe CacheSecurityGroup) Source #
Undocumented member.
authorizeCacheSecurityGroupIngressResponse_httpStatus :: Lens' AuthorizeCacheSecurityGroupIngressResponse Int Source #
The response's http status code.