Interface AlarmWidgetProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,MetricWidgetProps
- All Known Implementing Classes:
AlarmWidgetProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:36.773Z")
@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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forAlarmWidgetPropsstatic final classAn implementation forAlarmWidgetProps -
Method Summary
Modifier and TypeMethodDescriptionstatic AlarmWidgetProps.Builderbuilder()getAlarm()The alarm to show.default YAxisPropsLeft Y axis.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJsonMethods 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.BuilderofAlarmWidgetProps
-