cdk-monitoring-constructs
Version:
[](https://badge.fury.io/js/cdk-monitoring-constructs) [](https://m
14 lines (13 loc) • 799 B
TypeScript
import { ITopic } from "aws-cdk-lib/aws-sns";
import { BaseMetricFactory, BaseMetricFactoryProps, MetricFactory } from "../../common";
export interface SnsTopicMetricFactoryProps extends BaseMetricFactoryProps {
readonly topic: ITopic;
}
export declare class SnsTopicMetricFactory extends BaseMetricFactory<SnsTopicMetricFactoryProps> {
protected readonly topic: ITopic;
constructor(metricFactory: MetricFactory, props: SnsTopicMetricFactoryProps);
metricIncomingMessageCount(): import("../../common").MetricWithAlarmSupport;
metricOutgoingMessageCount(): import("../../common").MetricWithAlarmSupport;
metricAverageMessageSizeInBytes(): import("../../common").MetricWithAlarmSupport;
metricNumberOfNotificationsFailed(): import("../../common").MetricWithAlarmSupport;
}