Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Webhook

import type { Webhook } from "https://aws-api.deno.dev/v0.3/services/codebuild.ts?docs=full";

Information about a webhook that connects repository events to a build project in CodeBuild.

interface Webhook {
branchFilter?: string | null;
buildType?: WebhookBuildType | null;
filterGroups?: WebhookFilter[][] | null;
lastModifiedSecret?: Date | number | null;
payloadUrl?: string | null;
secret?: string | null;
url?: string | null;
}

§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.

§
lastModifiedSecret?: Date | number | null
[src]

A timestamp that indicates the last time a repository's secret token was modified.

§
payloadUrl?: string | null
[src]

The CodeBuild endpoint where webhook events are sent.

§
secret?: string | null
[src]

The secret token of the associated repository.

Note: A Bitbucket webhook does not support secret.

§
url?: string | null
[src]

The URL to the webhook.