cdk-monitoring-constructs
Version:
[](https://gitpod.io/#https://github.com/cdklabs/cdk-monitoring-constructs) [](https://badge
15 lines (14 loc) • 814 B
TypeScript
import { AlarmFactory, CustomAlarmThreshold } from "../../alarm";
import { MetricWithAlarmSupport } from "../../metric";
export interface MaxDowntimeThreshold extends CustomAlarmThreshold {
readonly maxDowntimeInMillis: number;
}
export interface FullRestartCountThreshold extends CustomAlarmThreshold {
readonly maxFullRestartCount: number;
}
export declare class KinesisDataAnalyticsAlarmFactory {
protected readonly alarmFactory: AlarmFactory;
constructor(alarmFactory: AlarmFactory);
addDowntimeAlarm(metric: MetricWithAlarmSupport, props: MaxDowntimeThreshold, disambiguator?: string): import("../../alarm").AlarmWithAnnotation;
addFullRestartAlarm(metric: MetricWithAlarmSupport, props: FullRestartCountThreshold, disambiguator?: string): import("../../alarm").AlarmWithAnnotation;
}