interface AlarmPromQLCriteriaProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.CloudWatch.CfnAlarmPropsMixin.AlarmPromQLCriteriaProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awscloudwatch#CfnAlarmPropsMixin_AlarmPromQLCriteriaProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.cloudwatch.CfnAlarmPropsMixin.AlarmPromQLCriteriaProperty |
Python | aws_cdk.cfn_property_mixins.aws_cloudwatch.CfnAlarmPropsMixin.AlarmPromQLCriteriaProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_cloudwatch » CfnAlarmPropsMixin » AlarmPromQLCriteriaProperty |
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 alarmPromQLCriteriaProperty: cloudwatch.CfnAlarmPropsMixin.AlarmPromQLCriteriaProperty = {
pendingPeriod: 123,
query: 'query',
recoveryPeriod: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| pending | number | The pending period for the alarm. |
| query? | string | The PromQL query string. |
| recovery | number | The recovery period for the alarm. |
pendingPeriod?
Type:
number
(optional)
The pending period for the alarm.
query?
Type:
string
(optional)
The PromQL query string.
recoveryPeriod?
Type:
number
(optional)
The recovery period for the alarm.

.NET
Go
Java
Python
TypeScript