Table Of Contents

Feedback

User Guide

First time using the AWS CLI? See the User Guide for help getting started.

Note: You are viewing the documentation for an older major version of the AWS CLI (version 1).

AWS CLI version 2, the latest major version of AWS CLI, is now stable and recommended for general use. To view this page for the AWS CLI version 2, click here. For more information see the AWS CLI version 2 installation instructions and migration guide.

[ 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

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.