Interface SingleValueWidgetProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
,MetricWidgetProps
- All Known Implementing Classes:
SingleValueWidgetProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:36.904Z")
@Stability(Stable)
public interface SingleValueWidgetProps
extends software.amazon.jsii.JsiiSerializable, MetricWidgetProps
Properties for a SingleValueWidget.
Example:
Dashboard dashboard; Metric visitorCount; Metric purchaseCount; dashboard.addWidgets(SingleValueWidget.Builder.create() .metrics(List.of(visitorCount, purchaseCount)) .build());
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forSingleValueWidgetProps
static final class
An implementation forSingleValueWidgetProps
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
Methods inherited from interface software.amazon.awscdk.services.cloudwatch.MetricWidgetProps
getHeight, getRegion, getTitle, getWidth
-
Method Details
-
getMetrics
Metrics to display. -
getFullPrecision
Whether to show as many digits as can fit, before rounding.Default: false
-
getSetPeriodToTimeRange
Whether to show the value from the entire time range.Default: false
-
builder
- Returns:
- a
SingleValueWidgetProps.Builder
ofSingleValueWidgetProps
-