Interface ScalingPolicy

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

    @Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
               date="2023-07-08T00:25:14.290Z")
    @Stability(Stable)
    public interface ScalingPolicy
    extends software.amazon.jsii.JsiiSerializable
    • Method Detail

      • getReplicas

        @Stability(Stable)
        @NotNull
        Replicas getReplicas()
        The type and quantity of replicas to change.
      • getDuration

        @Stability(Stable)
        @Nullable
        default org.cdk8s.Duration getDuration()
        The amount of time the scaling policy has to continue scaling before the target metric must be revalidated.

        Must be greater than 0 seconds and no longer than 30 minutes.

        Default: - 15 seconds