cdk-monitoring-constructs
Version:
[](https://badge.fury.io/js/cdk-monitoring-constructs) [](https://m
15 lines (14 loc) • 778 B
TypeScript
import { AlarmFactory, CustomAlarmThreshold } from "../../alarm";
import { MetricWithAlarmSupport } from "../../metric";
export interface NetworkOutThreshold extends CustomAlarmThreshold {
readonly maxNetworkOutBytes: number;
}
export interface NetworkInThreshold extends CustomAlarmThreshold {
readonly maxNetworkInBytes: number;
}
export declare class EC2AlarmFactory {
protected readonly alarmFactory: AlarmFactory;
constructor(alarmFactory: AlarmFactory);
addNetworkOutAlarm(metric: MetricWithAlarmSupport, props: NetworkOutThreshold, disambiguator?: string): import("../../alarm").AlarmWithAnnotation;
addNetworkInAlarm(metric: MetricWithAlarmSupport, props: NetworkInThreshold, disambiguator?: string): import("../../alarm").AlarmWithAnnotation;
}