Class CfnNodegroup.ScalingConfigProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnNodegroup.ScalingConfigProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnNodegroup.ScalingConfigProperty
CfnNodegroup.ScalingConfigProperty
-
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.eks.CfnNodegroup.ScalingConfigProperty
CfnNodegroup.ScalingConfigProperty.Builder, CfnNodegroup.ScalingConfigProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnNodegroup.ScalingConfigProperty.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 Number
The current number of nodes that the managed node group should maintain.final Number
The maximum number of nodes that the managed node group can scale out to.final Number
The minimum number of nodes that the managed node group can scale in to.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 theCfnNodegroup.ScalingConfigProperty.Builder
.
-
-
Method Details
-
getDesiredSize
Description copied from interface:CfnNodegroup.ScalingConfigProperty
The current number of nodes that the managed node group should maintain.If you use the Kubernetes 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 the Cluster Autoscaler reduce the number if there are too many. When the Cluster Autoscaler is used, thedesiredSize
parameter is altered by the Cluster Autoscaler (but can be out-of-date for short periods of time). the Cluster Autoscaler doesn't scale a managed node group lower thanminSize
or higher thanmaxSize
.- Specified by:
getDesiredSize
in interfaceCfnNodegroup.ScalingConfigProperty
- See Also:
-
getMaxSize
Description copied from interface:CfnNodegroup.ScalingConfigProperty
The maximum number of nodes that the managed node group can scale out to.For information about the maximum number that you can specify, see Amazon EKS service quotas in the Amazon EKS User Guide .
- Specified by:
getMaxSize
in interfaceCfnNodegroup.ScalingConfigProperty
- See Also:
-
getMinSize
Description copied from interface:CfnNodegroup.ScalingConfigProperty
The minimum number of nodes that the managed node group can scale in to.- Specified by:
getMinSize
in interfaceCfnNodegroup.ScalingConfigProperty
- See Also:
-
$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()
-