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

Class: Aws::EC2::Types::InstanceNetworkInterface

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

Overview

Describes a network interface.

Instance Attribute Summary collapse

Instance Attribute Details

#associationTypes::InstanceNetworkInterfaceAssociation

The association information for an Elastic IPv4 associated with the network interface.

Returns:

#attachmentTypes::InstanceNetworkInterfaceAttachment

The network interface attachment.

Returns:

#descriptionString

The description.

Returns:

  • (String)

    The description.

#groupsArray<Types::GroupIdentifier>

One or more security groups.

Returns:

#interface_typeString

Describes the type of network interface.

Valid values: interface | efa

Returns:

  • (String)

    Describes the type of network interface.

#ipv_6_addressesArray<Types::InstanceIpv6Address>

One or more IPv6 addresses associated with the network interface.

Returns:

#mac_addressString

The MAC address.

Returns:

  • (String)

    The MAC address.

#network_interface_idString

The ID of the network interface.

Returns:

  • (String)

    The ID of the network interface.

#owner_idString

The ID of the AWS account that created the network interface.

Returns:

  • (String)

    The ID of the AWS account that created the network interface.

#private_dns_nameString

The private DNS name.

Returns:

  • (String)

    The private DNS name.

#private_ip_addressString

The IPv4 address of the network interface within the subnet.

Returns:

  • (String)

    The IPv4 address of the network interface within the subnet.

#private_ip_addressesArray<Types::InstancePrivateIpAddress>

One or more private IPv4 addresses associated with the network interface.

Returns:

#source_dest_checkBoolean

Indicates whether to validate network traffic to or from this network interface.

Returns:

  • (Boolean)

    Indicates whether to validate network traffic to or from this network interface.

#statusString

The status of the network interface.

Possible values:

  • available
  • associated
  • attaching
  • in-use
  • detaching

Returns:

  • (String)

    The status of the network interface.

#subnet_idString

The ID of the subnet.

Returns:

  • (String)

    The ID of the subnet.

#vpc_idString

The ID of the VPC.

Returns:

  • (String)

    The ID of the VPC.