1 Answer
- Newest
- Most votes
- Most comments
1
To publish to IoT Core from a lambda in Greengrass v2 you have 2 options.
- https://docs.aws.amazon.com/greengrass/v2/developerguide/ipc-iot-core-mqtt.html#ipc-operation-publishtoiotcore
- 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.
Relevant content
- asked 3 years ago
- asked 3 years ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 5 months ago