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.CreateCacheSecurityGroup

Description

Creates a new cache security group. Use a cache security group to control access to one or more clusters.

Cache security groups are only used when you are creating a cluster outside of an Amazon Virtual Private Cloud (Amazon VPC). If you are creating a cluster inside of a VPC, use a cache subnet group instead. For more information, see CreateCacheSubnetGroup.

Synopsis

Creating a Request

data CreateCacheSecurityGroup Source #

Represents the input of a CreateCacheSecurityGroup operation.

See: newCreateCacheSecurityGroup smart constructor.

Constructors

CreateCacheSecurityGroup' 

Fields

  • tags :: Maybe [Tag]

    A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.

  • cacheSecurityGroupName :: Text

    A name for the cache security group. This value is stored as a lowercase string.

    Constraints: Must contain no more than 255 alphanumeric characters. Cannot be the word "Default".

    Example: mysecuritygroup

  • description :: Text

    A description for the cache security group.

Instances

Instances details
Eq CreateCacheSecurityGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.CreateCacheSecurityGroup

Read CreateCacheSecurityGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.CreateCacheSecurityGroup

Show CreateCacheSecurityGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.CreateCacheSecurityGroup

Generic CreateCacheSecurityGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.CreateCacheSecurityGroup

Associated Types

type Rep CreateCacheSecurityGroup :: Type -> Type #

NFData CreateCacheSecurityGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.CreateCacheSecurityGroup

Hashable CreateCacheSecurityGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.CreateCacheSecurityGroup

AWSRequest CreateCacheSecurityGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.CreateCacheSecurityGroup

ToHeaders CreateCacheSecurityGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.CreateCacheSecurityGroup

ToPath CreateCacheSecurityGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.CreateCacheSecurityGroup

ToQuery CreateCacheSecurityGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.CreateCacheSecurityGroup

type Rep CreateCacheSecurityGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.CreateCacheSecurityGroup

type Rep CreateCacheSecurityGroup = D1 ('MetaData "CreateCacheSecurityGroup" "Amazonka.ElastiCache.CreateCacheSecurityGroup" "libZSservicesZSamazonka-elasticacheZSamazonka-elasticache" 'False) (C1 ('MetaCons "CreateCacheSecurityGroup'" 'PrefixI 'True) (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: (S1 ('MetaSel ('Just "cacheSecurityGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse CreateCacheSecurityGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.CreateCacheSecurityGroup

newCreateCacheSecurityGroup Source #

Create a value of CreateCacheSecurityGroup 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:tags:CreateCacheSecurityGroup', createCacheSecurityGroup_tags - A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.

$sel:cacheSecurityGroupName:CreateCacheSecurityGroup', createCacheSecurityGroup_cacheSecurityGroupName - A name for the cache security group. This value is stored as a lowercase string.

Constraints: Must contain no more than 255 alphanumeric characters. Cannot be the word "Default".

Example: mysecuritygroup

$sel:description:CreateCacheSecurityGroup', createCacheSecurityGroup_description - A description for the cache security group.

Request Lenses

createCacheSecurityGroup_tags :: Lens' CreateCacheSecurityGroup (Maybe [Tag]) Source #

A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.

createCacheSecurityGroup_cacheSecurityGroupName :: Lens' CreateCacheSecurityGroup Text Source #

A name for the cache security group. This value is stored as a lowercase string.

Constraints: Must contain no more than 255 alphanumeric characters. Cannot be the word "Default".

Example: mysecuritygroup

createCacheSecurityGroup_description :: Lens' CreateCacheSecurityGroup Text Source #

A description for the cache security group.

Destructuring the Response

data CreateCacheSecurityGroupResponse Source #

See: newCreateCacheSecurityGroupResponse smart constructor.

Constructors

CreateCacheSecurityGroupResponse' 

Fields

Instances

Instances details
Eq CreateCacheSecurityGroupResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.CreateCacheSecurityGroup

Read CreateCacheSecurityGroupResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.CreateCacheSecurityGroup

Show CreateCacheSecurityGroupResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.CreateCacheSecurityGroup

Generic CreateCacheSecurityGroupResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.CreateCacheSecurityGroup

Associated Types

type Rep CreateCacheSecurityGroupResponse :: Type -> Type #

NFData CreateCacheSecurityGroupResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.CreateCacheSecurityGroup

type Rep CreateCacheSecurityGroupResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.CreateCacheSecurityGroup

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

newCreateCacheSecurityGroupResponse Source #

Create a value of CreateCacheSecurityGroupResponse 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:CreateCacheSecurityGroupResponse', createCacheSecurityGroupResponse_cacheSecurityGroup - Undocumented member.

$sel:httpStatus:CreateCacheSecurityGroupResponse', createCacheSecurityGroupResponse_httpStatus - The response's http status code.

Response Lenses