@baselime/cdk
Version:
Define your observability as code using the AWS CDK
21 lines (20 loc) • 495 B
TypeScript
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 declare enum WidgetType {
TIMESERIES = "timeseries",
STATISTIC = "statistic",
TABLE = "table",
TIMESERIES_BAR = "timeseries_bar"
}
export {};