View a markdown version of this page

AlertRuleQuery - Amazon CloudWatch Omni

AlertRuleQuery

Query expression and the language it's written in.

Contents

expression

The query expression to evaluate.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 10000.

Required: Yes

language

The query language of the expression.

Type: String

Valid Values: SQL | PROMQL

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: