

End of support notice: On May 20, 2026, Amazon will 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, see [Amazon IoT Events end of support](https://docs.amazonaws.cn/iotevents/latest/developerguide/iotevents-end-of-support.html).

# Create an input within the Detector Model in Amazon IoT Events
<a name="iotevents-detector-input"></a>

Detector inputs in Amazon 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 Amazon 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**

1. Open the [Amazon IoT Events console](https://console.amazonaws.cn/iotevents/).

1. In the Amazon IoT Events console, choose **Create detector model**.

1. Choose **Create new**.

1. Choose **Create input**.

1. 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](create-input-overview.md#create-input-file). 

1. For **Choose input attributes**, select the attributes to use, and choose **Create**. In this example, we select **motorId** and **sensorData.pressure**. 