AWS::IoTEvents::DetectorModelThe AWS::IoTEvents::DetectorModel resource creates a detector model. You create a *detector model* (a model of your equipment or process) using *states*. For each state, you define conditional (Boolean) logic that evaluates the incoming inputs to detect significant events. When an event is detected, it can change the state or trigger custom-built or predefined actions using other AWS services. You can define additional events that trigger actions when entering or exiting a state and, optional...
7 configurable properties. 2 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
DetectorModelDefinition | DetectorModelDefinition | Required |
RoleArn | string | Required |
DetectorModelDescription | string | |
DetectorModelName | string | Create-only |
EvaluationMethod | string | |
Key | string | Create-only |
Tags | Array<Tag> |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::IoTEvents::DetectorModel
Resources:
MyResource:
Type: AWS::IoTEvents::DetectorModel
Properties:
DetectorModelDefinition: "value"
RoleArn: "arn:aws:service:region:account:resource"
Tags:
- Key: Environment
Value: ProductionPermissions CloudFormation needs in your IAM role to manage this resource.
iotevents:CreateDetectorModeliotevents:UpdateInputRoutingiotevents:DescribeDetectorModeliotevents:ListTagsForResourceiotevents:TagResourceiam:PassRoleiotevents:DescribeDetectorModeliotevents:ListTagsForResourceiotevents:UpdateDetectorModeliotevents:UpdateInputRoutingiotevents:DescribeDetectorModeliotevents:ListTagsForResourceiotevents:UntagResourceiotevents:TagResourceiam:PassRoleiotevents:DeleteDetectorModeliotevents:DescribeDetectorModeliotevents:ListDetectorModelsOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterDetectorModelNameThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
DetectorModelNameKey