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)


5135
5136
5137
5138
5139
5140
5141
5142
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5135

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)


5135
5136
5137
5138
5139
5140
5141
5142
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5135

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)


5135
5136
5137
5138
5139
5140
5141
5142
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5135

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)


5135
5136
5137
5138
5139
5140
5141
5142
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5135

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