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:StringLanguage:String
Properties
Expression-
The query expression. For PromQL, the series value is returned in a field named value.
Required: Yes
Type: String
Minimum:
1Maximum:
10000Update requires: No interruption
Language-
The query language. Valid values: SQL, PROMQL.
Required: Yes
Type: String
Allowed values:
SQL | PROMQLUpdate requires: No interruption