Skip to content
v2.277.0

GatewayApiProperty Struct ​

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

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 gatewayApiProperty: eks_v2.CfnCluster.GatewayApiProperty = {
  crds: {
    managed: false,
  },
};
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_v2 as eks_v2

gateway_api_property = eks_v2.CfnCluster.GatewayApiProperty(
    crds=eks_v2.CfnCluster.GatewayApiCrdsProperty(
        managed=False
    )
)
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_v2.*;

GatewayApiProperty gatewayApiProperty = GatewayApiProperty.builder()
        .crds(GatewayApiCrdsProperty.builder()
                .managed(false)
                .build())
        .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.EKSv2;

var gatewayApiProperty = new GatewayApiProperty {
    Crds = new GatewayApiCrdsProperty {
        Managed = false
    }
};
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 ​

The Gateway API Custom Resource Definition (CRD) configuration for the cluster.