Enum EventAction
- All Implemented Interfaces:
- Serializable,- Comparable<EventAction>,- java.lang.constant.Constable
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
           date="2025-10-29T11:15:34.770Z")
@Stability(Stable)
public enum EventAction
extends Enum<EventAction>
The types of webhook event actions.
 
Example:
 ISource gitHubSource = Source.gitHub(GitHubSourceProps.builder()
         .owner("awslabs")
         .repo("aws-cdk") // optional, default: undefined if unspecified will create organization webhook
         .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("main").andCommitMessageIs("the commit message"), FilterGroup.inEventOf(EventAction.RELEASED).andBranchIs("main")))
         .build());
 - 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionA prerelease is created in the repository.Closing a Pull Request.Creating a Pull Request.Merging a Pull Request.Re-opening a previously closed Pull Request.Updating a Pull Request.A push (of a branch, or a tag) to the repository.A release is created in the repository.A workflow job is queued in the repository.
- 
Method SummaryModifier and TypeMethodDescriptionstatic EventActionReturns the enum constant of this type with the specified name.static EventAction[]values()Returns an array containing the constants of this enum type, in the order they are declared.
- 
Enum Constant Details- 
PUSHA push (of a branch, or a tag) to the repository.
- 
PULL_REQUEST_CREATEDCreating a Pull Request.
- 
PULL_REQUEST_UPDATEDUpdating a Pull Request.
- 
PULL_REQUEST_CLOSEDClosing a Pull Request.
- 
PULL_REQUEST_MERGEDMerging a Pull Request.
- 
PULL_REQUEST_REOPENEDRe-opening a previously closed Pull Request.Note that this event is only supported for GitHub and GitHubEnterprise sources. 
- 
RELEASEDA release is created in the repository.Works with GitHub only. 
- 
PRERELEASEDA prerelease is created in the repository.Works with GitHub only. 
- 
WORKFLOW_JOB_QUEUEDA workflow job is queued in the repository.Works with GitHub only. 
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
 
- 
valueOfReturns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum type has no constant with the specified name
- NullPointerException- if the argument is null
 
 
-