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
已提問 3 年前檢視次數 248 次
2 個答案
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
專家
已回答 3 年前
0

This issue has been sorted.

Thank you,

vhaxha
已回答 3 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南