[ aws . deploy ]

uninstall

Description

Uninstalls the AWS CodeDeploy Agent from the on-premises instance.

See ‘aws help’ for descriptions of global parameters.

Synopsis

uninstall

Options

None

See ‘aws help’ for descriptions of global parameters.

Examples

Note

To use the following examples, you must have the AWS CLI installed and configured. See the Getting started guide in the AWS CLI User Guide for more information.

Unless otherwise stated, all examples have unix-like quotation rules. These examples will need to be adapted to your terminal’s quoting rules. See Using quotation marks with strings in the AWS CLI User Guide .

To uninstall an on-premises instance

The following uninstall example uninstalls the AWS CodeDeploy Agent from the on-premises instance and removes the on-premises configuration file from the instance. It doesn’t deregister the instance in AWS CodeDeploy, nor disassociate any on-premises instance tags in AWS CodeDeploy from the instance, nor delete the IAM user that is associated with the instance.

aws deploy uninstall

This command produces no output.