Class HpaScalingRulesV2.Jsii$Proxy

    • Constructor Detail

      • Jsii$Proxy

        protected Jsii$Proxy​(software.amazon.jsii.JsiiObjectRef objRef)
        Constructor that initializes the object based on values retrieved from the JsiiObject.
        Parameters:
        objRef - Reference to the JSII managed object.
    • Method Detail

      • getPolicies

        public final List<HpaScalingPolicyV2> getPolicies()
        Description copied from interface: HpaScalingRulesV2
        policies is a list of potential scaling polices which can be used during scaling.

        At least one policy must be specified, otherwise the HPAScalingRules will be discarded as invalid

        Specified by:
        getPolicies in interface HpaScalingRulesV2
      • getSelectPolicy

        public final String getSelectPolicy()
        Description copied from interface: HpaScalingRulesV2
        selectPolicy is used to specify which policy should be used.

        If not set, the default value Max is used.

        Specified by:
        getSelectPolicy in interface HpaScalingRulesV2
      • getStabilizationWindowSeconds

        public final Number getStabilizationWindowSeconds()
        Description copied from interface: HpaScalingRulesV2
        StabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down.

        StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long).

        Specified by:
        getStabilizationWindowSeconds in interface HpaScalingRulesV2
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object