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.”

Stop running builds automatically (AWS CLI)

Focus mode
Stop running builds automatically (AWS CLI) - AWS CodeBuild

If your source code is stored in a GitHub or a GitHub Enterprise Server repository, you can set up GitHub webhooks to have AWS CodeBuild rebuild your source code whenever a code change is pushed to the repository. For more information, see Start running builds automatically (AWS CLI).

If you have enabled this behavior, you can turn it off by running the delete-webhook command as follows:

aws codebuild delete-webhook --project-name <project-name>
  • where <project-name> is the name of the build project that contains the source code to be rebuilt.

If this command is successful, no information and no errors appear in the output.

Note

This deletes the webhook from your CodeBuild project only. You should also delete the webhook from your GitHub or GitHub Enterprise Server repository.

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