Class: Aws::OpsWorks::Types::AssignInstanceRequest

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

{
  instance_id: "String", # required
  layer_ids: ["String"], # required
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#instance_idString

The instance ID.

Returns:

  • (String)


147
148
149
150
151
152
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 147

class AssignInstanceRequest < Struct.new(
  :instance_id,
  :layer_ids)
  SENSITIVE = []
  include Aws::Structure
end

#layer_idsArray<String>

The layer ID, which must correspond to a custom layer. You cannot assign a registered instance to a built-in layer.

Returns:

  • (Array<String>)


147
148
149
150
151
152
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 147

class AssignInstanceRequest < Struct.new(
  :instance_id,
  :layer_ids)
  SENSITIVE = []
  include Aws::Structure
end