cdk-monitoring-constructs
Version:
[](https://badge.fury.io/js/cdk-monitoring-constructs) [](https://m
16 lines (15 loc) • 485 B
TypeScript
import { IWidget } from "aws-cdk-lib/aws-cloudwatch";
export interface IDashboardSegment {
/**
* Returns widgets for all alarms. These should go to the runbook or service dashboard.
*/
alarmWidgets(): IWidget[];
/**
* Returns widgets for the summary. These should go to the team OPS dashboard.
*/
summaryWidgets(): IWidget[];
/**
* Returns all widgets. These should go to the detailed service dashboard.
*/
widgets(): IWidget[];
}