@Stability(value=Stable) @Internal public static final class CfnCluster.KubernetesNetworkConfigProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnCluster.KubernetesNetworkConfigProperty
CfnCluster.KubernetesNetworkConfigProperty
software.amazon.jsii.JsiiObject.InitializationMode
CfnCluster.KubernetesNetworkConfigProperty.Builder, CfnCluster.KubernetesNetworkConfigProperty.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(CfnCluster.KubernetesNetworkConfigProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnCluster.ClusterLoggingProperty.Builder . |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getIpFamily()
Specify which IP family is used to assign Kubernetes pod and service IP addresses.
|
String |
getServiceIpv4Cidr()
Don't specify a value if you select `ipv6` for *ipFamily* .
|
String |
getServiceIpv6Cidr()
The CIDR block that Kubernetes pod and service IP addresses are assigned from if you created a 1.21 or later cluster with version 1.10.1 or later of the Amazon VPC CNI add-on and specified `ipv6` for *ipFamily* when you created the cluster.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.protected Jsii$Proxy(CfnCluster.KubernetesNetworkConfigProperty.Builder builder)
CfnCluster.ClusterLoggingProperty.Builder
.public final String getIpFamily()
CfnCluster.KubernetesNetworkConfigProperty
If you don't specify a value, ipv4
is used by default. You can only specify an IP family when you create a cluster and can't change this value once the cluster is created. If you specify ipv6
, the VPC and subnets that you specify for cluster creation must have both IPv4
and IPv6
CIDR blocks assigned to them. You can't specify ipv6
for clusters in China Regions.
You can only specify ipv6
for 1.21
and later clusters that use version 1.10.1
or later of the Amazon VPC CNI add-on. If you specify ipv6
, then ensure that your VPC meets the requirements listed in the considerations listed in Assigning IPv6 addresses to pods and services in the Amazon EKS User Guide. Kubernetes assigns services IPv6
addresses from the unique local address range (fc00::/7)
. You can't specify a custom IPv6
CIDR block. Pod addresses are assigned from the subnet's IPv6
CIDR.
getIpFamily
in interface CfnCluster.KubernetesNetworkConfigProperty
public final String getServiceIpv4Cidr()
CfnCluster.KubernetesNetworkConfigProperty
The CIDR block to assign Kubernetes service IP addresses from. 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:
10.0.0.0/8
, 172.16.0.0/12
, or 192.168.0.0/16
.
You can only specify a custom CIDR block when you create a cluster and can't change this value once the cluster is created.
getServiceIpv4Cidr
in interface CfnCluster.KubernetesNetworkConfigProperty
public final String getServiceIpv6Cidr()
CfnCluster.KubernetesNetworkConfigProperty
getServiceIpv6Cidr
in interface CfnCluster.KubernetesNetworkConfigProperty
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson
in interface software.amazon.jsii.JsiiSerializable
Copyright © 2023. All rights reserved.