We have a Greengrass V1 group setup with a bunch of lambda functions and a few docker containers deployed using the docker connector. The docker containers are mostly Node.js REST APIs that are used by the lambda functions.
Until now we've never had a reason for these docker containers to communicate with the IoT cloud - they only ever send REST responses back to the calling lambda functions. But now we have the need for a docker container to perform a task and send an MQTT message back to the cloud.
I'm having a little trouble getting the right docs on how to do this. I think I need be using the aws-iot-device-sdk-js (since this will be a Node.js REST API in the docker image). But I don't see how the examples in that repo apply if I'm using the docker connector in a Greengrass group.