cdk-monitoring-constructs
Version:
[](https://badge.fury.io/js/cdk-monitoring-constructs) [](https://m
24 lines (23 loc) • 963 B
TypeScript
import { MetricFactory } from "./MetricFactory";
export interface BaseMetricFactoryProps {
/**
* Region where the metrics exist.
*
* @default The region configured by the construct holding the Monitoring construct
* @see https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html
*/
readonly region?: string;
/**
* Account where the metrics exist.
*
* @default The account configured by the construct holding the Monitoring construct
* @see https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html
*/
readonly account?: string;
}
export declare abstract class BaseMetricFactory<PropsType extends BaseMetricFactoryProps> {
protected readonly metricFactory: MetricFactory;
protected readonly account?: string;
protected readonly region?: string;
constructor(metricFactory: MetricFactory, props: PropsType);
}