Delete a Deployment Group with AWS CodeDeploy
You can use the AWS CodeDeploy console, the AWS CLI, or the AWS CodeDeploy APIs to delete deployment groups associated with your AWS account.
If you delete a deployment group, all details associated with that deployment group will also be deleted from AWS CodeDeploy. The instances used in the deployment group will remain unchanged. This action cannot be undone.
Delete a Deployment Group (Console)
To use the AWS CodeDeploy console to delete a deployment group:
Sign in to the AWS Management Console and open the AWS CodeDeploy console at https://console.aws.amazon.com/codedeploy.
Sign in with the same account or IAM user information you used in Getting Started.
On the AWS CodeDeploy menu, choose Applications.
In the list of applications, choose the name of the application associated with the deployment group.
On the Application details page, in Deployment groups, choose the button next to the deployment group you want to delete.
On the Actions menu, choose Delete.
When prompted, type the name of the deployment group to confirm you want to delete it, and then choose Delete.
Delete a Deployment Group (CLI)
To use the AWS CLI to delete a deployment group, call the delete-deployment-group command, specifying: