

# AlarmRule


Defines when your alarm is invoked.

## Contents


 ** simpleRule **   <a name="iotevents-Type-AlarmRule-simpleRule"></a>
A rule that compares an input property value to a threshold value with a comparison operator.  
Type: [SimpleRule](API_SimpleRule.md) object  
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-2018-07-27/AlarmRule) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/iotevents-2018-07-27/AlarmRule) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/iotevents-2018-07-27/AlarmRule) 