AWS::CloudWatch::AnomalyDetector MetricMathAnomalyDetector - AWS CloudFormation

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, ... ] }

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 in MetricDataQueries is the expression that provides the time series that the anomaly detector uses as input. Designate the expression by setting ReturnData to true for this object in the array. For all other expressions and metrics, set ReturnData to false. The designated expression must return a single time series.

Required: No

Type: Array of MetricDataQuery

Update requires: Replacement