

# Alarm


Contains information about an alarm.

## Contents


 ** alarmModelName **   <a name="iotevents-Type-iotevents-data_Alarm-alarmModelName"></a>
The name of the alarm model.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 128.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: No

 ** alarmModelVersion **   <a name="iotevents-Type-iotevents-data_Alarm-alarmModelVersion"></a>
The version of the alarm model.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 128.  
Required: No

 ** alarmState **   <a name="iotevents-Type-iotevents-data_Alarm-alarmState"></a>
Contains information about the current state of the alarm.  
Type: [AlarmState](API_iotevents-data_AlarmState.md) object  
Required: No

 ** creationTime **   <a name="iotevents-Type-iotevents-data_Alarm-creationTime"></a>
The time the alarm was created, in the Unix epoch format.  
Type: Timestamp  
Required: No

 ** keyValue **   <a name="iotevents-Type-iotevents-data_Alarm-keyValue"></a>
The value of the key used as a filter to select only the alarms associated with the [key](https://docs.aws.amazon.com/iotevents/latest/apireference/API_CreateAlarmModel.html#iotevents-CreateAlarmModel-request-key).  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 128.  
Pattern: `^[a-zA-Z0-9\-_:]+$`   
Required: No

 ** lastUpdateTime **   <a name="iotevents-Type-iotevents-data_Alarm-lastUpdateTime"></a>
The time the alarm was last updated, in the Unix epoch format.  
Type: Timestamp  
Required: No

 ** severity **   <a name="iotevents-Type-iotevents-data_Alarm-severity"></a>
A non-negative integer that reflects the severity level of the alarm.  
Type: Integer  
Valid Range: Minimum value of 0. Maximum value of 2147483647.  
Required: No

## See Also


For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/iotevents-data-2018-10-23/Alarm) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/iotevents-data-2018-10-23/Alarm) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/iotevents-data-2018-10-23/Alarm) 