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

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

Overview

Note:

When making an API call, you may pass AwsEc2VolumeAttachment data as a hash:

{
  attach_time: "NonEmptyString",
  delete_on_termination: false,
  instance_id: "NonEmptyString",
  status: "NonEmptyString",
}

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)


5475
5476
5477
5478
5479
5480
5481
5482
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5475

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)


5475
5476
5477
5478
5479
5480
5481
5482
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5475

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)


5475
5476
5477
5478
5479
5480
5481
5482
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5475

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

#statusString

The attachment state of the volume.

Returns:

  • (String)


5475
5476
5477
5478
5479
5480
5481
5482
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5475

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