Skip to content

EC2  >  Structures  >  InstanceNetworkInterface

InstanceNetworkInterface

Structure Class

InstanceNetworkInterface dataclass

Bases: _SerdeShape

Describes a network interface.

Attributes

association class-attribute instance-attribute
association: InstanceNetworkInterfaceAssociation | None = ...

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

attachment class-attribute instance-attribute
attachment: InstanceNetworkInterfaceAttachment | None = ...

The network interface attachment.

connection_tracking_configuration class-attribute instance-attribute
connection_tracking_configuration: ConnectionTrackingSpecificationResponse | None = ...

A security group connection tracking configuration that enables you to set the timeout for connection tracking on an Elastic network interface. For more information, see Connection tracking timeouts in the Amazon EC2 User Guide.

description class-attribute instance-attribute
description: str | None = ...

The description.

groups class-attribute instance-attribute
groups: list[GroupIdentifier] | None = ...

The security groups.

interface_type class-attribute instance-attribute
interface_type: str | None = ...

The type of network interface.

Valid values: interface | efa | efa-only | evs | trunk

ipv4_prefixes class-attribute instance-attribute
ipv4_prefixes: list[InstanceIpv4Prefix] | None = ...

The IPv4 delegated prefixes that are assigned to the network interface.

ipv6_addresses class-attribute instance-attribute
ipv6_addresses: list[InstanceIpv6Address] | None = ...

The IPv6 addresses associated with the network interface.

ipv6_prefixes class-attribute instance-attribute
ipv6_prefixes: list[InstanceIpv6Prefix] | None = ...

The IPv6 delegated prefixes that are assigned to the network interface.

mac_address class-attribute instance-attribute
mac_address: str | None = ...

The MAC address.

network_interface_id class-attribute instance-attribute
network_interface_id: str | None = ...

The ID of the network interface.

operator class-attribute instance-attribute
operator: OperatorResponse | None = ...

The service provider that manages the network interface.

owner_id class-attribute instance-attribute
owner_id: str | None = ...

The ID of the Amazon Web Services account that created the network interface.

private_dns_name class-attribute instance-attribute
private_dns_name: str | None = ...

The private DNS name.

private_ip_address class-attribute instance-attribute
private_ip_address: str | None = ...

The IPv4 address of the network interface within the subnet.

private_ip_addresses class-attribute instance-attribute
private_ip_addresses: list[InstancePrivateIpAddress] | None = ...

The private IPv4 addresses associated with the network interface.

source_dest_check class-attribute instance-attribute
source_dest_check: bool | None = ...

Indicates whether source/destination checking is enabled.

status class-attribute instance-attribute
status: str | None = ...

The status of the network interface.

subnet_id class-attribute instance-attribute
subnet_id: str | None = ...

The ID of the subnet.

vpc_id class-attribute instance-attribute
vpc_id: str | None = ...

The ID of the VPC.