# GatewayApiProperty

The Gateway API configuration for the load balancing capability of EKS Auto Mode.

- Source: Generated at build time
- Type last changed: v2.276.0 · 10 Nov 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 gatewayApiProperty: eks.CfnCluster.GatewayApiProperty = {
  crds: {
    managed: false,
  },
};
```

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

gateway_api_property = eks.CfnCluster.GatewayApiProperty(
    crds=eks.CfnCluster.GatewayApiCrdsProperty(
        managed=False
    )
)
```

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

GatewayApiProperty gatewayApiProperty = GatewayApiProperty.builder()
        .crds(GatewayApiCrdsProperty.builder()
                .managed(false)
                .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 gatewayApiProperty = new GatewayApiProperty {
    Crds = new GatewayApiCrdsProperty {
        Managed = false
    }
};
```

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"

gatewayApiProperty := &GatewayApiProperty{
	Crds: &GatewayApiCrdsProperty{
		Managed: jsii.Boolean(false),
	},
}
```

## Properties

- `crds`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnCluster.GatewayApiCrdsProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_eks.CfnCluster.GatewayApiCrdsProperty.html) (required) — The Gateway API Custom Resource Definition (CRD) configuration for the cluster.
