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

Class: Aws::OpsWorksCM::Types::AssociateNodeRequest

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

Overview

Note:

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

{
  server_name: "ServerName", # required
  node_name: "NodeName", # required
  engine_attributes: [ # required
    {
      name: "EngineAttributeName",
      value: "EngineAttributeValue",
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#engine_attributesArray<Types::EngineAttribute>

Engine attributes used for associating the node.

Attributes accepted in a AssociateNode request:

  • CHEF_ORGANIZATION: The Chef organization with which the node is associated. By default only one organization named default can exist.

  • CHEF_NODE_PUBLIC_KEY: A PEM-formatted public key. This key is required for the chef-client agent to access the Chef API.

Returns:



79
80
81
82
83
84
# File 'gems/aws-sdk-opsworkscm/lib/aws-sdk-opsworkscm/types.rb', line 79

class AssociateNodeRequest < Struct.new(
  :server_name,
  :node_name,
  :engine_attributes)
  include Aws::Structure
end

#node_nameString

The name of the Chef client node.

Returns:

  • (String)


79
80
81
82
83
84
# File 'gems/aws-sdk-opsworkscm/lib/aws-sdk-opsworkscm/types.rb', line 79

class AssociateNodeRequest < Struct.new(
  :server_name,
  :node_name,
  :engine_attributes)
  include Aws::Structure
end

#server_nameString

The name of the server with which to associate the node.

Returns:

  • (String)


79
80
81
82
83
84
# File 'gems/aws-sdk-opsworkscm/lib/aws-sdk-opsworkscm/types.rb', line 79

class AssociateNodeRequest < Struct.new(
  :server_name,
  :node_name,
  :engine_attributes)
  include Aws::Structure
end