Behavior - Amazon IoT
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).


A Device Defender security profile behavior.



The name you've given to the behavior.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 128.

Pattern: [a-zA-Z0-9:_-]+

Required: Yes


The criteria that determine if a device is behaving normally in regard to the metric.


In the Amazon IoT console, you can choose to be sent an alert through Amazon SNS when Amazon IoT Device Defender detects that a device is behaving anomalously.

Type: BehaviorCriteria object

Required: No


Value indicates exporting metrics related to the behavior when it is true.

Type: Boolean

Required: No


What is measured by the behavior.

Type: String

Required: No


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.

Type: MetricDimension object

Required: No


Suppresses alerts.

Type: Boolean

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: