Posted On: Apr 16, 2020

Starting today, you can customize the message in any action triggered by an event or a state change using the new AWS IoT Events expression syntax. This allows you to add custom text and remove irrelevant data from the messages sent by AWS IoT Events. With this launch, you can also define timer durations and MQTT topic names unique to each device (or detector instance). 

AWS IoT Events is a fully managed service that makes it easy to detect and respond to events from IoT sensors and applications. When an event is detected, it supports native actions that can be integrated with multiple AWS services, including AWS IoT Core, Amazon Kinesis Firehose, Amazon Simple Notification Service (SNS), Amazon Simple Queue Service (SQS), AWS Lambda and AWS IoT Events. With custom actions payloads you are now able to modify the payload that AWS IoT Events sends to these downstream services when a message evaluation triggers an event action.

For example, you can now customize the text message sent to a shop floor technician through Amazon SNS. You can also send relevant input data to an Amazon SQS queue when the state of your IoT device changes. Further, by using expressions to define timers and MQTT topic names, you can use a single detector model to automatically scale and manage the states of your entire device fleet. This saves time and helps you move to production quickly by avoiding the use of multiple services and glue logic. 

For more information about event actions and the new expression syntax, please visit the Event Actions section of the Using AWS IoT Events with Other Services page in our developer guide.