@Stability(value=Stable) @Internal public static final class WarmPoolOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements WarmPoolOptions
WarmPoolOptionssoftware.amazon.jsii.JsiiObject.InitializationModeWarmPoolOptions.Builder, WarmPoolOptions.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(WarmPoolOptions.Builder builder)
Constructor that initializes the object based on literal property values passed by the
WarmPoolOptions.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Number |
getMaxGroupPreparedCapacity()
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.
|
Number |
getMinSize()
The minimum number of instances to maintain in the warm pool.
|
PoolState |
getPoolState()
The instance state to transition to after the lifecycle actions are complete.
|
Boolean |
getReuseOnScaleIn()
Indicates whether instances in the Auto Scaling group can be returned to the warm pool on scale in.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(WarmPoolOptions.Builder builder)
WarmPoolOptions.Builder.public final Number getMaxGroupPreparedCapacity()
WarmPoolOptionsIf 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
getMaxGroupPreparedCapacity in interface WarmPoolOptionspublic final Number getMinSize()
WarmPoolOptionsDefault: 0
getMinSize in interface WarmPoolOptionspublic final PoolState getPoolState()
WarmPoolOptionsDefault: PoolState.STOPPED
getPoolState in interface WarmPoolOptionspublic final Boolean getReuseOnScaleIn()
WarmPoolOptionsIf the value is not specified, instances in the Auto Scaling group will be terminated when the group scales in.
Default: false
getReuseOnScaleIn in interface WarmPoolOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.