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

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