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

#attachmentsArray<Types::AwsEc2VolumeAttachment>

The volume attachments.

Returns:



8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8950

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_timeString

Indicates when the volume was created.

This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:

  • YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z)

  • YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z)

  • YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59)

  • YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759)

  • YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59)

Returns:

  • (String)


8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8950

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_nameString

The device name for the volume that is attached to the instance.

Returns:

  • (String)


8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8950

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

#encryptedBoolean

Specifies whether the volume is encrypted.

Returns:

  • (Boolean)


8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8950

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_idString

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

Returns:

  • (String)


8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8950

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

#sizeInteger

The size of the volume, in GiBs.

Returns:

  • (Integer)


8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8950

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_idString

The snapshot from which the volume was created.

Returns:

  • (String)


8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8950

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

#statusString

The volume state. Valid values are as follows:

  • available

  • creating

  • deleted

  • deleting

  • error

  • in-use

Returns:

  • (String)


8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8950

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_idString

The ID of the volume.

Returns:

  • (String)


8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8950

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_statusString

Indicates whether the volume was scanned or skipped.

Returns:

  • (String)


8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8950

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_typeString

The volume type.

Returns:

  • (String)


8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8950

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