WebhookState constructor

const WebhookState({
  1. Input<String?>? branchFilter,
  2. Input<String?>? buildType,
  3. Input<List<WebhookFilterGroup>?>? filterGroups,
  4. Input<bool?>? manualCreation,
  5. Input<String?>? payloadUrl,
  6. Input<String?>? projectName,
  7. Input<WebhookPullRequestBuildPolicy?>? pullRequestBuildPolicy,
  8. Input<String?>? region,
  9. Input<WebhookScopeConfiguration?>? scopeConfiguration,
  10. Input<String?>? secret,
  11. Input<String?>? url,
})

Creates a new WebhookState. 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. payloadUrl The CodeBuild endpoint where webhook events are sent. 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. secret The secret token of the associated repository. Not returned by the CodeBuild API for all source types. url The URL to the webhook.

Implementation

const WebhookState({
  this.branchFilter,
  this.buildType,
  this.filterGroups,
  this.manualCreation,
  this.payloadUrl,
  this.projectName,
  this.pullRequestBuildPolicy,
  this.region,
  this.scopeConfiguration,
  this.secret,
  this.url,
});