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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인