cdk-monitoring-constructs
Version:
[](https://badge.fury.io/js/cdk-monitoring-constructs) [](https://m
19 lines (18 loc) • 996 B
TypeScript
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;
}