We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
fromEcrRepository
1 parent f0b6da8 commit 7674244Copy full SHA for 7674244
packages/aws-cdk-lib/aws-ecs/lib/container-image.ts
@@ -20,7 +20,8 @@ export abstract class ContainerImage {
20
/**
21
* Reference an image in an ECR repository
22
*
23
- * @param tag If you don't specify this parameter, `latest` is used as default.
+ * @param tag Image tag or digest. Supports both tag (e.g., 'latest') and digest
24
+ * (e.g., 'sha256:abc123') formats. If you don't specify this parameter, `latest` is used as default.
25
*/
26
public static fromEcrRepository(repository: ecr.IRepository, tag: string = 'latest') {
27
return new EcrImage(repository, tag);
0 commit comments