AWS::IoTEvents::AlarmModelRepresents an alarm model to monitor an ITE input attribute. You can use the alarm to get notified when the value is outside a specified range. For more information, see [Create an alarm model](https://docs.aws.amazon.com/iotevents/latest/developerguide/create-alarms.html) in the *Developer Guide*.
9 configurable properties. 2 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
AlarmRule | AlarmRule | Required |
RoleArn | string | Required |
AlarmCapabilities | AlarmCapabilities | |
AlarmEventActions | AlarmEventActions | |
AlarmModelDescription | string | |
AlarmModelName | string | Create-only |
Key | string | Create-only |
Severity | integer | |
Tags | Array<Tag> |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::IoTEvents::AlarmModel
Resources:
MyResource:
Type: AWS::IoTEvents::AlarmModel
Properties:
RoleArn: "arn:aws:service:region:account:resource"
AlarmRule: "value"
Tags:
- Key: Environment
Value: ProductionPermissions CloudFormation needs in your IAM role to manage this resource.
iotevents:CreateAlarmModeliotevents:UpdateInputRoutingiotevents:DescribeAlarmModeliotevents:ListTagsForResourceiotevents:TagResourceiam:PassRoleiotevents:DescribeAlarmModeliotevents:ListTagsForResourceiotevents:UpdateAlarmModeliotevents:UpdateInputRoutingiotevents:DescribeAlarmModeliotevents:ListTagsForResourceiotevents:UntagResourceiotevents:TagResourceiam:PassRoleiotevents:DeleteAlarmModeliotevents:DescribeAlarmModeliotevents:ListAlarmModelsOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterAlarmModelNameThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
AlarmModelNameKey