2 réponses
- Le plus récent
- Le plus de votes
- La plupart des commentaires
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.
répondu il y a 2 mois
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.
répondu il y a 2 mois
Contenus pertinents
- demandé il y a un an
- demandé il y a 2 ans
- demandé il y a un an
- demandé il y a 7 mois
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 4 ans
- AWS OFFICIELA mis à jour il y a un an
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.