aws-cdk.aws-eks-v2-alpha 2.186.0a0__tar.gz → 2.188.0a0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of aws-cdk.aws-eks-v2-alpha might be problematic. Click here for more details.

Files changed (18) hide show
  1. {aws_cdk_aws_eks_v2_alpha-2.186.0a0/src/aws_cdk.aws_eks_v2_alpha.egg-info → aws_cdk_aws_eks_v2_alpha-2.188.0a0}/PKG-INFO +17 -3
  2. {aws_cdk_aws_eks_v2_alpha-2.186.0a0 → aws_cdk_aws_eks_v2_alpha-2.188.0a0}/README.md +14 -0
  3. {aws_cdk_aws_eks_v2_alpha-2.186.0a0 → aws_cdk_aws_eks_v2_alpha-2.188.0a0}/pyproject.toml +1 -1
  4. {aws_cdk_aws_eks_v2_alpha-2.186.0a0 → aws_cdk_aws_eks_v2_alpha-2.188.0a0}/setup.py +4 -4
  5. {aws_cdk_aws_eks_v2_alpha-2.186.0a0 → aws_cdk_aws_eks_v2_alpha-2.188.0a0}/src/aws_cdk/aws_eks_v2_alpha/__init__.py +76 -0
  6. {aws_cdk_aws_eks_v2_alpha-2.186.0a0 → aws_cdk_aws_eks_v2_alpha-2.188.0a0}/src/aws_cdk/aws_eks_v2_alpha/_jsii/__init__.py +2 -2
  7. aws_cdk_aws_eks_v2_alpha-2.188.0a0/src/aws_cdk/aws_eks_v2_alpha/_jsii/aws-eks-v2-alpha@2.188.0-alpha.0.jsii.tgz +0 -0
  8. {aws_cdk_aws_eks_v2_alpha-2.186.0a0 → aws_cdk_aws_eks_v2_alpha-2.188.0a0/src/aws_cdk.aws_eks_v2_alpha.egg-info}/PKG-INFO +17 -3
  9. {aws_cdk_aws_eks_v2_alpha-2.186.0a0 → aws_cdk_aws_eks_v2_alpha-2.188.0a0}/src/aws_cdk.aws_eks_v2_alpha.egg-info/SOURCES.txt +1 -1
  10. {aws_cdk_aws_eks_v2_alpha-2.186.0a0 → aws_cdk_aws_eks_v2_alpha-2.188.0a0}/src/aws_cdk.aws_eks_v2_alpha.egg-info/requires.txt +2 -2
  11. aws_cdk_aws_eks_v2_alpha-2.186.0a0/src/aws_cdk/aws_eks_v2_alpha/_jsii/aws-eks-v2-alpha@2.186.0-alpha.0.jsii.tgz +0 -0
  12. {aws_cdk_aws_eks_v2_alpha-2.186.0a0 → aws_cdk_aws_eks_v2_alpha-2.188.0a0}/LICENSE +0 -0
  13. {aws_cdk_aws_eks_v2_alpha-2.186.0a0 → aws_cdk_aws_eks_v2_alpha-2.188.0a0}/MANIFEST.in +0 -0
  14. {aws_cdk_aws_eks_v2_alpha-2.186.0a0 → aws_cdk_aws_eks_v2_alpha-2.188.0a0}/NOTICE +0 -0
  15. {aws_cdk_aws_eks_v2_alpha-2.186.0a0 → aws_cdk_aws_eks_v2_alpha-2.188.0a0}/setup.cfg +0 -0
  16. {aws_cdk_aws_eks_v2_alpha-2.186.0a0 → aws_cdk_aws_eks_v2_alpha-2.188.0a0}/src/aws_cdk/aws_eks_v2_alpha/py.typed +0 -0
  17. {aws_cdk_aws_eks_v2_alpha-2.186.0a0 → aws_cdk_aws_eks_v2_alpha-2.188.0a0}/src/aws_cdk.aws_eks_v2_alpha.egg-info/dependency_links.txt +0 -0
  18. {aws_cdk_aws_eks_v2_alpha-2.186.0a0 → aws_cdk_aws_eks_v2_alpha-2.188.0a0}/src/aws_cdk.aws_eks_v2_alpha.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aws-cdk.aws-eks-v2-alpha
