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

Class: Aws::EC2::Types::VolumeAttachment

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

Overview

Describes volume attachment details.

Instance Attribute Summary collapse

Instance Attribute Details

#attach_timeTime

The time stamp when the attachment initiated.

Returns:

  • (Time)


24404
24405
24406
24407
24408
24409
24410
24411
24412
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24404

class VolumeAttachment < Struct.new(
  :attach_time,
  :device,
  :instance_id,
  :state,
  :volume_id,
  :delete_on_termination)
  include Aws::Structure
end

#delete_on_terminationBoolean

Indicates whether the EBS volume is deleted on instance termination.

Returns:

  • (Boolean)


24404
24405
24406
24407
24408
24409
24410
24411
24412
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24404

class VolumeAttachment < Struct.new(
  :attach_time,
  :device,
  :instance_id,
  :state,
  :volume_id,
  :delete_on_termination)
  include Aws::Structure
end

#deviceString

The device name.

Returns:

  • (String)


24404
24405
24406
24407
24408
24409
24410
24411
24412
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24404

class VolumeAttachment < Struct.new(
  :attach_time,
  :device,
  :instance_id,
  :state,
  :volume_id,
  :delete_on_termination)
  include Aws::Structure
end

#instance_idString

The ID of the instance.

Returns:

  • (String)


24404
24405
24406
24407
24408
24409
24410
24411
24412
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24404

class VolumeAttachment < Struct.new(
  :attach_time,
  :device,
  :instance_id,
  :state,
  :volume_id,
  :delete_on_termination)
  include Aws::Structure
end

#stateString

The attachment state of the volume.

Returns:

  • (String)


24404
24405
24406
24407
24408
24409
24410
24411
24412
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24404

class VolumeAttachment < Struct.new(
  :attach_time,
  :device,
  :instance_id,
  :state,
  :volume_id,
  :delete_on_termination)
  include Aws::Structure
end

#volume_idString

The ID of the volume.

Returns:

  • (String)


24404
24405
24406
24407
24408
24409
24410
24411
24412
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24404

class VolumeAttachment < Struct.new(
  :attach_time,
  :device,
  :instance_id,
  :state,
  :volume_id,
  :delete_on_termination)
  include Aws::Structure
end