UNPKG

cdk-monitoring-constructs

Version:

[![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/cdklabs/cdk-monitoring-constructs) [![NPM version](https://badge.fury.io/js/cdk-monitoring-constructs.svg)](https://badge

33 lines (32 loc) 1.08 kB
import { IMetric, MathExpressionOptions, MathExpressionProps, MetricConfig } from "aws-cdk-lib/aws-cloudwatch"; /** * Custom wrapper class for MathExpressionProps that supports account and region customization. * @see https://github.com/aws/aws-cdk/issues/9039 */ export interface XaxrMathExpressionProps extends MathExpressionProps { /** * (experimental) Account which this metric comes from. * * @default - Deployment account. * @experimental */ readonly account?: string; /** * (experimental) Region which this metric comes from. * * @default - Deployment region. * @experimental */ readonly region?: string; } /** * Custom wrapper class for MathExpression that supports account and region specification. * @see https://github.com/aws/aws-cdk/issues/9039 */ export declare class XaxrMathExpression implements IMetric { private props; private mathExpression; constructor(props: XaxrMathExpressionProps); with(options: MathExpressionOptions): IMetric; toMetricConfig(): MetricConfig; }