3
- Version: 2.186.0a0
3
+ Version: 2.188.0a0
4
4
  Summary: The CDK Construct Library for AWS::EKS
5
5
  Home-page: https://github.com/aws/aws-cdk
6
6
  Author: Amazon Web Services
@@ -22,9 +22,9 @@ Requires-Python: ~=3.9
22
22
  Description-Content-Type: text/markdown
23
23
  License-File: LICENSE
24
24
  License-File: NOTICE
25
- Requires-Dist: aws-cdk-lib<3.0.0,>=2.186.0
25
+ Requires-Dist: aws-cdk-lib<3.0.0,>=2.188.0
26
26
  Requires-Dist: constructs<11.0.0,>=10.0.0
27
- Requires-Dist: jsii<2.0.0,>=1.109.0
27
+ Requires-Dist: jsii<2.0.0,>=1.110.0
28
28
  Requires-Dist: publication>=0.0.3
29
29
  Requires-Dist: typeguard<4.3.0,>=2.13.3
30
30
 
@@ -1193,3 +1193,17 @@ cluster = eks.Cluster(self, "Cluster",
1193
1193
  ]
1194
1194
  )
1195
1195
  ```
1196
+
1197
+ ## NodeGroup Repair Config
1198
+
1199
+ You can enable Managed Node Group [auto-repair config](https://docs.aws.amazon.com/eks/latest/userguide/node-health.html#node-auto-repair) using `enableNodeAutoRepair`
1200
+ property. For example:
1201
+
1202
+ ```python
1203
+ # cluster: eks.Cluster
1204
+
1205
+
1206
+ cluster.add_nodegroup_capacity("NodeGroup",
1207
+ enable_node_auto_repair=True
1208
+ )
1209
+ ```
@@ -1163,3 +1163,17 @@ cluster = eks.Cluster(self, "Cluster",
1163
1163
  ]
1164
1164
  )
1165
1165
  ```
