C# Class Amazon.SimpleSystemsManagement.Model.CreateAssociationRequest

Container for the parameters to the CreateAssociation operation. Associates the specified SSM document with the specified instances or targets.

When you associate an SSM document with one or more instances using instance IDs or tags, the SSM agent running on the instance processes the document and configures the instance as specified.

If you associate a document with an instance that already has an associated document, the system throws the AssociationAlreadyExists exception.

Inheritance: AmazonSimpleSystemsManagementRequest
Show file Open project: aws/aws-sdk-net Class Usage Examples

Public Methods

Method Description
CreateAssociationRequest ( ) : System

Empty constructor used to set properties independently even when a simple constructor is available

CreateAssociationRequest ( string instanceId, string name ) : System

Instantiates CreateAssociationRequest with the parameterized properties

Private Methods

Method Description
IsSetDocumentVersion ( ) : bool
IsSetInstanceId ( ) : bool
IsSetName ( ) : bool
IsSetOutputLocation ( ) : bool
IsSetParameters ( ) : bool
IsSetScheduleExpression ( ) : bool
IsSetTargets ( ) : bool

Method Details

CreateAssociationRequest() public method

Empty constructor used to set properties independently even when a simple constructor is available
public CreateAssociationRequest ( ) : System
return System

CreateAssociationRequest() public method

Instantiates CreateAssociationRequest with the parameterized properties
public CreateAssociationRequest ( string instanceId, string name ) : System
instanceId string The instance ID.
name string The name of the SSM document.
return System