class Aws::IoT::Types::BehaviorCriteria


@return [Types::MachineLearningDetectionConfig]
The configuration of an ML Detect
@!attribute [rw] ml_detection_config
@return [Types::StatisticalThreshold]
violation of the behavior.
by which a behavior is determined to be in compliance or in
A statistical ranking (percentile)that indicates a threshold value
@!attribute [rw] statistical_threshold
@return [Integer]
1.
datapoints, the alarm is cleared. If not specified, the default is
violation of the behavior for the specified number of consecutive
If an alarm has occurred and the offending device is no longer in
@!attribute [rw] consecutive_datapoints_to_clear
@return [Integer]
default is 1.
of consecutive datapoints, an alarm occurs. If not specified, the
If a device is in violation of the behavior for the specified number
@!attribute [rw] consecutive_datapoints_to_alarm
@return [Integer]
used with list-based metric datatypes.
this time duration before being given a percentile rank. Cannot be
measurements from an individual device are also accumulated over
time duration before being used to calculate percentiles, and later,
comparison, measurements from all devices are accumulated over this
example, ‘NUM_MESSAGES_SENT`). For a `statisticalThreshhold` metric
evaluated, for those criteria that have a time dimension (for
Use this to specify the time duration over which the behavior is
@!attribute [rw] duration_seconds
@return [Types::MetricValue]
The value to be compared with the `metric`.
@!attribute [rw] value
@return [String]
`greater-than-equals`
* `number`: `less-than`, `less-than-equals`, `greater-than`, and
* `ip-address-list`: `in-cidr-set` and `not-in-cidr-set`
* `number-list`: `in-set` and `not-in-set`
* `string-list`: `in-set` and `not-in-set`
operators include:
criteria (containing a `value` or `statisticalThreshold`). Valid
The operator that relates the thing measured (`metric`) to the
@!attribute [rw] comparison_operator
}
},
confidence_level: “LOW”, # required, accepts LOW, MEDIUM, HIGH
ml_detection_config: {
},
statistic: “EvaluationStatistic”,
statistical_threshold: {
consecutive_datapoints_to_clear: 1,
consecutive_datapoints_to_alarm: 1,
duration_seconds: 1,
},
strings: [“stringValue”],
numbers: [1.0],
number: 1.0,
ports: [1],
cidrs: [“Cidr”],
count: 1,
value: {
comparison_operator: “less-than”, # accepts less-than, less-than-equals, greater-than, greater-than-equals, in-cidr-set, not-in-cidr-set, in-port-set, not-in-port-set, in-set, not-in-set
{
data as a hash:
@note When making an API call, you may pass BehaviorCriteria
The criteria by which the behavior is determined to be normal.