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) 485 B
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[]; }