This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::CloudWatch::AnomalyDetector Metric
Represents a specific metric.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Dimensions" :[ Dimension, ... ], "MetricName" :String, "Namespace" :String}
YAML
Dimensions:- DimensionMetricName:StringNamespace:String
Properties
Dimensions-
The dimensions for the metric.
Required: No
Type: Array of Dimension
Maximum:
30Update requires: Replacement
MetricName-
The name of the metric. This is a required field.
Required: Yes
Type: String
Minimum:
1Maximum:
255Update requires: Replacement
Namespace-
The namespace of the metric.
Required: Yes
Type: String
Pattern:
[^:].*Minimum:
1Maximum:
255Update requires: Replacement