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.104.0 (build e79254c)", date="2024-11-21T06:34:04.957Z") @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