Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Use DeleteDeploymentConfig with a CLI - AWS SDK Code Examples

There are more AWS SDK examples available in the AWS Doc SDK Examples GitHub repo.

There are more AWS SDK examples available in the AWS Doc SDK Examples GitHub repo.

Use DeleteDeploymentConfig with a CLI

The following code examples show how to use DeleteDeploymentConfig.

CLI
AWS CLI

To delete a deployment configuration

The following delete-deployment-config example deletes a custom deployment configuration that is associated with the user's AWS account.

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

This command produces no output.

PowerShell
Tools for PowerShell

Example 1: This example deletes the deployment configuration with the specified name. The command will prompt for confirmation before proceeding. Add the -Force parameter to delete the deployment configuration without a prompt.

Remove-CDDeploymentConfig -DeploymentConfigName AtLeastTwoHealthyHosts
AWS CLI

To delete a deployment configuration

The following delete-deployment-config example deletes a custom deployment configuration that is associated with the user's AWS account.

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

This command produces no output.

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.