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

15 lines (14 loc) 725 B
import { ComparisonOperator } from "aws-cdk-lib/aws-cloudwatch"; import { AlarmFactory, CustomAlarmThreshold } from "../../alarm"; import { MetricWithAlarmSupport } from "../../metric"; export interface CustomThreshold extends CustomAlarmThreshold { readonly threshold: number; readonly comparisonOperator: ComparisonOperator; readonly dedupeString?: string; readonly additionalDescription?: string; } export declare class CustomAlarmFactory { protected readonly alarmFactory: AlarmFactory; constructor(alarmFactory: AlarmFactory); addCustomAlarm(metric: MetricWithAlarmSupport, alarmNameSuffix: string, disambiguator: string, props: CustomThreshold): import("../../alarm").AlarmWithAnnotation; }