UNPKG

cdk-monitoring-constructs

Version:

[![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/cdklabs/cdk-monitoring-constructs) [![NPM version](https://badge.fury.io/js/cdk-monitoring-constructs.svg)](https://badge

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; }