Class CfnCluster.KubernetesNetworkConfigProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnCluster.KubernetesNetworkConfigProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CfnCluster.KubernetesNetworkConfigProperty
CfnCluster.KubernetesNetworkConfigProperty
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.eks.legacy.CfnCluster.KubernetesNetworkConfigProperty
CfnCluster.KubernetesNetworkConfigProperty.Builder, CfnCluster.KubernetesNetworkConfigProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnCluster.KubernetesNetworkConfigProperty.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final String
Specify which IP family is used to assign Kubernetes pod and service IP addresses.final String
Don't specify a value if you selectipv6
for ipFamily .final String
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 specifiedipv6
for ipFamily when you created the cluster.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnCluster.KubernetesNetworkConfigProperty.Builder
.
-
-
Method Details
-
getIpFamily
Description copied from interface:CfnCluster.KubernetesNetworkConfigProperty
Specify which IP family is used to assign Kubernetes pod and service IP addresses.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 specifyipv6
, the VPC and subnets that you specify for cluster creation must have bothIPv4
andIPv6
CIDR blocks assigned to them. You can't specifyipv6
for clusters in China Regions.You can only specify
ipv6
for1.21
and later clusters that use version1.10.1
or later of the Amazon VPC CNI add-on. If you specifyipv6
, 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 servicesIPv6
addresses from the unique local address range(fc00::/7)
. You can't specify a customIPv6
CIDR block. Pod addresses are assigned from the subnet'sIPv6
CIDR.- Specified by:
getIpFamily
in interfaceCfnCluster.KubernetesNetworkConfigProperty
-
getServiceIpv4Cidr
Description copied from interface:CfnCluster.KubernetesNetworkConfigProperty
Don't specify a value if you selectipv6
for ipFamily .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
or172.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:- Within one of the following private IP address blocks:
10.0.0.0/8
,172.16.0.0/12
, or192.168.0.0/16
. - Doesn't overlap with any CIDR block assigned to the VPC that you selected for VPC.
- Between /24 and /12.
You can only specify a custom CIDR block when you create a cluster and can't change this value once the cluster is created.
- Specified by:
getServiceIpv4Cidr
in interfaceCfnCluster.KubernetesNetworkConfigProperty
- Within one of the following private IP address blocks:
-
getServiceIpv6Cidr
Description copied from interface:CfnCluster.KubernetesNetworkConfigProperty
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 specifiedipv6
for ipFamily when you created the cluster. Kubernetes assigns service addresses from the unique local address range (fc00::/7
) because you can't specify a custom IPv6 CIDR block when you create the cluster.- Specified by:
getServiceIpv6Cidr
in interfaceCfnCluster.KubernetesNetworkConfigProperty
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-