AWS::CloudWatch::AnomalyDetector SingleMetricAnomalyDetector - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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: - Dimension MetricName: String Namespace: String Stat: String

Properties

Dimensions

The metric dimensions to create the anomaly detection model for.

Required: No

Type: List of Dimension

Maximum: 30

Update requires: Replacement

MetricName

The name of the metric to create the anomaly detection model for.

Required: No

Type: String

Minimum: 1

Maximum: 255

Update requires: Replacement

Namespace

The namespace of the metric to create the anomaly detection model for.

Required: No

Type: String

Minimum: 1

Maximum: 255

Pattern: [^:].*

Update requires: Replacement

Stat

The statistic to use for the metric and anomaly detection model.

Required: No

Type: String

Maximum: 50

Pattern: (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