Skip to content

EC2  >  Dictionaries  >  InstanceSecondaryInterfaceSpecificationRequestDict

InstanceSecondaryInterfaceSpecificationRequestDict

Dictionary Type

InstanceSecondaryInterfaceSpecificationRequestDict

Bases: TypedDict

Dictionary form of InstanceSecondaryInterfaceSpecificationRequest.

Attributes

delete_on_termination instance-attribute
delete_on_termination: bool | None

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: int | None

The device index for the secondary interface attachment.

interface_type instance-attribute
interface_type: str | None

The type of secondary interface.

network_card_index instance-attribute
network_card_index: int | None

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

private_ip_address_count instance-attribute
private_ip_address_count: int | None

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

private_ip_addresses instance-attribute

The private IPv4 addresses to assign to the secondary interface.

secondary_subnet_id instance-attribute
secondary_subnet_id: str | None

The ID of the secondary subnet.