Interface IWidget
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
IWidget.Jsii$Default
- All Known Implementing Classes:
AlarmStatusWidget,AlarmWidget,Column,ConcreteWidget,CustomWidget,GaugeWidget,GraphWidget,IWidget.Jsii$Proxy,LogQueryWidget,Row,SingleValueWidget,Spacer,TableWidget,TextWidget
@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)",
date="2025-10-14T12:28:07.113Z")
@Stability(Stable)
public interface IWidget
extends software.amazon.jsii.JsiiSerializable
A single dashboard widget.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceInternal default implementation forIWidget.static final classA proxy class which represents a concrete javascript instance of this type. -
Method Summary
Modifier and TypeMethodDescriptionThe amount of vertical grid units the widget will take up.Deprecated.use warningsV2Any warnings that are produced as a result of putting together this widget.getWidth()The amount of horizontal grid units the widget will take up.voidPlace the widget at a given position.toJson()Return the widget JSON for use in the dashboard.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getHeight
The amount of vertical grid units the widget will take up. -
getWidth
The amount of horizontal grid units the widget will take up. -
getWarnings
Deprecated.- use warningsV2
(deprecated) Any warnings that are produced as a result of putting together this widget. -
getWarningsV2
Any warnings that are produced as a result of putting together this widget. -
position
Place the widget at a given position.- Parameters:
x- This parameter is required.y- This parameter is required.
-
toJson
Return the widget JSON for use in the dashboard.
-