Skip to content

InstanceNetworkInterface

Source code in docs_src/capo_ec2/types/instance_network_interface.py
class InstanceNetworkInterface(TypedDict, closed=True):
    association: NotRequired[
        "capo_ec2.types.instance_network_interface_association.InstanceNetworkInterfaceAssociation"
    ]
    """<p>The association information for an Elastic IPv4 associated with the network interface.</p>"""
    attachment: NotRequired[
        "capo_ec2.types.instance_network_interface_attachment.InstanceNetworkInterfaceAttachment"
    ]
    """<p>The network interface attachment.</p>"""
    description: NotRequired["capo_ec2.types.string.String"]
    """<p>The description.</p>"""
    groups: NotRequired["capo_ec2.types.group_identifier_list.GroupIdentifierList"]
    """<p>The security groups.</p>"""
    ipv6_addresses: NotRequired[
        "capo_ec2.types.instance_ipv6_address_list.InstanceIpv6AddressList"
    ]
    """<p>The IPv6 addresses associated with the network interface.</p>"""
    mac_address: NotRequired["capo_ec2.types.string.String"]
    """<p>The MAC address.</p>"""
    network_interface_id: NotRequired["capo_ec2.types.string.String"]
    """<p>The ID of the network interface.</p>"""
    owner_id: NotRequired["capo_ec2.types.string.String"]
    """<p>The ID of the Amazon Web Services account that created the network interface.</p>"""
    private_dns_name: NotRequired["capo_ec2.types.string.String"]
    """<p>The private DNS name.</p>"""
    private_ip_address: NotRequired["capo_ec2.types.string.String"]
    """<p>The IPv4 address of the network interface within the subnet.</p>"""
    private_ip_addresses: NotRequired[
        "capo_ec2.types.instance_private_ip_address_list.InstancePrivateIpAddressList"
    ]
    """<p>The private IPv4 addresses associated with the network interface.</p>"""
    source_dest_check: NotRequired["capo_ec2.types.boolean.Boolean"]
    """<p>Indicates whether source/destination checking is enabled.</p>"""
    status: NotRequired[
        "capo_ec2.types.network_interface_status.NetworkInterfaceStatus"
    ]
    """<p>The status of the network interface.</p>"""
    subnet_id: NotRequired["capo_ec2.types.string.String"]
    """<p>The ID of the subnet.</p>"""
    vpc_id: NotRequired["capo_ec2.types.string.String"]
    """<p>The ID of the VPC.</p>"""
    interface_type: NotRequired["capo_ec2.types.string.String"]
    """<p>The type of network interface.</p> <p>Valid values: <code>interface</code> | <code>efa</code> | <code>efa-only</code> | <code>evs</code> | <code>trunk</code> </p>"""
    ipv4_prefixes: NotRequired[
        "capo_ec2.types.instance_ipv4_prefix_list.InstanceIpv4PrefixList"
    ]
    """<p>The IPv4 delegated prefixes that are assigned to the network interface.</p>"""
    ipv6_prefixes: NotRequired[
        "capo_ec2.types.instance_ipv6_prefix_list.InstanceIpv6PrefixList"
    ]
    """<p>The IPv6 delegated prefixes that are assigned to the network interface.</p>"""
    connection_tracking_configuration: NotRequired[
        "capo_ec2.types.connection_tracking_specification_response.ConnectionTrackingSpecificationResponse"
    ]
    """<p>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 <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-connection-tracking.html#connection-tracking-timeouts">Connection tracking timeouts</a> in the <i>Amazon EC2 User Guide</i>.</p>"""
    operator: NotRequired["capo_ec2.types.operator_response.OperatorResponse"]
    """<p>The service provider that manages the network interface.</p>"""

association instance-attribute

association: NotRequired[InstanceNetworkInterfaceAssociation]

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

attachment instance-attribute

attachment: NotRequired[InstanceNetworkInterfaceAttachment]

The network interface attachment.

connection_tracking_configuration instance-attribute

connection_tracking_configuration: NotRequired[ConnectionTrackingSpecificationResponse]

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 instance-attribute

description: NotRequired[String]

The description.

groups instance-attribute

groups: NotRequired[GroupIdentifierList]

The security groups.

interface_type instance-attribute

interface_type: NotRequired[String]

The type of network interface.

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

ipv4_prefixes instance-attribute

ipv4_prefixes: NotRequired[InstanceIpv4PrefixList]

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

ipv6_addresses instance-attribute

ipv6_addresses: NotRequired[InstanceIpv6AddressList]

The IPv6 addresses associated with the network interface.

ipv6_prefixes instance-attribute

ipv6_prefixes: NotRequired[InstanceIpv6PrefixList]

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

mac_address instance-attribute

mac_address: NotRequired[String]

The MAC address.

network_interface_id instance-attribute

network_interface_id: NotRequired[String]

The ID of the network interface.

operator instance-attribute

operator: NotRequired[OperatorResponse]

The service provider that manages the network interface.

owner_id instance-attribute

owner_id: NotRequired[String]

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

private_dns_name instance-attribute

private_dns_name: NotRequired[String]

The private DNS name.

private_ip_address instance-attribute

private_ip_address: NotRequired[String]

The IPv4 address of the network interface within the subnet.

private_ip_addresses instance-attribute

private_ip_addresses: NotRequired[InstancePrivateIpAddressList]

The private IPv4 addresses associated with the network interface.

source_dest_check instance-attribute

source_dest_check: NotRequired[Boolean]

Indicates whether source/destination checking is enabled.

status instance-attribute

status: NotRequired[NetworkInterfaceStatus]

The status of the network interface.

subnet_id instance-attribute

subnet_id: NotRequired[String]

The ID of the subnet.

vpc_id instance-attribute

vpc_id: NotRequired[String]

The ID of the VPC.