【发布时间】:2020-05-06 10:21:03
【问题描述】:
我正在尝试学习 aws greengrass 并坚持创建需要 greengrass sdk env 的 lambda 函数。用于在 python 中运行 helloworld 代码。因为我没有设备所以我使用了一个 EC2 实例作为边缘设备。
在 aws lambda 中上传代码时收到此错误(“Lambda 找不到文件 greengrassHelloWorld.py。确保您的处理程序支持格式:file-name.method。”)并参考此文档 https://docs.aws.amazon.com/greengrass/latest/developerguide/create-lambda.html .此外,函数在 Edit Code Inline 中不可见。 Image showing uploaded function and handler as mentioned in the docs
【问题讨论】:
标签: amazon-web-services aws-lambda iot aws-iot greengrass