Skip to content

BatchGetImage

Source: src/AWS/ECR/BatchGetImage.ts

Runtime binding for ecr:BatchGetImage.

Fetches image manifests from the bound repository — the read half of a registry pull, and the first step of re-tagging an image (BatchGetImagePutImage with a new tag). Provide the implementation with Effect.provide(AWS.ECR.BatchGetImageHttp).

const batchGetImage = yield* AWS.ECR.BatchGetImage(repository);
const res = yield* batchGetImage({ imageIds: [{ imageTag: "latest" }] });
const manifest = res.images?.[0]?.imageManifest;