Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ecr): lookup existing repository #33662

Open
wants to merge 17 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
update jsdoc
  • Loading branch information
badmintoncryer committed Mar 2, 2025
commit 97edbbbae20c9f1951c0c37f20ed1cb489067ae4
4 changes: 4 additions & 0 deletions packages/aws-cdk-lib/aws-ecr/lib/repository.ts
Original file line number Diff line number Diff line change
@@ -608,10 +608,14 @@ export interface RepositoryProps {
export interface RepositoryLookupOptions {
/**
* The name of the repository.
*
* @default - Do not filter on repository name
*/
readonly repositoryName?: string;
/**
* The ARN of the repository.
*
* @default - Do not filter on repository ARN
*/
readonly repositoryArn?: string;
}