@Internal public static final class IRepository.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements IRepository.Jsii$Default
software.amazon.jsii.JsiiObject.InitializationModeIRepository.Jsii$Default, IRepository.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
ResourceEnvironment |
getEnv()
(experimental) The environment this resource belongs to.
|
software.constructs.Node |
getNode()
The tree node.
|
String |
getRepositoryArn()
(experimental) The ARN of this Repository.
|
String |
getRepositoryCloneUrlGrc()
(experimental) The HTTPS (GRC) clone URL.
|
String |
getRepositoryCloneUrlHttp()
(experimental) The HTTP clone URL.
|
String |
getRepositoryCloneUrlSsh()
(experimental) The SSH clone URL.
|
String |
getRepositoryName()
(experimental) The human-visible name of this Repository.
|
Stack |
getStack()
(experimental) The stack in which this resource is defined.
|
Grant |
grant(IGrantable grantee,
String... actions)
(experimental) Grant the given principal identity permissions to perform the actions on this repository.
|
Grant |
grantPull(IGrantable grantee)
(experimental) Grant the given identity permissions to pull this repository.
|
Grant |
grantPullPush(IGrantable grantee)
(experimental) Grant the given identity permissions to pull and push this repository.
|
Grant |
grantRead(IGrantable grantee)
(experimental) Grant the given identity permissions to read this repository.
|
Rule |
onCommentOnCommit(String id)
(experimental) Defines a CloudWatch event rule which triggers when a comment is made on a commit.
|
Rule |
onCommentOnCommit(String id,
OnEventOptions options)
(experimental) Defines a CloudWatch event rule which triggers when a comment is made on a commit.
|
Rule |
onCommentOnPullRequest(String id)
(experimental) Defines a CloudWatch event rule which triggers when a comment is made on a pull request.
|
Rule |
onCommentOnPullRequest(String id,
OnEventOptions options)
(experimental) Defines a CloudWatch event rule which triggers when a comment is made on a pull request.
|
Rule |
onCommit(String id)
(experimental) Defines a CloudWatch event rule which triggers when a commit is pushed to a branch.
|
Rule |
onCommit(String id,
OnCommitOptions options)
(experimental) Defines a CloudWatch event rule which triggers when a commit is pushed to a branch.
|
Rule |
onEvent(String id)
(experimental) Defines a CloudWatch event rule which triggers for repository events.
|
Rule |
onEvent(String id,
OnEventOptions options)
(experimental) Defines a CloudWatch event rule which triggers for repository events.
|
Rule |
onPullRequestStateChange(String id)
(experimental) Defines a CloudWatch event rule which triggers when a pull request state is changed.
|
Rule |
onPullRequestStateChange(String id,
OnEventOptions options)
(experimental) Defines a CloudWatch event rule which triggers when a pull request state is changed.
|
Rule |
onReferenceCreated(String id)
(experimental) Defines a CloudWatch event rule which triggers when a reference is created (i.e.
|
Rule |
onReferenceCreated(String id,
OnEventOptions options)
(experimental) Defines a CloudWatch event rule which triggers when a reference is created (i.e.
|
Rule |
onReferenceDeleted(String id)
(experimental) Defines a CloudWatch event rule which triggers when a reference is delete (i.e.
|
Rule |
onReferenceDeleted(String id,
OnEventOptions options)
(experimental) Defines a CloudWatch event rule which triggers when a reference is delete (i.e.
|
Rule |
onReferenceUpdated(String id)
(experimental) Defines a CloudWatch event rule which triggers when a reference is updated (i.e.
|
Rule |
onReferenceUpdated(String id,
OnEventOptions options)
(experimental) Defines a CloudWatch event rule which triggers when a reference is updated (i.e.
|
Rule |
onStateChange(String id)
(experimental) Defines a CloudWatch event rule which triggers when a "CodeCommit Repository State Change" event occurs.
|
Rule |
onStateChange(String id,
OnEventOptions options)
(experimental) Defines a CloudWatch event rule which triggers when a "CodeCommit Repository State Change" event occurs.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) @NotNull public final software.constructs.Node getNode()
getNode in interface IResource.Jsii$DefaultgetNode in interface IRepository.Jsii$DefaultgetNode in interface software.constructs.IConstructgetNode in interface software.constructs.IConstruct.Jsii$Default@Stability(value=Experimental) @NotNull public final ResourceEnvironment getEnv()
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.
getEnv in interface IResourcegetEnv in interface IResource.Jsii$DefaultgetEnv in interface IRepository.Jsii$Default@Stability(value=Experimental) @NotNull public final Stack getStack()
getStack in interface IResourcegetStack in interface IResource.Jsii$DefaultgetStack in interface IRepository.Jsii$Default@Stability(value=Experimental) @NotNull public final String getRepositoryArn()
getRepositoryArn in interface IRepositorygetRepositoryArn in interface IRepository.Jsii$Default@Stability(value=Experimental) @NotNull public final String getRepositoryCloneUrlGrc()
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.
getRepositoryCloneUrlGrc in interface IRepositorygetRepositoryCloneUrlGrc in interface IRepository.Jsii$Defaulthttps://docs.aws.amazon.com/codecommit/latest/userguide/setting-up-git-remote-codecommit.html@Stability(value=Experimental) @NotNull public final String getRepositoryCloneUrlHttp()
getRepositoryCloneUrlHttp in interface IRepositorygetRepositoryCloneUrlHttp in interface IRepository.Jsii$Default@Stability(value=Experimental) @NotNull public final String getRepositoryCloneUrlSsh()
getRepositoryCloneUrlSsh in interface IRepositorygetRepositoryCloneUrlSsh in interface IRepository.Jsii$Default@Stability(value=Experimental) @NotNull public final String getRepositoryName()
getRepositoryName in interface IRepositorygetRepositoryName in interface IRepository.Jsii$Default@Stability(value=Experimental) @NotNull public final Grant grant(@NotNull IGrantable grantee, @NotNull String... actions)
grant in interface IRepositorygrant in interface IRepository.Jsii$Defaultgrantee - This parameter is required.actions - This parameter is required.@Stability(value=Experimental) @NotNull public final Grant grantPull(@NotNull IGrantable grantee)
grantPull in interface IRepositorygrantPull in interface IRepository.Jsii$Defaultgrantee - This parameter is required.@Stability(value=Experimental) @NotNull public final Grant grantPullPush(@NotNull IGrantable grantee)
grantPullPush in interface IRepositorygrantPullPush in interface IRepository.Jsii$Defaultgrantee - This parameter is required.@Stability(value=Experimental) @NotNull public final Grant grantRead(@NotNull IGrantable grantee)
grantRead in interface IRepositorygrantRead in interface IRepository.Jsii$Defaultgrantee - This parameter is required.@Stability(value=Experimental) @NotNull public final Rule onCommentOnCommit(@NotNull String id, @Nullable OnEventOptions options)
onCommentOnCommit in interface IRepositoryonCommentOnCommit in interface IRepository.Jsii$Defaultid - This parameter is required.options - @Stability(value=Experimental) @NotNull public final Rule onCommentOnCommit(@NotNull String id)
onCommentOnCommit in interface IRepositoryid - This parameter is required.@Stability(value=Experimental) @NotNull public final Rule onCommentOnPullRequest(@NotNull String id, @Nullable OnEventOptions options)
onCommentOnPullRequest in interface IRepositoryonCommentOnPullRequest in interface IRepository.Jsii$Defaultid - This parameter is required.options - @Stability(value=Experimental) @NotNull public final Rule onCommentOnPullRequest(@NotNull String id)
onCommentOnPullRequest in interface IRepositoryid - This parameter is required.@Stability(value=Experimental) @NotNull public final Rule onCommit(@NotNull String id, @Nullable OnCommitOptions options)
onCommit in interface IRepositoryonCommit in interface IRepository.Jsii$Defaultid - This parameter is required.options - @Stability(value=Experimental) @NotNull public final Rule onCommit(@NotNull String id)
onCommit in interface IRepositoryid - This parameter is required.@Stability(value=Experimental) @NotNull public final Rule onEvent(@NotNull String id, @Nullable OnEventOptions options)
Use
rule.addEventPattern(pattern) to specify a filter.
onEvent in interface IRepositoryonEvent in interface IRepository.Jsii$Defaultid - This parameter is required.options - @Stability(value=Experimental) @NotNull public final Rule onEvent(@NotNull String id)
Use
rule.addEventPattern(pattern) to specify a filter.
onEvent in interface IRepositoryid - This parameter is required.@Stability(value=Experimental) @NotNull public final Rule onPullRequestStateChange(@NotNull String id, @Nullable OnEventOptions options)
onPullRequestStateChange in interface IRepositoryonPullRequestStateChange in interface IRepository.Jsii$Defaultid - This parameter is required.options - @Stability(value=Experimental) @NotNull public final Rule onPullRequestStateChange(@NotNull String id)
onPullRequestStateChange in interface IRepositoryid - This parameter is required.@Stability(value=Experimental) @NotNull public final Rule onReferenceCreated(@NotNull String id, @Nullable OnEventOptions options)
onReferenceCreated in interface IRepositoryonReferenceCreated in interface IRepository.Jsii$Defaultid - This parameter is required.options - @Stability(value=Experimental) @NotNull public final Rule onReferenceCreated(@NotNull String id)
onReferenceCreated in interface IRepositoryid - This parameter is required.@Stability(value=Experimental) @NotNull public final Rule onReferenceDeleted(@NotNull String id, @Nullable OnEventOptions options)
onReferenceDeleted in interface IRepositoryonReferenceDeleted in interface IRepository.Jsii$Defaultid - This parameter is required.options - @Stability(value=Experimental) @NotNull public final Rule onReferenceDeleted(@NotNull String id)
onReferenceDeleted in interface IRepositoryid - This parameter is required.@Stability(value=Experimental) @NotNull public final Rule onReferenceUpdated(@NotNull String id, @Nullable OnEventOptions options)
onReferenceUpdated in interface IRepositoryonReferenceUpdated in interface IRepository.Jsii$Defaultid - This parameter is required.options - @Stability(value=Experimental) @NotNull public final Rule onReferenceUpdated(@NotNull String id)
onReferenceUpdated in interface IRepositoryid - This parameter is required.@Stability(value=Experimental) @NotNull public final Rule onStateChange(@NotNull String id, @Nullable OnEventOptions options)
onStateChange in interface IRepositoryonStateChange in interface IRepository.Jsii$Defaultid - This parameter is required.options - @Stability(value=Experimental) @NotNull public final Rule onStateChange(@NotNull String id)
onStateChange in interface IRepositoryid - This parameter is required.Copyright © 2021. All rights reserved.