Interface CfnNodegroup.NodeRepairConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnNodegroup.NodeRepairConfigProperty.Jsii$Proxy
- Enclosing class:
CfnNodegroup
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.*;
NodeRepairConfigProperty nodeRepairConfigProperty = NodeRepairConfigProperty.builder()
.enabled(false)
.maxParallelNodesRepairedCount(123)
.maxParallelNodesRepairedPercentage(123)
.maxUnhealthyNodeThresholdCount(123)
.maxUnhealthyNodeThresholdPercentage(123)
.nodeRepairConfigOverrides(List.of(NodeRepairConfigOverridesProperty.builder()
.minRepairWaitTimeMins(123)
.nodeMonitoringCondition("nodeMonitoringCondition")
.nodeUnhealthyReason("nodeUnhealthyReason")
.repairAction("repairAction")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnNodegroup.NodeRepairConfigPropertystatic final classAn implementation forCfnNodegroup.NodeRepairConfigProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectSpecifies whether to enable node auto repair for the node group.default NumberSpecify the maximum number of nodes that can be repaired concurrently or in parallel, expressed as a count of unhealthy nodes.default NumberSpecify the maximum number of nodes that can be repaired concurrently or in parallel, expressed as a percentage of unhealthy nodes.default NumberSpecify a count threshold of unhealthy nodes, above which node auto repair actions will stop.default NumberSpecify a percentage threshold of unhealthy nodes, above which node auto repair actions will stop.default ObjectSpecify granular overrides for specific repair actions.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEnabled
Specifies whether to enable node auto repair for the node group.Node auto repair is disabled by default.
Returns union: either
BooleanorIResolvable- See Also:
-
getMaxParallelNodesRepairedCount
Specify the maximum number of nodes that can be repaired concurrently or in parallel, expressed as a count of unhealthy nodes.This gives you finer-grained control over the pace of node replacements. When using this, you cannot also set MaxParallelNodesRepairedPercentage at the same time.
- See Also:
-
getMaxParallelNodesRepairedPercentage
Specify the maximum number of nodes that can be repaired concurrently or in parallel, expressed as a percentage of unhealthy nodes.This gives you finer-grained control over the pace of node replacements. When using this, you cannot also set MaxParallelNodesRepairedCount at the same time.
- See Also:
-
getMaxUnhealthyNodeThresholdCount
Specify a count threshold of unhealthy nodes, above which node auto repair actions will stop.When using this, you cannot also set MaxUnhealthyNodeThresholdPercentage at the same time.
- See Also:
-
getMaxUnhealthyNodeThresholdPercentage
Specify a percentage threshold of unhealthy nodes, above which node auto repair actions will stop.When using this, you cannot also set MaxUnhealthyNodeThresholdCount at the same time.
- See Also:
-
getNodeRepairConfigOverrides
Specify granular overrides for specific repair actions.These overrides control the repair action and the repair delay time before a node is considered eligible for repair. If you use this, you must specify all the values.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnNodegroup.NodeRepairConfigOverridesProperty>- See Also:
-
builder
-