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
asked 3 years ago242 views
2 Answers
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
answered 3 years ago
0

This issue has been sorted.

Thank you,

vhaxha
answered 3 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions