Delete a deployment configuration with CodeDeploy - Amazon CodeDeploy
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

Delete a deployment configuration with CodeDeploy

You can use the Amazon CLI or the CodeDeploy APIs to delete custom deployment configurations associated with your Amazon account. You cannot delete built-in deployment configurations, such as CodeDeployDefault.AllAtOnce, CodeDeployDefault.HalfAtATime, and CodeDeployDefault.OneAtATime.


You cannot delete a custom deployment configuration that is still in use. If you delete an unused, custom deployment configuration, you will no longer be able to associate it with new deployments and new deployment groups. This action cannot be undone.

To use the Amazon CLI to delete a deployment configuration, call the delete-deployment-config command, specifying the deployment configuration name. To view a list of deployment configuration names, call the list-deployment-configs command.

The following example deletes a deployment configuration named ThreeQuartersHealthy.

aws deploy delete-deployment-config --deployment-config-name ThreeQuartersHealthy