AWS::CloudWatch::AnomalyDetector Metric - 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 Metric

Represents a specific metric.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "Dimensions" : [ Dimension, ... ], "MetricName" : String, "Namespace" : String }

YAML

Dimensions: - Dimension MetricName: String Namespace: String

Properties

Dimensions

The dimensions for the metric.

Required: No

Type: Array of Dimension

Maximum: 30

Update requires: Replacement

MetricName

The name of the metric. This is a required field.

Required: Yes

Type: String

Minimum: 1

Maximum: 255

Update requires: Replacement

Namespace

The namespace of the metric.

Required: Yes

Type: String

Pattern: [^:].*

Minimum: 1

Maximum: 255

Update requires: Replacement