UNPKG

@khulnasoft/cdk

Version:

Define your observability as code using the AWS CDK

23 lines (19 loc) 436 B
import { CfnResource } from "aws-cdk-lib"; export type DashboardProps = { description?: string; parameters: DeploymentDashboardParameters; }; interface DeploymentDashboardParameters { widgets: Array<{ name?: string; description?: string; query: CfnResource; type: WidgetType; }>; } export enum WidgetType { TIMESERIES = "timeseries", STATISTIC = "statistic", TABLE = "table", TIMESERIES_BAR = "timeseries_bar", }