WebhookArgs

data class WebhookArgs(val branchFilter: Output<String>? = null, val buildType: Output<WebhookBuildTypeEnumValueArgs>? = null, val filterGroups: Output<List<FilterGroupArgs>>? = null, val lastModifiedSecret: Output<String>? = null, val payloadUrl: Output<String>? = null, val secret: Output<String>? = null, val url: Output<String>? = null) : ConvertibleToJava<WebhookArgs>

Definition of Webhook

Constructors

Link copied to clipboard
constructor(branchFilter: Output<String>? = null, buildType: Output<WebhookBuildTypeEnumValueArgs>? = null, filterGroups: Output<List<FilterGroupArgs>>? = null, lastModifiedSecret: Output<String>? = null, payloadUrl: Output<String>? = null, secret: Output<String>? = null, url: Output<String>? = null)

Properties

Link copied to clipboard
val branchFilter: Output<String>? = null

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.

It is recommended that you use filterGroups instead of branchFilter.

Link copied to clipboard

Specifies the type of build this webhook will trigger.

Link copied to clipboard
val filterGroups: Output<List<FilterGroupArgs>>? = null

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.

Link copied to clipboard
val lastModifiedSecret: Output<String>? = null

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

Link copied to clipboard
val payloadUrl: Output<String>? = null

The CodeBuild endpoint where webhook events are sent.

Link copied to clipboard
val secret: Output<String>? = null

The secret token of the associated repository.

A Bitbucket webhook does not support secret.

Link copied to clipboard
val url: Output<String>? = null

The URL to the webhook.

Functions

Link copied to clipboard
open override fun toJava(): WebhookArgs