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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing AssignInstanceRequest as input to an Aws::Client method, you can use a vanilla Hash:

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

Instance Attribute Summary collapse

Instance Attribute Details

#instance_idString

The instance ID.

Returns:

  • (String)

    The instance ID.

#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>)

    The layer ID, which must correspond to a custom layer.