Menu
AWS CodeBuild
API Reference (API Version 2016-10-06)

Webhook

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

Contents

Note

In the following list, the required parameters are described first.

branchFilter

A regular expression used to determine which branches in a repository are built when a webhook is triggered. If the name of a branch matches the regular expression, then it is built. If it doesn't match, then it is not. If branchFilter is empty, then all branches are built.

Type: String

Required: No

lastModifiedSecret

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

Type: Timestamp

Required: No

payloadUrl

The CodeBuild endpoint where webhook events are sent.

Type: String

Length Constraints: Minimum length of 1.

Required: No

secret

The secret token of the associated repository.

Type: String

Length Constraints: Minimum length of 1.

Required: No

url

The URL to the webhook.

Type: String

Length Constraints: Minimum length of 1.

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

On this page: