libZSservicesZSamazonka-memorydbZSamazonka-memorydb
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.MemoryDb.Types.SubnetGroup

Description

 
Synopsis

Documentation

data SubnetGroup Source #

Represents the output of one of the following operations:

  • CreateSubnetGroup
  • UpdateSubnetGroup

A subnet group is a collection of subnets (typically private) that you can designate for your clusters running in an Amazon Virtual Private Cloud (VPC) environment.

See: newSubnetGroup smart constructor.

Constructors

SubnetGroup' 

Fields

Instances

Instances details
Eq SubnetGroup Source # 
Instance details

Defined in Amazonka.MemoryDb.Types.SubnetGroup

Read SubnetGroup Source # 
Instance details

Defined in Amazonka.MemoryDb.Types.SubnetGroup

Show SubnetGroup Source # 
Instance details

Defined in Amazonka.MemoryDb.Types.SubnetGroup

Generic SubnetGroup Source # 
Instance details

Defined in Amazonka.MemoryDb.Types.SubnetGroup

Associated Types

type Rep SubnetGroup :: Type -> Type #

NFData SubnetGroup Source # 
Instance details

Defined in Amazonka.MemoryDb.Types.SubnetGroup

Methods

rnf :: SubnetGroup -> () #

Hashable SubnetGroup Source # 
Instance details

Defined in Amazonka.MemoryDb.Types.SubnetGroup

FromJSON SubnetGroup Source # 
Instance details

Defined in Amazonka.MemoryDb.Types.SubnetGroup

type Rep SubnetGroup Source # 
Instance details

Defined in Amazonka.MemoryDb.Types.SubnetGroup

type Rep SubnetGroup = D1 ('MetaData "SubnetGroup" "Amazonka.MemoryDb.Types.SubnetGroup" "libZSservicesZSamazonka-memorydbZSamazonka-memorydb" 'False) (C1 ('MetaCons "SubnetGroup'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "vpcId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "subnets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Subnet])) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newSubnetGroup :: SubnetGroup Source #

Create a value of SubnetGroup 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:arn:SubnetGroup', subnetGroup_arn - The ARN (Amazon Resource Name) of the subnet group.

$sel:vpcId:SubnetGroup', subnetGroup_vpcId - The Amazon Virtual Private Cloud identifier (VPC ID) of the subnet group.

$sel:subnets:SubnetGroup', subnetGroup_subnets - A list of subnets associated with the subnet group.

$sel:name:SubnetGroup', subnetGroup_name - The name of the subnet group

$sel:description:SubnetGroup', subnetGroup_description - A description of the subnet group

subnetGroup_arn :: Lens' SubnetGroup (Maybe Text) Source #

The ARN (Amazon Resource Name) of the subnet group.

subnetGroup_vpcId :: Lens' SubnetGroup (Maybe Text) Source #

The Amazon Virtual Private Cloud identifier (VPC ID) of the subnet group.

subnetGroup_subnets :: Lens' SubnetGroup (Maybe [Subnet]) Source #

A list of subnets associated with the subnet group.

subnetGroup_name :: Lens' SubnetGroup (Maybe Text) Source #

The name of the subnet group

subnetGroup_description :: Lens' SubnetGroup (Maybe Text) Source #

A description of the subnet group