amazonka-elasticache-1.4.0: Amazon ElastiCache SDK.

Copyright(c) 2013-2016 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.CreateCacheSubnetGroup

Contents

Description

The CreateCacheSubnetGroup action creates a new cache subnet group.

Use this parameter only when you are creating a cluster in an Amazon Virtual Private Cloud (VPC).

Synopsis

Creating a Request

createCacheSubnetGroup Source

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

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

Request Lenses

ccsgCacheSubnetGroupName :: Lens' CreateCacheSubnetGroup Text Source

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

Constraints: Must contain no more than 255 alphanumeric characters or hyphens.

Example: mysubnetgroup

ccsgCacheSubnetGroupDescription :: Lens' CreateCacheSubnetGroup Text Source

A description for the cache subnet group.

ccsgSubnetIds :: Lens' CreateCacheSubnetGroup [Text] Source

A list of VPC subnet IDs for the cache subnet group.

Destructuring the Response

createCacheSubnetGroupResponse Source

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

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

Response Lenses