View a markdown version of this page

AWS::CloudWatch::Alert Query - AWS CloudFormation

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::Alert Query

The query the alert runs, and the language it is written in.

Syntax

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

JSON

{ "Expression" : String, "Language" : String }

YAML

Expression: String Language: String

Properties

Expression

The query expression. For PromQL, the series value is returned in a field named value.

Required: Yes

Type: String

Minimum: 1

Maximum: 10000

Update requires: No interruption

Language

The query language. Valid values: SQL, PROMQL.

Required: Yes

Type: String

Allowed values: SQL | PROMQL

Update requires: No interruption