Class CfnClusterPropsMixin.RemotePodNetworkProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.eks.CfnClusterPropsMixin.RemotePodNetworkProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClusterPropsMixin.RemotePodNetworkProperty>
- Enclosing interface:
CfnClusterPropsMixin.RemotePodNetworkProperty
@Stability(Stable)
public static final class CfnClusterPropsMixin.RemotePodNetworkProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClusterPropsMixin.RemotePodNetworkProperty>
A builder for
CfnClusterPropsMixin.RemotePodNetworkProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnClusterPropsMixin.RemotePodNetworkProperty.getCidrs()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cidrs
@Stability(Stable) public CfnClusterPropsMixin.RemotePodNetworkProperty.Builder cidrs(List<String> cidrs) Sets the value ofCfnClusterPropsMixin.RemotePodNetworkProperty.getCidrs()- Parameters:
cidrs- A network CIDR that can contain pods that run Kubernetes webhooks on hybrid nodes. These CIDR blocks are determined by configuring your Container Network Interface (CNI) plugin. We recommend the Calico CNI or Cilium CNI. Note that the Amazon VPC CNI plugin for Kubernetes isn't available for on-premises and edge locations.Enter one or more IPv4 CIDR blocks in decimal dotted-quad notation (for example,
10.2.0.0/16).It must satisfy the following requirements:
- Each block must be within an
IPv4RFC-1918 network range. Minimum allowed size is /32, maximum allowed size is /8. Publicly-routable addresses aren't supported. - Each block cannot overlap with the range of the VPC CIDR blocks for your EKS resources, or the block of the Kubernetes service IP range.
- Each block must be within an
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnClusterPropsMixin.RemotePodNetworkProperty>- Returns:
- a new instance of
CfnClusterPropsMixin.RemotePodNetworkProperty - Throws:
NullPointerException- if any required attribute was not provided
-