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.NetworkInterfaceAssociation

Description

 
Synopsis

Documentation

data NetworkInterfaceAssociation Source #

Describes association information for an Elastic IP address (IPv4 only), or a Carrier IP address (for a network interface which resides in a subnet in a Wavelength Zone).

See: newNetworkInterfaceAssociation smart constructor.

Constructors

NetworkInterfaceAssociation' 

Fields

Instances

Instances details
FromXML NetworkInterfaceAssociation Source # 
Instance details

Defined in Amazonka.EC2.Types.NetworkInterfaceAssociation

Generic NetworkInterfaceAssociation Source # 
Instance details

Defined in Amazonka.EC2.Types.NetworkInterfaceAssociation

Associated Types

type Rep NetworkInterfaceAssociation :: Type -> Type #

Read NetworkInterfaceAssociation Source # 
Instance details

Defined in Amazonka.EC2.Types.NetworkInterfaceAssociation

Show NetworkInterfaceAssociation Source # 
Instance details

Defined in Amazonka.EC2.Types.NetworkInterfaceAssociation

NFData NetworkInterfaceAssociation Source # 
Instance details

Defined in Amazonka.EC2.Types.NetworkInterfaceAssociation

Eq NetworkInterfaceAssociation Source # 
Instance details

Defined in Amazonka.EC2.Types.NetworkInterfaceAssociation

Hashable NetworkInterfaceAssociation Source # 
Instance details

Defined in Amazonka.EC2.Types.NetworkInterfaceAssociation

type Rep NetworkInterfaceAssociation Source # 
Instance details

Defined in Amazonka.EC2.Types.NetworkInterfaceAssociation

type Rep NetworkInterfaceAssociation = D1 ('MetaData "NetworkInterfaceAssociation" "Amazonka.EC2.Types.NetworkInterfaceAssociation" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "NetworkInterfaceAssociation'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "allocationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "associationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "carrierIp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "customerOwnedIp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "ipOwnerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "publicDnsName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "publicIp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newNetworkInterfaceAssociation :: NetworkInterfaceAssociation Source #

Create a value of NetworkInterfaceAssociation 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:allocationId:NetworkInterfaceAssociation', networkInterfaceAssociation_allocationId - The allocation ID.

$sel:associationId:NetworkInterfaceAssociation', networkInterfaceAssociation_associationId - The association ID.

$sel:carrierIp:NetworkInterfaceAssociation', networkInterfaceAssociation_carrierIp - The carrier IP address associated with the network interface.

This option is only available when the network interface is in a subnet which is associated with a Wavelength Zone.

$sel:customerOwnedIp:NetworkInterfaceAssociation', networkInterfaceAssociation_customerOwnedIp - The customer-owned IP address associated with the network interface.

$sel:ipOwnerId:NetworkInterfaceAssociation', networkInterfaceAssociation_ipOwnerId - The ID of the Elastic IP address owner.

$sel:publicDnsName:NetworkInterfaceAssociation', networkInterfaceAssociation_publicDnsName - The public DNS name.

$sel:publicIp:NetworkInterfaceAssociation', networkInterfaceAssociation_publicIp - The address of the Elastic IP address bound to the network interface.

networkInterfaceAssociation_carrierIp :: Lens' NetworkInterfaceAssociation (Maybe Text) Source #

The carrier IP address associated with the network interface.

This option is only available when the network interface is in a subnet which is associated with a Wavelength Zone.

networkInterfaceAssociation_customerOwnedIp :: Lens' NetworkInterfaceAssociation (Maybe Text) Source #

The customer-owned IP address associated with the network interface.

networkInterfaceAssociation_publicIp :: Lens' NetworkInterfaceAssociation (Maybe Text) Source #

The address of the Elastic IP address bound to the network interface.