Skip to content

EC2  >  Structures  >  InstanceSecondaryInterfaceAttachment

InstanceSecondaryInterfaceAttachment

Structure Class

InstanceSecondaryInterfaceAttachment dataclass

Bases: _SerdeShape

Describes the attachment of a secondary interface to an instance.

Attributes

attach_time class-attribute instance-attribute
attach_time: datetime | None = ...

The timestamp when the attachment was created.

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

The ID of the attachment.

delete_on_termination class-attribute 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 class-attribute instance-attribute
device_index: int | None = ...

The device index of the secondary interface.

network_card_index class-attribute instance-attribute
network_card_index: int | None = ...

The index of the network card.

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

The attachment state.