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
- Struct
- Aws::SecurityHub::Types::AwsEc2VolumeDetails
- Defined in:
- (unknown)
Overview
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
-
#attachments ⇒ Array<Types::AwsEc2VolumeAttachment>
The volume attachments.
-
#create_time ⇒ String
Indicates when the volume was created.
-
#encrypted ⇒ Boolean
Whether the volume is encrypted.
-
#kms_key_id ⇒ 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.
-
#size ⇒ Integer
The size of the volume, in GiBs.
-
#snapshot_id ⇒ String
The snapshot from which the volume was created.
-
#status ⇒ String
The volume state.
Instance Attribute Details
#attachments ⇒ Array<Types::AwsEc2VolumeAttachment>
The volume attachments.
#create_time ⇒ String
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
.
#encrypted ⇒ Boolean
Whether the volume is encrypted.
#kms_key_id ⇒ 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.
#size ⇒ Integer
The size of the volume, in GiBs.
#snapshot_id ⇒ String
The snapshot from which the volume was created.
#status ⇒ String
The volume state.