amazonka-ec2-2.0: Amazon Elastic Compute Cloud 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.EC2.Types.PrivateIpAddressSpecification

Description

 
Synopsis

Documentation

data PrivateIpAddressSpecification Source #

Describes a secondary private IPv4 address for a network interface.

See: newPrivateIpAddressSpecification smart constructor.

Constructors

PrivateIpAddressSpecification' 

Fields

  • primary :: Maybe Bool

    Indicates whether the private IPv4 address is the primary private IPv4 address. Only one IPv4 address can be designated as primary.

  • privateIpAddress :: Maybe Text

    The private IPv4 address.

Instances

Instances details
ToQuery PrivateIpAddressSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.PrivateIpAddressSpecification

FromXML PrivateIpAddressSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.PrivateIpAddressSpecification

Generic PrivateIpAddressSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.PrivateIpAddressSpecification

Associated Types

type Rep PrivateIpAddressSpecification :: Type -> Type #

Read PrivateIpAddressSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.PrivateIpAddressSpecification

Show PrivateIpAddressSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.PrivateIpAddressSpecification

NFData PrivateIpAddressSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.PrivateIpAddressSpecification

Eq PrivateIpAddressSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.PrivateIpAddressSpecification

Hashable PrivateIpAddressSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.PrivateIpAddressSpecification

type Rep PrivateIpAddressSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.PrivateIpAddressSpecification

type Rep PrivateIpAddressSpecification = D1 ('MetaData "PrivateIpAddressSpecification" "Amazonka.EC2.Types.PrivateIpAddressSpecification" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "PrivateIpAddressSpecification'" 'PrefixI 'True) (S1 ('MetaSel ('Just "primary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "privateIpAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newPrivateIpAddressSpecification :: PrivateIpAddressSpecification Source #

Create a value of PrivateIpAddressSpecification 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:primary:PrivateIpAddressSpecification', privateIpAddressSpecification_primary - Indicates whether the private IPv4 address is the primary private IPv4 address. Only one IPv4 address can be designated as primary.

$sel:privateIpAddress:PrivateIpAddressSpecification', privateIpAddressSpecification_privateIpAddress - The private IPv4 address.

privateIpAddressSpecification_primary :: Lens' PrivateIpAddressSpecification (Maybe Bool) Source #

Indicates whether the private IPv4 address is the primary private IPv4 address. Only one IPv4 address can be designated as primary.