Interface AlarmWidgetProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
,MetricWidgetProps
- All Known Implementing Classes:
AlarmWidgetProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:23:58.460Z")
@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
-