UNPKG

cdk-monitoring-constructs

Version:

[![NPM version](https://badge.fury.io/js/cdk-monitoring-constructs.svg)](https://badge.fury.io/js/cdk-monitoring-constructs) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.github.cdklabs/cdkmonitoringconstructs/badge.svg)](https://m

19 lines (18 loc) 996 B
import type { DimensionsMap } from "aws-cdk-lib/aws-cloudwatch"; import type { CfnCollection } from "aws-cdk-lib/aws-opensearchserverless"; import { BaseMetricFactoryProps, BaseMetricFactory, MetricFactory, MetricWithAlarmSupport } from "../../common"; export interface OpenSearchServerlessIndexMetricFactoryProps extends BaseMetricFactoryProps { readonly collection: CfnCollection; readonly indexId: string; readonly indexName: string; } /** * @experimental This is subject to change if an L2 construct becomes available. * * @see https://docs.aws.amazon.com/opensearch-service/latest/developerguide/monitoring-cloudwatch.html */ export declare class OpenSearchServerlessIndexMetricFactory extends BaseMetricFactory<OpenSearchServerlessIndexMetricFactoryProps> { protected readonly dimensionsMap: DimensionsMap; constructor(metricFactory: MetricFactory, props: OpenSearchServerlessIndexMetricFactoryProps); metricIndexSearchableDocuments(): MetricWithAlarmSupport; }