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

19 lines (18 loc) 1.3 kB
import { ErrorAlarmFactory, ErrorCountThreshold, ErrorRateThreshold } from "./ErrorAlarmFactory"; 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; protected readonly errorAlarmFactory: ErrorAlarmFactory; constructor(alarmFactory: AlarmFactory); addDowntimeAlarm(metric: MetricWithAlarmSupport, props: MaxDowntimeThreshold, disambiguator?: string): import("../../alarm").AlarmWithAnnotation; addFullRestartAlarm(metric: MetricWithAlarmSupport, props: FullRestartCountThreshold, disambiguator?: string): import("../../alarm").AlarmWithAnnotation; addCheckpointFailureCountAlarm(metric: MetricWithAlarmSupport, props: ErrorCountThreshold, disambiguator?: string): import("../../alarm").AlarmWithAnnotation; addCheckpointFailureRateAlarm(metric: MetricWithAlarmSupport, props: ErrorRateThreshold, disambiguator?: string): import("../../alarm").AlarmWithAnnotation; }