import { Construct } from 'constructs'; import { MetricAlarmProps } from './metric-alarm'; /** * Interface for DataDogMonitor implementation. */ export interface DataDogMetricAlarmProps extends MetricAlarmProps { /** * Service token which points to the DataDog Monitor custom resource lambda or sns topic. */ readonly serviceToken: string; /** * The service name used to name the montors (in datadog-integration). */ readonly serviceName: string; /** * The name of DataDog's OpsGenie integration. Used to automatically create OpsGenie alarms for the created DataDog Monitor. */ readonly dataDogOpsGenieIntegrationName: string; } /** * A wrapper for a custom resource that creates a DataDog Monitor. * * To use this construct, the DataDog integration needs to be installed. */ export declare class DataDogMetricAlarm extends Construct { private serviceToken; constructor(scope: Construct, id: string, props: DataDogMetricAlarmProps); /** * Helper function to convert a generic alarm into a DataDog query string. */ alarmToDataDogQuery(alarm: MetricAlarmProps): string; }