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

17 lines (16 loc) 1.01 kB
import { IFunction } from "aws-cdk-lib/aws-lambda"; import { MetricFactory } from "../../common"; export declare class LambdaFunctionEnhancedMetricFactory { protected readonly metricFactory: MetricFactory; protected readonly lambdaFunction: IFunction; constructor(metricFactory: MetricFactory, lambdaFunction: IFunction); enhancedMetricMaxCpuTotalTime(): import("../../common").MetricWithAlarmSupport; enhancedMetricP90CpuTotalTime(): import("../../common").MetricWithAlarmSupport; enhancedMetricAvgCpuTotalTime(): import("../../common").MetricWithAlarmSupport; enhancedMetricMaxMemoryUtilization(): import("../../common").MetricWithAlarmSupport; enhancedMetricP90MemoryUtilization(): import("../../common").MetricWithAlarmSupport; enhancedMetricAvgMemoryUtilization(): import("../../common").MetricWithAlarmSupport; enhancedMetricFunctionCost(): import("../../common").MetricWithAlarmSupport; private enhancedMetricFunctionDuration; private enhancedMetric; }