AWS::CodeBuild::Project ProjectTriggers
ProjectTriggers
is a property of the AWS CodeBuild Project
resource that specifies webhooks that trigger an AWS CodeBuild build.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "BuildType" :
String
, "FilterGroups" :[ FilterGroup, ... ]
, "Webhook" :Boolean
}
YAML
BuildType:
String
FilterGroups:- FilterGroup
Webhook:Boolean
Properties
BuildType
-
Specifies the type of build this webhook will trigger. Allowed values are:
- BUILD
-
A single build
- BUILD_BATCH
-
A batch build
Required: No
Type: String
Update requires: No interruption
FilterGroups
-
A list of lists of
WebhookFilter
objects used to determine which webhook events are triggered. At least oneWebhookFilter
in the array must specifyEVENT
as its type.Required: No
Type: List of FilterGroup
Update requires: No interruption
Webhook
-
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