End of support notice: On May 20, 2026, Amazon end support for Amazon IoT Events. After May 20, 2026, you will no longer be able to access the Amazon IoT Events console or Amazon IoT Events resources. For more information, visit this Amazon IoT Events end of support.
Prerequisites to get started with Amazon IoT Events
If you don't have an Amazon account, create one.
-
Follow the step in Setting up Amazon IoT Events to ensure proper account setup and permissions.
-
Create two Amazon Simple Notification Service (Amazon SNS) topics.
This tutorial (and the corresponding example) assume that you created two Amazon SNS topics. The ARNs of these topics are shown as:
arn:aws-cn:sns:us-east-1:123456789012:underPressureAction
andarn:aws-cn:sns:us-east-1:123456789012:pressureClearedAction
. Replace these values with the ARNs of Amazon SNS topics that you create. For more information, see the Amazon Simple Notification Service Developer Guide.As an alternative to publishing alerts to Amazon SNS topics, you can have the detectors send MQTT messages with a topic that you specify. With this option, you can verify that your detector model is creating instances and that those instances are sending alerts by using the Amazon IoT Core console to subscribe to and monitor messages sent to those MQTT topics. You can also define the MQTT topic name dynamically at runtime by using an input or variable created in the detector model.
-
Choose an Amazon Web Services Region that supports Amazon IoT Events. For more information, see Amazon IoT Events in the Amazon Web Services General Reference. For help, see Getting started with a service in the Amazon Web Services Management Console in the Getting Started with the Amazon Web Services Management Console.