AWS SDK Version 4 for .NET
API Reference

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.

Inheritance Hierarchy

System.Object
  Amazon.CloudWatch.Model.AlarmPromQLCriteria

Namespace: Amazon.CloudWatch.Model
Assembly: AWSSDK.CloudWatch.dll
Version: 3.x.y.z

Syntax

C#
public class AlarmPromQLCriteria

The AlarmPromQLCriteria type exposes the following members

Constructors

NameDescription
Public Method AlarmPromQLCriteria()

Properties

NameTypeDescription
Public Property 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 ALARM state.

Public Property 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.

Public Property 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 OK state.

Version Information

.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