CmdID

CmdID / aws / aws ssm

aws ssm get-connection-status

Retrieves the Session Manager connection status for a managed node to determine whether it is running and ready to receive Session Manager connections. AWS CLI reference

1 example 1 option 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 display the connection status of a managed instance

The following get-connection-status example returns the connection status of the specified managed instance.

aws ssm get-connection-status --target i-1234567890abcdef0Identify
--targetThe managed node ID.
Its output
{
    "Target": "i-1234567890abcdef0",
    "Status": "connected"
}

For more information, see AWS Systems Manager Session Manager in the AWS Systems Manager User Guide.

Options

1 in the AWS CLI reference
--targetThe managed node ID.