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

20 lines (19 loc) 1.27 kB
import { AlarmFactory, CustomAlarmThreshold } from "../../alarm"; import { MetricWithAlarmSupport } from "../../metric"; export interface MaxItemsCountThreshold extends CustomAlarmThreshold { readonly maxItemsCount: number; } export interface MinFreeableMemoryThreshold extends CustomAlarmThreshold { readonly minFreeableMemoryInBytes: number; } export interface MaxUsedSwapMemoryThreshold extends CustomAlarmThreshold { readonly maxUsedSwapMemoryInBytes: number; } export declare class ElastiCacheAlarmFactory { protected readonly alarmFactory: AlarmFactory; constructor(alarmFactory: AlarmFactory); addMaxItemsCountAlarm(metric: MetricWithAlarmSupport, props: MaxItemsCountThreshold, disambiguator?: string): import("../../alarm").AlarmWithAnnotation; addMaxEvictedItemsCountAlarm(metric: MetricWithAlarmSupport, props: MaxItemsCountThreshold, disambiguator?: string): import("../../alarm").AlarmWithAnnotation; addMinFreeableMemoryAlarm(metric: MetricWithAlarmSupport, props: MinFreeableMemoryThreshold, disambiguator?: string): import("../../alarm").AlarmWithAnnotation; addMaxUsedSwapMemoryAlarm(metric: MetricWithAlarmSupport, props: MaxUsedSwapMemoryThreshold, disambiguator?: string): import("../../alarm").AlarmWithAnnotation; }