Class: Aws::EC2::Types::VolumeAttachment
- Inherits:
 - 
      Struct
      
        
- Object
 - Struct
 - Aws::EC2::Types::VolumeAttachment
 
 
- Includes:
 - Structure
 
- Defined in:
 - lib/aws-sdk-ec2/types.rb
 
Overview
Describes volume attachment details.
Constant Summary collapse
- SENSITIVE =
 []
Instance Attribute Summary collapse
- 
  
    
      #associated_resource  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The ARN of the Amazon ECS or Fargate task to which the volume is attached.
 - 
  
    
      #attach_time  ⇒ Time 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The time stamp when the attachment initiated.
 - 
  
    
      #delete_on_termination  ⇒ Boolean 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Indicates whether the EBS volume is deleted on instance termination.
 - 
  
    
      #device  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The device name.
 - 
  
    
      #instance_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The ID of the instance.
 - 
  
    
      #instance_owning_service  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The service principal of Amazon Web Services service that owns the underlying instance to which the volume is attached.
 - 
  
    
      #state  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The attachment state of the volume.
 - 
  
    
      #volume_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The ID of the volume.
 
Instance Attribute Details
#associated_resource ⇒ String
The ARN of the Amazon ECS or Fargate task to which the volume is attached.
      72671 72672 72673 72674 72675 72676 72677 72678 72679 72680 72681 72682  | 
    
      # File 'lib/aws-sdk-ec2/types.rb', line 72671 class VolumeAttachment < Struct.new( :delete_on_termination, :associated_resource, :instance_owning_service, :volume_id, :instance_id, :device, :state, :attach_time) SENSITIVE = [] include Aws::Structure end  | 
  
#attach_time ⇒ Time
The time stamp when the attachment initiated.
      72671 72672 72673 72674 72675 72676 72677 72678 72679 72680 72681 72682  | 
    
      # File 'lib/aws-sdk-ec2/types.rb', line 72671 class VolumeAttachment < Struct.new( :delete_on_termination, :associated_resource, :instance_owning_service, :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.
      72671 72672 72673 72674 72675 72676 72677 72678 72679 72680 72681 72682  | 
    
      # File 'lib/aws-sdk-ec2/types.rb', line 72671 class VolumeAttachment < Struct.new( :delete_on_termination, :associated_resource, :instance_owning_service, :volume_id, :instance_id, :device, :state, :attach_time) SENSITIVE = [] include Aws::Structure end  | 
  
#device ⇒ String
The device name.
If the volume is attached to a Fargate task, this parameter returns ‘null`.
      72671 72672 72673 72674 72675 72676 72677 72678 72679 72680 72681 72682  | 
    
      # File 'lib/aws-sdk-ec2/types.rb', line 72671 class VolumeAttachment < Struct.new( :delete_on_termination, :associated_resource, :instance_owning_service, :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 a Fargate task, this parameter returns ‘null`.
      72671 72672 72673 72674 72675 72676 72677 72678 72679 72680 72681 72682  | 
    
      # File 'lib/aws-sdk-ec2/types.rb', line 72671 class VolumeAttachment < Struct.new( :delete_on_termination, :associated_resource, :instance_owning_service, :volume_id, :instance_id, :device, :state, :attach_time) SENSITIVE = [] include Aws::Structure end  | 
  
#instance_owning_service ⇒ String
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.
      72671 72672 72673 72674 72675 72676 72677 72678 72679 72680 72681 72682  | 
    
      # File 'lib/aws-sdk-ec2/types.rb', line 72671 class VolumeAttachment < Struct.new( :delete_on_termination, :associated_resource, :instance_owning_service, :volume_id, :instance_id, :device, :state, :attach_time) SENSITIVE = [] include Aws::Structure end  | 
  
#state ⇒ String
The attachment state of the volume.
      72671 72672 72673 72674 72675 72676 72677 72678 72679 72680 72681 72682  | 
    
      # File 'lib/aws-sdk-ec2/types.rb', line 72671 class VolumeAttachment < Struct.new( :delete_on_termination, :associated_resource, :instance_owning_service, :volume_id, :instance_id, :device, :state, :attach_time) SENSITIVE = [] include Aws::Structure end  | 
  
#volume_id ⇒ String
The ID of the volume.
      72671 72672 72673 72674 72675 72676 72677 72678 72679 72680 72681 72682  | 
    
      # File 'lib/aws-sdk-ec2/types.rb', line 72671 class VolumeAttachment < Struct.new( :delete_on_termination, :associated_resource, :instance_owning_service, :volume_id, :instance_id, :device, :state, :attach_time) SENSITIVE = [] include Aws::Structure end  |