Interface IWidget

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
IWidget.Jsii$Default
All Known Implementing Classes:
AlarmStatusWidget, AlarmWidget, Column, ConcreteWidget, CustomWidget, GraphWidget, IWidget.Jsii$Proxy, LogQueryWidget, Row, SingleValueWidget, Spacer, TextWidget

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:36.866Z") @Stability(Stable) public interface IWidget extends software.amazon.jsii.JsiiSerializable
A single dashboard widget.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Internal default implementation for IWidget.
    static final class 
    A proxy class which represents a concrete javascript instance of this type.
  • Method Summary

    Modifier and Type
    Method
    Description
    The amount of vertical grid units the widget will take up.
    default List<String>
    Any warnings that are produced as a result of putting together this widget.
    The amount of horizontal grid units the widget will take up.
    void
    Place the widget at a given position.
    Return the widget JSON for use in the dashboard.

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Method Details

    • getHeight

      @Stability(Stable) @NotNull Number getHeight()
      The amount of vertical grid units the widget will take up.
    • getWidth

      @Stability(Stable) @NotNull Number getWidth()
      The amount of horizontal grid units the widget will take up.
    • getWarnings

      @Stability(Stable) @Nullable default List<String> getWarnings()
      Any warnings that are produced as a result of putting together this widget.
    • position

      @Stability(Stable) void position(@NotNull Number x, @NotNull Number y)
      Place the widget at a given position.

      Parameters:
      x - This parameter is required.
      y - This parameter is required.
    • toJson

      @Stability(Stable) @NotNull List<Object> toJson()
      Return the widget JSON for use in the dashboard.