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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#associated_resource ⇒ String

The ARN of the Amazon Web Services-managed resource to which the volume is attached.

Returns:

  • (String)


90943
90944
90945
90946
90947
90948
90949
90950
90951
90952
90953
90954
90955
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 90943

class VolumeAttachment < Struct.new(
  :delete_on_termination,
  :associated_resource,
  :instance_owning_service,
  :ebs_card_index,
  :volume_id,
  :instance_id,
  :device,
  :state,
  :attach_time)
  SENSITIVE = []
  include Aws::Structure
end

#attach_time ⇒ Time

The time stamp when the attachment initiated.

Returns:

  • (Time)


90943
90944
90945
90946
90947
90948
90949
90950
90951
90952
90953
90954
90955
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 90943

class VolumeAttachment < Struct.new(
  :delete_on_termination,
  :associated_resource,
  :instance_owning_service,
  :ebs_card_index,
  :volume_id,
  :instance_id,
  :device,
  :state,
  :attach_time)
  SENSITIVE = []
  include Aws::Structure
end

#delete_on_termination ⇒ Boolean

Indicates whether the EBS volume is deleted on instance termination.

Returns:

  • (Boolean)


90943
90944
90945
90946
90947
90948
90949
90950
90951
90952
90953
90954
90955
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 90943

class VolumeAttachment < Struct.new(
  :delete_on_termination,
  :associated_resource,
  :instance_owning_service,
  :ebs_card_index,
  :volume_id,
  :instance_id,
  :device,
  :state,
  :attach_time)
  SENSITIVE = []
  include Aws::Structure
end

#device ⇒ String

The device name.

If the volume is attached to an Amazon Web Services-managed resource, this parameter returns null.

Returns:

  • (String)


90943
90944
90945
90946
90947
90948
90949
90950
90951
90952
90953
90954
90955
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 90943

class VolumeAttachment < Struct.new(
  :delete_on_termination,
  :associated_resource,
  :instance_owning_service,
  :ebs_card_index,
  :volume_id,
  :instance_id,
  :device,
  :state,
  :attach_time)
  SENSITIVE = []
  include Aws::Structure
end

#ebs_card_index ⇒ Integer

The index of the EBS card. Some instance types support multiple EBS cards. The default EBS card index is 0.

Returns:

  • (Integer)


90943
90944
90945
90946
90947
90948
90949
90950
90951
90952
90953
90954
90955
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 90943

class VolumeAttachment < Struct.new(
  :delete_on_termination,
  :associated_resource,
  :instance_owning_service,
  :ebs_card_index,
  :volume_id,
  :instance_id,
  :device,
  :state,
  :attach_time)
  SENSITIVE = []
  include Aws::Structure
end

#instance_id ⇒ String

The ID of the instance.

If the volume is attached to an Amazon Web Services-managed resource, this parameter returns null.

Returns:

  • (String)


90943
90944
90945
90946
90947
90948
90949
90950
90951
90952
90953
90954
90955
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 90943

class VolumeAttachment < Struct.new(
  :delete_on_termination,
  :associated_resource,
  :instance_owning_service,
  :ebs_card_index,
  :volume_id,
  :instance_id,
  :device,
  :state,
  :attach_time)
  SENSITIVE = []
  include Aws::Structure
end

#instance_owning_service ⇒ String

The service principal of the Amazon Web Services service that owns the underlying resource to which the volume is attached.

This parameter is returned only for volumes that are attached to Amazon Web Services-managed resources.

Returns:

  • (String)


90943
90944
90945
90946
90947
90948
90949
90950
90951
90952
90953
90954
90955
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 90943

class VolumeAttachment < Struct.new(
  :delete_on_termination,
  :associated_resource,
  :instance_owning_service,
  :ebs_card_index,
  :volume_id,
  :instance_id,
  :device,
  :state,
  :attach_time)
  SENSITIVE = []
  include Aws::Structure
end

#state ⇒ String

The attachment state of the volume.

Returns:

  • (String)


90943
90944
90945
90946
90947
90948
90949
90950
90951
90952
90953
90954
90955
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 90943

class VolumeAttachment < Struct.new(
  :delete_on_termination,
  :associated_resource,
  :instance_owning_service,
  :ebs_card_index,
  :volume_id,
  :instance_id,
  :device,
  :state,
  :attach_time)
  SENSITIVE = []
  include Aws::Structure
end

#volume_id ⇒ String

The ID of the volume.

Returns:

  • (String)


90943
90944
90945
90946
90947
90948
90949
90950
90951
90952
90953
90954
90955
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 90943

class VolumeAttachment < Struct.new(
  :delete_on_termination,
  :associated_resource,
  :instance_owning_service,
  :ebs_card_index,
  :volume_id,
  :instance_id,
  :device,
  :state,
  :attach_time)
  SENSITIVE = []
  include Aws::Structure
end