AWS::CodeBuild::Project ProjectTriggers - AWS CloudFormation (original) (raw)
ProjectTriggers
is a property of the AWS CodeBuild Project resource that specifies webhooks that trigger an AWS CodeBuild build.
Note
The Webhook feature isn't available in AWS CloudFormation for GitHub Enterprise projects. Use the AWS CLI or AWS CodeBuild console to create the webhook.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
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 one WebhookFilter
in the array must specify EVENT
as its type.
Required: No
Type: Array of Array
Update requires: No interruption
ScopeConfiguration
Contains configuration information about the scope for a webhook.
Required: No
Type: ScopeConfiguration
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
ProjectSourceVersion
RegistryCredential
Did this page help you? - Yes
Thanks for letting us know we're doing a good job!
If you've got a moment, please tell us what we did right so we can do more of it.
Did this page help you? - No
Thanks for letting us know this page needs work. We're sorry we let you down.
If you've got a moment, please tell us how we can make the documentation better.