Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::SecurityHub::Types::AwsEc2VolumeDetails

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing AwsEc2VolumeDetails as input to an Aws::Client method, you can use a vanilla Hash:

{
  create_time: "NonEmptyString",
  encrypted: false,
  size: 1,
  snapshot_id: "NonEmptyString",
  status: "NonEmptyString",
  kms_key_id: "NonEmptyString",
  attachments: [
    {
      attach_time: "NonEmptyString",
      delete_on_termination: false,
      instance_id: "NonEmptyString",
      status: "NonEmptyString",
    },
  ],
}

Details about an EC2 volume.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#attachmentsArray<Types::AwsEc2VolumeAttachment>

The volume attachments.

Returns:

#create_timeString

Indicates when the volume was created.

Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z.

Returns:

  • (String)

    Indicates when the volume was created.

#encryptedBoolean

Whether the volume is encrypted.

Returns:

  • (Boolean)

    Whether the volume is encrypted.

#kms_key_idString

The ARN of the AWS Key Management Service (AWS KMS) customer master key (CMK) that was used to protect the volume encryption key for the volume.

Returns:

  • (String)

    The ARN of the AWS Key Management Service (AWS KMS) customer master key (CMK) that was used to protect the volume encryption key for the volume.

#sizeInteger

The size of the volume, in GiBs.

Returns:

  • (Integer)

    The size of the volume, in GiBs.

#snapshot_idString

The snapshot from which the volume was created.

Returns:

  • (String)

    The snapshot from which the volume was created.

#statusString

The volume state.

Returns:

  • (String)

    The volume state.