Class CfnClusterPropsMixin.RemoteNetworkConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClusterPropsMixin.RemoteNetworkConfigProperty>
- Enclosing interface:
CfnClusterPropsMixin.RemoteNetworkConfigProperty
CfnClusterPropsMixin.RemoteNetworkConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.remoteNodeNetworks(List<? extends Object> remoteNodeNetworks) Sets the value ofCfnClusterPropsMixin.RemoteNetworkConfigProperty.getRemoteNodeNetworks()remoteNodeNetworks(IResolvable remoteNodeNetworks) Sets the value ofCfnClusterPropsMixin.RemoteNetworkConfigProperty.getRemoteNodeNetworks()remotePodNetworks(List<? extends Object> remotePodNetworks) Sets the value ofCfnClusterPropsMixin.RemoteNetworkConfigProperty.getRemotePodNetworks()remotePodNetworks(IResolvable remotePodNetworks) Sets the value ofCfnClusterPropsMixin.RemoteNetworkConfigProperty.getRemotePodNetworks()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
remoteNodeNetworks
@Stability(Stable) public CfnClusterPropsMixin.RemoteNetworkConfigProperty.Builder remoteNodeNetworks(IResolvable remoteNodeNetworks) Sets the value ofCfnClusterPropsMixin.RemoteNetworkConfigProperty.getRemoteNodeNetworks()- Parameters:
remoteNodeNetworks- The list of network CIDRs that can contain hybrid nodes. These CIDR blocks define the expected IP address range of the hybrid nodes that join the cluster. These blocks are typically determined by your network administrator.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 have a route to the VPC that uses the VPC CIDR blocks, not public IPs or Elastic IPs. There are many options including AWS Transit Gateway , AWS Site-to-Site VPN , or AWS Direct Connect .
- Each host must allow outbound connection to the EKS cluster control plane on TCP ports
443and10250. - Each host must allow inbound connection from the EKS cluster control plane on TCP port 10250 for logs, exec and port-forward operations.
- Each host must allow TCP and UDP network connectivity to and from other hosts that are running
CoreDNSon UDP port53for service and pod DNS names.
- Each block must be within an
- Returns:
this
-
remoteNodeNetworks
@Stability(Stable) public CfnClusterPropsMixin.RemoteNetworkConfigProperty.Builder remoteNodeNetworks(List<? extends Object> remoteNodeNetworks) Sets the value ofCfnClusterPropsMixin.RemoteNetworkConfigProperty.getRemoteNodeNetworks()- Parameters:
remoteNodeNetworks- The list of network CIDRs that can contain hybrid nodes. These CIDR blocks define the expected IP address range of the hybrid nodes that join the cluster. These blocks are typically determined by your network administrator.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 have a route to the VPC that uses the VPC CIDR blocks, not public IPs or Elastic IPs. There are many options including AWS Transit Gateway , AWS Site-to-Site VPN , or AWS Direct Connect .
- Each host must allow outbound connection to the EKS cluster control plane on TCP ports
443and10250. - Each host must allow inbound connection from the EKS cluster control plane on TCP port 10250 for logs, exec and port-forward operations.
- Each host must allow TCP and UDP network connectivity to and from other hosts that are running
CoreDNSon UDP port53for service and pod DNS names.
- Each block must be within an
- Returns:
this
-
remotePodNetworks
@Stability(Stable) public CfnClusterPropsMixin.RemoteNetworkConfigProperty.Builder remotePodNetworks(IResolvable remotePodNetworks) Sets the value ofCfnClusterPropsMixin.RemoteNetworkConfigProperty.getRemotePodNetworks()- Parameters:
remotePodNetworks- The list of network CIDRs 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
-
remotePodNetworks
@Stability(Stable) public CfnClusterPropsMixin.RemoteNetworkConfigProperty.Builder remotePodNetworks(List<? extends Object> remotePodNetworks) Sets the value ofCfnClusterPropsMixin.RemoteNetworkConfigProperty.getRemotePodNetworks()- Parameters:
remotePodNetworks- The list of network CIDRs 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.RemoteNetworkConfigProperty>- Returns:
- a new instance of
CfnClusterPropsMixin.RemoteNetworkConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-