---
title: IoT Events Alarm Model
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > DDSQL Reference > Data Directory > IoT Events Alarm Model
---

# IoT Events Alarm Model

AWS IoT Events Alarm Model is a resource that defines and manages alarm conditions for IoT applications. It allows you to monitor data from devices or processes, evaluate it against defined rules, and trigger actions when thresholds are met. This helps automate responses to critical events, such as sending notifications, updating device states, or invoking other AWS services.

```
aws.iotevents_alarm_model
```

## Fields

| Title                   | ID   | Type       | Data Type                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | Description |
| ----------------------- | ---- | ---------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| _key                    | core | string     |
| account_id              | core | string     |
| alarm_capabilities      | core | json       | Contains the configuration information of alarm state changes.                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| alarm_event_actions     | core | json       | Contains information about one or more alarm actions.                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| alarm_model_arn         | core | string     | The ARN of the alarm model. For more information, see Amazon Resource Names (ARNs) in the AWS General Reference.                                                                                                                                                                                                                                                                                                                                                                                                           |
| alarm_model_description | core | string     | The description of the alarm model.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| alarm_model_name        | core | string     | The name of the alarm model.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| alarm_model_version     | core | string     | The version of the alarm model.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| alarm_notification      | core | json       | Contains information about one or more notification actions.                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| alarm_rule              | core | json       | Defines when your alarm is invoked.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| creation_time           | core | timestamp  | The time the alarm model was created, in the Unix epoch format.                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| key                     | core | string     | An input attribute used as a key to create an alarm. AWS IoT Events routes inputs associated with this key to the alarm.                                                                                                                                                                                                                                                                                                                                                                                                   |
| last_update_time        | core | timestamp  | The time the alarm model was last updated, in the Unix epoch format.                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| role_arn                | core | string     | The ARN of the IAM role that allows the alarm to perform actions and access AWS resources. For more information, see Amazon Resource Names (ARNs) in the AWS General Reference.                                                                                                                                                                                                                                                                                                                                            |
| severity                | core | int64      | A non-negative integer that reflects the severity level of the alarm.                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| status                  | core | string     | The status of the alarm model. The status can be one of the following values: ACTIVE - The alarm model is active and it's ready to evaluate data. ACTIVATING - AWS IoT Events is activating your alarm model. Activating an alarm model can take up to a few minutes. INACTIVE - The alarm model is inactive, so it isn't ready to evaluate data. Check your alarm model information and update the alarm model. FAILED - You couldn't create or update the alarm model. Check your alarm model information and try again. |
| status_message          | core | string     | Contains information about the status of the alarm model.                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| tags                    | core | hstore_csv |
