GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Paws::CodeBuild::CreateWebhook(3) User Contributed Perl Documentation Paws::CodeBuild::CreateWebhook(3)

Paws::CodeBuild::CreateWebhook - Arguments for method CreateWebhook on Paws::CodeBuild

This class represents the parameters used for calling the method CreateWebhook on the AWS CodeBuild service. Use the attributes of this class as arguments to method CreateWebhook.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateWebhook.

    my $codebuild = Paws->service('CodeBuild');
    my $CreateWebhookOutput = $codebuild->CreateWebhook(
      ProjectName  => 'MyProjectName',
      BranchFilter => 'MyString',        # OPTIONAL
      BuildType    => 'BUILD',           # OPTIONAL
      FilterGroups => [
        [
          {
            Pattern => 'MyString',
            Type    => 'EVENT'
            , # values: EVENT, BASE_REF, HEAD_REF, ACTOR_ACCOUNT_ID, FILE_PATH, COMMIT_MESSAGE
            ExcludeMatchedPattern => 1,    # OPTIONAL
          },
          ...
        ],
        ...
      ],    # OPTIONAL
    );
    # Results:
    my $Webhook = $CreateWebhookOutput->Webhook;
    # Returns a L<Paws::CodeBuild::CreateWebhookOutput> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/codebuild/CreateWebhook>

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

Specifies the type of build this webhook will trigger.

Valid values are: "BUILD", "BUILD_BATCH"

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.

REQUIRED ProjectName => Str

The name of the CodeBuild project.

This class forms part of Paws, documenting arguments for method CreateWebhook in Paws::CodeBuild

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>

2022-06-01 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.