2 Respostas
- Mais recentes
- Mais votos
- Mais comentários
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.
respondido há 2 meses
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.
respondido há 2 meses
Conteúdo relevante
- AWS OFICIALAtualizada há um ano
- AWS OFICIALAtualizada há 3 anos
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.