AWS::CodeBuild::Project ProjectTriggers - Amazon CloudFormation
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 (PDF).

AWS::CodeBuild::Project ProjectTriggers

ProjectTriggers is a property of the Amazon CodeBuild Project resource that specifies webhooks that trigger an Amazon CodeBuild build.


The Webhook feature isn't available in Amazon CloudFormation for GitHub Enterprise projects. Use the Amazon CLI or Amazon CodeBuild console to create the webhook.


To declare this entity in your Amazon CloudFormation template, use the following syntax:


{ "BuildType" : String, "FilterGroups" : [ [ , ... ], ... ], "ScopeConfiguration" : ScopeConfiguration, "Webhook" : Boolean }



Specifies the type of build this webhook will trigger. Allowed values are:


A single build


A batch build

Required: No

Type: String

Update requires: No interruption


A list of lists of WebhookFilter objects used to determine which webhook events are triggered. At least one WebhookFilter in the array must specify EVENT as its type.

Required: No

Type: Array of Array

Update requires: No interruption


Contains configuration information about the scope for a webhook.

Required: No

Type: ScopeConfiguration

Update requires: No interruption


Specifies whether or not to begin automatically rebuilding the source code every time a code change is pushed to the repository.

Required: No

Type: Boolean

Update requires: No interruption