amazonka-redshift-1.2.0.2: Amazon Redshift 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.Redshift.CreateClusterSubnetGroup

Contents

Description

Creates a new Amazon Redshift subnet group. You must provide a list of one or more subnets in your existing Amazon Virtual Private Cloud (Amazon VPC) when creating Amazon Redshift subnet group.

For information about subnet groups, go to Amazon Redshift Cluster Subnet Groups in the Amazon Redshift Cluster Management Guide.

See: AWS API Reference for CreateClusterSubnetGroup.

Synopsis

Creating a Request

createClusterSubnetGroup Source

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

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

Request Lenses

ccsgTags :: Lens' CreateClusterSubnetGroup [Tag] Source

A list of tag instances.

ccsgClusterSubnetGroupName :: Lens' CreateClusterSubnetGroup Text Source

The name for the subnet group. Amazon Redshift stores the value as a lowercase string.

Constraints:

  • Must contain no more than 255 alphanumeric characters or hyphens.
  • Must not be "Default".
  • Must be unique for all subnet groups that are created by your AWS account.

Example: examplesubnetgroup

ccsgDescription :: Lens' CreateClusterSubnetGroup Text Source

A description for the subnet group.

ccsgSubnetIds :: Lens' CreateClusterSubnetGroup [Text] Source

An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.

Destructuring the Response

createClusterSubnetGroupResponse Source

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

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

Response Lenses