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:



8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8942

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)


8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8942

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)


8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8942

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)


8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8942

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)


8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8942

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)


8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8942

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)


8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8942

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)


8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8942

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)


8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8942

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)


8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8942

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)


8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8942

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