AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Contains the configuration that determines how a PromQL alarm evaluates its contributors, including the query to run and the durations that define when contributors transition between states.
Namespace: Amazon.CloudWatch.Model
Assembly: AWSSDK.CloudWatch.dll
Version: 3.x.y.z
public class AlarmPromQLCriteria
The AlarmPromQLCriteria type exposes the following members
| Name | Description | |
|---|---|---|
|
AlarmPromQLCriteria() |
| Name | Type | Description | |
|---|---|---|---|
|
PendingPeriod | System.Nullable<System.Int32> |
Gets and sets the property PendingPeriod.
The duration, in seconds, that a contributor must be continuously breaching before
it transitions to the |
|
Query | System.String |
Gets and sets the property Query. The PromQL query that the alarm evaluates. The query must return a result of vector type. Each entry in the vector result represents an alarm contributor. |
|
RecoveryPeriod | System.Nullable<System.Int32> |
Gets and sets the property RecoveryPeriod.
The duration, in seconds, that a contributor must continuously not be breaching before
it transitions back to the |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.7.2 and newer