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) 963 B
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); }