---
type: resource-type
title: DetectorModel
description: aws resource type AWS::IoTEvents::DetectorModel
name: DetectorModel
lexicon: aws
resource_type: AWS::IoTEvents::DetectorModel
---
`AWS::IoTEvents::DetectorModel`, a resource type of the aws lexicon.

## Properties

- `DetectorModelDefinition` (`DetectorModel_DetectorModelDefinition`, required): Information that defines how a detector operates.
- `RoleArn` (`string`, required): The ARN of the role that grants permission to ITE to perform its operations.
- `DetectorModelDescription` (`string`, optional): A brief description of the detector model.
- `DetectorModelName` (`string`, optional): The name of the detector model.
- `EvaluationMethod` (`"BATCH" | "SERIAL"`, optional): Information about the order in which events are evaluated and how actions are executed.
- `Key` (`string`, optional): The value used to identify a detector instance. When a device or system sends input, a new detector instance with a unique key value is created. ITE can continue to route input to its corresponding detector instance based on this identifying information. This parameter uses a JSON-path expression to select the attribute-value pair in the message payload that is used for identification. To route the message to the correct detector instance, the device must send a message payload that contains the same attribute-value.
- `Tags` (`DetectorModel_Tag[]`, optional): An array of key-value pairs to apply to this resource. For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html).
