Interface ExternalMetricSourceV2Beta1

  • All Superinterfaces:
    software.amazon.jsii.JsiiSerializable
    All Known Implementing Classes:
    ExternalMetricSourceV2Beta1.Jsii$Proxy

    @Generated(value="jsii-pacmak/1.69.0 (build f656c31)",
               date="2022-10-06T02:54:45.776Z")
    @Stability(Stable)
    public interface ExternalMetricSourceV2Beta1
    extends software.amazon.jsii.JsiiSerializable
    ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).

    Exactly one "target" type should be set.

    • Method Detail

      • getMetricName

        @Stability(Stable)
        @NotNull
        String getMetricName()
        metricName is the name of the metric in question.
      • getMetricSelector

        @Stability(Stable)
        @Nullable
        default LabelSelector getMetricSelector()
        metricSelector is used to identify a specific time series within a given metric.
      • getTargetAverageValue

        @Stability(Stable)
        @Nullable
        default Quantity getTargetAverageValue()
        targetAverageValue is the target per-pod value of global metric (as a quantity).

        Mutually exclusive with TargetValue.

      • getTargetValue

        @Stability(Stable)
        @Nullable
        default Quantity getTargetValue()
        targetValue is the target value of the metric (as a quantity).

        Mutually exclusive with TargetAverageValue.