SAM中的AWS Lambda C ++运行时
是否有人有使用C ++运行时使用SAM打包AWS lambda函数的分步教程,因此我可以在本地运行它? C ++不是使用sam init --runtime
支持的语言之一,我无法从 https://aws.amazon.com/blogs/compute/introducing-the-c-lambda-runtime/
Does anyone have a step-by-step tutorial on using SAM to package an AWS lambda function using the C++ runtime so I can run it locally? C++ is not one of the languages supported using sam init --runtime
and I cannot work out the steps needed to package the Hello World function from https://aws.amazon.com/blogs/compute/introducing-the-c-lambda-runtime/
I'd recommend using CloudFormation package functionality to achieve what you're looking for.
请记住,由于动态依赖性,您的Lambda代码必须在AWS Linux
上以二进制形式构建. Lambda函数在基于AWS Linux
的容器中运行.
Remember that your Lambda code must be built to binary form on AWS Linux
because of dynamic dependencies. Lambda functions run in AWS Linux
based containers.