libZSservicesZSamazonka-redshiftZSamazonka-redshift
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.Redshift.CreateClusterSecurityGroup

Description

Creates a new Amazon Redshift security group. You use security groups to control access to non-VPC clusters.

For information about managing security groups, go to Amazon Redshift Cluster Security Groups in the Amazon Redshift Cluster Management Guide.

Synopsis

Creating a Request

data CreateClusterSecurityGroup Source #

See: newCreateClusterSecurityGroup smart constructor.

Constructors

CreateClusterSecurityGroup' 

Fields

  • tags :: Maybe [Tag]

    A list of tag instances.

  • clusterSecurityGroupName :: Text

    The name for the security 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 security groups that are created by your Amazon Web Services account.

    Example: examplesecuritygroup

  • description :: Text

    A description for the security group.

Instances

Instances details
Eq CreateClusterSecurityGroup Source # 
Instance details

Defined in Amazonka.Redshift.CreateClusterSecurityGroup

Read CreateClusterSecurityGroup Source # 
Instance details

Defined in Amazonka.Redshift.CreateClusterSecurityGroup

Show CreateClusterSecurityGroup Source # 
Instance details

Defined in Amazonka.Redshift.CreateClusterSecurityGroup

Generic CreateClusterSecurityGroup Source # 
Instance details

Defined in Amazonka.Redshift.CreateClusterSecurityGroup

Associated Types

type Rep CreateClusterSecurityGroup :: Type -> Type #

NFData CreateClusterSecurityGroup Source # 
Instance details

Defined in Amazonka.Redshift.CreateClusterSecurityGroup

Hashable CreateClusterSecurityGroup Source # 
Instance details

Defined in Amazonka.Redshift.CreateClusterSecurityGroup

AWSRequest CreateClusterSecurityGroup Source # 
Instance details

Defined in Amazonka.Redshift.CreateClusterSecurityGroup

ToHeaders CreateClusterSecurityGroup Source # 
Instance details

Defined in Amazonka.Redshift.CreateClusterSecurityGroup

ToPath CreateClusterSecurityGroup Source # 
Instance details

Defined in Amazonka.Redshift.CreateClusterSecurityGroup

ToQuery CreateClusterSecurityGroup Source # 
Instance details

Defined in Amazonka.Redshift.CreateClusterSecurityGroup

type Rep CreateClusterSecurityGroup Source # 
Instance details

Defined in Amazonka.Redshift.CreateClusterSecurityGroup

type Rep CreateClusterSecurityGroup = D1 ('MetaData "CreateClusterSecurityGroup" "Amazonka.Redshift.CreateClusterSecurityGroup" "libZSservicesZSamazonka-redshiftZSamazonka-redshift" 'False) (C1 ('MetaCons "CreateClusterSecurityGroup'" 'PrefixI 'True) (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: (S1 ('MetaSel ('Just "clusterSecurityGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse CreateClusterSecurityGroup Source # 
Instance details

Defined in Amazonka.Redshift.CreateClusterSecurityGroup

newCreateClusterSecurityGroup Source #

Create a value of CreateClusterSecurityGroup 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:CreateClusterSecurityGroup', createClusterSecurityGroup_tags - A list of tag instances.

$sel:clusterSecurityGroupName:CreateClusterSecurityGroup', createClusterSecurityGroup_clusterSecurityGroupName - The name for the security 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 security groups that are created by your Amazon Web Services account.

Example: examplesecuritygroup

$sel:description:CreateClusterSecurityGroup', createClusterSecurityGroup_description - A description for the security group.

Request Lenses

createClusterSecurityGroup_clusterSecurityGroupName :: Lens' CreateClusterSecurityGroup Text Source #

The name for the security 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 security groups that are created by your Amazon Web Services account.

Example: examplesecuritygroup

Destructuring the Response

data CreateClusterSecurityGroupResponse Source #

Constructors

CreateClusterSecurityGroupResponse' 

Fields

Instances

Instances details
Eq CreateClusterSecurityGroupResponse Source # 
Instance details

Defined in Amazonka.Redshift.CreateClusterSecurityGroup

Read CreateClusterSecurityGroupResponse Source # 
Instance details

Defined in Amazonka.Redshift.CreateClusterSecurityGroup

Show CreateClusterSecurityGroupResponse Source # 
Instance details

Defined in Amazonka.Redshift.CreateClusterSecurityGroup

Generic CreateClusterSecurityGroupResponse Source # 
Instance details

Defined in Amazonka.Redshift.CreateClusterSecurityGroup

Associated Types

type Rep CreateClusterSecurityGroupResponse :: Type -> Type #

NFData CreateClusterSecurityGroupResponse Source # 
Instance details

Defined in Amazonka.Redshift.CreateClusterSecurityGroup

type Rep CreateClusterSecurityGroupResponse Source # 
Instance details

Defined in Amazonka.Redshift.CreateClusterSecurityGroup

type Rep CreateClusterSecurityGroupResponse = D1 ('MetaData "CreateClusterSecurityGroupResponse" "Amazonka.Redshift.CreateClusterSecurityGroup" "libZSservicesZSamazonka-redshiftZSamazonka-redshift" 'False) (C1 ('MetaCons "CreateClusterSecurityGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "clusterSecurityGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClusterSecurityGroup)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateClusterSecurityGroupResponse Source #

Create a value of CreateClusterSecurityGroupResponse 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:clusterSecurityGroup:CreateClusterSecurityGroupResponse', createClusterSecurityGroupResponse_clusterSecurityGroup - Undocumented member.

$sel:httpStatus:CreateClusterSecurityGroupResponse', createClusterSecurityGroupResponse_httpStatus - The response's http status code.

Response Lenses