@Stability(value=Stable)
public static interface CfnCluster.KubernetesNetworkConfigProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// 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.*;
KubernetesNetworkConfigProperty kubernetesNetworkConfigProperty = KubernetesNetworkConfigProperty.builder()
.ipFamily("ipFamily")
.serviceIpv4Cidr("serviceIpv4Cidr")
.serviceIpv6Cidr("serviceIpv6Cidr")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnCluster.KubernetesNetworkConfigProperty.Builder
A builder for
CfnCluster.KubernetesNetworkConfigProperty |
static class |
CfnCluster.KubernetesNetworkConfigProperty.Jsii$Proxy
An implementation for
CfnCluster.KubernetesNetworkConfigProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnCluster.KubernetesNetworkConfigProperty.Builder |
builder() |
default String |
getIpFamily()
`CfnCluster.KubernetesNetworkConfigProperty.IpFamily`.
|
default String |
getServiceIpv4Cidr()
The CIDR block to assign Kubernetes service IP addresses from.
|
default String |
getServiceIpv6Cidr()
`CfnCluster.KubernetesNetworkConfigProperty.ServiceIpv6Cidr`.
|
@Stability(value=Stable) @Nullable default String getIpFamily()
@Stability(value=Stable) @Nullable default String getServiceIpv4Cidr()
If you don't specify a block, Kubernetes assigns addresses from either the 10.100.0.0/16 or 172.20.0.0/16 CIDR blocks. We recommend that you specify a block that does not overlap with resources in other networks that are peered or connected to your VPC. The block must meet the following requirements:
You can only specify a custom CIDR block when you create a cluster and can't change this value once the cluster is created.
@Stability(value=Stable) @Nullable default String getServiceIpv6Cidr()
@Stability(value=Stable) static CfnCluster.KubernetesNetworkConfigProperty.Builder builder()
Copyright © 2022. All rights reserved.