UNPKG

cdk-monitoring-constructs

Version:

[![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/cdklabs/cdk-monitoring-constructs) [![NPM version](https://badge.fury.io/js/cdk-monitoring-constructs.svg)](https://badge

13 lines (12 loc) 662 B
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; }