# NodeRepairConfigProperty

The node auto repair configuration for the node group.

- Source: Generated code
- Type last changed: v2.268.0 · 2 Sep 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_eks_v2 as eks_v2 } from 'aws-cdk-lib';
const nodeRepairConfigProperty: eks_v2.CfnNodegroup.NodeRepairConfigProperty = {
  enabled: false,
  maxParallelNodesRepairedCount: 123,
  maxParallelNodesRepairedPercentage: 123,
  maxUnhealthyNodeThresholdCount: 123,
  maxUnhealthyNodeThresholdPercentage: 123,
  nodeRepairConfigOverrides: [{
    minRepairWaitTimeMins: 123,
    nodeMonitoringCondition: 'nodeMonitoringCondition',
    nodeUnhealthyReason: 'nodeUnhealthyReason',
    repairAction: 'repairAction',
  }],
};
```

## Properties

- `enabled`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Specifies whether to enable node auto repair for the node group.

  Node auto repair is disabled by default.

- `maxParallelNodesRepairedCount`: number — 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.

- `maxParallelNodesRepairedPercentage`: number — 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.

- `maxUnhealthyNodeThresholdCount`: number — 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.

- `maxUnhealthyNodeThresholdPercentage`: number — 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.

- `nodeRepairConfigOverrides`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnNodegroup.NodeRepairConfigOverridesProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_eks_v2.CfnNodegroup.NodeRepairConfigOverridesProperty.html)[] — 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.
