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

Class: Aws::OpsWorks::Types::AssignVolumeRequest

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

Overview

Note:

When making an API call, you may pass AssignVolumeRequest data as a hash:

{
  volume_id: "String", # required
  instance_id: "String",
}

Instance Attribute Summary collapse

Instance Attribute Details

#instance_idString

The instance ID.

Returns:

  • (String)


168
169
170
171
172
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 168

class AssignVolumeRequest < Struct.new(
  :volume_id,
  :instance_id)
  include Aws::Structure
end

#volume_idString

The volume ID.

Returns:

  • (String)


168
169
170
171
172
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 168

class AssignVolumeRequest < Struct.new(
  :volume_id,
  :instance_id)
  include Aws::Structure
end