AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Information about a webhook that connects repository events to a build project in CodeBuild.
Namespace: Amazon.CodeBuild.Model
Assembly: AWSSDK.CodeBuild.dll
Version: 3.x.y.z
public class Webhook
The Webhook type exposes the following members
Name | Description | |
---|---|---|
Webhook() |
Name | Type | Description | |
---|---|---|---|
BranchFilter | System.String |
Gets and sets the property BranchFilter.
A regular expression used to determine which repository branches are built when a
webhook is triggered. If the name of a branch matches the regular expression, then
it is built. If
It is recommended that you use |
|
BuildType | Amazon.CodeBuild.WebhookBuildType |
Gets and sets the property BuildType. Specifies the type of build this webhook will trigger. |
|
FilterGroups | System.Collections.Generic.List<System.Collections.Generic.List<Amazon.CodeBuild.Model.WebhookFilter>> |
Gets and sets the property FilterGroups.
An array of arrays of
For a build to be triggered, at least one filter group in the |
|
LastModifiedSecret | System.DateTime |
Gets and sets the property LastModifiedSecret. A timestamp that indicates the last time a repository's secret token was modified. |
|
PayloadUrl | System.String |
Gets and sets the property PayloadUrl. The CodeBuild endpoint where webhook events are sent. |
|
Secret | System.String |
Gets and sets the property Secret. The secret token of the associated repository.
A Bitbucket webhook does not support |
|
Url | System.String |
Gets and sets the property Url. The URL to the webhook. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5