Class ContainerNodePoolAutoscaling.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

      • getLocationPolicy

        public final String getLocationPolicy()
        Description copied from interface: ContainerNodePoolAutoscaling
        Location policy specifies the algorithm used when scaling-up the node pool.

        "BALANCED" - Is a best effort policy that aims to balance the sizes of available zones. "ANY" - Instructs the cluster autoscaler to prioritize utilization of unused reservations, and reduces preemption risk for Spot VMs. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_node_pool#location_policy ContainerNodePool#location_policy}

        Specified by:
        getLocationPolicy in interface ContainerNodePoolAutoscaling
      • getMaxNodeCount

        public final Number getMaxNodeCount()
        Description copied from interface: ContainerNodePoolAutoscaling
        Maximum number of nodes per zone in the node pool.

        Must be >= min_node_count. Cannot be used with total limits. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_node_pool#max_node_count ContainerNodePool#max_node_count}

        Specified by:
        getMaxNodeCount in interface ContainerNodePoolAutoscaling
      • getMinNodeCount

        public final Number getMinNodeCount()
        Description copied from interface: ContainerNodePoolAutoscaling
        Minimum number of nodes per zone in the node pool.

        Must be >=0 and <= max_node_count. Cannot be used with total limits. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_node_pool#min_node_count ContainerNodePool#min_node_count}

        Specified by:
        getMinNodeCount in interface ContainerNodePoolAutoscaling
      • getTotalMaxNodeCount

        public final Number getTotalMaxNodeCount()
        Description copied from interface: ContainerNodePoolAutoscaling
        Maximum number of all nodes in the node pool.

        Must be >= total_min_node_count. Cannot be used with per zone limits. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_node_pool#total_max_node_count ContainerNodePool#total_max_node_count}

        Specified by:
        getTotalMaxNodeCount in interface ContainerNodePoolAutoscaling
      • getTotalMinNodeCount

        public final Number getTotalMinNodeCount()
        Description copied from interface: ContainerNodePoolAutoscaling
        Minimum number of all nodes in the node pool.

        Must be >=0 and <= total_max_node_count. Cannot be used with per zone limits. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_node_pool#total_min_node_count ContainerNodePool#total_min_node_count}

        Specified by:
        getTotalMinNodeCount in interface ContainerNodePoolAutoscaling
      • $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