

# DetectorModelConfiguration
<a name="API_DetectorModelConfiguration"></a>

Information about how the detector model is configured.

## Contents
<a name="API_DetectorModelConfiguration_Contents"></a>

 ** creationTime **   <a name="iotevents-Type-DetectorModelConfiguration-creationTime"></a>
The time the detector model was created.  
Type: Timestamp  
Required: No

 ** detectorModelArn **   <a name="iotevents-Type-DetectorModelConfiguration-detectorModelArn"></a>
The ARN of the detector model.  
Type: String  
Required: No

 ** detectorModelDescription **   <a name="iotevents-Type-DetectorModelConfiguration-detectorModelDescription"></a>
A brief description of the detector model.  
Type: String  
Length Constraints: Maximum length of 1024.  
Required: No

 ** detectorModelName **   <a name="iotevents-Type-DetectorModelConfiguration-detectorModelName"></a>
The name of the detector model.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 128.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: No

 ** detectorModelVersion **   <a name="iotevents-Type-DetectorModelConfiguration-detectorModelVersion"></a>
The version of the detector model.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 128.  
Required: No

 ** evaluationMethod **   <a name="iotevents-Type-DetectorModelConfiguration-evaluationMethod"></a>
Information about the order in which events are evaluated and how actions are executed.   
Type: String  
Valid Values: `BATCH | SERIAL`   
Required: No

 ** key **   <a name="iotevents-Type-DetectorModelConfiguration-key"></a>
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. AWS IoT Events 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.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 128.  
Pattern: `^((`[\w\- ]+`)|([\w\-]+))(\.((`[\w- ]+`)|([\w\-]+)))*$`   
Required: No

 ** lastUpdateTime **   <a name="iotevents-Type-DetectorModelConfiguration-lastUpdateTime"></a>
The time the detector model was last updated.  
Type: Timestamp  
Required: No

 ** roleArn **   <a name="iotevents-Type-DetectorModelConfiguration-roleArn"></a>
The ARN of the role that grants permission to AWS IoT Events to perform its operations.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 2048.  
Required: No

 ** status **   <a name="iotevents-Type-DetectorModelConfiguration-status"></a>
The status of the detector model.  
Type: String  
Valid Values: `ACTIVE | ACTIVATING | INACTIVE | DEPRECATED | DRAFT | PAUSED | FAILED`   
Required: No

## See Also
<a name="API_DetectorModelConfiguration_SeeAlso"></a>

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/DetectorModelConfiguration) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/iotevents-2018-07-27/DetectorModelConfiguration) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/iotevents-2018-07-27/DetectorModelConfiguration) 