CmdID

CmdID / aws / aws deploy

aws deploy deregister-on-premises-instance

Deregisters an on-premises instance. 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 deregister an on-premises instance

The following deregister-on-premises-instance example deregisters an on-premises instance with AWS CodeDeploy, but it does not delete the IAM user associated with the instance, nor does it disassociate in AWS CodeDeploy the on-premises instance tags from the instance. It also does not uninstall the AWS CodeDeploy Agent from the instance nor remove the on-premises configuration file from the instance.

aws deploy deregister-on-premises-instance --instance-name AssetTag12010298EXIdentify
--instance-nameThe name of the on-premises instance to deregister.

This command produces no output.

For more information, see Manually deregister an on-premises instance in the AWS CodeDeploy User Guide.

Options

1 in the AWS CLI reference
--instance-nameThe name of the on-premises instance to deregister.