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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-securityhub/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)


8994
8995
8996
8997
8998
8999
9000
9001
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8994

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)


8994
8995
8996
8997
8998
8999
9000
9001
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8994

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)


8994
8995
8996
8997
8998
8999
9000
9001
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8994

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)


8994
8995
8996
8997
8998
8999
9000
9001
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8994

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