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

19 lines (18 loc) 965 B
import { AlarmFactory, CustomAlarmThreshold } from "../../alarm"; import { MetricWithAlarmSupport } from "../../metric"; export declare enum CapacityType { READ = "Read", WRITE = "Write" } export interface ConsumedCapacityThreshold extends CustomAlarmThreshold { readonly maxConsumedCapacityUnits: number; } export interface ThrottledEventsThreshold extends CustomAlarmThreshold { readonly maxThrottledEventsThreshold: number; } export declare class DynamoAlarmFactory { protected readonly alarmFactory: AlarmFactory; constructor(alarmFactory: AlarmFactory); addConsumedCapacityAlarm(metric: MetricWithAlarmSupport, capacityType: CapacityType, props: ConsumedCapacityThreshold, disambiguator?: string): import("../../alarm").AlarmWithAnnotation; addThrottledEventsAlarm(metric: MetricWithAlarmSupport, capacityType: CapacityType, props: ThrottledEventsThreshold, disambiguator?: string): import("../../alarm").AlarmWithAnnotation; }