Interface IMetric

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
IMetric.Jsii$Default
All Known Implementing Classes:
IMetric.Jsii$Proxy, MathExpression, Metric

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:36.866Z") @Stability(Stable) public interface IMetric extends software.amazon.jsii.JsiiSerializable
Interface for metrics.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Internal default implementation for IMetric.
    static final class 
    A proxy class which represents a concrete javascript instance of this type.
  • Method Summary

    Modifier and Type
    Method
    Description
    default List<String>
    Any warnings related to this metric.
    Deprecated.
    Use toMetricConfig() instead.
    Deprecated.
    Use toMetricConfig() instead.
    Inspect the details of the metric object.

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Method Details

    • getWarnings

      @Stability(Stable) @Nullable default List<String> getWarnings()
      Any warnings related to this metric.

      Should be attached to the consuming construct.

      Default: - None

    • toAlarmConfig

      @Stability(Deprecated) @Deprecated @NotNull MetricAlarmConfig toAlarmConfig()
      Deprecated.
      Use toMetricConfig() instead.
      (deprecated) Turn this metric object into an alarm configuration.

    • toGraphConfig

      @Stability(Deprecated) @Deprecated @NotNull MetricGraphConfig toGraphConfig()
      Deprecated.
      Use toMetricConfig() instead.
      (deprecated) Turn this metric object into a graph configuration.

    • toMetricConfig

      @Stability(Stable) @NotNull MetricConfig toMetricConfig()
      Inspect the details of the metric object.