AWS::CloudWatch::Alarm Metric - AWS CloudFormation
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::CloudWatch::Alarm Metric

The Metric property type represents a specific metric. Metric is a property of the MetricStat property type.

Syntax

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

JSON

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

YAML

Dimensions: - Dimension MetricName: String Namespace: String

Properties

Dimensions

The metric dimensions that you want to be used for the metric that the alarm will watch.

Required: No

Type: Array of Dimension

Maximum: 30

Update requires: No interruption

MetricName

The name of the metric that you want the alarm to watch. This is a required field.

Required: No

Type: String

Minimum: 1

Maximum: 255

Update requires: No interruption

Namespace

The namespace of the metric that the alarm will watch.

Required: No

Type: String

Pattern: [^:].*

Minimum: 1

Maximum: 255

Update requires: No interruption