Skip to content

AwsEc2VolumeAttachment

Source code in docs_src/capo_securityhub/types/aws_ec2_volume_attachment.py
class AwsEc2VolumeAttachment(TypedDict, closed=True):
    attach_time: NotRequired["capo_securityhub.types.non_empty_string.NonEmptyString"]
    """<p>The datetime when the attachment initiated.</p>"""
    delete_on_termination: NotRequired["capo_securityhub.types.boolean.Boolean"]
    """<p>Whether the EBS volume is deleted when the EC2 instance is terminated.</p>"""
    instance_id: NotRequired["capo_securityhub.types.non_empty_string.NonEmptyString"]
    """<p>The identifier of the EC2 instance.</p>"""
    status: NotRequired["capo_securityhub.types.non_empty_string.NonEmptyString"]
    """<p>The attachment state of the volume. Valid values are as follows:</p> <ul> <li> <p> <code>attaching</code> </p> </li> <li> <p> <code>attached</code> </p> </li> <li> <p> <code>busy</code> </p> </li> <li> <p> <code>detaching</code> </p> </li> <li> <p> <code>detached</code> </p> </li> </ul>"""

attach_time instance-attribute

attach_time: NotRequired[NonEmptyString]

The datetime when the attachment initiated.

delete_on_termination instance-attribute

delete_on_termination: NotRequired[Boolean]

Whether the EBS volume is deleted when the EC2 instance is terminated.

instance_id instance-attribute

instance_id: NotRequired[NonEmptyString]

The identifier of the EC2 instance.

status instance-attribute

status: NotRequired[NonEmptyString]

The attachment state of the volume. Valid values are as follows:

  • attaching

  • attached

  • busy

  • detaching

  • detached