cdk-monitoring-constructs
Version:
[](https://badge.fury.io/js/cdk-monitoring-constructs) [](https://m
15 lines (14 loc) • 647 B
TypeScript
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;
}