AwsEc2VolumeDetails - Amazon Security Hub
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AwsEc2VolumeDetails

Details about an EC2 volume.

Contents

Attachments

The volume attachments.

Type: Array of AwsEc2VolumeAttachment objects

Required: No

CreateTime

Indicates when the volume was created.

This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:

  • YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z)

  • YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z)

  • YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59)

  • YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759)

  • YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59)

Type: String

Pattern: .*\S.*

Required: No

DeviceName

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

Type: String

Pattern: .*\S.*

Required: No

Encrypted

Specifies whether the volume is encrypted.

Type: Boolean

Required: No

KmsKeyId

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

Type: String

Pattern: .*\S.*

Required: No

Size

The size of the volume, in GiBs.

Type: Integer

Required: No

SnapshotId

The snapshot from which the volume was created.

Type: String

Pattern: .*\S.*

Required: No

Status

The volume state. Valid values are as follows:

  • available

  • creating

  • deleted

  • deleting

  • error

  • in-use

Type: String

Pattern: .*\S.*

Required: No

VolumeId

The ID of the volume.

Type: String

Pattern: .*\S.*

Required: No

VolumeScanStatus

Indicates whether the volume was scanned or skipped.

Type: String

Pattern: .*\S.*

Required: No

VolumeType

The volume type.

Type: String

Pattern: .*\S.*

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: