| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Inspector.Types.NetworkInterface
Description
Synopsis
- data NetworkInterface = NetworkInterface' {}
- newNetworkInterface :: NetworkInterface
- networkInterface_ipv6Addresses :: Lens' NetworkInterface (Maybe [Text])
- networkInterface_networkInterfaceId :: Lens' NetworkInterface (Maybe Text)
- networkInterface_privateDnsName :: Lens' NetworkInterface (Maybe Text)
- networkInterface_privateIpAddress :: Lens' NetworkInterface (Maybe Text)
- networkInterface_privateIpAddresses :: Lens' NetworkInterface (Maybe [PrivateIp])
- networkInterface_publicDnsName :: Lens' NetworkInterface (Maybe Text)
- networkInterface_publicIp :: Lens' NetworkInterface (Maybe Text)
- networkInterface_securityGroups :: Lens' NetworkInterface (Maybe [SecurityGroup])
- networkInterface_subnetId :: Lens' NetworkInterface (Maybe Text)
- networkInterface_vpcId :: Lens' NetworkInterface (Maybe Text)
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
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:ipv6Addresses:NetworkInterface', networkInterface_ipv6Addresses - The IP addresses associated with the network interface.
$sel:networkInterfaceId:NetworkInterface', networkInterface_networkInterfaceId - The ID of the network interface.
NetworkInterface, networkInterface_privateDnsName - The name of a private DNS associated with the network interface.
NetworkInterface, networkInterface_privateIpAddress - The private IP address associated with the network interface.
$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:publicIp:NetworkInterface', networkInterface_publicIp - The public IP address from which the network interface is reachable.
$sel:securityGroups:NetworkInterface', networkInterface_securityGroups - A list of the security groups associated with the network interface.
Includes the groupId and groupName.
$sel:subnetId:NetworkInterface', networkInterface_subnetId - The ID of a subnet associated with the network interface.
$sel:vpcId:NetworkInterface', networkInterface_vpcId - The ID of a VPC associated with the network interface.
networkInterface_ipv6Addresses :: Lens' NetworkInterface (Maybe [Text]) Source #
The IP addresses associated with the network interface.
networkInterface_networkInterfaceId :: Lens' NetworkInterface (Maybe Text) Source #
The ID of the network interface.
networkInterface_privateDnsName :: Lens' NetworkInterface (Maybe Text) Source #
The name of a private DNS associated with the network interface.
networkInterface_privateIpAddress :: Lens' NetworkInterface (Maybe Text) Source #
The private IP address 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_publicIp :: Lens' NetworkInterface (Maybe Text) Source #
The public IP address from which the network interface is reachable.
networkInterface_securityGroups :: Lens' NetworkInterface (Maybe [SecurityGroup]) Source #
A list of the security groups associated with the network interface. Includes the groupId and groupName.
networkInterface_subnetId :: Lens' NetworkInterface (Maybe Text) Source #
The ID of a subnet associated with the network interface.
networkInterface_vpcId :: Lens' NetworkInterface (Maybe Text) Source #
The ID of a VPC associated with the network interface.