Interface IRepository.Jsii$Default
- All Superinterfaces:
software.constructs.IConstruct,software.constructs.IConstruct.Jsii$Default,software.constructs.IDependable,software.constructs.IDependable.Jsii$Default,IEnvironmentAware,IEnvironmentAware.Jsii$Default,INotificationRuleSource,INotificationRuleSource.Jsii$Default,IRepository,IRepositoryRef,IRepositoryRef.Jsii$Default,IResource,IResource.Jsii$Default,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
IRepository.Jsii$Proxy
- Enclosing interface:
IRepository
@Internal
public static interface IRepository.Jsii$Default
extends IRepository, IResource.Jsii$Default, IRepositoryRef.Jsii$Default, INotificationRuleSource.Jsii$Default
Internal default implementation for
IRepository.-
Nested Class Summary
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IDependable
software.constructs.IDependable.Jsii$Default, software.constructs.IDependable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
IEnvironmentAware.Jsii$Default, IEnvironmentAware.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.interfaces.codecommit.IRepositoryRef
IRepositoryRef.Jsii$Default, IRepositoryRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default, IResource.Jsii$Proxy -
Method Summary
Modifier and TypeMethodDescriptiondefault StringThe ARN of this Repository.default StringThe HTTPS (GRC) clone URL.default StringThe HTTP clone URL.default StringThe SSH clone URL.default StringThe human-visible name of this Repository.default Grantgrant(IGrantable grantee, String... actions) Grant the given principal identity permissions to perform the actions on this repository.default GrantgrantPull(IGrantable grantee) Grant the given identity permissions to pull this repository.default GrantgrantPullPush(IGrantable grantee) Grant the given identity permissions to pull and push this repository.default GrantgrantRead(IGrantable grantee) Grant the given identity permissions to read this repository.default INotificationRulenotifyOn(String id, INotificationRuleTarget target, RepositoryNotifyOnOptions options) Defines a CodeStar Notification rule triggered when the project events specified by you are emitted.default INotificationRuleDefines a CodeStar Notification rule which triggers when an approval rule is overridden.default INotificationRulenotifyOnApprovalRuleOverridden(String id, INotificationRuleTarget target, NotificationRuleOptions options) Defines a CodeStar Notification rule which triggers when an approval rule is overridden.default INotificationRuleDefines a CodeStar Notification rule which triggers when an approval status is changed.default INotificationRulenotifyOnApprovalStatusChanged(String id, INotificationRuleTarget target, NotificationRuleOptions options) Defines a CodeStar Notification rule which triggers when an approval status is changed.default INotificationRulenotifyOnBranchOrTagCreated(String id, INotificationRuleTarget target) Defines a CodeStar Notification rule which triggers when a new branch or tag is created.default INotificationRulenotifyOnBranchOrTagCreated(String id, INotificationRuleTarget target, NotificationRuleOptions options) Defines a CodeStar Notification rule which triggers when a new branch or tag is created.default INotificationRulenotifyOnBranchOrTagDeleted(String id, INotificationRuleTarget target) Defines a CodeStar Notification rule which triggers when a branch or tag is deleted.default INotificationRulenotifyOnBranchOrTagDeleted(String id, INotificationRuleTarget target, NotificationRuleOptions options) Defines a CodeStar Notification rule which triggers when a branch or tag is deleted.default INotificationRulenotifyOnPullRequestComment(String id, INotificationRuleTarget target) Defines a CodeStar Notification rule which triggers when a comment is made on a pull request.default INotificationRulenotifyOnPullRequestComment(String id, INotificationRuleTarget target, NotificationRuleOptions options) Defines a CodeStar Notification rule which triggers when a comment is made on a pull request.default INotificationRulenotifyOnPullRequestCreated(String id, INotificationRuleTarget target) Defines a CodeStar Notification rule which triggers when a pull request is created.default INotificationRulenotifyOnPullRequestCreated(String id, INotificationRuleTarget target, NotificationRuleOptions options) Defines a CodeStar Notification rule which triggers when a pull request is created.default INotificationRulenotifyOnPullRequestMerged(String id, INotificationRuleTarget target) Defines a CodeStar Notification rule which triggers when a pull request is merged.default INotificationRulenotifyOnPullRequestMerged(String id, INotificationRuleTarget target, NotificationRuleOptions options) Defines a CodeStar Notification rule which triggers when a pull request is merged.default RuleDefines a CloudWatch event rule which triggers when a comment is made on a commit.default RuleonCommentOnCommit(String id, OnEventOptions options) Defines a CloudWatch event rule which triggers when a comment is made on a commit.default RuleDefines a CloudWatch event rule which triggers when a comment is made on a pull request.default RuleonCommentOnPullRequest(String id, OnEventOptions options) Defines a CloudWatch event rule which triggers when a comment is made on a pull request.default RuleDefines a CloudWatch event rule which triggers when a commit is pushed to a branch.default RuleonCommit(String id, OnCommitOptions options) Defines a CloudWatch event rule which triggers when a commit is pushed to a branch.default RuleDefines a CloudWatch event rule which triggers for repository events.default RuleonEvent(String id, OnEventOptions options) Defines a CloudWatch event rule which triggers for repository events.default RuleDefines a CloudWatch event rule which triggers when a pull request state is changed.default RuleonPullRequestStateChange(String id, OnEventOptions options) Defines a CloudWatch event rule which triggers when a pull request state is changed.default RuleDefines a CloudWatch event rule which triggers when a reference is created (i.e.default RuleonReferenceCreated(String id, OnEventOptions options) Defines a CloudWatch event rule which triggers when a reference is created (i.e.default RuleDefines a CloudWatch event rule which triggers when a reference is delete (i.e.default RuleonReferenceDeleted(String id, OnEventOptions options) Defines a CloudWatch event rule which triggers when a reference is delete (i.e.default RuleDefines a CloudWatch event rule which triggers when a reference is updated (i.e.default RuleonReferenceUpdated(String id, OnEventOptions options) Defines a CloudWatch event rule which triggers when a reference is updated (i.e.default RuleonStateChange(String id) Defines a CloudWatch event rule which triggers when a "CodeCommit Repository State Change" event occurs.default RuleonStateChange(String id, OnEventOptions options) Defines a CloudWatch event rule which triggers when a "CodeCommit Repository State Change" event occurs.Methods inherited from interface software.constructs.IConstruct.Jsii$Default
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware.Jsii$Default
getEnvMethods inherited from interface software.amazon.awscdk.services.codestarnotifications.INotificationRuleSource.Jsii$Default
bindAsNotificationRuleSourceMethods inherited from interface software.amazon.awscdk.interfaces.codecommit.IRepositoryRef.Jsii$Default
getRepositoryRefMethods inherited from interface software.amazon.awscdk.IResource.Jsii$Default
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getRepositoryArn
The ARN of this Repository.- Specified by:
getRepositoryArnin interfaceIRepository
-
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- See Also:
-
getRepositoryCloneUrlHttp
The HTTP clone URL.- Specified by:
getRepositoryCloneUrlHttpin interfaceIRepository
-
getRepositoryCloneUrlSsh
The SSH clone URL.- Specified by:
getRepositoryCloneUrlSshin interfaceIRepository
-
getRepositoryName
The human-visible name of this Repository.- Specified by:
getRepositoryNamein interfaceIRepository
-
grant
@Stability(Stable) @NotNull default Grant grant(@NotNull IGrantable grantee, @NotNull String... actions) Grant the given principal identity permissions to perform the actions on this repository.- Specified by:
grantin interfaceIRepository- 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- Parameters:
grantee- This parameter is required.
-
grantPullPush
Grant the given identity permissions to pull and push this repository.- Specified by:
grantPullPushin interfaceIRepository- Parameters:
grantee- This parameter is required.
-
grantRead
Grant the given identity permissions to read this repository.- Specified by:
grantReadin interfaceIRepository- Parameters:
grantee- This parameter is required.
-
notifyOn
@Stability(Stable) @NotNull default 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- 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 default 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- Parameters:
id- This parameter is required.target- This parameter is required.options-
-
notifyOnApprovalRuleOverridden
@Stability(Stable) @NotNull default 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 default 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- Parameters:
id- This parameter is required.target- This parameter is required.options-
-
notifyOnApprovalStatusChanged
@Stability(Stable) @NotNull default 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 default 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- Parameters:
id- This parameter is required.target- This parameter is required.options-
-
notifyOnBranchOrTagCreated
@Stability(Stable) @NotNull default 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 default 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- Parameters:
id- This parameter is required.target- This parameter is required.options-
-
notifyOnBranchOrTagDeleted
@Stability(Stable) @NotNull default 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 default 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- Parameters:
id- This parameter is required.target- This parameter is required.options-
-
notifyOnPullRequestComment
@Stability(Stable) @NotNull default 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 default 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- Parameters:
id- This parameter is required.target- This parameter is required.options-
-
notifyOnPullRequestCreated
@Stability(Stable) @NotNull default 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 default 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- Parameters:
id- This parameter is required.target- This parameter is required.options-
-
notifyOnPullRequestMerged
@Stability(Stable) @NotNull default 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 default 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- 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 default 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- 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 default 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- 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 default 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- 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 default 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- 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 default 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- 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 default 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- 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 default 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- 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 default 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- 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.
-