End of support notice: On May 20, 2026, AWS will end support for AWS IoT Events. After May 20, 2026, you will no longer be able to access the AWS IoT Events console or AWS IoT Events resources. For more information, see AWS IoT Events end of support.
Create an input within the Detector Model in AWS IoT Events
Detector inputs in AWS IoT Events serve as the bridge between your data sources and detector models. Detector inputs provide the raw data that powers the event detection and automation capabilities of AWS IoT Events. Learn to configure detector inputs to help your models respond accurately to real-world events and conditions in your IoT ecosystem.
This section shows how to define an input for a detector model to receive telemetry data, or messages.
To define an input for a detector model
-
Open the AWS IoT Events console
. -
In the AWS IoT Events console, choose Create detector model.
-
Choose Create new.
-
Choose Create input.
-
For the input, enter an InputName, an optional Description, and choose Upload file. In the dialog box that displays, select the
input.json
file that you created in the overview for Create a JSON input file. -
For Choose input attributes, select the attributes to use, and choose Create. In this example, we select motorId and sensorData.pressure.