Passing different arguments to AWS IOT Greengrass lambda function

0

Hi All,

Is it possible to pass different arguments to AWS IOT Greengrass lambda function.

Kind regards,
Vhaxha

vhaxha
posta 3 anni fa248 visualizzazioni
2 Risposte
0

Hello,
Can you please expand on what you're asking? Are you talking about Greengrass v1 or v2? Are you talking about actual command line arguments? What lambda runtime language are you using? What is the purpose of these arguments?

You can set any environment variables when running your lambda on Greengrass and that would be the preferred way to get configuration into the lambda. In Greengrass V2 you can also use our configuration API https://docs.aws.amazon.com/greengrass/v2/developerguide/ipc-component-configuration.html#ipc-operation-getconfiguration.

Cheers,
Michael

AWS
ESPERTO
con risposta 3 anni fa
0

This issue has been sorted.

Thank you,

vhaxha
con risposta 3 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande