AWS::CloudWatch::Alarm Metric - AWS CloudFormation

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 AWS 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: List of Dimension

Maximum: 10

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

Minimum: 1

Maximum: 255

Pattern: [^:].*

Update requires: No interruption