Amazon Inspector
API Reference (API Version 2016-02-16)

NetworkInterface

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.

Contents

ipv6Addresses

The IP addresses associated with the network interface.

Type: Array of strings

Length Constraints: Minimum length of 0. Maximum length of 20000.

Required: No

networkInterfaceId

The ID of the network interface.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 20000.

Required: No

privateDnsName

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

Type: String

Length Constraints: Minimum length of 0. Maximum length of 20000.

Required: No

privateIpAddress

The private IP address associated with the network interface.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 20000.

Required: No

privateIpAddresses

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

Type: Array of PrivateIp objects

Required: No

publicDnsName

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

Type: String

Length Constraints: Minimum length of 0. Maximum length of 20000.

Required: No

publicIp

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

Type: String

Length Constraints: Minimum length of 0. Maximum length of 20000.

Required: No

securityGroups

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

Type: Array of SecurityGroup objects

Required: No

subnetId

The ID of a subnet associated with the network interface.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 20000.

Required: No

vpcId

The ID of a VPC associated with the network interface.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 20000.

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

On this page: