AWS::CloudWatch::AnomalyDetector SingleMetricAnomalyDetector
Designates the CloudWatch metric and statistic that provides the time series the anomaly detector uses as input.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "Dimensions" :[ Dimension, ... ], "MetricName" :String, "Namespace" :String, "Stat" :String}
YAML
Dimensions:- DimensionMetricName:StringNamespace:StringStat:String
Properties
Dimensions-
The metric dimensions to create the anomaly detection model for.
Required: No
Type: List of Dimension
Maximum:
30Update requires: Replacement
MetricName-
The name of the metric to create the anomaly detection model for.
Required: No
Type: String
Minimum:
1Maximum:
255Update requires: Replacement
Namespace-
The namespace of the metric to create the anomaly detection model for.
Required: No
Type: String
Minimum:
1Maximum:
255Pattern:
[^:].*Update requires: Replacement
Stat-
The statistic to use for the metric and anomaly detection model.
Required: No
Type: String
Maximum:
50Pattern:
(SampleCount|Average|Sum|Minimum|Maximum|IQM|(p|tc|tm|ts|wm)(\d{1,2}(\.\d{0,10})?|100)|[ou]\d+(\.\d*)?)(_E|_L|_H)?|(TM|TC|TS|WM)\(((((\d{1,2})(\.\d{0,10})?|100(\.0{0,10})?)%)?:((\d{1,2})(\.\d{0,10})?|100(\.0{0,10})?)%|((\d{1,2})(\.\d{0,10})?|100(\.0{0,10})?)%:(((\d{1,2})(\.\d{0,10})?|100(\.0{0,10})?)%)?)\)|(TM|TC|TS|WM|PR)\(((\d+(\.\d{0,10})?|(\d+(\.\d{0,10})?[Ee][+-]?\d+)):((\d+(\.\d{0,10})?|(\d+(\.\d{0,10})?[Ee][+-]?\d+)))?|((\d+(\.\d{0,10})?|(\d+(\.\d{0,10})?[Ee][+-]?\d+)))?:(\d+(\.\d{0,10})?|(\d+(\.\d{0,10})?[Ee][+-]?\d+)))\)Update requires: Replacement