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

24 lines (23 loc) 1.3 kB
import { AlarmFactory, CustomAlarmThreshold } from "../../alarm"; import { MetricWithAlarmSupport } from "../../metric"; export interface MinSecretCountThreshold extends CustomAlarmThreshold { readonly minSecretCount: number; } export interface MaxSecretCountThreshold extends CustomAlarmThreshold { readonly maxSecretCount: number; } export interface ChangeInSecretCountThreshold extends CustomAlarmThreshold { readonly requiredSecretCount: number; readonly alarmWhenIncreased: boolean; readonly alarmWhenDecreased: boolean; readonly additionalDescription?: string; } export declare class SecretsManagerAlarmFactory { protected readonly alarmFactory: AlarmFactory; constructor(alarmFactory: AlarmFactory); addMinSecretCountAlarm(metric: MetricWithAlarmSupport, props: MinSecretCountThreshold, disambiguator?: string): import("../../alarm").AlarmWithAnnotation; addMaxSecretCountAlarm(metric: MetricWithAlarmSupport, props: MaxSecretCountThreshold, disambiguator?: string): import("../../alarm").AlarmWithAnnotation; addChangeInSecretCountAlarm(metric: MetricWithAlarmSupport, props: ChangeInSecretCountThreshold, disambiguator?: string): import("../../alarm").AlarmWithAnnotation; private getDefaultDescription; private getComparisonOperator; }