CreateWebhookInput
import type { CreateWebhookInput } from "https://aws-api.deno.dev/v0.3/services/codebuild.ts?docs=full";
interface CreateWebhookInput {
branchFilter?: string | null;
buildType?: WebhookBuildType | null;
filterGroups?: WebhookFilter[][] | null;
projectName: string;
}§Properties
§
branchFilter?: string | null
[src]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 branchFilter
is empty, then all branches are built.
Note:
It is recommended that you use filterGroups
instead of branchFilter
.
§
buildType?: WebhookBuildType | null
[src]Specifies the type of build this webhook will trigger.
§
filterGroups?: WebhookFilter[][] | null
[src]An array of arrays of WebhookFilter
objects used to determine which webhooks are triggered.
At least one WebhookFilter
in the array must specify EVENT
as its type
.
For a build to be triggered, at least one filter group in the filterGroups
array must pass.
For a filter group to pass, each of its filters must pass.