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

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

Overview

Details about an EC2 volume.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#attachments ⇒ Array<Types::AwsEc2VolumeAttachment>

The volume attachments.

Returns:



8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8917

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.

For more information about the validation and formatting of timestamp fields in Security Hub CSPM, see Timestamps.

Returns:

  • (String)


8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8917

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.

Returns:

  • (String)


8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8917

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.

Returns:

  • (Boolean)


8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8917

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.

Returns:

  • (String)


8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8917

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.

Returns:

  • (Integer)


8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8917

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.

Returns:

  • (String)


8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8917

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. Valid values are as follows:

  • available

  • creating

  • deleted

  • deleting

  • error

  • in-use

Returns:

  • (String)


8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8917

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.

Returns:

  • (String)


8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8917

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.

Returns:

  • (String)


8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8917

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.

Returns:

  • (String)


8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8917

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