AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the DisassociateNode operation. Disassociates a node from an AWS OpsWorks CM server, and removes the node from the server's managed nodes. After a node is disassociated, the node key pair is no longer valid for accessing the configuration manager's API. For more information about how to associate a node, see AssociateNode.

A node can can only be disassociated from a server that is in a HEALTHY state. Otherwise, an InvalidStateException is thrown. A ResourceNotFoundException is thrown when the server does not exist. A ValidationException is raised when parameters of the request are not valid.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.OpsWorksCM.AmazonOpsWorksCMRequest
      Amazon.OpsWorksCM.Model.DisassociateNodeRequest

Namespace: Amazon.OpsWorksCM.Model
Assembly: AWSSDK.OpsWorksCM.dll
Version: 3.x.y.z

Syntax

C#
public class DisassociateNodeRequest : AmazonOpsWorksCMRequest
         IAmazonWebServiceRequest

The DisassociateNodeRequest type exposes the following members

Constructors

NameDescription
Public Method DisassociateNodeRequest()

Properties

NameTypeDescription
Public Property EngineAttributes System.Collections.Generic.List<Amazon.OpsWorksCM.Model.EngineAttribute>

Gets and sets the property EngineAttributes.

Engine attributes that are used for disassociating the node. No attributes are required for Puppet.

Attributes required in a DisassociateNode request for Chef

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

Public Property NodeName System.String

Gets and sets the property NodeName.

The name of the client node.

Public Property ServerName System.String

Gets and sets the property ServerName.

The name of the server from which to disassociate the node.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5