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

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

Overview

Describes volume attachment details.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#associated_resourceString

The ARN of the Amazon ECS or Fargate task to which the volume is attached.

Returns:

  • (String)


68453
68454
68455
68456
68457
68458
68459
68460
68461
68462
68463
68464
# File 'lib/aws-sdk-ec2/types.rb', line 68453

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

#attach_timeTime

The time stamp when the attachment initiated.

Returns:

  • (Time)


68453
68454
68455
68456
68457
68458
68459
68460
68461
68462
68463
68464
# File 'lib/aws-sdk-ec2/types.rb', line 68453

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

#delete_on_terminationBoolean

Indicates whether the EBS volume is deleted on instance termination.

Returns:

  • (Boolean)


68453
68454
68455
68456
68457
68458
68459
68460
68461
68462
68463
68464
# File 'lib/aws-sdk-ec2/types.rb', line 68453

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

#deviceString

The device name.

If the volume is attached to a Fargate task, this parameter returns ‘null`.

Returns:

  • (String)


68453
68454
68455
68456
68457
68458
68459
68460
68461
68462
68463
68464
# File 'lib/aws-sdk-ec2/types.rb', line 68453

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

#instance_idString

The ID of the instance.

If the volume is attached to a Fargate task, this parameter returns ‘null`.

Returns:

  • (String)


68453
68454
68455
68456
68457
68458
68459
68460
68461
68462
68463
68464
# File 'lib/aws-sdk-ec2/types.rb', line 68453

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

#instance_owning_serviceString

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

This parameter is returned only for volumes that are attached to Fargate tasks.

Returns:

  • (String)


68453
68454
68455
68456
68457
68458
68459
68460
68461
68462
68463
68464
# File 'lib/aws-sdk-ec2/types.rb', line 68453

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

#stateString

The attachment state of the volume.

Returns:

  • (String)


68453
68454
68455
68456
68457
68458
68459
68460
68461
68462
68463
68464
# File 'lib/aws-sdk-ec2/types.rb', line 68453

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

#volume_idString

The ID of the volume.

Returns:

  • (String)


68453
68454
68455
68456
68457
68458
68459
68460
68461
68462
68463
68464
# File 'lib/aws-sdk-ec2/types.rb', line 68453

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