The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Paws::CodeBuild::Webhook

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::CodeBuild::Webhook object:

  $service_obj->Method(Att1 => { BranchFilter => $value, ..., Url => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::CodeBuild::Webhook object:

  $result = $service_obj->Method(...);
  $result->Att1->BranchFilter

DESCRIPTION

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

ATTRIBUTES

BranchFilter => Str

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.

BuildType => Str

Specifies the type of build this webhook will trigger.

FilterGroups => ArrayRef[ArrayRef[Paws::CodeBuild::WebhookFilter]]

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 => Str

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

PayloadUrl => Str

The CodeBuild endpoint where webhook events are sent.

Secret => Str

The secret token of the associated repository.

A Bitbucket webhook does not support secret.

Url => Str

The URL to the webhook.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::CodeBuild

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues