CmdID

CmdID / aws / aws ssm

aws ssm delete-association

Disassociates the specified Amazon Web Services Systems Manager document (SSM document) from the specified managed node. AWS CLI reference

2 examples 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

Example 1: To delete an association using the association ID

The following delete-association example deletes the association for the specified association ID. There is no output if the command succeeds.

aws ssm delete-association --association-id "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111"Identify
--association-idThe association ID that you want to delete.

This command produces no output.

For more information, see Editing and creating a new version of an association in the AWS Systems Manager User Guide.

Example 2: To delete an association

The following delete-association example deletes the association between an instance and a document. There is no output if the command succeeds.

aws ssm delete-association --instance-id "i-1234567890abcdef0" --name "AWS-UpdateSSMAgent"Identify
--instance-idThe managed node ID.
--nameThe name of the SSM document.

This command produces no output.

For more information, see Working with associations in Systems Manager in the AWS Systems Manager User Guide.

Options

3 in the AWS CLI reference
--association-idThe association ID that you want to delete.
--instance-idThe managed node ID.
--nameThe name of the SSM document.