Interface CfnNodegroup.NodeRepairConfigOverridesProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnNodegroup.NodeRepairConfigOverridesProperty.Jsii$Proxy
- Enclosing class:
CfnNodegroup
@Stability(Stable)
public static interface CfnNodegroup.NodeRepairConfigOverridesProperty
extends software.amazon.jsii.JsiiSerializable
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.
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.*;
NodeRepairConfigOverridesProperty nodeRepairConfigOverridesProperty = NodeRepairConfigOverridesProperty.builder()
.minRepairWaitTimeMins(123)
.nodeMonitoringCondition("nodeMonitoringCondition")
.nodeUnhealthyReason("nodeUnhealthyReason")
.repairAction("repairAction")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnNodegroup.NodeRepairConfigOverridesPropertystatic final classAn implementation forCfnNodegroup.NodeRepairConfigOverridesProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default NumberSpecify the minimum time in minutes to wait before attempting to repair a node with this specific NodeMonitoringCondition and NodeUnhealthyReason.default StringSpecify an unhealthy condition reported by the node monitoring agent that this override would apply to.default StringSpecify a reason reported by the node monitoring agent that this override would apply to.default StringSpecify the repair action to take for nodes when all of the specified conditions are met.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMinRepairWaitTimeMins
Specify the minimum time in minutes to wait before attempting to repair a node with this specific NodeMonitoringCondition and NodeUnhealthyReason.- See Also:
-
getNodeMonitoringCondition
Specify an unhealthy condition reported by the node monitoring agent that this override would apply to.- See Also:
-
getNodeUnhealthyReason
Specify a reason reported by the node monitoring agent that this override would apply to.- See Also:
-
getRepairAction
Specify the repair action to take for nodes when all of the specified conditions are met.- See Also:
-
builder
-