Interface WarmPoolConfig.Builder

  • Method Details

    • enabled

      WarmPoolConfig.Builder enabled(Boolean enabled)

      Specifies whether to attach warm pools on the managed node group. Set to true to enable the warm pool, or false to disable and remove it. If not specified during an update, the current value is preserved.

      Parameters:
      enabled - Specifies whether to attach warm pools on the managed node group. Set to true to enable the warm pool, or false to disable and remove it. If not specified during an update, the current value is preserved.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • minSize

      WarmPoolConfig.Builder minSize(Integer minSize)

      The minimum number of instances to maintain in the warm pool. Default: 0. Size your warm pool based on scaling patterns to balance cost and availability. Start with 10-20% of expected peak capacity.

      Parameters:
      minSize - The minimum number of instances to maintain in the warm pool. Default: 0. Size your warm pool based on scaling patterns to balance cost and availability. Start with 10-20% of expected peak capacity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxGroupPreparedCapacity

      WarmPoolConfig.Builder maxGroupPreparedCapacity(Integer maxGroupPreparedCapacity)

      The maximum total number of instances across the warm pool and Auto Scaling group combined. This value controls the total prepared capacity available for your node group.

      Parameters:
      maxGroupPreparedCapacity - The maximum total number of instances across the warm pool and Auto Scaling group combined. This value controls the total prepared capacity available for your node group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • poolState

      WarmPoolConfig.Builder poolState(String poolState)

      The desired state for warm pool instances. Default: Stopped. Valid values are Stopped (most cost-effective with EBS storage costs only), Running (fastest transition time with full EC2 costs), and Hibernated (balance between cost and speed, only supported on specific instance types). Warm pool instances in the Hibernated state are not supported with Bottlerocket AMIs.

      Parameters:
      poolState - The desired state for warm pool instances. Default: Stopped. Valid values are Stopped (most cost-effective with EBS storage costs only), Running (fastest transition time with full EC2 costs), and Hibernated (balance between cost and speed, only supported on specific instance types). Warm pool instances in the Hibernated state are not supported with Bottlerocket AMIs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • poolState

      WarmPoolConfig.Builder poolState(WarmPoolState poolState)

      The desired state for warm pool instances. Default: Stopped. Valid values are Stopped (most cost-effective with EBS storage costs only), Running (fastest transition time with full EC2 costs), and Hibernated (balance between cost and speed, only supported on specific instance types). Warm pool instances in the Hibernated state are not supported with Bottlerocket AMIs.

      Parameters:
      poolState - The desired state for warm pool instances. Default: Stopped. Valid values are Stopped (most cost-effective with EBS storage costs only), Running (fastest transition time with full EC2 costs), and Hibernated (balance between cost and speed, only supported on specific instance types). Warm pool instances in the Hibernated state are not supported with Bottlerocket AMIs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • reuseOnScaleIn

      WarmPoolConfig.Builder reuseOnScaleIn(Boolean reuseOnScaleIn)

      Indicates whether instances should return to the warm pool during scale-in events instead of being terminated. Default: false. Enable this to reduce costs by reusing instances. This feature is not supported for Bottlerocket AMIs.

      Parameters:
      reuseOnScaleIn - Indicates whether instances should return to the warm pool during scale-in events instead of being terminated. Default: false. Enable this to reduce costs by reusing instances. This feature is not supported for Bottlerocket AMIs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.