import { HorizontalAnnotation, IWidget } from "aws-cdk-lib/aws-cloudwatch"; import { OpenSearchClusterMetricFactoryProps } from "./OpenSearchClusterMetricFactory"; import { BaseMonitoringProps, LatencyAlarmFactory, LatencyThreshold, MetricWithAlarmSupport, Monitoring, MonitoringScope, OpenSearchClusterAlarmFactory, OpenSearchClusterAutomatedSnapshotFailureThreshold, OpenSearchClusterIndexWritesBlockedThreshold, OpenSearchClusterNodesThreshold, OpenSearchClusterStatusCustomization, OpenSearchKmsKeyErrorThreshold, OpenSearchKmsKeyInaccessibleThreshold, UsageAlarmFactory, UsageThreshold } from "../../common"; export interface OpenSearchClusterMonitoringOptions extends BaseMonitoringProps { readonly addIndexingLatencyP50Alarm?: Record; readonly addIndexingLatencyP90Alarm?: Record; readonly addIndexingLatencyP99Alarm?: Record; readonly addSearchLatencyP50Alarm?: Record; readonly addSearchLatencyP90Alarm?: Record; readonly addSearchLatencyP99Alarm?: Record; readonly addClusterStatusAlarm?: Record; readonly addDiskSpaceUsageAlarm?: Record; readonly addCpuSpaceUsageAlarm?: Record; readonly addMasterCpuSpaceUsageAlarm?: Record; readonly addJvmMemoryPressureAlarm?: Record; readonly addMasterJvmMemoryPressureAlarm?: Record; readonly addClusterIndexWritesBlockedAlarm?: Record; readonly addClusterNodeCountAlarm?: Record; readonly addClusterAutomatedSnapshotFailureAlarm?: Record; readonly addKmsKeyErrorAlarm?: Record; readonly addKmsKeyInaccessibleAlarm?: Record; } export interface OpenSearchClusterMonitoringProps extends OpenSearchClusterMetricFactoryProps, OpenSearchClusterMonitoringOptions { } export declare class OpenSearchClusterMonitoring extends Monitoring { readonly title: string; readonly url?: string; readonly indexingLatencyAlarmFactory: LatencyAlarmFactory; readonly indexingLatencyAnnotations: HorizontalAnnotation[]; readonly searchLatencyAlarmFactory: LatencyAlarmFactory; readonly searchLatencyAnnotations: HorizontalAnnotation[]; readonly clusterAlarmFactory: OpenSearchClusterAlarmFactory; readonly clusterAnnotations: HorizontalAnnotation[]; readonly nodeAnnotations: HorizontalAnnotation[]; readonly usageAlarmFactory: UsageAlarmFactory; readonly usageAnnotations: HorizontalAnnotation[]; readonly masterUsageAnnotations: HorizontalAnnotation[]; readonly tpsMetric: MetricWithAlarmSupport; readonly p50IndexingLatencyMetric: MetricWithAlarmSupport; readonly p90IndexingLatencyMetric: MetricWithAlarmSupport; readonly p99IndexingLatencyMetric: MetricWithAlarmSupport; readonly p50SearchLatencyMetric: MetricWithAlarmSupport; readonly p90SearchLatencyMetric: MetricWithAlarmSupport; readonly p99SearchLatencyMetric: MetricWithAlarmSupport; readonly clusterStatusRedMetric: MetricWithAlarmSupport; readonly clusterStatusYellowMetric: MetricWithAlarmSupport; readonly diskSpaceUsageMetric: MetricWithAlarmSupport; readonly cpuUsageMetric: MetricWithAlarmSupport; readonly masterCpuUsageMetric: MetricWithAlarmSupport; readonly jvmMemoryPressureMetric: MetricWithAlarmSupport; readonly masterJvmMemoryPressureMetric: MetricWithAlarmSupport; readonly indexWriteBlockedMetric: MetricWithAlarmSupport; readonly nodesMetric: MetricWithAlarmSupport; readonly automatedSnapshotFailureMetric: MetricWithAlarmSupport; readonly kmsKeyErrorMetric: MetricWithAlarmSupport; readonly kmsKeyInaccessibleMetric: MetricWithAlarmSupport; constructor(scope: MonitoringScope, props: OpenSearchClusterMonitoringProps); summaryWidgets(): IWidget[]; widgets(): IWidget[]; }