Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Behavior = Behavior' {}
- newBehavior :: Text -> Behavior
- behavior_suppressAlerts :: Lens' Behavior (Maybe Bool)
- behavior_metricDimension :: Lens' Behavior (Maybe MetricDimension)
- behavior_metric :: Lens' Behavior (Maybe Text)
- behavior_criteria :: Lens' Behavior (Maybe BehaviorCriteria)
- behavior_name :: Lens' Behavior Text
Documentation
A Device Defender security profile behavior.
See: newBehavior
smart constructor.
Behavior' | |
|
Instances
Create a value of Behavior
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:suppressAlerts:Behavior'
, behavior_suppressAlerts
- Suppresses alerts.
$sel:metricDimension:Behavior'
, behavior_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.
$sel:metric:Behavior'
, behavior_metric
- What is measured by the behavior.
$sel:criteria:Behavior'
, behavior_criteria
- The criteria that determine if a device is behaving normally in regard
to the metric
.
$sel:name:Behavior'
, behavior_name
- The name you've given to the behavior.
behavior_metricDimension :: Lens' Behavior (Maybe MetricDimension) Source #
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.
behavior_criteria :: Lens' Behavior (Maybe BehaviorCriteria) Source #
The criteria that determine if a device is behaving normally in regard
to the metric
.