amazonka-elasticache-1.2.0.2: Amazon ElastiCache SDK.

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

Network.AWS.ElastiCache.CreateCacheSecurityGroup

Contents

Description

The CreateCacheSecurityGroup action creates a new cache security group. Use a cache security group to control access to one or more cache clusters.

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

See: AWS API Reference for CreateCacheSecurityGroup.

Synopsis

Creating a Request

createCacheSecurityGroup Source

Creates a value of CreateCacheSecurityGroup with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

ccsgCacheSecurityGroupName :: 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

ccsgDescription :: Lens' CreateCacheSecurityGroup Text Source

A description for the cache security group.

Destructuring the Response

createCacheSecurityGroupResponse Source

Creates a value of CreateCacheSecurityGroupResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses