interface CfnDetectorModelProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.IoTEvents.CfnDetectorModelProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsiotevents#CfnDetectorModelProps |
![]() | software.amazon.awscdk.services.iotevents.CfnDetectorModelProps |
![]() | aws_cdk.aws_iotevents.CfnDetectorModelProps |
![]() | aws-cdk-lib » aws_iotevents » CfnDetectorModelProps |
Properties for defining a CfnDetectorModel
.
Example
// The generated example for this type would exceed 500 lines,
// and has been elided for readability.
Properties
Name | Type | Description |
---|---|---|
detector | IResolvable | Detector | Information that defines how a detector operates. |
role | string | The ARN of the role that grants permission to AWS IoT Events to perform its operations. |
detector | string | A brief description of the detector model. |
detector | string | The name of the detector model. |
evaluation | string | Information about the order in which events are evaluated and how actions are executed. |
key? | string | The value used to identify a detector instance. |
tags? | Cfn [] | An array of key-value pairs to apply to this resource. |
detectorModelDefinition
Type:
IResolvable
|
Detector
Information that defines how a detector operates.
roleArn
Type:
string
The ARN of the role that grants permission to AWS IoT Events to perform its operations.
detectorModelDescription?
Type:
string
(optional)
A brief description of the detector model.
detectorModelName?
Type:
string
(optional)
The name of the detector model.
evaluationMethod?
Type:
string
(optional)
Information about the order in which events are evaluated and how actions are executed.
key?
Type:
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. 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.
tags?
Type:
Cfn
[]
(optional)
An array of key-value pairs to apply to this resource.
For more information, see Tag .