aws-lambda-layer-version-code
Shared Lambda layer archives may include credentials or configuration that leaks into every consuming function.
Where it sits
| location | GetLayerVersion.Content.Location -> layer ZIP contents |
| location kind | code_artifact |
| data kinds | source_code_secret credential private_key api_key password |
| emits edge | ContainsCredential |
| service | Lambda (aws:lambda) |
Collection recipe
| access mode | read_api |
| operation | GetLayerVersion |
| response path | Content.Location (pre-signed download URL) -> ZIP entries |
| encoding | binary |
| params | {"LayerName": "\u003clayer-name-or-arn\u003e", "VersionNumber": "\u003cversion\u003e"} |
Required permissions
lambda:GetLayerVersion
References