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

Description

 
Synopsis

Documentation

data NetworkInterface Source #

Describes a network interface.

See: newNetworkInterface smart constructor.

Constructors

NetworkInterface' 

Fields

Instances

Instances details
FromXML NetworkInterface Source # 
Instance details

Defined in Amazonka.EC2.Types.NetworkInterface

Generic NetworkInterface Source # 
Instance details

Defined in Amazonka.EC2.Types.NetworkInterface

Associated Types

type Rep NetworkInterface :: Type -> Type #

Read NetworkInterface Source # 
Instance details

Defined in Amazonka.EC2.Types.NetworkInterface

Show NetworkInterface Source # 
Instance details

Defined in Amazonka.EC2.Types.NetworkInterface

NFData NetworkInterface Source # 
Instance details

Defined in Amazonka.EC2.Types.NetworkInterface

Methods

rnf :: NetworkInterface -> () #

Eq NetworkInterface Source # 
Instance details

Defined in Amazonka.EC2.Types.NetworkInterface

Hashable NetworkInterface Source # 
Instance details

Defined in Amazonka.EC2.Types.NetworkInterface

type Rep NetworkInterface Source # 
Instance details

Defined in Amazonka.EC2.Types.NetworkInterface

type Rep NetworkInterface = D1 ('MetaData "NetworkInterface" "Amazonka.EC2.Types.NetworkInterface" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "NetworkInterface'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "association") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NetworkInterfaceAssociation)) :*: (S1 ('MetaSel ('Just "attachment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NetworkInterfaceAttachment)) :*: S1 ('MetaSel ('Just "availabilityZone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "denyAllIgwTraffic") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "groups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [GroupIdentifier]))))) :*: ((S1 ('MetaSel ('Just "interfaceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NetworkInterfaceType)) :*: (S1 ('MetaSel ('Just "ipv4Prefixes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Ipv4PrefixSpecification])) :*: S1 ('MetaSel ('Just "ipv6Address") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "ipv6Addresses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [NetworkInterfaceIpv6Address])) :*: S1 ('MetaSel ('Just "ipv6Native") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "ipv6Prefixes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Ipv6PrefixSpecification])) :*: S1 ('MetaSel ('Just "macAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))) :*: (((S1 ('MetaSel ('Just "networkInterfaceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "outpostArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "ownerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "privateDnsName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "privateIpAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "privateIpAddresses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [NetworkInterfacePrivateIpAddress]))))) :*: ((S1 ('MetaSel ('Just "requesterId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "requesterManaged") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "sourceDestCheck") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NetworkInterfaceStatus)) :*: S1 ('MetaSel ('Just "subnetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "tagSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "vpcId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))))

newNetworkInterface :: NetworkInterface Source #

Create a value of NetworkInterface 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:

NetworkInterface, networkInterface_association - The association information for an Elastic IP address (IPv4) associated with the network interface.

$sel:attachment:NetworkInterface', networkInterface_attachment - The network interface attachment.

$sel:availabilityZone:NetworkInterface', networkInterface_availabilityZone - The Availability Zone.

$sel:denyAllIgwTraffic:NetworkInterface', networkInterface_denyAllIgwTraffic - Indicates whether a network interface with an IPv6 address is unreachable from the public internet. If the value is true, inbound traffic from the internet is dropped and you cannot assign an elastic IP address to the network interface. The network interface is reachable from peered VPCs and resources connected through a transit gateway, including on-premises networks.

$sel:description:NetworkInterface', networkInterface_description - A description.

$sel:groups:NetworkInterface', networkInterface_groups - Any security groups for the network interface.

$sel:interfaceType:NetworkInterface', networkInterface_interfaceType - The type of network interface.

$sel:ipv4Prefixes:NetworkInterface', networkInterface_ipv4Prefixes - The IPv4 prefixes that are assigned to the network interface.

NetworkInterface, networkInterface_ipv6Address - The IPv6 globally unique address associated with the network interface.

$sel:ipv6Addresses:NetworkInterface', networkInterface_ipv6Addresses - The IPv6 addresses associated with the network interface.

$sel:ipv6Native:NetworkInterface', networkInterface_ipv6Native - Indicates whether this is an IPv6 only network interface.

$sel:ipv6Prefixes:NetworkInterface', networkInterface_ipv6Prefixes - The IPv6 prefixes that are assigned to the network interface.

