Interface ComputeNodeGroupAutoscalingPolicy

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

    @Generated(value="jsii-pacmak/1.102.0 (build e354887)",
               date="2024-08-31T03:59:18.626Z")
    @Stability(Stable)
    public interface ComputeNodeGroupAutoscalingPolicy
    extends software.amazon.jsii.JsiiSerializable
    • Method Detail

      • getMaxNodes

        @Stability(Stable)
        @Nullable
        default Number getMaxNodes()
        Maximum size of the node group.

        Set to a value less than or equal to 100 and greater than or equal to min-nodes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_node_group#max_nodes ComputeNodeGroup#max_nodes}

      • getMinNodes

        @Stability(Stable)
        @Nullable
        default Number getMinNodes()
        Minimum size of the node group. Must be less than or equal to max-nodes. The default value is 0.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_node_group#min_nodes ComputeNodeGroup#min_nodes}

      • getMode

        @Stability(Stable)
        @Nullable
        default String getMode()
        The autoscaling mode.

        Set to one of the following: * OFF: Disables the autoscaler. * ON: Enables scaling in and scaling out. * ONLY_SCALE_OUT: Enables only scaling out. You must use this mode if your node groups are configured to restart their hosted VMs on minimal servers. Possible values: ["OFF", "ON", "ONLY_SCALE_OUT"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_node_group#mode ComputeNodeGroup#mode}