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
demandé il y a 3 ans248 vues
2 réponses
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
EXPERT
répondu il y a 3 ans
0

This issue has been sorted.

Thank you,

vhaxha
répondu il y a 3 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions