interface EvaluationCriteriaProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.CloudWatch.CfnAlarmPropsMixin.EvaluationCriteriaProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awscloudwatch#CfnAlarmPropsMixin_EvaluationCriteriaProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.cloudwatch.CfnAlarmPropsMixin.EvaluationCriteriaProperty |
Python | aws_cdk.cfn_property_mixins.aws_cloudwatch.CfnAlarmPropsMixin.EvaluationCriteriaProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_cloudwatch » CfnAlarmPropsMixin » EvaluationCriteriaProperty |
The evaluation criteria for an alarm.
This is a union type that currently supports PromQLCriteria.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cloudwatch as cloudwatch } from '@aws-cdk/cfn-property-mixins';
const evaluationCriteriaProperty: cloudwatch.CfnAlarmPropsMixin.EvaluationCriteriaProperty = {
promQlCriteria: {
pendingPeriod: 123,
query: 'query',
recoveryPeriod: 123,
},
};
Properties
| Name | Type | Description |
|---|---|---|
| prom | IResolvable | Alarm | 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. |
promQlCriteria?
Type:
IResolvable | Alarm
(optional)
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.

.NET
Go
Java
Python
TypeScript