Skip to content

SecondaryInterfaceAttachment

Source code in docs_src/capo_ec2/types/secondary_interface_attachment.py
class SecondaryInterfaceAttachment(TypedDict, closed=True):
    attachment_id: NotRequired["capo_ec2.types.string.String"]
    """<p>The ID of the attachment.</p>"""
    attach_time: NotRequired["capo_ec2.types.millisecond_date_time.MillisecondDateTime"]
    """<p>The timestamp when the attachment was created.</p>"""
    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 of the secondary interface.</p>"""
    instance_id: NotRequired["capo_ec2.types.string.String"]
    """<p>The ID of the instance to which the secondary interface is attached.</p>"""
    instance_owner_id: NotRequired["capo_ec2.types.string.String"]
    """<p>The Amazon Web Services account ID of the owner of the instance.</p>"""
    network_card_index: NotRequired["capo_ec2.types.integer.Integer"]
    """<p>The index of the network card.</p>"""
    status: NotRequired["capo_ec2.types.attachment_status.AttachmentStatus"]
    """<p>The attachment state.</p>"""

attach_time instance-attribute

attach_time: NotRequired[MillisecondDateTime]

The timestamp when the attachment was created.

attachment_id instance-attribute

attachment_id: NotRequired[String]

The ID of the attachment.

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 of the secondary interface.

instance_id instance-attribute

instance_id: NotRequired[String]

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

instance_owner_id instance-attribute

instance_owner_id: NotRequired[String]

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

network_card_index instance-attribute

network_card_index: NotRequired[Integer]

The index of the network card.

status instance-attribute

status: NotRequired[AttachmentStatus]

The attachment state.