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

18 lines (17 loc) 848 B
import { IWidget } from "aws-cdk-lib/aws-cloudwatch"; import { BaseMonitoringProps, MetricWithAlarmSupport, Monitoring, MonitoringScope } from "../../common"; import { S3BucketMetricFactoryProps } from "./S3BucketMetricFactory"; export interface S3BucketMonitoringOptions extends BaseMonitoringProps { } export interface S3BucketMonitoringProps extends S3BucketMetricFactoryProps, S3BucketMonitoringOptions { } export declare class S3BucketMonitoring extends Monitoring { protected readonly title: string; protected readonly url?: string; protected readonly bucketSizeBytesMetric: MetricWithAlarmSupport; protected readonly numberOfObjectsMetric: MetricWithAlarmSupport; constructor(scope: MonitoringScope, props: S3BucketMonitoringProps); summaryWidgets(): IWidget[]; widgets(): IWidget[]; private getBucketName; }