aws ssm describe-instance-associations-status
The status of the associations for the managed nodes. AWS CLI reference
1 example 3 options Its page in the AWS CLI reference
Examples
To describe the status of an instance's associations
The following describe-instance-associations-status example shows details of the associations for an instance.
aws ssm describe-instance-associations-status --instance-id "i-1234567890abcdef0"Identify--instance-idThe managed node IDs for which you want association status information.Its output
{
"InstanceAssociationStatusInfos": [
{
"AssociationId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
"Name": "AWS-GatherSoftwareInventory",
"DocumentVersion": "1",
"AssociationVersion": "1",
"InstanceId": "i-1234567890abcdef0",
"ExecutionDate": 1550501886.0,
"Status": "Success",
"ExecutionSummary": "1 out of 1 plugin processed, 1 success, 0 failed, 0 timedout, 0 skipped. ",
"AssociationName": "Inventory-Association"
},
{
"AssociationId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE22222",
"Name": "AWS-UpdateSSMAgent",
"DocumentVersion": "1",
"AssociationVersion": "1",
"InstanceId": "i-1234567890abcdef0",
"ExecutionDate": 1550505828.548,
"Status": "Success",
"DetailedStatus": "Success",
"AssociationName": "UpdateSSMAgent"
}
]
}For more information, see Working with associations in Systems Manager in the AWS Systems Manager User Guide.
Options
--instance-idThe managed node IDs for which you want association status information.--max-resultsThe maximum number of items to return for this call.--next-tokenThe token for the next set of items to return.