Class IRepository.Jsii$Proxy
- All Implemented Interfaces:
IConstruct,IConstruct.Jsii$Default,IDependable,IDependable.Jsii$Default,IResource,IResource.Jsii$Default,IRepository,IRepository.Jsii$Default,INotificationRuleSource,INotificationRuleSource.Jsii$Default,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IConstruct.Jsii$Default
- Enclosing interface:
- IRepository
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$Default, IConstruct.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.core.IDependable
IDependable.Jsii$Default, IDependable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.codestarnotifications.INotificationRuleSource
INotificationRuleSource.Jsii$Default, INotificationRuleSource.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.codecommit.IRepository
IRepository.Jsii$Default, IRepository.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.core.IResource
IResource.Jsii$Default, IResource.Jsii$Proxy -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidapplyRemovalPolicy(RemovalPolicy policy) Apply the given removal policy to this resource.bindAsNotificationRuleSource(software.constructs.Construct scope) Returns a source configuration for notification rule.final ResourceEnvironmentgetEnv()The environment this resource belongs to.final ConstructNodegetNode()The construct tree node for this construct.final StringThe ARN of this Repository.final StringThe HTTPS (GRC) clone URL.final StringThe HTTP clone URL.final StringThe SSH clone URL.final StringThe human-visible name of this Repository.final StackgetStack()The stack in which this resource is defined.final Grantgrant(IGrantable grantee, @NotNull String... actions) Grant the given principal identity permissions to perform the actions on this repository.final GrantgrantPull(IGrantable grantee) Grant the given identity permissions to pull this repository.final GrantgrantPullPush(IGrantable grantee) Grant the given identity permissions to pull and push this repository.final GrantgrantRead(IGrantable grantee) Grant the given identity permissions to read this repository.final INotificationRulenotifiyOnPullRequestMerged(String id, INotificationRuleTarget target) Deprecated.this method has a typo in its name, use notifyOnPullRequestMerged insteadfinal INotificationRulenotifiyOnPullRequestMerged(String id, INotificationRuleTarget target, NotificationRuleOptions options) Deprecated.this method has a typo in its name, use notifyOnPullRequestMerged insteadfinal INotificationRulenotifyOn(String id, INotificationRuleTarget target, RepositoryNotifyOnOptions options) Defines a CodeStar Notification rule triggered when the project events specified by you are emitted.final INotificationRuleDefines a CodeStar Notification rule which triggers when an approval rule is overridden.final INotificationRulenotifyOnApprovalRuleOverridden(String id, INotificationRuleTarget target, NotificationRuleOptions options) Defines a CodeStar Notification rule which triggers when an approval rule is overridden.final INotificationRuleDefines a CodeStar Notification rule which triggers when an approval status is changed.final INotificationRulenotifyOnApprovalStatusChanged(String id, INotificationRuleTarget target, NotificationRuleOptions options) Defines a CodeStar Notification rule which triggers when an approval status is changed.final INotificationRulenotifyOnBranchOrTagCreated(String id, INotificationRuleTarget target) Defines a CodeStar Notification rule which triggers when a new branch or tag is created.final INotificationRulenotifyOnBranchOrTagCreated(String id, INotificationRuleTarget target, NotificationRuleOptions options) Defines a CodeStar Notification rule which triggers when a new branch or tag is created.final INotificationRulenotifyOnBranchOrTagDeleted(String id, INotificationRuleTarget target) Defines a CodeStar Notification rule which triggers when a branch or tag is deleted.final INotificationRulenotifyOnBranchOrTagDeleted(String id, INotificationRuleTarget target, NotificationRuleOptions options) Defines a CodeStar Notification rule which triggers when a branch or tag is deleted.final INotificationRulenotifyOnPullRequestComment(String id, INotificationRuleTarget target) Defines a CodeStar Notification rule which triggers when a comment is made on a pull request.final INotificationRulenotifyOnPullRequestComment(String id, INotificationRuleTarget target, NotificationRuleOptions options) Defines a CodeStar Notification rule which triggers when a comment is made on a pull request.final INotificationRulenotifyOnPullRequestCreated(String id, INotificationRuleTarget target) Defines a CodeStar Notification rule which triggers when a pull request is created.final INotificationRulenotifyOnPullRequestCreated(String id, INotificationRuleTarget target, NotificationRuleOptions options) Defines a CodeStar Notification rule which triggers when a pull request is created.final INotificationRulenotifyOnPullRequestMerged(String id, INotificationRuleTarget target) Defines a CodeStar Notification rule which triggers when a pull request is merged.final INotificationRulenotifyOnPullRequestMerged(String id, INotificationRuleTarget target, NotificationRuleOptions options) Defines a CodeStar Notification rule which triggers when a pull request is merged.final RuleDefines a CloudWatch event rule which triggers when a comment is made on a commit.final RuleonCommentOnCommit(String id, OnEventOptions options) Defines a CloudWatch event rule which triggers when a comment is made on a commit.final RuleDefines a CloudWatch event rule which triggers when a comment is made on a pull request.final RuleonCommentOnPullRequest(String id, OnEventOptions options) Defines a CloudWatch event rule which triggers when a comment is made on a pull request.final RuleDefines a CloudWatch event rule which triggers when a commit is pushed to a branch.final RuleonCommit(String id, OnCommitOptions options) Defines a CloudWatch event rule which triggers when a commit is pushed to a branch.final RuleDefines a CloudWatch event rule which triggers for repository events.final RuleonEvent(String id, OnEventOptions options) Defines a CloudWatch event rule which triggers for repository events.final RuleDefines a CloudWatch event rule which triggers when a pull request state is changed.final RuleonPullRequestStateChange(String id, OnEventOptions options) Defines a CloudWatch event rule which triggers when a pull request state is changed.final RuleDefines a CloudWatch event rule which triggers when a reference is created (i.e.final RuleonReferenceCreated(String id, OnEventOptions options) Defines a CloudWatch event rule which triggers when a reference is created (i.e.final RuleDefines a CloudWatch event rule which triggers when a reference is delete (i.e.final RuleonReferenceDeleted(String id, OnEventOptions options) Defines a CloudWatch event rule which triggers when a reference is delete (i.e.final RuleDefines a CloudWatch event rule which triggers when a reference is updated (i.e.final RuleonReferenceUpdated(String id, OnEventOptions options) Defines a CloudWatch event rule which triggers when a reference is updated (i.e.final RuleonStateChange(String id) Defines a CloudWatch event rule which triggers when a "CodeCommit Repository State Change" event occurs.final RuleonStateChange(String id, OnEventOptions options) Defines a CloudWatch event rule which triggers when a "CodeCommit Repository State Change" event occurs.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
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
-
-
Method Details
-
getNode
The construct tree node for this construct.- Specified by:
getNodein interfaceIConstruct- Specified by:
getNodein interfaceIConstruct.Jsii$Default- Specified by:
getNodein interfaceIRepository.Jsii$Default- Specified by:
getNodein interfaceIResource.Jsii$Default
-
getEnv
The environment this resource belongs to.For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.
- Specified by:
getEnvin interfaceIRepository.Jsii$Default- Specified by:
getEnvin interfaceIResource- Specified by:
getEnvin interfaceIResource.Jsii$Default
-
getStack
The stack in which this resource is defined.- Specified by:
getStackin interfaceIRepository.Jsii$Default- Specified by:
getStackin interfaceIResource- Specified by:
getStackin interfaceIResource.Jsii$Default
-
getRepositoryArn
The ARN of this Repository.- Specified by:
getRepositoryArnin interfaceIRepository- Specified by:
getRepositoryArnin interfaceIRepository.Jsii$Default
-
getRepositoryCloneUrlGrc
The HTTPS (GRC) clone URL.HTTPS (GRC) is the protocol to use with git-remote-codecommit (GRC).
It is the recommended method for supporting connections made with federated access, identity providers, and temporary credentials.
- Specified by:
getRepositoryCloneUrlGrcin interfaceIRepository- Specified by:
getRepositoryCloneUrlGrcin interfaceIRepository.Jsii$Default- See Also:
-
getRepositoryCloneUrlHttp
The HTTP clone URL.- Specified by:
getRepositoryCloneUrlHttpin interfaceIRepository- Specified by:
getRepositoryCloneUrlHttpin interfaceIRepository.Jsii$Default
-
getRepositoryCloneUrlSsh
The SSH clone URL.- Specified by:
getRepositoryCloneUrlSshin interfaceIRepository- Specified by:
getRepositoryCloneUrlSshin interfaceIRepository.Jsii$Default
-
getRepositoryName
The human-visible name of this Repository.- Specified by:
getRepositoryNamein interfaceIRepository- Specified by:
getRepositoryNamein interfaceIRepository.Jsii$Default
-
applyRemovalPolicy
Apply the given removal policy to this resource.The Removal Policy controls what happens to this resource when it stops being managed by CloudFormation, either because you've removed it from the CDK application or because you've made a change that requires the resource to be replaced.
The resource can be deleted (
RemovalPolicy.DESTROY), or left in your AWS account for data recovery and cleanup later (RemovalPolicy.RETAIN).- Specified by:
applyRemovalPolicyin interfaceIRepository.Jsii$Default- Specified by:
applyRemovalPolicyin interfaceIResource- Specified by:
applyRemovalPolicyin interfaceIResource.Jsii$Default- Parameters:
policy- This parameter is required.
-
bindAsNotificationRuleSource
@Stability(Stable) @NotNull public final NotificationRuleSourceConfig bindAsNotificationRuleSource(@NotNull software.constructs.Construct scope) Returns a source configuration for notification rule.- Specified by:
bindAsNotificationRuleSourcein interfaceINotificationRuleSource- Specified by:
bindAsNotificationRuleSourcein interfaceINotificationRuleSource.Jsii$Default- Specified by:
bindAsNotificationRuleSourcein interfaceIRepository.Jsii$Default- Parameters:
scope- This parameter is required.
-
grant
@Stability(Stable) @NotNull public final Grant grant(@NotNull IGrantable grantee, @NotNull @NotNull String... actions) Grant the given principal identity permissions to perform the actions on this repository.- Specified by:
grantin interfaceIRepository- Specified by:
grantin interfaceIRepository.Jsii$Default- Parameters:
grantee- This parameter is required.actions- This parameter is required.
-
grantPull
Grant the given identity permissions to pull this repository.- Specified by:
grantPullin interfaceIRepository- Specified by:
grantPullin interfaceIRepository.Jsii$Default- Parameters:
grantee- This parameter is required.
-
grantPullPush
Grant the given identity permissions to pull and push this repository.- Specified by:
grantPullPushin interfaceIRepository- Specified by:
grantPullPushin interfaceIRepository.Jsii$Default- Parameters:
grantee- This parameter is required.
-
grantRead
Grant the given identity permissions to read this repository.- Specified by:
grantReadin interfaceIRepository- Specified by:
grantReadin interfaceIRepository.Jsii$Default- Parameters:
grantee- This parameter is required.
-
notifiyOnPullRequestMerged
@Stability(Deprecated) @Deprecated @NotNull public final INotificationRule notifiyOnPullRequestMerged(@NotNull String id, @NotNull INotificationRuleTarget target, @Nullable NotificationRuleOptions options) Deprecated.this method has a typo in its name, use notifyOnPullRequestMerged instead(deprecated) Defines a CodeStar Notification rule which triggers when a pull request is merged.- Specified by:
notifiyOnPullRequestMergedin interfaceIRepository- Specified by:
notifiyOnPullRequestMergedin interfaceIRepository.Jsii$Default- Parameters:
id- This parameter is required.target- This parameter is required.options-
-
notifiyOnPullRequestMerged
@Stability(Deprecated) @Deprecated @NotNull public final INotificationRule notifiyOnPullRequestMerged(@NotNull String id, @NotNull INotificationRuleTarget target) Deprecated.this method has a typo in its name, use notifyOnPullRequestMerged instead(deprecated) Defines a CodeStar Notification rule which triggers when a pull request is merged.- Specified by:
notifiyOnPullRequestMergedin interfaceIRepository- Parameters:
id- This parameter is required.target- This parameter is required.
-
notifyOn
@Stability(Stable) @NotNull public final INotificationRule notifyOn(@NotNull String id, @NotNull INotificationRuleTarget target, @NotNull RepositoryNotifyOnOptions options) Defines a CodeStar Notification rule triggered when the project events specified by you are emitted. Similar toonEventAPI.You can also use the methods to define rules for the specific event emitted. eg:
notifyOnPullRequstCreated.- Specified by:
notifyOnin interfaceIRepository- Specified by:
notifyOnin interfaceIRepository.Jsii$Default- Parameters:
id- This parameter is required.target- This parameter is required.options- This parameter is required.- Returns:
- CodeStar Notifications rule associated with this repository.
-
notifyOnApprovalRuleOverridden
@Stability(Stable) @NotNull public final INotificationRule notifyOnApprovalRuleOverridden(@NotNull String id, @NotNull INotificationRuleTarget target, @Nullable NotificationRuleOptions options) Defines a CodeStar Notification rule which triggers when an approval rule is overridden.- Specified by:
notifyOnApprovalRuleOverriddenin interfaceIRepository- Specified by:
notifyOnApprovalRuleOverriddenin interfaceIRepository.Jsii$Default- Parameters:
id- This parameter is required.target- This parameter is required.options-
-
notifyOnApprovalRuleOverridden
@Stability(Stable) @NotNull public final INotificationRule notifyOnApprovalRuleOverridden(@NotNull String id, @NotNull INotificationRuleTarget target) Defines a CodeStar Notification rule which triggers when an approval rule is overridden.- Specified by:
notifyOnApprovalRuleOverriddenin interfaceIRepository- Parameters:
id- This parameter is required.target- This parameter is required.
-
notifyOnApprovalStatusChanged
@Stability(Stable) @NotNull public final INotificationRule notifyOnApprovalStatusChanged(@NotNull String id, @NotNull INotificationRuleTarget target, @Nullable NotificationRuleOptions options) Defines a CodeStar Notification rule which triggers when an approval status is changed.- Specified by:
notifyOnApprovalStatusChangedin interfaceIRepository- Specified by:
notifyOnApprovalStatusChangedin interfaceIRepository.Jsii$Default- Parameters:
id- This parameter is required.target- This parameter is required.options-
-
notifyOnApprovalStatusChanged
@Stability(Stable) @NotNull public final INotificationRule notifyOnApprovalStatusChanged(@NotNull String id, @NotNull INotificationRuleTarget target) Defines a CodeStar Notification rule which triggers when an approval status is changed.- Specified by:
notifyOnApprovalStatusChangedin interfaceIRepository- Parameters:
id- This parameter is required.target- This parameter is required.
-
notifyOnBranchOrTagCreated
@Stability(Stable) @NotNull public final INotificationRule notifyOnBranchOrTagCreated(@NotNull String id, @NotNull INotificationRuleTarget target, @Nullable NotificationRuleOptions options) Defines a CodeStar Notification rule which triggers when a new branch or tag is created.- Specified by:
notifyOnBranchOrTagCreatedin interfaceIRepository- Specified by:
notifyOnBranchOrTagCreatedin interfaceIRepository.Jsii$Default- Parameters:
id- This parameter is required.target- This parameter is required.options-
-
notifyOnBranchOrTagCreated
@Stability(Stable) @NotNull public final INotificationRule notifyOnBranchOrTagCreated(@NotNull String id, @NotNull INotificationRuleTarget target) Defines a CodeStar Notification rule which triggers when a new branch or tag is created.- Specified by:
notifyOnBranchOrTagCreatedin interfaceIRepository- Parameters:
id- This parameter is required.target- This parameter is required.
-
notifyOnBranchOrTagDeleted
@Stability(Stable) @NotNull public final INotificationRule notifyOnBranchOrTagDeleted(@NotNull String id, @NotNull INotificationRuleTarget target, @Nullable NotificationRuleOptions options) Defines a CodeStar Notification rule which triggers when a branch or tag is deleted.- Specified by:
notifyOnBranchOrTagDeletedin interfaceIRepository- Specified by:
notifyOnBranchOrTagDeletedin interfaceIRepository.Jsii$Default- Parameters:
id- This parameter is required.target- This parameter is required.options-
-
notifyOnBranchOrTagDeleted
@Stability(Stable) @NotNull public final INotificationRule notifyOnBranchOrTagDeleted(@NotNull String id, @NotNull INotificationRuleTarget target) Defines a CodeStar Notification rule which triggers when a branch or tag is deleted.- Specified by:
notifyOnBranchOrTagDeletedin interfaceIRepository- Parameters:
id- This parameter is required.target- This parameter is required.
-
notifyOnPullRequestComment
@Stability(Stable) @NotNull public final INotificationRule notifyOnPullRequestComment(@NotNull String id, @NotNull INotificationRuleTarget target, @Nullable NotificationRuleOptions options) Defines a CodeStar Notification rule which triggers when a comment is made on a pull request.- Specified by:
notifyOnPullRequestCommentin interfaceIRepository- Specified by:
notifyOnPullRequestCommentin interfaceIRepository.Jsii$Default- Parameters:
id- This parameter is required.target- This parameter is required.options-
-
notifyOnPullRequestComment
@Stability(Stable) @NotNull public final INotificationRule notifyOnPullRequestComment(@NotNull String id, @NotNull INotificationRuleTarget target) Defines a CodeStar Notification rule which triggers when a comment is made on a pull request.- Specified by:
notifyOnPullRequestCommentin interfaceIRepository- Parameters:
id- This parameter is required.target- This parameter is required.
-
notifyOnPullRequestCreated
@Stability(Stable) @NotNull public final INotificationRule notifyOnPullRequestCreated(@NotNull String id, @NotNull INotificationRuleTarget target, @Nullable NotificationRuleOptions options) Defines a CodeStar Notification rule which triggers when a pull request is created.- Specified by:
notifyOnPullRequestCreatedin interfaceIRepository- Specified by:
notifyOnPullRequestCreatedin interfaceIRepository.Jsii$Default- Parameters:
id- This parameter is required.target- This parameter is required.options-
-
notifyOnPullRequestCreated
@Stability(Stable) @NotNull public final INotificationRule notifyOnPullRequestCreated(@NotNull String id, @NotNull INotificationRuleTarget target) Defines a CodeStar Notification rule which triggers when a pull request is created.- Specified by:
notifyOnPullRequestCreatedin interfaceIRepository- Parameters:
id- This parameter is required.target- This parameter is required.
-
notifyOnPullRequestMerged
@Stability(Stable) @NotNull public final INotificationRule notifyOnPullRequestMerged(@NotNull String id, @NotNull INotificationRuleTarget target, @Nullable NotificationRuleOptions options) Defines a CodeStar Notification rule which triggers when a pull request is merged.- Specified by:
notifyOnPullRequestMergedin interfaceIRepository- Specified by:
notifyOnPullRequestMergedin interfaceIRepository.Jsii$Default- Parameters:
id- This parameter is required.target- This parameter is required.options-
-
notifyOnPullRequestMerged
@Stability(Stable) @NotNull public final INotificationRule notifyOnPullRequestMerged(@NotNull String id, @NotNull INotificationRuleTarget target) Defines a CodeStar Notification rule which triggers when a pull request is merged.- Specified by:
notifyOnPullRequestMergedin interfaceIRepository- Parameters:
id- This parameter is required.target- This parameter is required.
-
onCommentOnCommit
@Stability(Stable) @NotNull public final Rule onCommentOnCommit(@NotNull String id, @Nullable OnEventOptions options) Defines a CloudWatch event rule which triggers when a comment is made on a commit.- Specified by:
onCommentOnCommitin interfaceIRepository- Specified by:
onCommentOnCommitin interfaceIRepository.Jsii$Default- Parameters:
id- This parameter is required.options-
-
onCommentOnCommit
Defines a CloudWatch event rule which triggers when a comment is made on a commit.- Specified by:
onCommentOnCommitin interfaceIRepository- Parameters:
id- This parameter is required.
-
onCommentOnPullRequest
@Stability(Stable) @NotNull public final Rule onCommentOnPullRequest(@NotNull String id, @Nullable OnEventOptions options) Defines a CloudWatch event rule which triggers when a comment is made on a pull request.- Specified by:
onCommentOnPullRequestin interfaceIRepository- Specified by:
onCommentOnPullRequestin interfaceIRepository.Jsii$Default- Parameters:
id- This parameter is required.options-
-
onCommentOnPullRequest
Defines a CloudWatch event rule which triggers when a comment is made on a pull request.- Specified by:
onCommentOnPullRequestin interfaceIRepository- Parameters:
id- This parameter is required.
-
onCommit
@Stability(Stable) @NotNull public final Rule onCommit(@NotNull String id, @Nullable OnCommitOptions options) Defines a CloudWatch event rule which triggers when a commit is pushed to a branch.- Specified by:
onCommitin interfaceIRepository- Specified by:
onCommitin interfaceIRepository.Jsii$Default- Parameters:
id- This parameter is required.options-
-
onCommit
Defines a CloudWatch event rule which triggers when a commit is pushed to a branch.- Specified by:
onCommitin interfaceIRepository- Parameters:
id- This parameter is required.
-
onEvent
@Stability(Stable) @NotNull public final Rule onEvent(@NotNull String id, @Nullable OnEventOptions options) Defines a CloudWatch event rule which triggers for repository events.Use
rule.addEventPattern(pattern)to specify a filter.- Specified by:
onEventin interfaceIRepository- Specified by:
onEventin interfaceIRepository.Jsii$Default- Parameters:
id- This parameter is required.options-
-
onEvent
Defines a CloudWatch event rule which triggers for repository events.Use
rule.addEventPattern(pattern)to specify a filter.- Specified by:
onEventin interfaceIRepository- Parameters:
id- This parameter is required.
-
onPullRequestStateChange
@Stability(Stable) @NotNull public final Rule onPullRequestStateChange(@NotNull String id, @Nullable OnEventOptions options) Defines a CloudWatch event rule which triggers when a pull request state is changed.- Specified by:
onPullRequestStateChangein interfaceIRepository- Specified by:
onPullRequestStateChangein interfaceIRepository.Jsii$Default- Parameters:
id- This parameter is required.options-
-
onPullRequestStateChange
Defines a CloudWatch event rule which triggers when a pull request state is changed.- Specified by:
onPullRequestStateChangein interfaceIRepository- Parameters:
id- This parameter is required.
-
onReferenceCreated
@Stability(Stable) @NotNull public final Rule onReferenceCreated(@NotNull String id, @Nullable OnEventOptions options) Defines a CloudWatch event rule which triggers when a reference is created (i.e. a new branch/tag is created) to the repository.- Specified by:
onReferenceCreatedin interfaceIRepository- Specified by:
onReferenceCreatedin interfaceIRepository.Jsii$Default- Parameters:
id- This parameter is required.options-
-
onReferenceCreated
Defines a CloudWatch event rule which triggers when a reference is created (i.e. a new branch/tag is created) to the repository.- Specified by:
onReferenceCreatedin interfaceIRepository- Parameters:
id- This parameter is required.
-
onReferenceDeleted
@Stability(Stable) @NotNull public final Rule onReferenceDeleted(@NotNull String id, @Nullable OnEventOptions options) Defines a CloudWatch event rule which triggers when a reference is delete (i.e. a branch/tag is deleted) from the repository.- Specified by:
onReferenceDeletedin interfaceIRepository- Specified by:
onReferenceDeletedin interfaceIRepository.Jsii$Default- Parameters:
id- This parameter is required.options-
-
onReferenceDeleted
Defines a CloudWatch event rule which triggers when a reference is delete (i.e. a branch/tag is deleted) from the repository.- Specified by:
onReferenceDeletedin interfaceIRepository- Parameters:
id- This parameter is required.
-
onReferenceUpdated
@Stability(Stable) @NotNull public final Rule onReferenceUpdated(@NotNull String id, @Nullable OnEventOptions options) Defines a CloudWatch event rule which triggers when a reference is updated (i.e. a commit is pushed to an existing or new branch) from the repository.- Specified by:
onReferenceUpdatedin interfaceIRepository- Specified by:
onReferenceUpdatedin interfaceIRepository.Jsii$Default- Parameters:
id- This parameter is required.options-
-
onReferenceUpdated
Defines a CloudWatch event rule which triggers when a reference is updated (i.e. a commit is pushed to an existing or new branch) from the repository.- Specified by:
onReferenceUpdatedin interfaceIRepository- Parameters:
id- This parameter is required.
-
onStateChange
@Stability(Stable) @NotNull public final Rule onStateChange(@NotNull String id, @Nullable OnEventOptions options) Defines a CloudWatch event rule which triggers when a "CodeCommit Repository State Change" event occurs.- Specified by:
onStateChangein interfaceIRepository- Specified by:
onStateChangein interfaceIRepository.Jsii$Default- Parameters:
id- This parameter is required.options-
-
onStateChange
Defines a CloudWatch event rule which triggers when a "CodeCommit Repository State Change" event occurs.- Specified by:
onStateChangein interfaceIRepository- Parameters:
id- This parameter is required.
-