@Stability(value=Stable) @Internal public static final class CfnNodegroup.ScalingConfigProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnNodegroup.ScalingConfigProperty
CfnNodegroup.ScalingConfigPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnNodegroup.ScalingConfigProperty.Builder, CfnNodegroup.ScalingConfigProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnNodegroup.ScalingConfigProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnNodegroup.LaunchTemplateSpecificationProperty.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Number |
getDesiredSize()
The current number of nodes that the managed node group should maintain.
|
Number |
getMaxSize()
The maximum number of nodes that the managed node group can scale out to.
|
Number |
getMinSize()
The minimum number of nodes that the managed node group can scale in to.
|
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(CfnNodegroup.ScalingConfigProperty.Builder builder)
CfnNodegroup.LaunchTemplateSpecificationProperty.Builder.public final Number getDesiredSize()
CfnNodegroup.ScalingConfigProperty
If you use Cluster Autoscaler, you shouldn't change the desiredSize value directly, as this can cause the Cluster Autoscaler to suddenly scale up or scale down.
Whenever this parameter changes, the number of worker nodes in the node group is updated to the specified size. If this parameter is given a value that is smaller than the current number of running worker nodes, the necessary number of worker nodes are terminated to match the given value. When using CloudFormation, no action occurs if you remove this parameter from your CFN template.
This parameter can be different from minSize in some cases, such as when starting with extra hosts for testing. This parameter can also be different when you want to start with an estimated number of needed hosts, but let Cluster Autoscaler reduce the number if there are too many. When Cluster Autoscaler is used, the desiredSize parameter is altered by Cluster Autoscaler (but can be out-of-date for short periods of time). Cluster Autoscaler doesn't scale a managed node group lower than minSize or higher than maxSize.
getDesiredSize in interface CfnNodegroup.ScalingConfigPropertypublic final Number getMaxSize()
CfnNodegroup.ScalingConfigPropertyFor information about the maximum number that you can specify, see Amazon EKS service quotas in the Amazon EKS User Guide .
getMaxSize in interface CfnNodegroup.ScalingConfigPropertypublic final Number getMinSize()
CfnNodegroup.ScalingConfigPropertygetMinSize in interface CfnNodegroup.ScalingConfigProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.