Interface AlarmStatusWidgetProps

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:36.771Z") @Stability(Stable) public interface AlarmStatusWidgetProps extends
Properties for an Alarm Status Widget.


 Dashboard dashboard;
 Alarm errorAlarm;
  • Method Details

    • getAlarms

      @Stability(Stable) @NotNull List<IAlarm> getAlarms()
      CloudWatch Alarms to show in widget.
    • getHeight

      @Stability(Stable) @Nullable default Number getHeight()
      Height of the widget.

      Default: 3

    • getSortBy

      @Stability(Stable) @Nullable default AlarmStatusWidgetSortBy getSortBy()
      Specifies how to sort the alarms in the widget.

      Default: - alphabetical order

    • getStates

      @Stability(Stable) @Nullable default List<AlarmState> getStates()
      Use this field to filter the list of alarms displayed in the widget to only those alarms currently in the specified states.

      You can specify one or more alarm states in the value for this field. The alarm states that you can specify are ALARM, INSUFFICIENT_DATA, and OK.

      If you omit this field or specify an empty array, all the alarms specifed in alarms are displayed.

      Default: - all the alarms specified in alarms are displayed.

    • getTitle

      @Stability(Stable) @Nullable default String getTitle()
      The title of the widget.

      Default: 'Alarm Status'

    • getWidth

      @Stability(Stable) @Nullable default Number getWidth()
      Width of the widget, in a grid of 24 units wide.

      Default: 6

    • builder

      @Stability(Stable) static AlarmStatusWidgetProps.Builder builder()
      a AlarmStatusWidgetProps.Builder of AlarmStatusWidgetProps