cdk-monitoring-constructs
Version:
[](https://badge.fury.io/js/cdk-monitoring-constructs) [](https://m
14 lines (13 loc) • 659 B
TypeScript
import { Dashboard, DashboardProps, IWidget } from "aws-cdk-lib/aws-cloudwatch";
import { Construct } from "constructs";
import { BitmapWidgetRenderingSupport } from "./widget";
/**
* Specific subtype of dashboard that renders supported widgets as bitmaps, while preserving the overall layout.
*/
export declare class BitmapDashboard extends Dashboard {
protected readonly bitmapRenderingSupport: BitmapWidgetRenderingSupport;
constructor(scope: Construct, id: string, props: DashboardProps);
addWidgets(...widgets: IWidget[]): void;
protected asBitmap(widget: IWidget): IWidget;
protected asBitmaps(...widgets: IWidget[]): IWidget[];
}