Determining port for lambda function running on core device

0

I wanted to deploy 2 separate components to core device (Raspberry Pi) and I need to define 2 different ports for them. I was wondering how can I specify a port for a simple lambda function (like "hello from lambda").

Nana
已提问 1 年前267 查看次数
1 回答
0

Hi Nana,

what is your use-case, what do you want to achieve? In case your Lambda function should open a port to you need to do this in the code of your Lambda function.

Cheers,
Philipp

AWS
专家
已回答 1 年前
  • Hi Philipp, Thanks for your answer, So if I understood you right, you are suggesting to do this with creating a web server in lambda function code. My use case is that I want to be able to send a request from one Greengrass component to another and I was thinking about determining a port for each of them.

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则