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 réponse
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
EXPERT
répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions