aws deploy deregister
Removes any tags from the on-premises instance; deregisters the on-premises instance from AWS CodeDeploy; and, unless requested otherwise, deletes the IAM user for the on-premises instance
Options
| Name | Description | 
|---|---|
| --instance-name  <string> | Required. The name of the on-premises instance | 
| --no-delete-iam-user | Optional. Do not delete the IAM user for the registered on-premises instance |