NodeRepairConfigOverridesProperty Struct
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.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_eks as eks } from 'aws-cdk-lib';
const nodeRepairConfigOverridesProperty: eks.CfnNodegroup.NodeRepairConfigOverridesProperty = {
minRepairWaitTimeMins: 123,
nodeMonitoringCondition: 'nodeMonitoringCondition',
nodeUnhealthyReason: 'nodeUnhealthyReason',
repairAction: 'repairAction',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_eks as eks
node_repair_config_overrides_property = eks.CfnNodegroup.NodeRepairConfigOverridesProperty(
min_repair_wait_time_mins=123,
node_monitoring_condition="nodeMonitoringCondition",
node_unhealthy_reason="nodeUnhealthyReason",
repair_action="repairAction"
)
java
// 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();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EKS;
var nodeRepairConfigOverridesProperty = new NodeRepairConfigOverridesProperty {
MinRepairWaitTimeMins = 123,
NodeMonitoringCondition = "nodeMonitoringCondition",
NodeUnhealthyReason = "nodeUnhealthyReason",
RepairAction = "repairAction"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
nodeRepairConfigOverridesProperty := &NodeRepairConfigOverridesProperty{
MinRepairWaitTimeMins: jsii.Number(123),
NodeMonitoringCondition: jsii.String("nodeMonitoringCondition"),
NodeUnhealthyReason: jsii.String("nodeUnhealthyReason"),
RepairAction: jsii.String("repairAction"),
}
Properties
minRepairWaitTimeMinsoptionalnumbermin_repair_wait_time_minsoptionalint | floatminRepairWaitTimeMinsoptionalNumberMinRepairWaitTimeMinsoptionaldoubleMinRepairWaitTimeMinsoptional*float64 #Specify the minimum time in minutes to wait before attempting to repair a node with this specific `nodeMonitoringCondition` and `nodeUnhealthyReason` .
nodeMonitoringConditionoptionalstringnode_monitoring_conditionoptionalstrnodeMonitoringConditionoptionalStringNodeMonitoringConditionoptionalstringNodeMonitoringConditionoptional*string #Specify an unhealthy condition reported by the node monitoring agent that this override would apply to.
nodeUnhealthyReasonoptionalstringnode_unhealthy_reasonoptionalstrnodeUnhealthyReasonoptionalStringNodeUnhealthyReasonoptionalstringNodeUnhealthyReasonoptional*string #Specify a reason reported by the node monitoring agent that this override would apply to.
repairActionoptionalstringrepair_actionoptionalstrrepairActionoptionalStringRepairActionoptionalstringRepairActionoptional*string #Specify the repair action to take for nodes when all of the specified conditions are met.