Module Values.UpdateWebhookInputSource

Updates the webhook associated with an CodeBuild build project. If you use Bitbucket for your repository, rotateSecret is ignored.

Sourcetype nonrec t = {
  1. projectName : ProjectName.t;
    (*

    The name of the CodeBuild project.

    *)
  2. branchFilter : String_.t option;
    (*

    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.

    *)
  3. rotateSecret : Boolean.t option;
    (*

    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.

    *)
  4. filterGroups : FilterGroups.t option;
    (*

    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 EVENT WebhookFilter.

    *)
  5. buildType : WebhookBuildType.t option;
    (*

    Specifies the type of build this webhook will trigger. RUNNER_BUILDKITE_BUILD is only available for NO_SOURCE source type projects configured for Buildkite runner builds. For more information about CodeBuild-hosted Buildkite runner builds, see Tutorial: Configure a CodeBuild-hosted Buildkite runner in the CodeBuild user guide.

    *)
  6. pullRequestBuildPolicy : PullRequestBuildPolicy.t option;
    (*

    A PullRequestBuildPolicy object that defines comment-based approval requirements for triggering builds on pull requests. This policy helps control when automated builds are executed based on contributor permissions and approval workflows.

    *)
}
Sourceval context_ : string
Sourceval make : ?branchFilter:??? -> ?rotateSecret:??? -> ?filterGroups:??? -> ?buildType:??? -> ?pullRequestBuildPolicy:??? -> projectName:ProjectName.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `List of [> `List of [> `Structure of (string * [> `Boolean of WrapperBoolean.t | `Enum of string | `String of String_.t ]) list ] list ] list | `String of ProjectName.t | `Structure of (string * [> `Enum of string | `List of [> `Enum of string ] list ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t