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

15 lines (14 loc) 647 B
import { Construct } from "constructs"; import { IMetricAdjuster } from "./IMetricAdjuster"; import { MetricWithAlarmSupport } from "../../metric"; import { AddAlarmProps } from "../AlarmFactory"; /** * Allows to apply a collection of {@link IMetricAdjuster} to a metric. */ export declare class CompositeMetricAdjuster implements IMetricAdjuster { private readonly adjusters; constructor(adjusters: IMetricAdjuster[]); static of(...adjusters: IMetricAdjuster[]): CompositeMetricAdjuster; /** @inheritdoc */ adjustMetric(metric: MetricWithAlarmSupport, alarmScope: Construct, props: AddAlarmProps): MetricWithAlarmSupport; }