AWS::CloudWatch::AnomalyDetector Metric - AWS CloudFormation

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

Properties

Dimensions

The dimensions for the metric.

Required: No

Type: List 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

Minimum: 1

Maximum: 255

Pattern: [^:].*

Update requires: Replacement