You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Inspector::Types::NetworkInterface

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

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.

Instance Attribute Summary collapse

Instance Attribute Details

#ipv6_addressesArray<String>

The IP addresses associated with the network interface.

Returns:

  • (Array<String>)

    The IP addresses associated with the network interface.

#network_interface_idString

The ID of the network interface.

Returns:

  • (String)

    The ID of the network interface.

#private_dns_nameString

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

Returns:

  • (String)

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

#private_ip_addressString

The private IP address associated with the network interface.

Returns:

  • (String)

    The private IP address associated with the network interface.

#private_ip_addressesArray<Types::PrivateIp>

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

Returns:

  • (Array<Types::PrivateIp>)

    A list of the private IP addresses associated with the network interface.

#public_dns_nameString

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

Returns:

  • (String)

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

#public_ipString

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

Returns:

  • (String)

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

#security_groupsArray<Types::SecurityGroup>

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

Returns:

  • (Array<Types::SecurityGroup>)

    A list of the security groups associated with the network interface.

#subnet_idString

The ID of a subnet associated with the network interface.

Returns:

  • (String)

    The ID of a subnet associated with the network interface.

#vpc_idString

The ID of a VPC associated with the network interface.

Returns:

  • (String)

    The ID of a VPC associated with the network interface.