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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb

Overview

Note:

When making an API call, you may pass AwsEc2VolumeDetails data as a 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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#attachmentsArray<Types::AwsEc2VolumeAttachment>

The volume attachments.

Returns:



5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5545

class AwsEc2VolumeDetails < Struct.new(
  :create_time,
  :encrypted,
  :size,
  :snapshot_id,
  :status,
  :kms_key_id,
  :attachments)
  SENSITIVE = []
  include Aws::Structure
end

#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)


5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5545

class AwsEc2VolumeDetails < Struct.new(
  :create_time,
  :encrypted,
  :size,
  :snapshot_id,
  :status,
  :kms_key_id,
  :attachments)
  SENSITIVE = []
  include Aws::Structure
end

#encryptedBoolean

Whether the volume is encrypted.

Returns:

  • (Boolean)


5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5545

class AwsEc2VolumeDetails < Struct.new(
  :create_time,
  :encrypted,
  :size,
  :snapshot_id,
  :status,
  :kms_key_id,
  :attachments)
  SENSITIVE = []
  include Aws::Structure
end

#kms_key_idString

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

Returns:

  • (String)


5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5545

class AwsEc2VolumeDetails < Struct.new(
  :create_time,
  :encrypted,
  :size,
  :snapshot_id,
  :status,
  :kms_key_id,
  :attachments)
  SENSITIVE = []
  include Aws::Structure
end

#sizeInteger

The size of the volume, in GiBs.

Returns:

  • (Integer)


5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5545

class AwsEc2VolumeDetails < Struct.new(
  :create_time,
  :encrypted,
  :size,
  :snapshot_id,
  :status,
  :kms_key_id,
  :attachments)
  SENSITIVE = []
  include Aws::Structure
end

#snapshot_idString

The snapshot from which the volume was created.

Returns:

  • (String)


5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5545

class AwsEc2VolumeDetails < Struct.new(
  :create_time,
  :encrypted,
  :size,
  :snapshot_id,
  :status,
  :kms_key_id,
  :attachments)
  SENSITIVE = []
  include Aws::Structure
end

#statusString

The volume state.

Returns:

  • (String)


5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5545

class AwsEc2VolumeDetails < Struct.new(
  :create_time,
  :encrypted,
  :size,
  :snapshot_id,
  :status,
  :kms_key_id,
  :attachments)
  SENSITIVE = []
  include Aws::Structure
end