You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing AwsEc2VolumeAttachment as input to an Aws::Client method, you can use a vanilla Hash:

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

An attachment to an AWS EC2 volume.

Instance Attribute Summary collapse

Instance Attribute Details

#attach_timeString

The datetime when the attachment initiated.

Returns:

  • (String)

    The datetime when the attachment initiated.

#delete_on_terminationBoolean

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

Returns:

  • (Boolean)

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

#instance_idString

The identifier of the EC2 instance.

Returns:

  • (String)

    The identifier of the EC2 instance.

#statusString

The attachment state of the volume.

Returns:

  • (String)

    The attachment state of the volume.