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.104.0 (build e79254c)",
date="2024-11-22T02:23:58.523Z")
@Stability(Stable)
public interface IWidget
extends software.amazon.jsii.JsiiSerializable
A single dashboard widget.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Internal default implementation forIWidget
.static final class
A 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.void
Place 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.
-