class Aws::IoT::Types::BehaviorCriteria
@return [Types::StatisticalThreshold]
violation of the behavior.
by which a behavior is determined to be in compliance or in
A statistical ranking (percentile) which 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]
this time duration before being given a percentile rank.
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 which 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]
criteria (containing a `value` or `statisticalThreshold`).
The operator that relates the thing measured (`metric`) to the
@!attribute [rw] comparison_operator
}
},
statistic: “EvaluationStatistic”,
statistical_threshold: {
consecutive_datapoints_to_clear: 1,
consecutive_datapoints_to_alarm: 1,
duration_seconds: 1,
},
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
{
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.