This template creates an Amazon IoT Events Detector Model that can be used to detect and respond to events in real-time. The template defines a detector model with an initial state and an action to publish an MQTT message to a specified topic when a certain condition is met.

CloudFormation Template