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달 전
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.