@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-11T19:24:26.098Z") @Stability(value=Experimental) public interface AlarmStatusWidgetProps extends software.amazon.jsii.JsiiSerializable
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() |
List<IAlarm> |
getAlarms()
(experimental) CloudWatch Alarms to show in widget.
|
default Number |
getHeight()
(experimental) Height of the widget.
|
default AlarmStatusWidgetSortBy |
getSortBy()
(experimental) Specifies how to sort the alarms in the widget.
|
default List<AlarmState> |
getStates()
(experimental) Use this field to filter the list of alarms displayed in the widget to only those alarms currently in the specified states.
|
default String |
getTitle()
(experimental) The title of the widget.
|
default Number |
getWidth()
(experimental) Width of the widget, in a grid of 24 units wide.
|
@Stability(value=Experimental) @NotNull List<IAlarm> getAlarms()
@Stability(value=Experimental) @Nullable default Number getHeight()
Default: 3
@Stability(value=Experimental) @Nullable default AlarmStatusWidgetSortBy getSortBy()
Default: - alphabetical order
@Stability(value=Experimental) @Nullable default 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.
@Stability(value=Experimental) @Nullable default String getTitle()
Default: 'Alarm Status'
@Stability(value=Experimental) @Nullable default Number getWidth()
Default: 6
@Stability(value=Experimental) static AlarmStatusWidgetProps.Builder builder()
AlarmStatusWidgetProps.Builder of AlarmStatusWidgetPropsCopyright © 2022. All rights reserved.