WebhookState class
Input properties used for looking up and filtering Webhook resources.
Constructors
-
WebhookState({Input<
String?> ? branchFilter, Input<String?> ? buildType, Input<List< ? filterGroups, Input<WebhookFilterGroup> ?>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.
branchFilterA regular expression used to determine which branches get built. Default is all branches are built. We recommend usingfilterGroupoverbranchFilter.buildTypeThe type of build this webhook will trigger. Valid values for this parameter are:BUILD,BUILD_BATCH.filterGroupsInformation about the webhook's trigger. See filterGroup for details.manualCreationIf true, CodeBuild doesn't create a webhook in GitHub and instead returnspayloadUrlandsecretvalues for the webhook. ThepayloadUrlandsecretvalues in the output can be used to manually create a webhook within GitHub.payloadUrlThe CodeBuild endpoint where webhook events are sent.projectNameThe name of the build project.pullRequestBuildPolicyDefines comment-based approval requirements for triggering builds on pull requests. See pullRequestBuildPolicy for details.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.scopeConfigurationScope configuration for global or organization webhooks. See scopeConfiguration for details.secretThe secret token of the associated repository. Not returned by the CodeBuild API for all source types.urlThe 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
filterGroupoverbranchFilter.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
payloadUrlandsecretvalues for the webhook. ThepayloadUrlandsecretvalues 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