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.99.0 (build 8f757e4)", date="2024-06-13T18:49:15.872Z") @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