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

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
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:



8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
# File 'lib/aws-sdk-securityhub/types.rb', line 8628

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.

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

[1]: docs.aws.amazon.com/securityhub/1.0/APIReference/Welcome.html#timestamps

Returns:

  • (String)


8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
# File 'lib/aws-sdk-securityhub/types.rb', line 8628

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)


8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
# File 'lib/aws-sdk-securityhub/types.rb', line 8628

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)


8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
# File 'lib/aws-sdk-securityhub/types.rb', line 8628

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)


8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
# File 'lib/aws-sdk-securityhub/types.rb', line 8628

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)


8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
# File 'lib/aws-sdk-securityhub/types.rb', line 8628

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)


8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
# File 'lib/aws-sdk-securityhub/types.rb', line 8628

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)


8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
# File 'lib/aws-sdk-securityhub/types.rb', line 8628

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)


8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
# File 'lib/aws-sdk-securityhub/types.rb', line 8628

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)


8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
# File 'lib/aws-sdk-securityhub/types.rb', line 8628

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)


8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
# File 'lib/aws-sdk-securityhub/types.rb', line 8628

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