Class AlarmStatusWidget
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.cloudwatch.ConcreteWidget
software.amazon.awscdk.services.cloudwatch.AlarmStatusWidget
- All Implemented Interfaces:
IWidget
,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:36.770Z")
@Stability(Stable)
public class AlarmStatusWidget
extends ConcreteWidget
A dashboard widget that displays alarms in a grid view.
Example:
Dashboard dashboard; Alarm errorAlarm; dashboard.addWidgets( AlarmStatusWidget.Builder.create() .alarms(List.of(errorAlarm)) .build());
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.cloudwatch.IWidget
IWidget.Jsii$Default
-
Constructor Summary
ModifierConstructorDescriptionprotected
AlarmStatusWidget
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
AlarmStatusWidget
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Methods inherited from class software.amazon.awscdk.services.cloudwatch.ConcreteWidget
copyMetricWarnings, getHeight, getWarnings, getWidth, getX, getY, setX, setY
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
AlarmStatusWidget
protected AlarmStatusWidget(software.amazon.jsii.JsiiObjectRef objRef) -
AlarmStatusWidget
protected AlarmStatusWidget(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
AlarmStatusWidget
- Parameters:
props
- This parameter is required.
-
-
Method Details
-
position
Place the widget at a given position.- Specified by:
position
in interfaceIWidget
- Overrides:
position
in classConcreteWidget
- Parameters:
x
- This parameter is required.y
- This parameter is required.
-
toJson
Return the widget JSON for use in the dashboard.- Specified by:
toJson
in interfaceIWidget
- Specified by:
toJson
in classConcreteWidget
-