Behavior
¶
Source code in docs_src/capo_iot/types/behavior.py
criteria
instance-attribute
¶
criteria: NotRequired[BehaviorCriteria]
The criteria that determine if a device is behaving normally in regard to the metric.
In the IoT console, you can choose to be sent an alert through Amazon SNS when IoT Device Defender detects that a device is behaving anomalously.
export_metric
instance-attribute
¶
export_metric: NotRequired[ExportMetric]
Value indicates exporting metrics related to the behavior when it is true.
metric_dimension
instance-attribute
¶
metric_dimension: NotRequired[MetricDimension]
The dimension for a metric in your behavior. For example, using a TOPIC_FILTER dimension, you can narrow down the scope of the metric to only MQTT topics where the name matches the pattern specified in the dimension. This can't be used with custom metrics.
suppress_alerts
instance-attribute
¶
suppress_alerts: NotRequired[SuppressAlerts]
Suppresses alerts.