Skip to content

EC2  >  Structures  >  SecondaryInterfaceAttachment

SecondaryInterfaceAttachment

Structure Class

SecondaryInterfaceAttachment 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.

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

The ID of the instance to which the secondary interface is attached.

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

The Amazon Web Services account ID of the owner of the instance.

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.