libZSservicesZSamazonka-inspectorZSamazonka-inspector
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.Inspector.Types.NetworkInterface

Description

 
Synopsis

Documentation

data NetworkInterface Source #

Contains information about the network interfaces interacting with an EC2 instance. This data type is used as one of the elements of the AssetAttributes data type.

See: newNetworkInterface smart constructor.

Constructors

NetworkInterface' 

Fields

Instances

Instances details
Eq NetworkInterface Source # 
Instance details

Defined in Amazonka.Inspector.Types.NetworkInterface

Read NetworkInterface Source # 
Instance details

Defined in Amazonka.Inspector.Types.NetworkInterface

Show NetworkInterface Source # 
Instance details

Defined in Amazonka.Inspector.Types.NetworkInterface

Generic NetworkInterface Source # 
Instance details

Defined in Amazonka.Inspector.Types.NetworkInterface

Associated Types

type Rep NetworkInterface :: Type -> Type #

NFData NetworkInterface Source # 
Instance details

Defined in Amazonka.Inspector.Types.NetworkInterface

Methods

rnf :: NetworkInterface -> () #

Hashable NetworkInterface Source # 
Instance details

Defined in Amazonka.Inspector.Types.NetworkInterface

FromJSON NetworkInterface Source # 
Instance details

Defined in Amazonka.Inspector.Types.NetworkInterface

type Rep NetworkInterface Source # 
Instance details

Defined in Amazonka.Inspector.Types.NetworkInterface

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:

$sel:privateIpAddresses:NetworkInterface', networkInterface_privateIpAddresses - A list of the private IP addresses associated with the network interface. Includes the privateDnsName and privateIpAddress.

$sel:publicDnsName:NetworkInterface', networkInterface_publicDnsName - The name of a public DNS associated with the network interface.

$sel:securityGroups:NetworkInterface', networkInterface_securityGroups - A list of the security groups associated with the network interface. Includes the groupId and groupName.

$sel:vpcId:NetworkInterface', networkInterface_vpcId - The ID of a VPC associated with the network interface.

$sel:subnetId:NetworkInterface', networkInterface_subnetId - The ID of a subnet associated with the network interface.

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

$sel:privateIpAddress:NetworkInterface', networkInterface_privateIpAddress - The private IP address associated with the network interface.

$sel:publicIp:NetworkInterface', networkInterface_publicIp - The public IP address from which the network interface is reachable.

$sel:privateDnsName:NetworkInterface', networkInterface_privateDnsName - The name of a private DNS associated with the network interface.

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

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

A list of the private IP addresses associated with the network interface. Includes the privateDnsName and privateIpAddress.

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

The name of a public DNS associated with the network interface.

networkInterface_securityGroups :: Lens' NetworkInterface (Maybe [SecurityGroup]) Source #

A list of the security groups associated with the network interface. Includes the groupId and groupName.

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

The ID of a VPC associated with the network interface.

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

The ID of a subnet associated with the network interface.

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

The private IP address associated with the network interface.

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

The public IP address from which the network interface is reachable.

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

The name of a private DNS associated with the network interface.

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

The IP addresses associated with the network interface.