Interface AlarmWidgetProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
,MetricWidgetProps
- All Known Implementing Classes:
AlarmWidgetProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-11T15:55:54.739Z")
@Stability(Stable)
public interface AlarmWidgetProps
extends software.amazon.jsii.JsiiSerializable, MetricWidgetProps
Properties for an AlarmWidget.
Example:
Dashboard dashboard; Alarm errorAlarm; dashboard.addWidgets(AlarmWidget.Builder.create() .title("Errors") .alarm(errorAlarm) .build());
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forAlarmWidgetProps
static final class
An implementation forAlarmWidgetProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic AlarmWidgetProps.Builder
builder()
getAlarm()
The alarm to show.default YAxisProps
Left Y axis.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
Methods inherited from interface software.amazon.awscdk.services.cloudwatch.MetricWidgetProps
getHeight, getRegion, getTitle, getWidth
-
Method Details
-
getAlarm
The alarm to show. -
getLeftYAxis
Left Y axis.Default: - No minimum or maximum values for the left Y-axis
-
builder
- Returns:
- a
AlarmWidgetProps.Builder
ofAlarmWidgetProps
-