UNPKG

cdk-monitoring-constructs

Version:

[![NPM version](https://badge.fury.io/js/cdk-monitoring-constructs.svg)](https://badge.fury.io/js/cdk-monitoring-constructs) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.github.cdklabs/cdkmonitoringconstructs/badge.svg)](https://m

16 lines (15 loc) 784 B
import { AlarmFactory, CustomAlarmThreshold } from "../../alarm"; import { MetricWithAlarmSupport } from "../../metric"; export interface AnomalyDetectionThreshold extends CustomAlarmThreshold { readonly standardDeviationForAlarm: number; readonly alarmWhenAboveTheBand: boolean; readonly alarmWhenBelowTheBand: boolean; readonly additionalDescription?: string; } export declare class AnomalyDetectingAlarmFactory { protected readonly alarmFactory: AlarmFactory; constructor(alarmFactory: AlarmFactory); addAlarmWhenOutOfBand(metric: MetricWithAlarmSupport, alarmNameSuffix: string, disambiguator: string, props: AnomalyDetectionThreshold): import("../../alarm").AlarmWithAnnotation; private getDefaultDescription; private getComparisonOperator; }