Skip to content

AwsEc2VolumeDetails

Source code in docs_src/capo_securityhub/types/aws_ec2_volume_details.py
class AwsEc2VolumeDetails(TypedDict, closed=True):
    create_time: NotRequired["capo_securityhub.types.non_empty_string.NonEmptyString"]
    """<p>Indicates when the volume was created.</p> <p>For more information about the validation and formatting of timestamp fields in Security Hub CSPM, see <a href="https://docs.aws.amazon.com/securityhub/1.0/APIReference/Welcome.html#timestamps">Timestamps</a>.</p>"""
    device_name: NotRequired["capo_securityhub.types.non_empty_string.NonEmptyString"]
    """<p>The device name for the volume that is attached to the instance. </p>"""
    encrypted: NotRequired["capo_securityhub.types.boolean.Boolean"]
    """<p>Specifies whether the volume is encrypted.</p>"""
    size: NotRequired["capo_securityhub.types.integer.Integer"]
    """<p>The size of the volume, in GiBs.</p>"""
    snapshot_id: NotRequired["capo_securityhub.types.non_empty_string.NonEmptyString"]
    """<p>The snapshot from which the volume was created.</p>"""
    status: NotRequired["capo_securityhub.types.non_empty_string.NonEmptyString"]
    """<p>The volume state. Valid values are as follows:</p> <ul> <li> <p> <code>available</code> </p> </li> <li> <p> <code>creating</code> </p> </li> <li> <p> <code>deleted</code> </p> </li> <li> <p> <code>deleting</code> </p> </li> <li> <p> <code>error</code> </p> </li> <li> <p> <code>in-use</code> </p> </li> </ul>"""
    kms_key_id: NotRequired["capo_securityhub.types.non_empty_string.NonEmptyString"]
    """<p>The ARN of the KMS key that was used to protect the volume encryption key for the volume.</p>"""
    attachments: NotRequired[
        "capo_securityhub.types.aws_ec2_volume_attachment_list.AwsEc2VolumeAttachmentList"
    ]
    """<p>The volume attachments.</p>"""
    volume_id: NotRequired["capo_securityhub.types.non_empty_string.NonEmptyString"]
    """<p>The ID of the volume. </p>"""
    volume_type: NotRequired["capo_securityhub.types.non_empty_string.NonEmptyString"]
    """<p>The volume type. </p>"""
    volume_scan_status: NotRequired[
        "capo_securityhub.types.non_empty_string.NonEmptyString"
    ]
    """<p>Indicates whether the volume was scanned or skipped. </p>"""

attachments instance-attribute

attachments: NotRequired[AwsEc2VolumeAttachmentList]

The volume attachments.

create_time instance-attribute

create_time: NotRequired[NonEmptyString]

Indicates when the volume was created.

For more information about the validation and formatting of timestamp fields in Security Hub CSPM, see Timestamps.

device_name instance-attribute

device_name: NotRequired[NonEmptyString]

The device name for the volume that is attached to the instance.

encrypted instance-attribute

encrypted: NotRequired[Boolean]

Specifies whether the volume is encrypted.

kms_key_id instance-attribute

kms_key_id: NotRequired[NonEmptyString]

The ARN of the KMS key that was used to protect the volume encryption key for the volume.

size instance-attribute

size: NotRequired[Integer]

The size of the volume, in GiBs.

snapshot_id instance-attribute

snapshot_id: NotRequired[NonEmptyString]

The snapshot from which the volume was created.

status instance-attribute

status: NotRequired[NonEmptyString]

The volume state. Valid values are as follows:

  • available

  • creating

  • deleted

  • deleting

  • error

  • in-use

volume_id instance-attribute

volume_id: NotRequired[NonEmptyString]

The ID of the volume.

volume_scan_status instance-attribute

volume_scan_status: NotRequired[NonEmptyString]

Indicates whether the volume was scanned or skipped.

volume_type instance-attribute

volume_type: NotRequired[NonEmptyString]

The volume type.