Skip to content

AttachNetworkInterfaceRequest

Source code in docs_src/capo_ec2/types/attach_network_interface_request.py
class AttachNetworkInterfaceRequest(TypedDict, closed=True):
    network_card_index: NotRequired["capo_ec2.types.integer.Integer"]
    """<p>The index of the network card. Some instance types support multiple network cards. The primary network interface must be assigned to network card index 0. The default is network card index 0.</p>"""
    ena_srd_specification: NotRequired[
        "capo_ec2.types.ena_srd_specification.EnaSrdSpecification"
    ]
    """<p>Configures ENA Express for the network interface that this action attaches to the instance.</p>"""
    ena_queue_count: NotRequired["capo_ec2.types.integer.Integer"]
    """<p>The number of ENA queues to be created with the instance.</p>"""
    dry_run: NotRequired["capo_ec2.types.boolean.Boolean"]
    """<p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>"""
    network_interface_id: NotRequired[
        "capo_ec2.types.network_interface_id.NetworkInterfaceId"
    ]
    """<p>The ID of the network interface.</p>"""
    instance_id: NotRequired["capo_ec2.types.instance_id.InstanceId"]
    """<p>The ID of the instance.</p>"""
    device_index: NotRequired["capo_ec2.types.integer.Integer"]
    """<p>The index of the device for the network interface attachment.</p>"""

device_index instance-attribute

device_index: NotRequired[Integer]

The index of the device for the network interface attachment.

dry_run instance-attribute

dry_run: NotRequired[Boolean]

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

ena_queue_count instance-attribute

ena_queue_count: NotRequired[Integer]

The number of ENA queues to be created with the instance.

ena_srd_specification instance-attribute

ena_srd_specification: NotRequired[EnaSrdSpecification]

Configures ENA Express for the network interface that this action attaches to the instance.

instance_id instance-attribute

instance_id: NotRequired[InstanceId]

The ID of the instance.

network_card_index instance-attribute

network_card_index: NotRequired[Integer]

The index of the network card. Some instance types support multiple network cards. The primary network interface must be assigned to network card index 0. The default is network card index 0.

network_interface_id instance-attribute

network_interface_id: NotRequired[NetworkInterfaceId]

The ID of the network interface.