2 Antworten
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
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.
beantwortet vor 3 Monaten
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.
beantwortet vor 2 Monaten
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor 4 Jahren
- AWS OFFICIALAktualisiert vor einem Jahr
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.