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 年前檢視次數 262 次
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.

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

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

回答問題指南