From bce1994ead75609487d16cde48af9d0185bbabe7 Mon Sep 17 00:00:00 2001 From: "Michael B. Klein" Date: Wed, 19 Oct 2022 16:39:55 +0000 Subject: [PATCH] Add note to README about the shared public layer --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 950535d..4e7ae75 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,16 @@ This AWS Lambda layer contains a pre-built [Sharp](https://www.npmjs.com/package A pre-built layer zip file is available on the [Releases page](https://github.com/samvera-labs/lambda-layer-sharp-jp2/releases), alongside the size of the layer. Zip files for both x86_64 and arm64 are available. +## Shared Public Layer + +A public version of this layer is always available at `arn:aws:lambda:us-east-1:$REGION:layer:libvips-sharp-jp2:$VERSION`, where `$REGION` is any valid AWS region, and `$VERSION` is the layer version. The available versions can be listed using the AWS CLI command: +``` +aws lambda list-layer-versions \ + --layer-name arn:aws:lambda:$REGION:625046682746:layer:libvips-sharp-jp2 \ + --query 'LayerVersions[*].LayerVersionArn' \ + --output text +``` + ## Build ### Dependencies