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