@Generated(value="jsii-pacmak/1.70.0 (build 03c2f6f)", date="2022-11-01T13:16:43.195Z") @Stability(value=Experimental) public interface WarmPoolOptions extends software.amazon.jsii.JsiiSerializable
Example:
AutoScalingGroup autoScalingGroup;
autoScalingGroup.addWarmPool(WarmPoolOptions.builder()
.minSize(1)
.reuseOnScaleIn(true)
.build());
| Modifier and Type | Interface and Description |
|---|---|
static class |
WarmPoolOptions.Builder
A builder for
WarmPoolOptions |
static class |
WarmPoolOptions.Jsii$Proxy
An implementation for
WarmPoolOptions |
| Modifier and Type | Method and Description |
|---|---|
static WarmPoolOptions.Builder |
builder() |
default Number |
getMaxGroupPreparedCapacity()
(experimental) The maximum number of instances that are allowed to be in the warm pool or in any state except Terminated for the Auto Scaling group.
|
default Number |
getMinSize()
(experimental) The minimum number of instances to maintain in the warm pool.
|
default PoolState |
getPoolState()
(experimental) The instance state to transition to after the lifecycle actions are complete.
|
default Boolean |
getReuseOnScaleIn()
(experimental) Indicates whether instances in the Auto Scaling group can be returned to the warm pool on scale in.
|
@Stability(value=Experimental) @Nullable default Number getMaxGroupPreparedCapacity()
If the value is not specified, Amazon EC2 Auto Scaling launches and maintains the difference between the group's maximum capacity and its desired capacity.
Default: - max size of the Auto Scaling group
@Stability(value=Experimental) @Nullable default Number getMinSize()
Default: 0
@Stability(value=Experimental) @Nullable default PoolState getPoolState()
Default: PoolState.STOPPED
@Stability(value=Experimental) @Nullable default Boolean getReuseOnScaleIn()
If the value is not specified, instances in the Auto Scaling group will be terminated when the group scales in.
Default: false
@Stability(value=Experimental) static WarmPoolOptions.Builder builder()
WarmPoolOptions.Builder of WarmPoolOptionsCopyright © 2022. All rights reserved.