# KubeApiServerConfigProperty

The configuration for the Kubernetes API server on an Amazon EKS cluster.

- 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 as eks } from 'aws-cdk-lib';
const kubeApiServerConfigProperty: eks.CfnCluster.KubeApiServerConfigProperty = {
  eventTtl: 'eventTtl',
  serviceNodePortRange: {
    maxPort: 123,
    minPort: 123,
  },
};
```

## Properties

- `eventTtl`: string — The duration that Kubernetes events are retained (e.g., 30m, 1h).

- `serviceNodePortRange`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnCluster.ServiceNodePortRangeProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_eks.CfnCluster.ServiceNodePortRangeProperty.html) — The port range for Kubernetes NodePort services.
