WebhookPullRequestBuildPolicy constructor

const WebhookPullRequestBuildPolicy({
  1. Input<List<String>?>? approverRoles,
  2. required Input<String> requiresCommentApproval,
})

Creates a new WebhookPullRequestBuildPolicy. approverRoles List of repository roles that have approval privileges for pull request builds when comment approval is required. This argument must be specified only when requiresCommentApproval is not DISABLED. See the AWS documentation for valid values and defaults. requiresCommentApproval Specifies when comment-based approval is required before triggering a build on pull requests. Valid values are: DISABLED, ALL_PULL_REQUESTS, and FORK_PULL_REQUESTS.

Implementation

const WebhookPullRequestBuildPolicy({
  this.approverRoles,
  required this.requiresCommentApproval,
});