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' {
- privateIpAddresses :: Maybe [PrivateIpAddressDetails]
- publicDnsName :: Maybe Text
- securityGroups :: Maybe [SecurityGroup]
- vpcId :: Maybe Text
- networkInterfaceId :: Maybe Text
- subnetId :: Maybe Text
- privateIpAddress :: Maybe Text
- publicIp :: Maybe Text
- privateDnsName :: Maybe Text
- ipv6Addresses :: Maybe [Text]
- newNetworkInterface :: NetworkInterface
- networkInterface_privateIpAddresses :: Lens' NetworkInterface (Maybe [PrivateIpAddressDetails])
- networkInterface_publicDnsName :: Lens' NetworkInterface (Maybe Text)
- networkInterface_securityGroups :: Lens' NetworkInterface (Maybe [SecurityGroup])
- networkInterface_vpcId :: Lens' NetworkInterface (Maybe Text)
- networkInterface_networkInterfaceId :: Lens' NetworkInterface (Maybe Text)
- networkInterface_subnetId :: 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 elastic network interface of the EC2 instance.
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
- Other private IP address information of the EC2 instance.
$sel:publicDnsName:NetworkInterface'
, networkInterface_publicDnsName
- The public DNS name of the EC2 instance.
$sel:securityGroups:NetworkInterface'
, networkInterface_securityGroups
- The security groups associated with the EC2 instance.
$sel:vpcId:NetworkInterface'
, networkInterface_vpcId
- The VPC ID of the EC2 instance.
$sel:networkInterfaceId:NetworkInterface'
, networkInterface_networkInterfaceId
- The ID of the network interface.
$sel:subnetId:NetworkInterface'
, networkInterface_subnetId
- The subnet ID of the EC2 instance.
$sel:privateIpAddress:NetworkInterface'
, networkInterface_privateIpAddress
- The private IP address of the EC2 instance.
$sel:publicIp:NetworkInterface'
, networkInterface_publicIp
- The public IP address of the EC2 instance.
$sel:privateDnsName:NetworkInterface'
, networkInterface_privateDnsName
- The private DNS name of the EC2 instance.
$sel:ipv6Addresses:NetworkInterface'
, networkInterface_ipv6Addresses
- A list of IPv6 addresses for the EC2 instance.
networkInterface_privateIpAddresses :: Lens' NetworkInterface (Maybe [PrivateIpAddressDetails]) Source #
Other private IP address information of the EC2 instance.
networkInterface_publicDnsName :: Lens' NetworkInterface (Maybe Text) Source #
The public DNS name of the EC2 instance.
networkInterface_securityGroups :: Lens' NetworkInterface (Maybe [SecurityGroup]) Source #
The security groups associated with the EC2 instance.
networkInterface_vpcId :: Lens' NetworkInterface (Maybe Text) Source #
The VPC ID of the EC2 instance.
networkInterface_networkInterfaceId :: Lens' NetworkInterface (Maybe Text) Source #
The ID of the network interface.
networkInterface_subnetId :: Lens' NetworkInterface (Maybe Text) Source #
The subnet ID of the EC2 instance.
networkInterface_privateIpAddress :: Lens' NetworkInterface (Maybe Text) Source #
The private IP address of the EC2 instance.
networkInterface_publicIp :: Lens' NetworkInterface (Maybe Text) Source #
The public IP address of the EC2 instance.
networkInterface_privateDnsName :: Lens' NetworkInterface (Maybe Text) Source #
The private DNS name of the EC2 instance.
networkInterface_ipv6Addresses :: Lens' NetworkInterface (Maybe [Text]) Source #
A list of IPv6 addresses for the EC2 instance.