Interface CfnNodegroup.WarmPoolConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnNodegroup.WarmPoolConfigProperty.Jsii$Proxy
- Enclosing class:
CfnNodegroup
@Stability(Stable)
public static interface CfnNodegroup.WarmPoolConfigProperty
extends software.amazon.jsii.JsiiSerializable
The warm pool configuration for the node group.
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.eks.*;
WarmPoolConfigProperty warmPoolConfigProperty = WarmPoolConfigProperty.builder()
.enabled(false)
.maxGroupPreparedCapacity(123)
.minSize(123)
.poolState("poolState")
.reuseOnScaleIn(false)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnNodegroup.WarmPoolConfigPropertystatic final classAn implementation forCfnNodegroup.WarmPoolConfigProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectEnable or disable warm pool for the node group.default NumberThe maximum number of instances that are allowed to be in the warm pool.default NumberThe minimum number of instances to maintain in the warm pool.default StringThe desired state of warm pool instances.default ObjectWhether to return instances to the warm pool during scale-in instead of terminating them.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEnabled
Enable or disable warm pool for the node group.Returns union: either
BooleanorIResolvable- See Also:
-
getMaxGroupPreparedCapacity
The maximum number of instances that are allowed to be in the warm pool.- See Also:
-
getMinSize
The minimum number of instances to maintain in the warm pool.- See Also:
-
getPoolState
The desired state of warm pool instances.- See Also:
-
getReuseOnScaleIn
Whether to return instances to the warm pool during scale-in instead of terminating them.Returns union: either
BooleanorIResolvable- See Also:
-
builder
-