Skip to content

InstanceSecondaryInterfaceSpecificationRequest

Source code in docs_src/capo_ec2/types/instance_secondary_interface_specification_request.py
class InstanceSecondaryInterfaceSpecificationRequest(TypedDict, closed=True):
    delete_on_termination: NotRequired["capo_ec2.types.boolean.Boolean"]
    """<p>Indicates whether the secondary interface is deleted when the instance is terminated.</p> <p>The only supported value for this field is <code>true</code>.</p>"""
    device_index: NotRequired["capo_ec2.types.integer.Integer"]
    """<p>The device index for the secondary interface attachment.</p>"""
    private_ip_addresses: NotRequired[
        "capo_ec2.types.instance_secondary_interface_private_ip_address_list_request.InstanceSecondaryInterfacePrivateIpAddressListRequest"
    ]
    """<p>The private IPv4 addresses to assign to the secondary interface.</p>"""
    private_ip_address_count: NotRequired["capo_ec2.types.integer.Integer"]
    """<p>The number of private IPv4 addresses to assign to the secondary interface.</p>"""
    secondary_subnet_id: NotRequired[
        "capo_ec2.types.secondary_subnet_id.SecondarySubnetId"
    ]
    """<p>The ID of the secondary subnet.</p>"""
    interface_type: NotRequired[
        "capo_ec2.types.secondary_interface_type.SecondaryInterfaceType"
    ]
    """<p>The type of secondary interface.</p>"""
    network_card_index: NotRequired["capo_ec2.types.integer.Integer"]
    """<p>The index of the network card. The network card must support secondary interfaces.</p>"""

delete_on_termination instance-attribute

delete_on_termination: NotRequired[Boolean]

Indicates whether the secondary interface is deleted when the instance is terminated.

The only supported value for this field is true.

device_index instance-attribute

device_index: NotRequired[Integer]

The device index for the secondary interface attachment.

interface_type instance-attribute

interface_type: NotRequired[SecondaryInterfaceType]

The type of secondary interface.

network_card_index instance-attribute

network_card_index: NotRequired[Integer]

The index of the network card. The network card must support secondary interfaces.

private_ip_address_count instance-attribute

private_ip_address_count: NotRequired[Integer]

The number of private IPv4 addresses to assign to the secondary interface.

private_ip_addresses instance-attribute

private_ip_addresses: NotRequired[InstanceSecondaryInterfacePrivateIpAddressListRequest]

The private IPv4 addresses to assign to the secondary interface.

secondary_subnet_id instance-attribute

secondary_subnet_id: NotRequired[SecondarySubnetId]

The ID of the secondary subnet.