amazonka-elasticache-2.0: Amazon ElastiCache SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ElastiCache.Types.Subnet

Description

 
Synopsis

Documentation

data Subnet Source #

Represents the subnet associated with a cluster. This parameter refers to subnets defined in Amazon Virtual Private Cloud (Amazon VPC) and used with ElastiCache.

See: newSubnet smart constructor.

Constructors

Subnet' 

Fields

Instances

Instances details
FromXML Subnet Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.Subnet

Generic Subnet Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.Subnet

Associated Types

type Rep Subnet :: Type -> Type #

Methods

from :: Subnet -> Rep Subnet x #

to :: Rep Subnet x -> Subnet #

Read Subnet Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.Subnet

Show Subnet Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.Subnet

NFData Subnet Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.Subnet

Methods

rnf :: Subnet -> () #

Eq Subnet Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.Subnet

Methods

(==) :: Subnet -> Subnet -> Bool #

(/=) :: Subnet -> Subnet -> Bool #

Hashable Subnet Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.Subnet

Methods

hashWithSalt :: Int -> Subnet -> Int #

hash :: Subnet -> Int #

type Rep Subnet Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.Subnet

type Rep Subnet = D1 ('MetaData "Subnet" "Amazonka.ElastiCache.Types.Subnet" "amazonka-elasticache-2.0-DTWyHgx8JwY7IlNovngF22" 'False) (C1 ('MetaCons "Subnet'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "subnetAvailabilityZone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AvailabilityZone)) :*: S1 ('MetaSel ('Just "subnetIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "subnetOutpost") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SubnetOutpost)) :*: S1 ('MetaSel ('Just "supportedNetworkTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [NetworkType])))))

newSubnet :: Subnet Source #

Create a value of Subnet 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:subnetAvailabilityZone:Subnet', subnet_subnetAvailabilityZone - The Availability Zone associated with the subnet.

$sel:subnetIdentifier:Subnet', subnet_subnetIdentifier - The unique identifier for the subnet.

$sel:subnetOutpost:Subnet', subnet_subnetOutpost - The outpost ARN of the subnet.

$sel:supportedNetworkTypes:Subnet', subnet_supportedNetworkTypes - Either ipv4 | ipv6 | dual_stack. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the Nitro system.

subnet_subnetAvailabilityZone :: Lens' Subnet (Maybe AvailabilityZone) Source #

The Availability Zone associated with the subnet.

subnet_subnetIdentifier :: Lens' Subnet (Maybe Text) Source #

The unique identifier for the subnet.

subnet_subnetOutpost :: Lens' Subnet (Maybe SubnetOutpost) Source #

The outpost ARN of the subnet.

subnet_supportedNetworkTypes :: Lens' Subnet (Maybe [NetworkType]) Source #

Either ipv4 | ipv6 | dual_stack. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the Nitro system.