Class SingleValueWidget

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.cloudwatch.ConcreteWidget
software.amazon.awscdk.services.cloudwatch.SingleValueWidget
All Implemented Interfaces:
IWidget, software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)", date="2024-10-11T15:55:54.814Z") @Stability(Stable) public class SingleValueWidget extends ConcreteWidget
A dashboard widget that displays the most recent value for every metric.

Example:

 Dashboard dashboard;
 dashboard.addWidgets(SingleValueWidget.Builder.create()
         .metrics(List.of())
         .period(Duration.minutes(15))
         .build());
 
  • Constructor Details

    • SingleValueWidget

      protected SingleValueWidget(software.amazon.jsii.JsiiObjectRef objRef)
    • SingleValueWidget

      protected SingleValueWidget(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • SingleValueWidget

      @Stability(Stable) public SingleValueWidget(@NotNull SingleValueWidgetProps props)
      Parameters:
      props - This parameter is required.
  • Method Details