Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data NetworkInterface = NetworkInterface' {}
- newNetworkInterface :: NetworkInterface
- networkInterface_privateIpAddresses :: Lens' NetworkInterface (Maybe [PrivateIp])
- networkInterface_publicDnsName :: Lens' NetworkInterface (Maybe Text)
- networkInterface_securityGroups :: Lens' NetworkInterface (Maybe [SecurityGroup])
- networkInterface_vpcId :: Lens' NetworkInterface (Maybe Text)
- networkInterface_subnetId :: Lens' NetworkInterface (Maybe Text)
- networkInterface_networkInterfaceId :: Lens' NetworkInterface (Maybe Text)
- networkInterface_privateIpAddress :: Lens' NetworkInterface (Maybe Text)
- networkInterface_publicIp :: Lens' NetworkInterface (Maybe Text)
- networkInterface_privateDnsName :: Lens' NetworkInterface (Maybe Text)
- networkInterface_ipv6Addresses :: 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.
NetworkInterface' | |
|
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: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_networkInterfaceId :: Lens' NetworkInterface (Maybe Text) Source #
The ID of 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.