1166
+
1167
+ ## NodeGroup Repair Config
1168
+
1169
+ You can enable Managed Node Group [auto-repair config](https://docs.aws.amazon.com/eks/latest/userguide/node-health.html#node-auto-repair) using `enableNodeAutoRepair`
1170
+ property. For example:
1171
+
1172
+ ```python
1173
+ # cluster: eks.Cluster
1174
+
1175
+
1176
+ cluster.add_nodegroup_capacity("NodeGroup",
1177
+ enable_node_auto_repair=True
1178
+ )
1179
+ ```
@@ -1,5 +1,5 @@
1
1
  [build-system]
2
- requires = ["setuptools~=70.0.0", "wheel~=0.42"]
2
+ requires = ["setuptools~=75.3.2", "wheel~=0.42"]
3
3
  build-backend = "setuptools.build_meta"
4
4
 
5
5
  [tool.pyright]
@@ -5,7 +5,7 @@ kwargs = json.loads(
5
5
  """
6
6
  {
7
7
  "name": "aws-cdk.aws-eks-v2-alpha",
8
- "version": "2.186.0.a0",
8
+ "version": "2.188.0.a0",
9
9
  "description": "The CDK Construct Library for AWS::EKS",
10
10
  "license": "Apache-2.0",
11
11
  "url": "https://github.com/aws/aws-cdk",
@@ -26,7 +26,7 @@ kwargs = json.loads(
26
26
  ],
27
27
  "package_data": {
28
28
  "aws_cdk.aws_eks_v2_alpha._jsii": [
29
- "aws-eks-v2-alpha@2.186.0-alpha.0.jsii.tgz"
29
+ "aws-eks-v2-alpha@2.188.0-alpha.0.jsii.tgz"
30
30
  ],
31
31
  "aws_cdk.aws_eks_v2_alpha": [
32
32
  "py.typed"
@@ -34,9 +34,9 @@ kwargs = json.loads(
34
34
  },
35
35
  "python_requires": "~=3.9",
36
36
  "install_requires": [
37
- "aws-cdk-lib>=2.186.0, <3.0.0",
37
+ "aws-cdk-lib>=2.188.0, <3.0.0",
38
38
  "constructs>=10.0.0, <11.0.0",
39
- "jsii>=1.109.0, <2.0.0",
39
+ "jsii>=1.110.0, <2.0.0",
40
40
  "publication>=0.0.3",
41
41
  "typeguard>=2.13.3,<4.3.0"
42
42
  ],
@@ -1164,6 +1164,20 @@ cluster = eks.Cluster(self, "Cluster",
1164
1164
  ]
1165
1165
  )
1166
1166
  ```
1167
+
1168
+ ## NodeGroup Repair Config
1169
+
1170
+ You can enable Managed Node Group [auto-repair config](https://docs.aws.amazon.com/eks/latest/userguide/node-health.html#node-auto-repair) using `enableNodeAutoRepair`
1171
+ property. For example:
1172
+
1173
+ ```python
1174
+ # cluster: eks.Cluster
1175
+
1176
+
1177
+ cluster.add_nodegroup_capacity("NodeGroup",
1178
+ enable_node_auto_repair=True
1179
+ )
1180
+ ```
1167
1181
  '''
1168
1182
  from pkgutil import extend_path
1169
1183
  __path__ = extend_path(__path__, __name__)
@@ -9770,6 +9784,7 @@ class Nodegroup(
9770
9784
  capacity_type=eks_v2_alpha.CapacityType.SPOT,
9771
9785
  desired_size=123,
9772
9786
  disk_size=123,
9787
+ enable_node_auto_repair=False,
9773
9788
  force_update=False,
9774
9789
  instance_type=instance_type,
9775
9790
  instance_types=[instance_type],
@@ -9824,6 +9839,7 @@ class Nodegroup(
9824
9839
  capacity_type: typing.Optional[CapacityType] = None,
9825
9840
  desired_size: typing.Optional[jsii.Number] = None,
9826
9841
  disk_size: typing.Optional[jsii.Number] = None,
9842
+ enable_node_auto_repair: typing.Optional[builtins.bool] = None,
9827
9843
  force_update: typing.Optional[builtins.bool] = None,
9828
9844
  instance_type: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.InstanceType] = None,
9829
9845
  instance_types: typing.Optional[typing.Sequence[_aws_cdk_aws_ec2_ceddda9d.InstanceType]] = None,
@@ -9849,6 +9865,7 @@ class Nodegroup(
9849
9865
  :param capacity_type: (experimental) The capacity type of the nodegroup. Default: - ON_DEMAND
9850
9866
  :param desired_size: (experimental) The current number of worker nodes that the managed node group should maintain. If not specified, the nodewgroup will initially create ``minSize`` instances. Default: 2
9851
9867
  :param disk_size: (experimental) The root device disk size (in GiB) for your node group instances. Default: 20
9868
+ :param enable_node_auto_repair: (experimental) Specifies whether to enable node auto repair for the node group. Node auto repair is disabled by default. Default: - disabled
9852
9869
  :param force_update: (experimental) Force the update if the existing node group's pods are unable to be drained due to a pod disruption budget issue. If an update fails because pods could not be drained, you can force the update after it fails to terminate the old node whether or not any pods are running on the node. Default: true
9853
9870
  :param instance_type: (deprecated) The instance type to use for your node group. Currently, you can specify a single instance type for a node group. The default value for this parameter is ``t3.medium``. If you choose a GPU instance type, be sure to specify the ``AL2_x86_64_GPU``, ``BOTTLEROCKET_ARM_64_NVIDIA``, or ``BOTTLEROCKET_x86_64_NVIDIA`` with the amiType parameter. Default: t3.medium
9854
9871
  :param instance_types: (experimental) The instance types to use for your node group. Default: t3.medium will be used according to the cloudformation document.
@@ -9878,6 +9895,7 @@ class Nodegroup(
9878
9895
  capacity_type=capacity_type,
9879
9896
  desired_size=desired_size,
9880
9897
  disk_size=disk_size,
9898
+ enable_node_auto_repair=enable_node_auto_repair,
9881
9899
  force_update=force_update,
9882
9900
  instance_type=instance_type,
9883
9901
  instance_types=instance_types,
@@ -10007,6 +10025,16 @@ class NodegroupAmiType(enum.Enum):
10007
10025
  BOTTLEROCKET_X86_64_NVIDIA = "BOTTLEROCKET_X86_64_NVIDIA"
10008
10026
  '''(experimental) Bottlerocket with Nvidia-GPU support (x86-64).
10009
10027
 
10028
+ :stability: experimental
10029
+ '''
10030
+ BOTTLEROCKET_ARM_64_FIPS = "BOTTLEROCKET_ARM_64_FIPS"
10031
+ '''(experimental) Bottlerocket Linux (ARM-64) with FIPS enabled.
10032
+
10033
+ :stability: experimental
10034
+ '''
10035
+ BOTTLEROCKET_X86_64_FIPS = "BOTTLEROCKET_X86_64_FIPS"
10036
+ '''(experimental) Bottlerocket (x86-64) with FIPS enabled.
10037
+
10010
10038
  :stability: experimental
10011
10039
  '''
10012
10040
  WINDOWS_CORE_2019_X86_64 = "WINDOWS_CORE_2019_X86_64"
@@ -10059,6 +10087,7 @@ class NodegroupAmiType(enum.Enum):
10059
10087
  "capacity_type": "capacityType",
10060
10088
  "desired_size": "desiredSize",
10061
10089
  "disk_size": "diskSize",
10090
+ "enable_node_auto_repair": "enableNodeAutoRepair",
10062
10091
  "force_update": "forceUpdate",
10063
10092
  "instance_type": "instanceType",
10064
10093
  "instance_types": "instanceTypes",
@@ -10085,6 +10114,7 @@ class NodegroupOptions:
10085
10114
  capacity_type: typing.Optional[CapacityType] = None,
10086
10115
  desired_size: typing.Optional[jsii.Number] = None,
10087
10116
  disk_size: typing.Optional[jsii.Number] = None,
10117
+ enable_node_auto_repair: typing.Optional[builtins.bool] = None,
10088
10118
  force_update: typing.Optional[builtins.bool] = None,
10089
10119
  instance_type: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.InstanceType] = None,
10090
10120
  instance_types: typing.Optional[typing.Sequence[_aws_cdk_aws_ec2_ceddda9d.InstanceType]] = None,
@@ -10108,6 +10138,7 @@ class NodegroupOptions:
10108
10138
  :param capacity_type: (experimental) The capacity type of the nodegroup. Default: - ON_DEMAND
10109
10139
  :param desired_size: (experimental) The current number of worker nodes that the managed node group should maintain. If not specified, the nodewgroup will initially create ``minSize`` instances. Default: 2
10110
10140
  :param disk_size: (experimental) The root device disk size (in GiB) for your node group instances. Default: 20
10141
+ :param enable_node_auto_repair: (experimental) Specifies whether to enable node auto repair for the node group. Node auto repair is disabled by default. Default: - disabled
10111
10142
  :param force_update: (experimental) Force the update if the existing node group's pods are unable to be drained due to a pod disruption budget issue. If an update fails because pods could not be drained, you can force the update after it fails to terminate the old node whether or not any pods are running on the node. Default: true
10112
10143
  :param instance_type: (deprecated) The instance type to use for your node group. Currently, you can specify a single instance type for a node group. The default value for this parameter is ``t3.medium``. If you choose a GPU instance type, be sure to specify the ``AL2_x86_64_GPU``, ``BOTTLEROCKET_ARM_64_NVIDIA``, or ``BOTTLEROCKET_x86_64_NVIDIA`` with the amiType parameter. Default: t3.medium
10113
10144
  :param instance_types: (experimental) The instance types to use for your node group. Default: t3.medium will be used according to the cloudformation document.
@@ -10154,6 +10185,7 @@ class NodegroupOptions:
10154
10185
  check_type(argname="argument capacity_type", value=capacity_type, expected_type=type_hints["capacity_type"])
10155
10186
  check_type(argname="argument desired_size", value=desired_size, expected_type=type_hints["desired_size"])
10156
10187
  check_type(argname="argument disk_size", value=disk_size, expected_type=type_hints["disk_size"])
10188
+ check_type(argname="argument enable_node_auto_repair", value=enable_node_auto_repair, expected_type=type_hints["enable_node_auto_repair"])
10157
10189
  check_type(argname="argument force_update", value=force_update, expected_type=type_hints["force_update"])
10158
10190
  check_type(argname="argument instance_type", value=instance_type, expected_type=type_hints["instance_type"])
10159
10191
  check_type(argname="argument instance_types", value=instance_types, expected_type=type_hints["instance_types"])
@@ -10179,6 +10211,8 @@ class NodegroupOptions:
10179
10211
  self._values["desired_size"] = desired_size
10180
10212
  if disk_size is not None:
10181
10213
  self._values["disk_size"] = disk_size
10214
+ if enable_node_auto_repair is not None:
10215
+ self._values["enable_node_auto_repair"] = enable_node_auto_repair
10182
10216
  if force_update is not None:
10183
10217
  self._values["force_update"] = force_update
10184
10218
  if instance_type is not None:
@@ -10262,6 +10296,20 @@ class NodegroupOptions:
10262
10296
  result = self._values.get("disk_size")
10263
10297
  return typing.cast(typing.Optional[jsii.Number], result)
10264
10298
 
10299
+ @builtins.property
10300
+ def enable_node_auto_repair(self) -> typing.Optional[builtins.bool]:
10301
+ '''(experimental) Specifies whether to enable node auto repair for the node group.
10302
+
10303
+ Node auto repair is disabled by default.
10304
+
10305
+ :default: - disabled
10306
+
10307
+ :see: https://docs.aws.amazon.com/eks/latest/userguide/node-health.html#node-auto-repair
10308
+ :stability: experimental
10309
+ '''
10310
+ result = self._values.get("enable_node_auto_repair")
10311
+ return typing.cast(typing.Optional[builtins.bool], result)
10312
+
10265
10313
  @builtins.property
10266
10314
  def force_update(self) -> typing.Optional[builtins.bool]:
10267
10315
  '''(experimental) Force the update if the existing node group's pods are unable to be drained due to a pod disruption budget issue.
@@ -10504,6 +10552,7 @@ class NodegroupOptions:
10504
10552
  "capacity_type": "capacityType",
10505
10553
  "desired_size": "desiredSize",
10506
10554
  "disk_size": "diskSize",
10555
+ "enable_node_auto_repair": "enableNodeAutoRepair",
10507
10556
  "force_update": "forceUpdate",
10508
10557
  "instance_type": "instanceType",
10509
10558
  "instance_types": "instanceTypes",
@@ -10531,6 +10580,7 @@ class NodegroupProps(NodegroupOptions):
10531
10580
  capacity_type: typing.Optional[CapacityType] = None,
10532
10581
  desired_size: typing.Optional[jsii.Number] = None,
10533
10582
  disk_size: typing.Optional[jsii.Number] = None,
10583
+ enable_node_auto_repair: typing.Optional[builtins.bool] = None,
10534
10584
  force_update: typing.Optional[builtins.bool] = None,
10535
10585
  instance_type: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.InstanceType] = None,
10536
10586
  instance_types: typing.Optional[typing.Sequence[_aws_cdk_aws_ec2_ceddda9d.InstanceType]] = None,
@@ -10555,6 +10605,7 @@ class NodegroupProps(NodegroupOptions):
10555
10605
  :param capacity_type: (experimental) The capacity type of the nodegroup. Default: - ON_DEMAND
10556
10606
  :param desired_size: (experimental) The current number of worker nodes that the managed node group should maintain. If not specified, the nodewgroup will initially create ``minSize`` instances. Default: 2
10557
10607
  :param disk_size: (experimental) The root device disk size (in GiB) for your node group instances. Default: 20
10608
+ :param enable_node_auto_repair: (experimental) Specifies whether to enable node auto repair for the node group. Node auto repair is disabled by default. Default: - disabled
10558
10609
  :param force_update: (experimental) Force the update if the existing node group's pods are unable to be drained due to a pod disruption budget issue. If an update fails because pods could not be drained, you can force the update after it fails to terminate the old node whether or not any pods are running on the node. Default: true
10559
10610
  :param instance_type: (deprecated) The instance type to use for your node group. Currently, you can specify a single instance type for a node group. The default value for this parameter is ``t3.medium``. If you choose a GPU instance type, be sure to specify the ``AL2_x86_64_GPU``, ``BOTTLEROCKET_ARM_64_NVIDIA``, or ``BOTTLEROCKET_x86_64_NVIDIA`` with the amiType parameter. Default: t3.medium
10560
10611
  :param instance_types: (experimental) The instance types to use for your node group. Default: t3.medium will be used according to the cloudformation document.
@@ -10599,6 +10650,7 @@ class NodegroupProps(NodegroupOptions):
10599
10650
  capacity_type=eks_v2_alpha.CapacityType.SPOT,
10600
10651
  desired_size=123,
10601
10652
  disk_size=123,
10653
+ enable_node_auto_repair=False,
10602
10654
  force_update=False,
10603
10655
  instance_type=instance_type,
10604
10656
  instance_types=[instance_type],
@@ -10654,6 +10706,7 @@ class NodegroupProps(NodegroupOptions):
10654
10706
  check_type(argname="argument capacity_type", value=capacity_type, expected_type=type_hints["capacity_type"])
10655
10707
  check_type(argname="argument desired_size", value=desired_size, expected_type=type_hints["desired_size"])
10656
10708
  check_type(argname="argument disk_size", value=disk_size, expected_type=type_hints["disk_size"])
10709
+ check_type(argname="argument enable_node_auto_repair", value=enable_node_auto_repair, expected_type=type_hints["enable_node_auto_repair"])
10657
10710
  check_type(argname="argument force_update", value=force_update, expected_type=type_hints["force_update"])
10658
10711
  check_type(argname="argument instance_type", value=instance_type, expected_type=type_hints["instance_type"])
10659
10712
  check_type(argname="argument instance_types", value=instance_types, expected_type=type_hints["instance_types"])
@@ -10682,6 +10735,8 @@ class NodegroupProps(NodegroupOptions):
10682
10735
  self._values["desired_size"] = desired_size
10683
10736
  if disk_size is not None:
10684
10737
  self._values["disk_size"] = disk_size
10738
+ if enable_node_auto_repair is not None:
10739
+ self._values["enable_node_auto_repair"] = enable_node_auto_repair
10685
10740
  if force_update is not None:
10686
10741
  self._values["force_update"] = force_update
10687
10742
  if instance_type is not None:
@@ -10765,6 +10820,20 @@ class NodegroupProps(NodegroupOptions):
10765
10820
  result = self._values.get("disk_size")
10766
10821
  return typing.cast(typing.Optional[jsii.Number], result)
10767
10822
 
10823
+ @builtins.property
10824
+ def enable_node_auto_repair(self) -> typing.Optional[builtins.bool]:
10825
+ '''(experimental) Specifies whether to enable node auto repair for the node group.
10826
+
10827
+ Node auto repair is disabled by default.
10828
+
10829
+ :default: - disabled
10830
+
10831
+ :see: https://docs.aws.amazon.com/eks/latest/userguide/node-health.html#node-auto-repair
10832
+ :stability: experimental
10833
+ '''
10834
+ result = self._values.get("enable_node_auto_repair")
10835
+ return typing.cast(typing.Optional[builtins.bool], result)
10836
+
10768
10837
  @builtins.property
10769
10838
  def force_update(self) -> typing.Optional[builtins.bool]:
10770
10839
  '''(experimental) Force the update if the existing node group's pods are unable to be drained due to a pod disruption budget issue.
@@ -12811,6 +12880,7 @@ class Cluster(
12811
12880
  capacity_type: typing.Optional[CapacityType] = None,
12812
12881
  desired_size: typing.Optional[jsii.Number] = None,
12813
12882
  disk_size: typing.Optional[jsii.Number] = None,
12883
+ enable_node_auto_repair: typing.Optional[builtins.bool] = None,
12814
12884
  force_update: typing.Optional[builtins.bool] = None,
12815
12885
  instance_type: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.InstanceType] = None,
12816
12886
  instance_types: typing.Optional[typing.Sequence[_aws_cdk_aws_ec2_ceddda9d.InstanceType]] = None,
@@ -12837,6 +12907,7 @@ class Cluster(
12837
12907
  :param capacity_type: (experimental) The capacity type of the nodegroup. Default: - ON_DEMAND
12838
12908
  :param desired_size: (experimental) The current number of worker nodes that the managed node group should maintain. If not specified, the nodewgroup will initially create ``minSize`` instances. Default: 2
12839
12909
  :param disk_size: (experimental) The root device disk size (in GiB) for your node group instances. Default: 20
12910
+ :param enable_node_auto_repair: (experimental) Specifies whether to enable node auto repair for the node group. Node auto repair is disabled by default. Default: - disabled
12840
12911
  :param force_update: (experimental) Force the update if the existing node group's pods are unable to be drained due to a pod disruption budget issue. If an update fails because pods could not be drained, you can force the update after it fails to terminate the old node whether or not any pods are running on the node. Default: true
12841
12912
  :param instance_type: (deprecated) The instance type to use for your node group. Currently, you can specify a single instance type for a node group. The default value for this parameter is ``t3.medium``. If you choose a GPU instance type, be sure to specify the ``AL2_x86_64_GPU``, ``BOTTLEROCKET_ARM_64_NVIDIA``, or ``BOTTLEROCKET_x86_64_NVIDIA`` with the amiType parameter. Default: t3.medium
12842
12913
  :param instance_types: (experimental) The instance types to use for your node group. Default: t3.medium will be used according to the cloudformation document.
@@ -12865,6 +12936,7 @@ class Cluster(
12865
12936
  capacity_type=capacity_type,
12866
12937
  desired_size=desired_size,
12867
12938
  disk_size=disk_size,
12939
+ enable_node_auto_repair=enable_node_auto_repair,
12868
12940
  force_update=force_update,
12869
12941
  instance_type=instance_type,
12870
12942
  instance_types=instance_types,
@@ -14178,6 +14250,7 @@ def _typecheckingstub__fc8b0755389df345d97a19957b1626674e36777445f00245597a6b40c
14178
14250
  capacity_type: typing.Optional[CapacityType] = None,
14179
14251
  desired_size: typing.Optional[jsii.Number] = None,
14180
14252
  disk_size: typing.Optional[jsii.Number] = None,
14253
+ enable_node_auto_repair: typing.Optional[builtins.bool] = None,
14181
14254
  force_update: typing.Optional[builtins.bool] = None,
14182
14255
  instance_type: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.InstanceType] = None,
14183
14256
  instance_types: typing.Optional[typing.Sequence[_aws_cdk_aws_ec2_ceddda9d.InstanceType]] = None,
@@ -14212,6 +14285,7 @@ def _typecheckingstub__9f3bb52aa005520d24284a00deee84fca7e8c4afe54a8bdd40771517f
14212
14285
  capacity_type: typing.Optional[CapacityType] = None,
14213
14286
  desired_size: typing.Optional[jsii.Number] = None,
14214
14287
  disk_size: typing.Optional[jsii.Number] = None,
14288
+ enable_node_auto_repair: typing.Optional[builtins.bool] = None,
14215
14289
  force_update: typing.Optional[builtins.bool] = None,
14216
14290
  instance_type: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.InstanceType] = None,
14217
14291
  instance_types: typing.Optional[typing.Sequence[_aws_cdk_aws_ec2_ceddda9d.InstanceType]] = None,
@@ -14238,6 +14312,7 @@ def _typecheckingstub__1eebacdf94f3e813ed7347b7e8a9a3d1a5527b9a5a2d8f9ef83d77bc6
14238
14312
  capacity_type: typing.Optional[CapacityType] = None,
14239
14313
  desired_size: typing.Optional[jsii.Number] = None,
14240
14314
  disk_size: typing.Optional[jsii.Number] = None,
14315
+ enable_node_auto_repair: typing.Optional[builtins.bool] = None,
14241
14316
  force_update: typing.Optional[builtins.bool] = None,
14242
14317
  instance_type: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.InstanceType] = None,
14243
14318
  instance_types: typing.Optional[typing.Sequence[_aws_cdk_aws_ec2_ceddda9d.InstanceType]] = None,
@@ -14572,6 +14647,7 @@ def _typecheckingstub__53ffb8b8a0e8d695d7a8d656e57c375a99ce7420e23269e0c1ffb12eb
14572
14647
  capacity_type: typing.Optional[CapacityType] = None,
14573
14648
  desired_size: typing.Optional[jsii.Number] = None,
14574
14649
  disk_size: typing.Optional[jsii.Number] = None,
14650
+ enable_node_auto_repair: typing.Optional[builtins.bool] = None,
14575
14651
  force_update: typing.Optional[builtins.bool] = None,
14576
14652
  instance_type: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.InstanceType] = None,
14577
14653
  instance_types: typing.Optional[typing.Sequence[_aws_cdk_aws_ec2_ceddda9d.InstanceType]] = None,
@@ -33,9 +33,9 @@ import constructs._jsii
33
33
 
34
34
  __jsii_assembly__ = jsii.JSIIAssembly.load(
35
35
  "@aws-cdk/aws-eks-v2-alpha",
36
- "2.186.0-alpha.0",
36
+ "2.188.0-alpha.0",
37
37
  __name__[0:-6],
38
- "aws-eks-v2-alpha@2.186.0-alpha.0.jsii.tgz",
38
+ "aws-eks-v2-alpha@2.188.0-alpha.0.jsii.tgz",
39
39
  )
40
40
 
41
41
  __all__ = [
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aws-cdk.aws-eks-v2-alpha
3
- Version: 2.186.0a0
3
+ Version: 2.188.0a0
4
4
  Summary: The CDK Construct Library for AWS::EKS
5
5
  Home-page: https://github.com/aws/aws-cdk
6
6
  Author: Amazon Web Services
@@ -22,9 +22,9 @@ Requires-Python: ~=3.9
22
22
  Description-Content-Type: text/markdown
23
23
  License-File: LICENSE
24
24
  License-File: NOTICE
25
- Requires-Dist: aws-cdk-lib<3.0.0,>=2.186.0
25
+ Requires-Dist: aws-cdk-lib<3.0.0,>=2.188.0
26
26
  Requires-Dist: constructs<11.0.0,>=10.0.0
27
- Requires-Dist: jsii<2.0.0,>=1.109.0
27
+ Requires-Dist: jsii<2.0.0,>=1.110.0
28
28
  Requires-Dist: publication>=0.0.3
29
29
  Requires-Dist: typeguard<4.3.0,>=2.13.3
30
30
 
@@ -1193,3 +1193,17 @@ cluster = eks.Cluster(self, "Cluster",
1193
1193
  ]
1194
1194
  )
1195
1195
  ```
1196
+
1197
+ ## NodeGroup Repair Config
1198
+
1199
+ You can enable Managed Node Group [auto-repair config](https://docs.aws.amazon.com/eks/latest/userguide/node-health.html#node-auto-repair) using `enableNodeAutoRepair`
1200
+ property. For example:
1201
+
1202
+ ```python
1203
+ # cluster: eks.Cluster
1204
+
1205
+
1206
+ cluster.add_nodegroup_capacity("NodeGroup",
1207
+ enable_node_auto_repair=True
1208
+ )
1209
+ ```
@@ -12,4 +12,4 @@ src/aws_cdk.aws_eks_v2_alpha.egg-info/top_level.txt
12
12
  src/aws_cdk/aws_eks_v2_alpha/__init__.py
13
13
  src/aws_cdk/aws_eks_v2_alpha/py.typed
14
14
  src/aws_cdk/aws_eks_v2_alpha/_jsii/__init__.py
15
- src/aws_cdk/aws_eks_v2_alpha/_jsii/aws-eks-v2-alpha@2.186.0-alpha.0.jsii.tgz
15
+ src/aws_cdk/aws_eks_v2_alpha/_jsii/aws-eks-v2-alpha@2.188.0-alpha.0.jsii.tgz
@@ -1,5 +1,5 @@
1
- aws-cdk-lib<3.0.0,>=2.186.0
1
+ aws-cdk-lib<3.0.0,>=2.188.0
2
2
  constructs<11.0.0,>=10.0.0
3
- jsii<2.0.0,>=1.109.0
3
+ jsii<2.0.0,>=1.110.0
4
4
  publication>=0.0.3
5
5
  typeguard<4.3.0,>=2.13.3