UNPKG

cdk-monitoring-constructs

Version:

[![NPM version](https://badge.fury.io/js/cdk-monitoring-constructs.svg)](https://badge.fury.io/js/cdk-monitoring-constructs) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.github.cdklabs/cdkmonitoringconstructs/badge.svg)](https://m

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