AWS::CloudWatch::AnomalyDetector MetricMathAnomalyDetector
Indicates the CloudWatch math expression that provides the time series the anomaly detector uses as input. The designated math expression must return a single time series.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "MetricDataQueries" :
[ MetricDataQuery, ... ]
}
YAML
MetricDataQueries:
- MetricDataQuery
Properties
MetricDataQueries
-
An array of metric data query structures that enables you to create an anomaly detector based on the result of a metric math expression. Each item in
MetricDataQueries
gets a metric or performs a math expression. One item inMetricDataQueries
is the expression that provides the time series that the anomaly detector uses as input. Designate the expression by settingReturnData
totrue
for this object in the array. For all other expressions and metrics, setReturnData
tofalse
. The designated expression must return a single time series.Required: No
Type: Array of MetricDataQuery
Update requires: Replacement