UNPKG

aws-cdk-lib

Version:

Version 2 of the AWS Cloud Development Kit library

34 lines (33 loc) 954 B
export interface MetricWithDims<D> { readonly namespace: string; readonly metricName: string; readonly statistic: string; readonly dimensionsMap: D; } export declare class SNSMetrics { static numberOfNotificationsDeliveredSum(this: void, dimensions: { TopicName: string; }): MetricWithDims<{ TopicName: string; }>; static numberOfNotificationsFailedSum(this: void, dimensions: { TopicName: string; }): MetricWithDims<{ TopicName: string; }>; static numberOfMessagesPublishedSum(this: void, dimensions: { TopicName: string; }): MetricWithDims<{ TopicName: string; }>; static publishSizeAverage(this: void, dimensions: { TopicName: string; }): MetricWithDims<{ TopicName: string; }>; static smsSuccessRateSum(this: void, dimensions: { TopicName: string; }): MetricWithDims<{ TopicName: string; }>; }