AWS CodeDeploy
User Guide (API Version 2014-10-06)

The procedures in this guide support the new console design. If you choose to use the older version of the console, you will find many of the concepts and basic procedures in this guide still apply. To access help in the new console, choose the information icon.

Delete a Trigger from a CodeDeploy Deployment Group

Because there is a limit of 10 triggers per deployment group, you might want to delete triggers if they are no longer being used. You cannot undo the deletion of a trigger, but you can re-create one.

Delete a Trigger from a Deployment Group (Console)

  1. Sign in to the AWS Management Console and open the CodeDeploy console at


    Sign in with the same account or IAM user information that you used in Getting Started with CodeDeploy.

  2. On the Applications page, choose the application associated with the deployment group from which you want to delete a trigger.

  3. On the Application details page, choose the arrow next to the deployment group.

  4. In the Triggers area, locate the name of the trigger to delete, choose the button at the end of its row, and then choose Delete.

Delete a Trigger from a Deployment Group (CLI)

To use the CLI to delete a trigger, call the update-deployment-group command, with empty trigger configuration parameters, specifying:

  • The name of the application associated with the deployment group. To view a list of application names, call the list-applications command.

  • The name of the deployment group associated with the application. To view a list of deployment group names, call the list-deployment-groups command.

For example:

aws deploy update-deployment-group --application-name application-name --current-deployment-group-name deployment-group-name --trigger-configurations