Associates the specified Amazon Web Services Systems Manager document (SSM document) with the specified managed nodes or targets.When you associate a document with one or more managed nodes using IDs or tags, Amazon Web Services Systems Manager Agent (SSM Agent) running on the managed node processes the document and configures the node as specified.If you associate a document with a managed node that already has an associated document, the system returns the AssociationAlreadyExists exception.
Request
Header Params
Body Params application/json
Examples
Responses
🟢200Success
application/json
Body
đźź 480InternalServerError
đźź 481InvalidDocument
đźź 482InvalidDocumentVersion
đźź 483InvalidInstanceId
đźź 484InvalidParameters
đźź 485DuplicateInstanceId
đźź 486AssociationLimitExceeded
đźź 487UnsupportedPlatformType
đźź 488InvalidOutputLocation
đźź 489InvalidTarget
đźź 490InvalidSchedule
đźź 491InvalidTargetMaps
Request Request Example
Shell
JavaScript
Java
Swift
curl--location-g--request POST 'http://ssm.{region}.amazonaws.com/' \
--header'X-Amz-Target;' \
--header'Content-Type: application/json' \
--data-raw''