2 Answers
- Newest
- Most votes
- Most comments
0
You can download the code for a layer that you own by using the GetLayerVersion
API. With the AWS CLI, do aws lambda get-layer-version --layer-name LayerName --version-number 1
and in the response you'll see a Location
field which is where you can retrieve the layer code from.
0
I figured out that the answer for this particular layer was no, but I never really figured out how to grab the layer as a .tar.gz or .zip and unpack it, which is what I wanted.
answered a year ago
Relevant content
- asked 2 years ago
- Accepted Answerasked 5 years ago
- Accepted Answerasked 7 years ago
- Accepted Answerasked 3 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago