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").

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.

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン