2 個答案
- 最新
- 最多得票
- 最多評論
0
Lambda component by default has a Read-Only permission to the device file system in which the lambda component is running. You need to update this configuration to Read-Write to be able to persist files on your device using a lambda component.
That being said, I would recommend using a Greengrass V2 native instead of a lambda component. They are easier to develop and troubleshoot.
已回答 2 個月前
0
You will need to implement your own hook for AWS service related events for a native GGV2 component. But that should straightforward the AWS SDK. Lambda is a GGV1 concept which is not recommended GGV2.
已回答 2 個月前
相關內容
- 已提問 1 年前
- AWS 官方已更新 1 年前
- AWS 官方已更新 4 年前
- AWS 官方已更新 3 年前
I have checked the documentation but it seems to suggest I can only do that if the lambda runs inside a container. Can I configure to Read-Write with when I run without any isolation?
When using a native component can I take advantage of the subscription and message handling that Greengrass can do in case of a lambda component? That is I configure an
eventSources
in the component recipe then lambda implementscom.amazonaws.services.lambda.runtime.RequestHandler
and I'm done.