Class: Aws::SecurityHub::Types::AwsEc2VolumeAttachment

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

Overview

An attachment to an Amazon EC2 volume.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#attach_timeString

The datetime when the attachment initiated.

Returns:

  • (String)


8863
8864
8865
8866
8867
8868
8869
8870
# File 'lib/aws-sdk-securityhub/types.rb', line 8863

class AwsEc2VolumeAttachment < Struct.new(
  :attach_time,
  :delete_on_termination,
  :instance_id,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#delete_on_terminationBoolean

Whether the EBS volume is deleted when the EC2 instance is terminated.

Returns:

  • (Boolean)


8863
8864
8865
8866
8867
8868
8869
8870
# File 'lib/aws-sdk-securityhub/types.rb', line 8863

class AwsEc2VolumeAttachment < Struct.new(
  :attach_time,
  :delete_on_termination,
  :instance_id,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#instance_idString

The identifier of the EC2 instance.

Returns:

  • (String)


8863
8864
8865
8866
8867
8868
8869
8870
# File 'lib/aws-sdk-securityhub/types.rb', line 8863

class AwsEc2VolumeAttachment < Struct.new(
  :attach_time,
  :delete_on_termination,
  :instance_id,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#statusString

The attachment state of the volume. Valid values are as follows:

  • ‘attaching`

  • ‘attached`

  • ‘busy`

  • ‘detaching`

  • ‘detached`

Returns:

  • (String)


8863
8864
8865
8866
8867
8868
8869
8870
# File 'lib/aws-sdk-securityhub/types.rb', line 8863

class AwsEc2VolumeAttachment < Struct.new(
  :attach_time,
  :delete_on_termination,
  :instance_id,
  :status)
  SENSITIVE = []
  include Aws::Structure
end