Class WarmPoolProps.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.autoscaling.WarmPoolProps.Jsii$Proxy
- All Implemented Interfaces:
WarmPoolOptions
,WarmPoolProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
WarmPoolProps
@Stability(Stable)
@Internal
public static final class WarmPoolProps.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements WarmPoolProps
An implementation for
WarmPoolProps
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.autoscaling.WarmPoolProps
WarmPoolProps.Builder, WarmPoolProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(WarmPoolProps.Builder builder) Constructor that initializes the object based on literal property values passed by theWarmPoolProps.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final IAutoScalingGroup
The Auto Scaling group to add the warm pool to.final Number
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.final Number
The minimum number of instances to maintain in the warm pool.final PoolState
The instance state to transition to after the lifecycle actions are complete.final Boolean
Indicates whether instances in the Auto Scaling group can be returned to the warm pool on scale in.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theWarmPoolProps.Builder
.
-
-
Method Details
-
getAutoScalingGroup
Description copied from interface:WarmPoolProps
The Auto Scaling group to add the warm pool to.- Specified by:
getAutoScalingGroup
in interfaceWarmPoolProps
-
getMaxGroupPreparedCapacity
Description copied from interface:WarmPoolOptions
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.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
- Specified by:
getMaxGroupPreparedCapacity
in interfaceWarmPoolOptions
-
getMinSize
Description copied from interface:WarmPoolOptions
The minimum number of instances to maintain in the warm pool.Default: 0
- Specified by:
getMinSize
in interfaceWarmPoolOptions
-
getPoolState
Description copied from interface:WarmPoolOptions
The instance state to transition to after the lifecycle actions are complete.Default: PoolState.STOPPED
- Specified by:
getPoolState
in interfaceWarmPoolOptions
-
getReuseOnScaleIn
Description copied from interface:WarmPoolOptions
Indicates whether instances in the Auto Scaling group can be returned to the warm pool on scale in.If the value is not specified, instances in the Auto Scaling group will be terminated when the group scales in.
Default: false
- Specified by:
getReuseOnScaleIn
in interfaceWarmPoolOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-