1 個回答
- 最新
- 最多得票
- 最多評論
1
The compatible runtimes parameter when creating a layer determines which layers are displayed when adding a layer to a function, but does not affect actual layer compatibility. If no compatible runtimes are specified for a layer, Lambda will invoke functions using that layer against any of Lambda's supported runtimes. The "compatible runtimes" property does not enforce true compatibility at the runtime level - it is simply metadata that controls layer discoverability.
已回答 1 個月前
相關內容
- 已提問 1 年前
- AWS 官方已更新 1 年前
- AWS 官方已更新 3 年前
- AWS 官方已更新 1 年前
- AWS 官方已更新 5 個月前
Thanks for the response. Would like to clarify with an example here. If the Lambda function's runtime is Node.js 20.x but the compatible runtimes of the layer is 16.x, when the Lambda function is invoked, does the code in the layer run on 20.x or 16.x?