Interface ScalingTarget

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

    @Generated(value="jsii-pacmak/1.72.0 (build 4b8828b)",
               date="2022-12-15T15:42:36.432Z")
    @Stability(Stable)
    public interface ScalingTarget
    extends software.amazon.jsii.JsiiSerializable
    Properties used to configure the target of an Autoscaler.
    • Method Detail

      • getApiVersion

        @Stability(Stable)
        @NotNull
        String getApiVersion()
        The object's API version (e.g. "authorization.k8s.io/v1").
      • getContainers

        @Stability(Stable)
        @NotNull
        List<Container> getContainers()
        Container definitions associated with the target.
      • getKind

        @Stability(Stable)
        @NotNull
        String getKind()
        The object kind (e.g. "Deployment").
      • getName

        @Stability(Stable)
        @NotNull
        String getName()
        The Kubernetes name of this resource.
      • getReplicas

        @Stability(Stable)
        @Nullable
        default Number getReplicas()
        The fixed number of replicas defined on the target.

        This is used for validation purposes as Scalable targets should not have a fixed number of replicas.