Posted On: Jul 25, 2019
When using AWS IoT Events, you now have the option to define actions to invoke AWS Lambda functions, publish messages to the Amazon Simple Queue Service (SQS) queue or an Amazon Kinesis Data Firehose delivery stream, and republish messages to IoT Events. Previously, you could only define actions to publish messages to SNS and MQTT. These expanded actions make it easier to build monitoring applications that help you quickly understand the state of your devices by providing more options to process messages created by IoT Events.
You can define a Lambda action to invoke a specific Lambda function with the message payload. The Lambda function receives the message payload as an input parameter and can further process the information in the message. Similarly, you can define an SQS action to send the message payload to a SQS queue that other services could read from. You can send the message payload to a Firehose delivery stream to display alerts in applications such as real-time dashboards. Finally, by defining IoT Events as an action, you send the message payload as an input to another detector model which can help simplify complex detector models into a hierarchy of simple ones.