WebhookArgs constructor

const WebhookArgs({
  1. Input<String?>? branchFilter,
  2. Input<String?>? buildType,
  3. Input<List<WebhookFilterGroup>?>? filterGroups,
  4. Input<bool?>? manualCreation,
  5. required Input<String> projectName,
  6. Input<WebhookPullRequestBuildPolicy?>? pullRequestBuildPolicy,
  7. Input<String?>? region,
  8. Input<WebhookScopeConfiguration?>? scopeConfiguration,
})

Creates a new WebhookArgs. branchFilter A regular expression used to determine which branches get built. Default is all branches are built. We recommend using filterGroup over branchFilter. buildType The type of build this webhook will trigger. Valid values for this parameter are: BUILD, BUILD_BATCH. filterGroups Information about the webhook's trigger. See filterGroup for details. manualCreation If true, CodeBuild doesn't create a webhook in GitHub and instead returns payloadUrl and secret values for the webhook. The payloadUrl and secret values in the output can be used to manually create a webhook within GitHub. projectName The name of the build project. pullRequestBuildPolicy Defines comment-based approval requirements for triggering builds on pull requests. See pullRequestBuildPolicy for details. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. scopeConfiguration Scope configuration for global or organization webhooks. See scopeConfiguration for details.

Implementation

const WebhookArgs({
  this.branchFilter,
  this.buildType,
  this.filterGroups,
  this.manualCreation,
  required this.projectName,
  this.pullRequestBuildPolicy,
  this.region,
  this.scopeConfiguration,
});