Class RepositoryEvents
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.mixins.preview.services.codecommit.events.RepositoryEvents
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)",
date="2025-12-18T18:20:24.035Z")
@Stability(Experimental)
public class RepositoryEvents
extends software.amazon.jsii.JsiiObject
(experimental) EventBridge event patterns for Repository.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.mixins.preview.services.codecommit.events.*; import software.amazon.awscdk.interfaces.codecommit.*; IRepositoryRef repositoryRef; RepositoryEvents repositoryEvents = RepositoryEvents.fromRepository(repositoryRef);
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class(experimental) aws.codecommit@AWSAPICallViaCloudTrail event types for Repository.static class(experimental) aws.codecommit@CodeCommitCommentOnCommit event types for Repository.static class(experimental) aws.codecommit@CodeCommitCommentOnPullRequest event types for Repository.static class(experimental) aws.codecommit@CodeCommitRepositoryStateChange event types for Repository.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedRepositoryEvents(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedRepositoryEvents(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescription(experimental) EventBridge event pattern for Repository CodeCommit Comment on Commit.codeCommitCommentOnCommitPattern(RepositoryEvents.CodeCommitCommentOnCommit.CodeCommitCommentOnCommitProps options) (experimental) EventBridge event pattern for Repository CodeCommit Comment on Commit.(experimental) EventBridge event pattern for Repository CodeCommit Comment on Pull Request.codeCommitCommentOnPullRequestPattern(RepositoryEvents.CodeCommitCommentOnPullRequest.CodeCommitCommentOnPullRequestProps options) (experimental) EventBridge event pattern for Repository CodeCommit Comment on Pull Request.(experimental) EventBridge event pattern for Repository CodeCommit Repository State Change.codeCommitRepositoryStateChangePattern(RepositoryEvents.CodeCommitRepositoryStateChange.CodeCommitRepositoryStateChangeProps options) (experimental) EventBridge event pattern for Repository CodeCommit Repository State Change.static RepositoryEventsfromRepository(IRepositoryRef repositoryRef) (experimental) Create RepositoryEvents from a Repository reference.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
RepositoryEvents
protected RepositoryEvents(software.amazon.jsii.JsiiObjectRef objRef) -
RepositoryEvents
protected RepositoryEvents(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
-
Method Details
-
fromRepository
@Stability(Experimental) @NotNull public static RepositoryEvents fromRepository(@NotNull IRepositoryRef repositoryRef) (experimental) Create RepositoryEvents from a Repository reference.- Parameters:
repositoryRef- This parameter is required.
-
codeCommitCommentOnCommitPattern
@Stability(Experimental) @NotNull public EventPattern codeCommitCommentOnCommitPattern(@Nullable RepositoryEvents.CodeCommitCommentOnCommit.CodeCommitCommentOnCommitProps options) (experimental) EventBridge event pattern for Repository CodeCommit Comment on Commit.- Parameters:
options-
-
codeCommitCommentOnCommitPattern
(experimental) EventBridge event pattern for Repository CodeCommit Comment on Commit. -
codeCommitCommentOnPullRequestPattern
@Stability(Experimental) @NotNull public EventPattern codeCommitCommentOnPullRequestPattern(@Nullable RepositoryEvents.CodeCommitCommentOnPullRequest.CodeCommitCommentOnPullRequestProps options) (experimental) EventBridge event pattern for Repository CodeCommit Comment on Pull Request.- Parameters:
options-
-
codeCommitCommentOnPullRequestPattern
(experimental) EventBridge event pattern for Repository CodeCommit Comment on Pull Request. -
codeCommitRepositoryStateChangePattern
@Stability(Experimental) @NotNull public EventPattern codeCommitRepositoryStateChangePattern(@Nullable RepositoryEvents.CodeCommitRepositoryStateChange.CodeCommitRepositoryStateChangeProps options) (experimental) EventBridge event pattern for Repository CodeCommit Repository State Change.- Parameters:
options-
-
codeCommitRepositoryStateChangePattern
(experimental) EventBridge event pattern for Repository CodeCommit Repository State Change.
-