All Downloads are FREE. Search and download functionalities are using the official Maven repository.

software.amazon.awscdk.services.codebuild.EventAction Maven / Gradle / Ivy

There is a newer version: 1.204.0
Show newest version
package software.amazon.awscdk.services.codebuild;

/**
 * The types of webhook event actions.
 * 

* Example: *

*

 * ISource gitHubSource = Source.gitHub(GitHubSourceProps.builder()
 *         .owner("awslabs")
 *         .repo("aws-cdk")
 *         .webhook(true) // optional, default: true if `webhookFilters` were provided, false otherwise
 *         .webhookTriggersBatchBuild(true) // optional, default is false
 *         .webhookFilters(List.of(FilterGroup.inEventOf(EventAction.PUSH).andBranchIs("master").andCommitMessageIs("the commit message")))
 *         .build());
 * 
*/ @javax.annotation.Generated(value = "jsii-pacmak/1.52.1 (build 5ccc8f6)", date = "2022-01-20T19:50:01.561Z") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) @software.amazon.jsii.Jsii(module = software.amazon.awscdk.services.codebuild.$Module.class, fqn = "@aws-cdk/aws-codebuild.EventAction") public enum EventAction { /** * A push (of a branch, or a tag) to the repository. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) PUSH, /** * Creating a Pull Request. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) PULL_REQUEST_CREATED, /** * Updating a Pull Request. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) PULL_REQUEST_UPDATED, /** * Merging a Pull Request. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) PULL_REQUEST_MERGED, /** * Re-opening a previously closed Pull Request. *

* Note that this event is only supported for GitHub and GitHubEnterprise sources. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) PULL_REQUEST_REOPENED, }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy