Class: AWSCDK::EKS::CfnCluster::RemotePodNetworkProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EKS::CfnCluster::RemotePodNetworkProperty
- Defined in:
- eks/cfn_cluster.rb
Overview
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.
Instance Attribute Summary collapse
-
#cidrs ⇒ Array<String>
readonly
A network CIDR that can contain pods that run Kubernetes webhooks on hybrid nodes.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(cidrs:) ⇒ RemotePodNetworkProperty
constructor
A new instance of RemotePodNetworkProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(cidrs:) ⇒ RemotePodNetworkProperty
Returns a new instance of RemotePodNetworkProperty.
1655 1656 1657 1658 |
# File 'eks/cfn_cluster.rb', line 1655 def initialize(cidrs:) @cidrs = cidrs Jsii::Type.check_type(@cidrs, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "cidrs") end |
Instance Attribute Details
#cidrs ⇒ Array<String> (readonly)
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.
1673 1674 1675 |
# File 'eks/cfn_cluster.rb', line 1673 def cidrs @cidrs end |
Class Method Details
.jsii_properties ⇒ Object
1675 1676 1677 1678 1679 |
# File 'eks/cfn_cluster.rb', line 1675 def self.jsii_properties { :cidrs => "cidrs", } end |
Instance Method Details
#to_jsii ⇒ Object
1681 1682 1683 1684 1685 1686 1687 |
# File 'eks/cfn_cluster.rb', line 1681 def to_jsii result = {} result.merge!({ "cidrs" => @cidrs, }) result.compact end |