java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.autoscaling.WarmPool
All Implemented Interfaces:
IEnvironmentAware, IResource, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.133.0 (build 0f43e37)", date="2026-06-16T16:14:18.777Z") @Stability(Stable) public class WarmPool extends Resource
Define a warm pool.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.autoscaling.*;
 import software.amazon.awscdk.interfaces.autoscaling.*;
 IAutoScalingGroupRef autoScalingGroupRef;
 WarmPool warmPool = WarmPool.Builder.create(this, "MyWarmPool")
         .autoScalingGroup(autoScalingGroupRef)
         // the properties below are optional
         .maxGroupPreparedCapacity(123)
         .minSize(123)
         .poolState(PoolState.HIBERNATED)
         .reuseOnScaleIn(false)
         .build();
 
  • Field Details

    • PROPERTY_INJECTION_ID

      @Stability(Stable) public static final String PROPERTY_INJECTION_ID
      Uniquely identifies this class.
  • Constructor Details

    • WarmPool

      protected WarmPool(software.amazon.jsii.JsiiObjectRef objRef)
    • WarmPool

      protected WarmPool(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • WarmPool

      @Stability(Stable) public WarmPool(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull WarmPoolProps props)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      props - This parameter is required.