@Generated(value="jsii-pacmak/1.63.2 (build a8a8833)",
date="2022-08-09T19:16:35.572Z")
public interface AlarmStatusWidgetProps
Example:
Dashboard dashboard; Alarm errorAlarm; dashboard.addWidgets( AlarmStatusWidget.Builder.create() .alarms(List.of(errorAlarm)) .build());
Modifier and Type | Interface and Description |
---|---|
static class |
AlarmStatusWidgetProps.Builder
A builder for
AlarmStatusWidgetProps |
static class |
AlarmStatusWidgetProps.Jsii$Proxy
An implementation for
AlarmStatusWidgetProps |
Modifier and Type | Method and Description |
---|---|
static AlarmStatusWidgetProps.Builder |
builder() |
java.util.List<IAlarm> |
getAlarms()
CloudWatch Alarms to show in widget.
|
default java.lang.Number |
getHeight()
Height of the widget.
|
default AlarmStatusWidgetSortBy |
getSortBy()
Specifies how to sort the alarms in the widget.
|
default java.util.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.
|
default java.lang.String |
getTitle()
The title of the widget.
|
default java.lang.Number |
getWidth()
Width of the widget, in a grid of 24 units wide.
|
java.util.List<IAlarm> getAlarms()
default java.lang.Number getHeight()
Default: 3
default AlarmStatusWidgetSortBy getSortBy()
Default: - alphabetical order
default java.util.List<AlarmState> getStates()
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.
default java.lang.String getTitle()
Default: 'Alarm Status'
default java.lang.Number getWidth()
Default: 6
static AlarmStatusWidgetProps.Builder builder()
AlarmStatusWidgetProps.Builder
of AlarmStatusWidgetProps