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

16 lines (15 loc) 474 B
import { GraphWidgetProps, IWidget } from "aws-cdk-lib/aws-cloudwatch"; export declare enum GraphWidgetType { LINE = "Line", STACKED_AREA = "StackedArea", PIE = "Pie", BAR = "Bar", SINGLE_VALUE = "SingleValue" } /** * Creates a graph widget of the desired type. * * @param type graph type (e.g. Pie or Bar) * @param props graph widget properties */ export declare function createGraphWidget(type: GraphWidgetType, props: GraphWidgetProps): IWidget;