$sel:macAddress:NetworkInterface', networkInterface_macAddress - The MAC address.

$sel:networkInterfaceId:NetworkInterface', networkInterface_networkInterfaceId - The ID of the network interface.

$sel:outpostArn:NetworkInterface', networkInterface_outpostArn - The Amazon Resource Name (ARN) of the Outpost.

$sel:ownerId:NetworkInterface', networkInterface_ownerId - The Amazon Web Services account ID of the owner of the network interface.

NetworkInterface, networkInterface_privateDnsName - The private DNS name.

NetworkInterface, networkInterface_privateIpAddress - The IPv4 address of the network interface within the subnet.

$sel:privateIpAddresses:NetworkInterface', networkInterface_privateIpAddresses - The private IPv4 addresses associated with the network interface.

$sel:requesterId:NetworkInterface', networkInterface_requesterId - The alias or Amazon Web Services account ID of the principal or service that created the network interface.

$sel:requesterManaged:NetworkInterface', networkInterface_requesterManaged - Indicates whether the network interface is being managed by Amazon Web Services.

$sel:sourceDestCheck:NetworkInterface', networkInterface_sourceDestCheck - Indicates whether source/destination checking is enabled.

NetworkInterface, networkInterface_status - The status of the network interface.

$sel:subnetId:NetworkInterface', networkInterface_subnetId - The ID of the subnet.

$sel:tagSet:NetworkInterface', networkInterface_tagSet - Any tags assigned to the network interface.

$sel:vpcId:NetworkInterface', networkInterface_vpcId - The ID of the VPC.

networkInterface_association :: Lens' NetworkInterface (Maybe NetworkInterfaceAssociation) Source #

The association information for an Elastic IP address (IPv4) associated with the network interface.

networkInterface_denyAllIgwTraffic :: Lens' NetworkInterface (Maybe Bool) Source #

Indicates whether a network interface with an IPv6 address is unreachable from the public internet. If the value is true, inbound traffic from the internet is dropped and you cannot assign an elastic IP address to the network interface. The network interface is reachable from peered VPCs and resources connected through a transit gateway, including on-premises networks.

networkInterface_groups :: Lens' NetworkInterface (Maybe [GroupIdentifier]) Source #

Any security groups for the network interface.

networkInterface_ipv4Prefixes :: Lens' NetworkInterface (Maybe [Ipv4PrefixSpecification]) Source #

The IPv4 prefixes that are assigned to the network interface.

networkInterface_ipv6Address :: Lens' NetworkInterface (Maybe Text) Source #

The IPv6 globally unique address associated with the network interface.

networkInterface_ipv6Addresses :: Lens' NetworkInterface (Maybe [NetworkInterfaceIpv6Address]) Source #

The IPv6 addresses associated with the network interface.

networkInterface_ipv6Native :: Lens' NetworkInterface (Maybe Bool) Source #

Indicates whether this is an IPv6 only network interface.

networkInterface_ipv6Prefixes :: Lens' NetworkInterface (Maybe [Ipv6PrefixSpecification]) Source #

The IPv6 prefixes that are assigned to the network interface.

networkInterface_outpostArn :: Lens' NetworkInterface (Maybe Text) Source #

The Amazon Resource Name (ARN) of the Outpost.

networkInterface_ownerId :: Lens' NetworkInterface (Maybe Text) Source #

The Amazon Web Services account ID of the owner of the network interface.

networkInterface_privateIpAddress :: Lens' NetworkInterface (Maybe Text) Source #

The IPv4 address of the network interface within the subnet.

networkInterface_privateIpAddresses :: Lens' NetworkInterface (Maybe [NetworkInterfacePrivateIpAddress]) Source #

The private IPv4 addresses associated with the network interface.

networkInterface_requesterId :: Lens' NetworkInterface (Maybe Text) Source #

The alias or Amazon Web Services account ID of the principal or service that created the network interface.

networkInterface_requesterManaged :: Lens' NetworkInterface (Maybe Bool) Source #

Indicates whether the network interface is being managed by Amazon Web Services.

networkInterface_sourceDestCheck :: Lens' NetworkInterface (Maybe Bool) Source #

Indicates whether source/destination checking is enabled.

networkInterface_tagSet :: Lens' NetworkInterface (Maybe [Tag]) Source #

Any tags assigned to the network interface.