GetDownloadUrlForLayer
Source:
src/AWS/ECR/GetDownloadUrlForLayer.ts
Runtime binding for ecr:GetDownloadUrlForLayer.
Resolves a pre-signed S3 download URL for an image layer in the bound repository — the blob-download half of a registry pull. Provide the implementation with
Effect.provide(AWS.ECR.GetDownloadUrlForLayerHttp).
Pulling Images
Section titled “Pulling Images”const getDownloadUrl = yield* AWS.ECR.GetDownloadUrlForLayer(repository);
const res = yield* getDownloadUrl({ layerDigest: "sha256:…" });console.log(res.downloadUrl);