WebhookState class

Input properties used for looking up and filtering Webhook resources.

Constructors

WebhookState({Input<String?>? branchFilter, Input<String?>? buildType, Input<List<WebhookFilterGroup>?>? filterGroups, Input<bool?>? manualCreation, Input<String?>? payloadUrl, Input<String?>? projectName, Input<WebhookPullRequestBuildPolicy?>? pullRequestBuildPolicy, Input<String?>? region, Input<WebhookScopeConfiguration?>? scopeConfiguration, Input<String?>? secret, 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.
const
WebhookState.fromMap(Map<String, dynamic> map)
factory

Properties

branchFilter → Input<String?>?
A regular expression used to determine which branches get built. Default is all branches are built. We recommend using filterGroup over branchFilter.
final
buildType → Input<String?>?
The type of build this webhook will trigger. Valid values for this parameter are: BUILD, BUILD_BATCH.
final
filterGroups → Input<List<WebhookFilterGroup>?>?
Information about the webhook's trigger. See filterGroup for details.
final
hashCode int
The hash code for this object.
no setterinherited
manualCreation → Input<bool?>?
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.
final
payloadUrl → Input<String?>?
The CodeBuild endpoint where webhook events are sent.
final
projectName → Input<String?>?
The name of the build project.
final
pullRequestBuildPolicy → Input<WebhookPullRequestBuildPolicy?>?
Defines comment-based approval requirements for triggering builds on pull requests. See pullRequestBuildPolicy for details.
final
region → Input<String?>?
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scopeConfiguration → Input<WebhookScopeConfiguration?>?
Scope configuration for global or organization webhooks. See scopeConfiguration for details.
final
secret → Input<String?>?
The secret token of the associated repository. Not returned by the CodeBuild API for all source types.
final
url → Input<String?>?
The URL to the webhook.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited