AWS Fundamentals Logo
AWS Fundamentals
AWS::IoTEvents::AlarmModel

IoTEvents AlarmModel

Represents 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*.

Properties

9 configurable properties. 2 required. Click a row to see details.

Filter:
PropertyTypeFlags
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>

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
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: Production

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

iotevents:CreateAlarmModeliotevents:UpdateInputRoutingiotevents:DescribeAlarmModeliotevents:ListTagsForResourceiotevents:TagResourceiam:PassRole

read

iotevents:DescribeAlarmModeliotevents:ListTagsForResource

update

iotevents:UpdateAlarmModeliotevents:UpdateInputRoutingiotevents:DescribeAlarmModeliotevents:ListTagsForResourceiotevents:UntagResourceiotevents:TagResourceiam:PassRole

delete

iotevents:DeleteAlarmModeliotevents:DescribeAlarmModel

list

iotevents:ListAlarmModels

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

ServiceIoTEvents
Properties9
Required2
TaggingSupported
Primary IDAlarmModelName

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

AlarmModelNameKey

Related Resources

External Links