Struct aws_sdk_iot::model::Behavior
source · #[non_exhaustive]pub struct Behavior { /* private fields */ }
Expand description
A Device Defender security profile behavior.
Implementations§
source§impl Behavior
impl Behavior
sourcepub fn metric_dimension(&self) -> Option<&MetricDimension>
pub fn metric_dimension(&self) -> Option<&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.
sourcepub fn criteria(&self) -> Option<&BehaviorCriteria>
pub fn criteria(&self) -> Option<&BehaviorCriteria>
The criteria that determine if a device is behaving normally in regard to the metric
.
sourcepub fn suppress_alerts(&self) -> Option<bool>
pub fn suppress_alerts(&self) -> Option<bool>
Suppresses alerts.