CmdID

CmdID / aws / aws ssm

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

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

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

3 in the AWS CLI reference
--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.