# KubeControllerManagerConfigProperty

The configuration for the Kubernetes controller manager on an Amazon EKS cluster.

- Source: Generated at build time
- Type last changed: v2.268.0 · 2 Sep 2026

## Example

TypeScript:

```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 kubeControllerManagerConfigProperty: eks.CfnCluster.KubeControllerManagerConfigProperty = {
  horizontalPodAutoscalerControllerConfig: {
    horizontalPodAutoscalerSyncPeriod: 'horizontalPodAutoscalerSyncPeriod',
  },
  podGcControllerConfig: {
    terminatedPodGcThreshold: 123,
  },
};
```

Python:

```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

kube_controller_manager_config_property = eks.CfnCluster.KubeControllerManagerConfigProperty(
    horizontal_pod_autoscaler_controller_config=eks.CfnCluster.HorizontalPodAutoscalerControllerConfigProperty(
        horizontal_pod_autoscaler_sync_period="horizontalPodAutoscalerSyncPeriod"
    ),
    pod_gc_controller_config=eks.CfnCluster.PodGcControllerConfigProperty(
        terminated_pod_gc_threshold=123
    )
)
```

Java:

```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.*;

KubeControllerManagerConfigProperty kubeControllerManagerConfigProperty = KubeControllerManagerConfigProperty.builder()
        .horizontalPodAutoscalerControllerConfig(HorizontalPodAutoscalerControllerConfigProperty.builder()
                .horizontalPodAutoscalerSyncPeriod("horizontalPodAutoscalerSyncPeriod")
                .build())
        .podGcControllerConfig(PodGcControllerConfigProperty.builder()
                .terminatedPodGcThreshold(123)
                .build())
        .build();
```

C# / .NET:

```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 kubeControllerManagerConfigProperty = new KubeControllerManagerConfigProperty {
    HorizontalPodAutoscalerControllerConfig = new HorizontalPodAutoscalerControllerConfigProperty {
        HorizontalPodAutoscalerSyncPeriod = "horizontalPodAutoscalerSyncPeriod"
    },
    PodGcControllerConfig = new PodGcControllerConfigProperty {
        TerminatedPodGcThreshold = 123
    }
};
```

Golang:

```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"

kubeControllerManagerConfigProperty := &KubeControllerManagerConfigProperty{
	HorizontalPodAutoscalerControllerConfig: &HorizontalPodAutoscalerControllerConfigProperty{
		HorizontalPodAutoscalerSyncPeriod: jsii.String("horizontalPodAutoscalerSyncPeriod"),
	},
	PodGcControllerConfig: &PodGcControllerConfigProperty{
		TerminatedPodGcThreshold: jsii.Number(123),
	},
}
```

## Properties

- `horizontalPodAutoscalerControllerConfig`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnCluster.HorizontalPodAutoscalerControllerConfigProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_eks.CfnCluster.HorizontalPodAutoscalerControllerConfigProperty.html) — The horizontal pod autoscaler controller configuration.

- `podGcControllerConfig`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnCluster.PodGcControllerConfigProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_eks.CfnCluster.PodGcControllerConfigProperty.html) — The pod garbage collector controller configuration.
