Base interface for values that can be placed inside [MetricWidgetArgs.annotations]. Instances of this interface include [aws.cloudwatch.Alarm], [AlarmAnnotation], [HorizontalAnnotation] and [VerticalAnnotation].

interface WidgetAnnotation {
    addWidgetJson(annotations): void;
}

Implemented by

Methods

Generated using TypeDoc