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

28 lines (27 loc) 1.82 kB
import { AlarmFactory, CustomAlarmThreshold } from "../../alarm"; import { MetricWithAlarmSupport } from "../../metric"; export interface MaxItemsCountThreshold extends CustomAlarmThreshold { readonly maxItemsCount: number; } export interface MinHitRateThreshold extends CustomAlarmThreshold { readonly minHitRatePercent: number; } export interface MaxThrottleRateThreshold extends CustomAlarmThreshold { readonly maxThrottleRatePercent: 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; addMinHitRateAlarm(metric: MetricWithAlarmSupport, props: MinHitRateThreshold, disambiguator?: string): import("../../alarm").AlarmWithAnnotation; addMaxThrottleRateAlarm(metric: MetricWithAlarmSupport, props: MaxThrottleRateThreshold, disambiguator?: string): import("../../alarm").AlarmWithAnnotation; }