cdk-monitoring-constructs
Version:
[](https://badge.fury.io/js/cdk-monitoring-constructs) [](https://m
13 lines (12 loc) • 662 B
TypeScript
import { Alarm, CreateAlarmOptions, MathExpression, MathExpressionOptions, MathExpressionProps } from "aws-cdk-lib/aws-cloudwatch";
import { Construct } from "constructs";
/**
* Captures specific MathExpression for anomaly detection, for which alarm generation is different.
* Added to overcome certain CDK limitations at the time of writing.
* @see https://github.com/aws/aws-cdk/issues/10540
*/
export declare class AnomalyDetectionMathExpression extends MathExpression {
constructor(props: MathExpressionProps);
with(props: MathExpressionOptions): MathExpression;
createAlarm(scope: Construct, id: string, props: CreateAlarmOptions): Alarm;
}