Publishing messages to IoT core using an imported lambda in greengrassv2

0

Hi, Please provide the tutorials in greengrass v2 document related to publishing the messages to IoT core from an imported lambda using greengrass v2.

1개 답변
1

To publish to IoT Core from a lambda in Greengrass v2 you have 2 options.

  1. https://docs.aws.amazon.com/greengrass/v2/developerguide/ipc-iot-core-mqtt.html#ipc-operation-publishtoiotcore
  2. https://docs.aws.amazon.com/greengrass/v2/developerguide/legacy-subscription-router-component.html

Option 1 is the best solution.

When using option 2, you configure the legacy subscription router with the topic or topics that you want to go to the "cloud". To publish, you use the Greengrass V1 SDK's publish command.

AWS
전문가
답변함 2년 전

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

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

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

관련 콘텐츠