Skip to content

ListImages

Source: src/AWS/ECR/ListImages.ts

Runtime binding for ecr:ListImages.

Lists the image IDs (digest + tag) in the bound repository. Provide the implementation with Effect.provide(AWS.ECR.ListImagesHttp).

const listImages = yield* AWS.ECR.ListImages(repository);
const res = yield* listImages({ filter: { tagStatus: "TAGGED" } });
for (const id of res.imageIds ?? []) console.log(id.imageTag);