Class: Aws::SecurityHub::Types::AwsEc2VolumeDetails
- Inherits:
-
Struct
- Object
- Struct
- Aws::SecurityHub::Types::AwsEc2VolumeDetails
- Defined in:
- gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb
Overview
When making an API call, you may pass AwsEc2VolumeDetails data as a hash:
{
create_time: "NonEmptyString",
device_name: "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",
},
],
volume_id: "NonEmptyString",
volume_type: "NonEmptyString",
volume_scan_status: "NonEmptyString",
}
Details about an EC2 volume.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#attachments ⇒ Array<Types::AwsEc2VolumeAttachment>
The volume attachments.
-
#create_time ⇒ String
Indicates when the volume was created.
-
#device_name ⇒ String
The device name for the volume that is attached to the instance.
-
#encrypted ⇒ Boolean
Specifies whether the volume is encrypted.
-
#kms_key_id ⇒ String
The ARN of the KMS key 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.
-
#volume_id ⇒ String
The ID of the volume.
-
#volume_scan_status ⇒ String
Indicates whether the volume was scanned or skipped.
-
#volume_type ⇒ String
The volume type.
Instance Attribute Details
#attachments ⇒ Array<Types::AwsEc2VolumeAttachment>
The volume attachments.
6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 6633 class AwsEc2VolumeDetails < Struct.new( :create_time, :device_name, :encrypted, :size, :snapshot_id, :status, :kms_key_id, :attachments, :volume_id, :volume_type, :volume_scan_status) SENSITIVE = [] include Aws::Structure end |
#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
.
6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 6633 class AwsEc2VolumeDetails < Struct.new( :create_time, :device_name, :encrypted, :size, :snapshot_id, :status, :kms_key_id, :attachments, :volume_id, :volume_type, :volume_scan_status) SENSITIVE = [] include Aws::Structure end |
#device_name ⇒ String
The device name for the volume that is attached to the instance.
6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 6633 class AwsEc2VolumeDetails < Struct.new( :create_time, :device_name, :encrypted, :size, :snapshot_id, :status, :kms_key_id, :attachments, :volume_id, :volume_type, :volume_scan_status) SENSITIVE = [] include Aws::Structure end |
#encrypted ⇒ Boolean
Specifies whether the volume is encrypted.
6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 6633 class AwsEc2VolumeDetails < Struct.new( :create_time, :device_name, :encrypted, :size, :snapshot_id, :status, :kms_key_id, :attachments, :volume_id, :volume_type, :volume_scan_status) SENSITIVE = [] include Aws::Structure end |
#kms_key_id ⇒ String
The ARN of the KMS key that was used to protect the volume encryption key for the volume.
6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 6633 class AwsEc2VolumeDetails < Struct.new( :create_time, :device_name, :encrypted, :size, :snapshot_id, :status, :kms_key_id, :attachments, :volume_id, :volume_type, :volume_scan_status) SENSITIVE = [] include Aws::Structure end |
#size ⇒ Integer
The size of the volume, in GiBs.
6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 6633 class AwsEc2VolumeDetails < Struct.new( :create_time, :device_name, :encrypted, :size, :snapshot_id, :status, :kms_key_id, :attachments, :volume_id, :volume_type, :volume_scan_status) SENSITIVE = [] include Aws::Structure end |
#snapshot_id ⇒ String
The snapshot from which the volume was created.
6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 6633 class AwsEc2VolumeDetails < Struct.new( :create_time, :device_name, :encrypted, :size, :snapshot_id, :status, :kms_key_id, :attachments, :volume_id, :volume_type, :volume_scan_status) SENSITIVE = [] include Aws::Structure end |
#status ⇒ String
The volume state.
6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 6633 class AwsEc2VolumeDetails < Struct.new( :create_time, :device_name, :encrypted, :size, :snapshot_id, :status, :kms_key_id, :attachments, :volume_id, :volume_type, :volume_scan_status) SENSITIVE = [] include Aws::Structure end |
#volume_id ⇒ String
The ID of the volume.
6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 6633 class AwsEc2VolumeDetails < Struct.new( :create_time, :device_name, :encrypted, :size, :snapshot_id, :status, :kms_key_id, :attachments, :volume_id, :volume_type, :volume_scan_status) SENSITIVE = [] include Aws::Structure end |
#volume_scan_status ⇒ String
Indicates whether the volume was scanned or skipped.
6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 6633 class AwsEc2VolumeDetails < Struct.new( :create_time, :device_name, :encrypted, :size, :snapshot_id, :status, :kms_key_id, :attachments, :volume_id, :volume_type, :volume_scan_status) SENSITIVE = [] include Aws::Structure end |
#volume_type ⇒ String
The volume type.
6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 6633 class AwsEc2VolumeDetails < Struct.new( :create_time, :device_name, :encrypted, :size, :snapshot_id, :status, :kms_key_id, :attachments, :volume_id, :volume_type, :volume_scan_status) SENSITIVE = [] include Aws::Structure end |