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

Class: Aws::OpsWorks::Types::RegisterVolumeRequest

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 RegisterVolumeRequest data as a hash:

{
  ec2_volume_id: "String",
  stack_id: "String", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#ec2_volume_idString

The Amazon EBS volume ID.

Returns:

  • (String)


5029
5030
5031
5032
5033
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 5029

class RegisterVolumeRequest < Struct.new(
  :ec2_volume_id,
  :stack_id)
  include Aws::Structure
end

#stack_idString

The stack ID.

Returns:

  • (String)


5029
5030
5031
5032
5033
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 5029

class RegisterVolumeRequest < Struct.new(
  :ec2_volume_id,
  :stack_id)
  include Aws::Structure
end