cdk-monitoring-constructs
Version:
[](https://badge.fury.io/js/cdk-monitoring-constructs) [](https://m
16 lines (15 loc) • 784 B
TypeScript
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;
}