AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the UpdateWebhook operation. Updates the webhook associated with an CodeBuild build project.

If you use Bitbucket for your repository, rotateSecret is ignored.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.CodeBuild.AmazonCodeBuildRequest
      Amazon.CodeBuild.Model.UpdateWebhookRequest

Namespace: Amazon.CodeBuild.Model
Assembly: AWSSDK.CodeBuild.dll
Version: 3.x.y.z

Syntax

C#
public class UpdateWebhookRequest : AmazonCodeBuildRequest
         IAmazonWebServiceRequest

The UpdateWebhookRequest type exposes the following members

Constructors

NameDescription
Public Method UpdateWebhookRequest()

Properties

NameTypeDescription
Public Property BranchFilter System.String

Gets and sets the property BranchFilter.

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.

Public Property BuildType Amazon.CodeBuild.WebhookBuildType

Gets and sets the property BuildType.

Specifies the type of build this webhook will trigger.

Public Property FilterGroups System.Collections.Generic.List<System.Collections.Generic.List<Amazon.CodeBuild.Model.WebhookFilter>>

Gets and sets the property FilterGroups.

An array of arrays of WebhookFilter objects used to determine if a webhook event can trigger a build. A filter group must contain at least one EVENTWebhookFilter.

Public Property ProjectName System.String

Gets and sets the property ProjectName.

The name of the CodeBuild project.

Public Property RotateSecret System.Boolean

Gets and sets the property RotateSecret.

A boolean value that specifies whether the associated GitHub repository's secret token should be updated. If you use Bitbucket for your repository, rotateSecret is ignored.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5