@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:07.342Z") @Stability(value=Experimental) public interface IRepository extends software.amazon.jsii.JsiiSerializable, IResource
| Modifier and Type | Interface and Description |
|---|---|
static interface |
IRepository.Jsii$Default
Internal default implementation for
IRepository. |
static class |
IRepository.Jsii$Proxy
A proxy class which represents a concrete javascript instance of this type.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
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.
|
@Stability(value=Experimental) @NotNull String getRepositoryArn()
@Stability(value=Experimental) @NotNull 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.
https://docs.aws.amazon.com/codecommit/latest/userguide/setting-up-git-remote-codecommit.html@Stability(value=Experimental) @NotNull String getRepositoryCloneUrlHttp()
@Stability(value=Experimental) @NotNull String getRepositoryCloneUrlSsh()
@Stability(value=Experimental) @NotNull String getRepositoryName()
@Stability(value=Experimental) @NotNull Grant grant(@NotNull IGrantable grantee, @NotNull String... actions)
grantee - This parameter is required.actions - This parameter is required.@Stability(value=Experimental) @NotNull Grant grantPull(@NotNull IGrantable grantee)
grantee - This parameter is required.@Stability(value=Experimental) @NotNull Grant grantPullPush(@NotNull IGrantable grantee)
grantee - This parameter is required.@Stability(value=Experimental) @NotNull Grant grantRead(@NotNull IGrantable grantee)
grantee - This parameter is required.@Stability(value=Experimental) @NotNull Rule onCommentOnCommit(@NotNull String id, @Nullable OnEventOptions options)
id - This parameter is required.options - @Stability(value=Experimental) @NotNull Rule onCommentOnCommit(@NotNull String id)
id - This parameter is required.@Stability(value=Experimental) @NotNull Rule onCommentOnPullRequest(@NotNull String id, @Nullable OnEventOptions options)
id - This parameter is required.options - @Stability(value=Experimental) @NotNull Rule onCommentOnPullRequest(@NotNull String id)
id - This parameter is required.@Stability(value=Experimental) @NotNull Rule onCommit(@NotNull String id, @Nullable OnCommitOptions options)
id - This parameter is required.options - @Stability(value=Experimental) @NotNull Rule onCommit(@NotNull String id)
id - This parameter is required.@Stability(value=Experimental) @NotNull Rule onEvent(@NotNull String id, @Nullable OnEventOptions options)
Use
rule.addEventPattern(pattern) to specify a filter.
id - This parameter is required.options - @Stability(value=Experimental) @NotNull Rule onEvent(@NotNull String id)
Use
rule.addEventPattern(pattern) to specify a filter.
id - This parameter is required.@Stability(value=Experimental) @NotNull Rule onPullRequestStateChange(@NotNull String id, @Nullable OnEventOptions options)
id - This parameter is required.options - @Stability(value=Experimental) @NotNull Rule onPullRequestStateChange(@NotNull String id)
id - This parameter is required.@Stability(value=Experimental) @NotNull Rule onReferenceCreated(@NotNull String id, @Nullable OnEventOptions options)
id - This parameter is required.options - @Stability(value=Experimental) @NotNull Rule onReferenceCreated(@NotNull String id)
id - This parameter is required.@Stability(value=Experimental) @NotNull Rule onReferenceDeleted(@NotNull String id, @Nullable OnEventOptions options)
id - This parameter is required.options - @Stability(value=Experimental) @NotNull Rule onReferenceDeleted(@NotNull String id)
id - This parameter is required.@Stability(value=Experimental) @NotNull Rule onReferenceUpdated(@NotNull String id, @Nullable OnEventOptions options)
id - This parameter is required.options - @Stability(value=Experimental) @NotNull Rule onReferenceUpdated(@NotNull String id)
id - This parameter is required.@Stability(value=Experimental) @NotNull Rule onStateChange(@NotNull String id, @Nullable OnEventOptions options)
id - This parameter is required.options - Copyright © 2021. All rights reserved.