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

26 lines (25 loc) 1.72 kB
import { GraphWidget, IWidget } from "aws-cdk-lib/aws-cloudwatch"; import { BaseMonitoringProps, MetricWithAlarmSupport, Monitoring, MonitoringScope } from "../../common"; import { MonitoringHeaderWidget } from "../../dashboard"; import { DynamoTableGlobalSecondaryIndexMetricFactoryProps } from "./DynamoTableGlobalSecondaryIndexMetricFactory"; export interface DynamoTableGlobalSecondaryIndexMonitoringProps extends DynamoTableGlobalSecondaryIndexMetricFactoryProps, BaseMonitoringProps { } export declare class DynamoTableGlobalSecondaryIndexMonitoring extends Monitoring { protected readonly title: string; protected readonly tableUrl?: string; protected readonly provisionedReadUnitsMetric: MetricWithAlarmSupport; protected readonly provisionedWriteUnitsMetric: MetricWithAlarmSupport; protected readonly consumedReadUnitsMetric: MetricWithAlarmSupport; protected readonly consumedWriteUnitsMetric: MetricWithAlarmSupport; protected readonly indexConsumedWriteUnitsMetric: MetricWithAlarmSupport; protected readonly readThrottleCountMetric: MetricWithAlarmSupport; protected readonly writeThrottleCountMetric: MetricWithAlarmSupport; protected readonly indexThrottleCountMetric: MetricWithAlarmSupport; constructor(scope: MonitoringScope, props: DynamoTableGlobalSecondaryIndexMonitoringProps); summaryWidgets(): IWidget[]; widgets(): IWidget[]; protected createTitleWidget(): MonitoringHeaderWidget; protected createReadCapacityWidget(width: number, height: number): GraphWidget; protected createWriteCapacityWidget(width: number, height: number): GraphWidget; protected createThrottlesWidget(width: number, height: number): GraphWidget; }