Skip to content
v2.274.0

CfnDetectorModelProps Struct ​

Properties for defining a CfnDetectorModel.

Example ​

ts
// The generated example for this type would exceed 500 lines,
// and has been elided for readability.

Properties ​

detectorModelDefinitionIResolvable | CfnDetectorModel.DetectorModelDefinitionPropertydetector_model_definitiontyping.Union[IResolvable, DetectorModelDefinitionProperty]detectorModelDefinitionIResolvableDetectorModelDefinitionIResolvableDetectorModelDefinitioninterface{}required#
Information that defines how a detector operates.
detectorModelDescriptionstringdetector_model_descriptionstrdetectorModelDescriptionStringDetectorModelDescriptionstringDetectorModelDescription*string#
A brief description of the detector model.
detectorModelNamestringdetector_model_namestrdetectorModelNameStringDetectorModelNamestringDetectorModelName*string#
The name of the detector model.
evaluationMethodstringevaluation_methodstrevaluationMethodStringEvaluationMethodstringEvaluationMethod*string#
Information about the order in which events are evaluated and how actions are executed.
keystringkeystrkeyStringKeystringKey*string#
The value used to identify a detector instance.
notes

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.

roleArnstring | IRoleRefrole_arntyping.Union[str, IRoleRef]roleArnStringRoleArnstringRoleArninterface{}required#
The ARN of the role that grants permission to AWS IoT Events to perform its operations.
tagsCfnTag[]tagstyping.List[CfnTag]tagsList<CfnTag>TagsCfnTag[]Tags*[]CfnTag#
An array of key-value pairs to apply to this resource.

For more information, see Tag .

Used as props by ​