IoT rule
You can also configure AWS Lambda to be triggered for a custom IoT action as well, using AWS IoT rules. The prerequisite for this is that you have already configured and registered your IoT device in the AWS IoT console. With this IoT rule configuration, the data that has been passed in an MQTT (machine-to-machine (M2M)/"Internet of Things" connectivity protocol - learn more about MQTT at http://mqtt.org/) message to the IoT device will be passed down to the AWS Lambda function. The benefit of this integration is that you will be able to process the incoming message before you invoke any other AWS service offerings. You can learn more about this at https://docs.aws.amazon.com/iot/latest/developerguide/iot-lambda-rule.html.
Here ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access