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 Respuesta
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
EXPERTO
respondido hace 2 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas