Class IRepository.Jsii$Proxy
- All Implemented Interfaces:
IResource
,IResource.Jsii$Default
,IRepository
,IRepository.Jsii$Default
,INotificationRuleSource
,INotificationRuleSource.Jsii$Default
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IConstruct.Jsii$Default
,software.constructs.IDependable
,software.constructs.IDependable.Jsii$Default
- Enclosing interface:
IRepository
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$Proxy
Nested classes/interfaces inherited from interface software.constructs.IDependable
software.constructs.IDependable.Jsii$Default, software.constructs.IDependable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.codestarnotifications.INotificationRuleSource
INotificationRuleSource.Jsii$Default, INotificationRuleSource.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.codecommit.IRepository
IRepository.Jsii$Default, IRepository.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default, IResource.Jsii$Proxy
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
applyRemovalPolicy
(RemovalPolicy policy) Apply the given removal policy to this resource.bindAsNotificationRuleSource
(software.constructs.Construct scope) Returns a source configuration for notification rule.final ResourceEnvironment
getEnv()
The environment this resource belongs to.final software.constructs.Node
getNode()
The tree node.final String
The ARN of this Repository.final String
The HTTPS (GRC) clone URL.final String
The HTTP clone URL.final String
The SSH clone URL.final String
The human-visible name of this Repository.final Stack
getStack()
The stack in which this resource is defined.final Grant
grant
(IGrantable grantee, @NotNull String... actions) Grant the given principal identity permissions to perform the actions on this repository.final Grant
grantPull
(IGrantable grantee) Grant the given identity permissions to pull this repository.final Grant
grantPullPush
(IGrantable grantee) Grant the given identity permissions to pull and push this repository.final Grant
grantRead
(IGrantable grantee) Grant the given identity permissions to read this repository.final INotificationRule
notifyOn
(String id, INotificationRuleTarget target, RepositoryNotifyOnOptions options) Defines a CodeStar Notification rule triggered when the project events specified by you are emitted.final INotificationRule
Defines a CodeStar Notification rule which triggers when an approval rule is overridden.final INotificationRule
notifyOnApprovalRuleOverridden
(String id, INotificationRuleTarget target, NotificationRuleOptions options) Defines a CodeStar Notification rule which triggers when an approval rule is overridden.final INotificationRule
Defines a CodeStar Notification rule which triggers when an approval status is changed.final INotificationRule
notifyOnApprovalStatusChanged
(String id, INotificationRuleTarget target, NotificationRuleOptions options) Defines a CodeStar Notification rule which triggers when an approval status is changed.final INotificationRule
notifyOnBranchOrTagCreated
(String id, INotificationRuleTarget target) Defines a CodeStar Notification rule which triggers when a new branch or tag is created.final INotificationRule
notifyOnBranchOrTagCreated
(String id, INotificationRuleTarget target, NotificationRuleOptions options) Defines a CodeStar Notification rule which triggers when a new branch or tag is created.final INotificationRule
notifyOnBranchOrTagDeleted
(String id, INotificationRuleTarget target) Defines a CodeStar Notification rule which triggers when a branch or tag is deleted.final INotificationRule
notifyOnBranchOrTagDeleted
(String id, INotificationRuleTarget target, NotificationRuleOptions options) Defines a CodeStar Notification rule which triggers when a branch or tag is deleted.final INotificationRule
notifyOnPullRequestComment
(String id, INotificationRuleTarget target) Defines a CodeStar Notification rule which triggers when a comment is made on a pull request.final INotificationRule
notifyOnPullRequestComment
(String id, INotificationRuleTarget target, NotificationRuleOptions options) Defines a CodeStar Notification rule which triggers when a comment is made on a pull request.final INotificationRule
notifyOnPullRequestCreated
(String id, INotificationRuleTarget target) Defines a CodeStar Notification rule which triggers when a pull request is created.final INotificationRule
notifyOnPullRequestCreated
(String id, INotificationRuleTarget target, NotificationRuleOptions options) Defines a CodeStar Notification rule which triggers when a pull request is created.final INotificationRule
notifyOnPullRequestMerged
(String id, INotificationRuleTarget target) Defines a CodeStar Notification rule which triggers when a pull request is merged.final INotificationRule
notifyOnPullRequestMerged
(String id, INotificationRuleTarget target, NotificationRuleOptions options) Defines a CodeStar Notification rule which triggers when a pull request is merged.final Rule
Defines a CloudWatch event rule which triggers when a comment is made on a commit.final Rule
onCommentOnCommit
(String id, OnEventOptions options) Defines a CloudWatch event rule which triggers when a comment is made on a commit.final Rule
Defines a CloudWatch event rule which triggers when a comment is made on a pull request.final Rule
onCommentOnPullRequest
(String id, OnEventOptions options) Defines a CloudWatch event rule which triggers when a comment is made on a pull request.final Rule
Defines a CloudWatch event rule which triggers when a commit is pushed to a branch.final Rule
onCommit
(String id, OnCommitOptions options) Defines a CloudWatch event rule which triggers when a commit is pushed to a branch.final Rule
Defines a CloudWatch event rule which triggers for repository events.final Rule
onEvent
(String id, OnEventOptions options) Defines a CloudWatch event rule which triggers for repository events.final Rule
Defines a CloudWatch event rule which triggers when a pull request state is changed.final Rule
onPullRequestStateChange
(String id, OnEventOptions options) Defines a CloudWatch event rule which triggers when a pull request state is changed.final Rule
Defines a CloudWatch event rule which triggers when a reference is created (i.e.final Rule
onReferenceCreated
(String id, OnEventOptions options) Defines a CloudWatch event rule which triggers when a reference is created (i.e.final Rule
Defines a CloudWatch event rule which triggers when a reference is delete (i.e.final Rule
onReferenceDeleted
(String id, OnEventOptions options) Defines a CloudWatch event rule which triggers when a reference is delete (i.e.final Rule
Defines a CloudWatch event rule which triggers when a reference is updated (i.e.final Rule
onReferenceUpdated
(String id, OnEventOptions options) Defines a CloudWatch event rule which triggers when a reference is updated (i.e.final Rule
onStateChange
(String id) Defines a CloudWatch event rule which triggers when a "CodeCommit Repository State Change" event occurs.final Rule
onStateChange
(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, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
-
-
Method Details
-
getNode
@Stability(Stable) @NotNull public final software.constructs.Node getNode()The tree node.- Specified by:
getNode
in interfacesoftware.constructs.IConstruct
- Specified by:
getNode
in interfacesoftware.constructs.IConstruct.Jsii$Default
- Specified by:
getNode
in interfaceIRepository.Jsii$Default
- Specified by:
getNode
in 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:
getEnv
in interfaceIRepository.Jsii$Default
- Specified by:
getEnv
in interfaceIResource
- Specified by:
getEnv
in interfaceIResource.Jsii$Default
-
getStack
The stack in which this resource is defined.- Specified by:
getStack
in interfaceIRepository.Jsii$Default
- Specified by:
getStack
in interfaceIResource
- Specified by:
getStack
in interfaceIResource.Jsii$Default
-
getRepositoryArn
The ARN of this Repository.- Specified by:
getRepositoryArn
in interfaceIRepository
- Specified by:
getRepositoryArn
in 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:
getRepositoryCloneUrlGrc
in interfaceIRepository
- Specified by:
getRepositoryCloneUrlGrc
in interfaceIRepository.Jsii$Default
- See Also:
-
getRepositoryCloneUrlHttp
The HTTP clone URL.- Specified by:
getRepositoryCloneUrlHttp
in interfaceIRepository
- Specified by:
getRepositoryCloneUrlHttp
in interfaceIRepository.Jsii$Default
-
getRepositoryCloneUrlSsh
The SSH clone URL.- Specified by:
getRepositoryCloneUrlSsh
in interfaceIRepository
- Specified by:
getRepositoryCloneUrlSsh
in interfaceIRepository.Jsii$Default
-
getRepositoryName
The human-visible name of this Repository.- Specified by:
getRepositoryName
in interfaceIRepository
- Specified by:
getRepositoryName
in 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:
applyRemovalPolicy
in interfaceIRepository.Jsii$Default
- Specified by:
applyRemovalPolicy
in interfaceIResource
- Specified by:
applyRemovalPolicy
in 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:
bindAsNotificationRuleSource
in interfaceINotificationRuleSource
- Specified by:
bindAsNotificationRuleSource
in interfaceINotificationRuleSource.Jsii$Default
- Specified by:
bindAsNotificationRuleSource
in 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:
grant
in interfaceIRepository
- Specified by:
grant
in 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:
grantPull
in interfaceIRepository
- Specified by:
grantPull
in interfaceIRepository.Jsii$Default
- Parameters:
grantee
- This parameter is required.
-
grantPullPush
Grant the given identity permissions to pull and push this repository.- Specified by:
grantPullPush
in interfaceIRepository
- Specified by:
grantPullPush
in interfaceIRepository.Jsii$Default
- Parameters:
grantee
- This parameter is required.
-
grantRead
Grant the given identity permissions to read this repository.- Specified by:
grantRead
in interfaceIRepository
- Specified by:
grantRead
in interfaceIRepository.Jsii$Default
- Parameters:
grantee
- 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 toonEvent
API.You can also use the methods to define rules for the specific event emitted. eg:
notifyOnPullRequstCreated
.- Specified by:
notifyOn
in interfaceIRepository
- Specified by:
notifyOn
in 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:
notifyOnApprovalRuleOverridden
in interfaceIRepository
- Specified by:
notifyOnApprovalRuleOverridden
in 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:
notifyOnApprovalRuleOverridden
in 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:
notifyOnApprovalStatusChanged
in interfaceIRepository
- Specified by:
notifyOnApprovalStatusChanged
in 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:
notifyOnApprovalStatusChanged
in 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:
notifyOnBranchOrTagCreated
in interfaceIRepository
- Specified by:
notifyOnBranchOrTagCreated
in 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:
notifyOnBranchOrTagCreated
in 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:
notifyOnBranchOrTagDeleted
in interfaceIRepository
- Specified by:
notifyOnBranchOrTagDeleted
in 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:
notifyOnBranchOrTagDeleted
in 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:
notifyOnPullRequestComment
in interfaceIRepository
- Specified by:
notifyOnPullRequestComment
in 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:
notifyOnPullRequestComment
in 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:
notifyOnPullRequestCreated
in interfaceIRepository
- Specified by:
notifyOnPullRequestCreated
in 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:
notifyOnPullRequestCreated
in 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:
notifyOnPullRequestMerged
in interfaceIRepository
- Specified by:
notifyOnPullRequestMerged
in 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:
notifyOnPullRequestMerged
in 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:
onCommentOnCommit
in interfaceIRepository
- Specified by:
onCommentOnCommit
in 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:
onCommentOnCommit
in 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:
onCommentOnPullRequest
in interfaceIRepository
- Specified by:
onCommentOnPullRequest
in 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:
onCommentOnPullRequest
in 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:
onCommit
in interfaceIRepository
- Specified by:
onCommit
in 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:
onCommit
in 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:
onEvent
in interfaceIRepository
- Specified by:
onEvent
in 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:
onEvent
in 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:
onPullRequestStateChange
in interfaceIRepository
- Specified by:
onPullRequestStateChange
in 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:
onPullRequestStateChange
in 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:
onReferenceCreated
in interfaceIRepository
- Specified by:
onReferenceCreated
in 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:
onReferenceCreated
in 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:
onReferenceDeleted
in interfaceIRepository
- Specified by:
onReferenceDeleted
in 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:
onReferenceDeleted
in 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:
onReferenceUpdated
in interfaceIRepository
- Specified by:
onReferenceUpdated
in 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:
onReferenceUpdated
in 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:
onStateChange
in interfaceIRepository
- Specified by:
onStateChange
in 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:
onStateChange
in interfaceIRepository
- Parameters:
id
- This parameter is required.
-