aws-cdk.aws-eks-v2-alpha 2.186.0a0__tar.gz → 2.187.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.187.0a0}/PKG-INFO +17 -3
  2. {aws_cdk_aws_eks_v2_alpha-2.186.0a0 → aws_cdk_aws_eks_v2_alpha-2.187.0a0}/README.md +14 -0
  3. {aws_cdk_aws_eks_v2_alpha-2.186.0a0 → aws_cdk_aws_eks_v2_alpha-2.187.0a0}/pyproject.toml +1 -1
  4. {aws_cdk_aws_eks_v2_alpha-2.186.0a0 → aws_cdk_aws_eks_v2_alpha-2.187.0a0}/setup.py +4 -4
  5. {aws_cdk_aws_eks_v2_alpha-2.186.0a0 → aws_cdk_aws_eks_v2_alpha-2.187.0a0}/src/aws_cdk/aws_eks_v2_alpha/__init__.py +66 -0
  6. {aws_cdk_aws_eks_v2_alpha-2.186.0a0 → aws_cdk_aws_eks_v2_alpha-2.187.0a0}/src/aws_cdk/aws_eks_v2_alpha/_jsii/__init__.py +2 -2
  7. aws_cdk_aws_eks_v2_alpha-2.187.0a0/src/aws_cdk/aws_eks_v2_alpha/_jsii/aws-eks-v2-alpha@2.187.0-alpha.0.jsii.tgz +0 -0
  8. {aws_cdk_aws_eks_v2_alpha-2.186.0a0 → aws_cdk_aws_eks_v2_alpha-2.187.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.187.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.187.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.187.0a0}/LICENSE +0 -0
  13. {aws_cdk_aws_eks_v2_alpha-2.186.0a0 → aws_cdk_aws_eks_v2_alpha-2.187.0a0}/MANIFEST.in +0 -0
  14. {aws_cdk_aws_eks_v2_alpha-2.186.0a0 → aws_cdk_aws_eks_v2_alpha-2.187.0a0}/NOTICE +0 -0
  15. {aws_cdk_aws_eks_v2_alpha-2.186.0a0 → aws_cdk_aws_eks_v2_alpha-2.187.0a0}/setup.cfg +0 -0
  16. {aws_cdk_aws_eks_v2_alpha-2.186.0a0 → aws_cdk_aws_eks_v2_alpha-2.187.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.187.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.187.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.187.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.187.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.187.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.187.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.187.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,
@@ -10059,6 +10077,7 @@ class NodegroupAmiType(enum.Enum):
10059
10077
  "capacity_type": "capacityType",
10060
10078
  "desired_size": "desiredSize",
10061
10079
  "disk_size": "diskSize",
10080
+ "enable_node_auto_repair": "enableNodeAutoRepair",
10062
10081
  "force_update": "forceUpdate",
10063
10082
  "instance_type": "instanceType",
10064
10083
  "instance_types": "instanceTypes",
@@ -10085,6 +10104,7 @@ class NodegroupOptions:
10085
10104
  capacity_type: typing.Optional[CapacityType] = None,
10086
10105
  desired_size: typing.Optional[jsii.Number] = None,
10087
10106
  disk_size: typing.Optional[jsii.Number] = None,
10107
+ enable_node_auto_repair: typing.Optional[builtins.bool] = None,
10088
10108
  force_update: typing.Optional[builtins.bool] = None,
10089
10109
  instance_type: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.InstanceType] = None,
10090
10110
  instance_types: typing.Optional[typing.Sequence[_aws_cdk_aws_ec2_ceddda9d.InstanceType]] = None,
@@ -10108,6 +10128,7 @@ class NodegroupOptions:
10108
10128
  :param capacity_type: (experimental) The capacity type of the nodegroup. Default: - ON_DEMAND
10109
10129
  :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
10130
  :param disk_size: (experimental) The root device disk size (in GiB) for your node group instances. Default: 20
10131
+ :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
10132
  :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
10133
  :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
10134
  :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 +10175,7 @@ class NodegroupOptions:
10154
10175
  check_type(argname="argument capacity_type", value=capacity_type, expected_type=type_hints["capacity_type"])
10155
10176
  check_type(argname="argument desired_size", value=desired_size, expected_type=type_hints["desired_size"])
10156
10177
  check_type(argname="argument disk_size", value=disk_size, expected_type=type_hints["disk_size"])
10178
+ check_type(argname="argument enable_node_auto_repair", value=enable_node_auto_repair, expected_type=type_hints["enable_node_auto_repair"])
10157
10179
  check_type(argname="argument force_update", value=force_update, expected_type=type_hints["force_update"])
10158
10180
  check_type(argname="argument instance_type", value=instance_type, expected_type=type_hints["instance_type"])
10159
10181
  check_type(argname="argument instance_types", value=instance_types, expected_type=type_hints["instance_types"])
@@ -10179,6 +10201,8 @@ class NodegroupOptions:
10179
10201
  self._values["desired_size"] = desired_size
10180
10202
  if disk_size is not None:
10181
10203
  self._values["disk_size"] = disk_size
10204
+ if enable_node_auto_repair is not None:
10205
+ self._values["enable_node_auto_repair"] = enable_node_auto_repair
10182
10206
  if force_update is not None:
10183
10207
  self._values["force_update"] = force_update
10184
10208
  if instance_type is not None:
@@ -10262,6 +10286,20 @@ class NodegroupOptions:
10262
10286
  result = self._values.get("disk_size")
10263
10287
  return typing.cast(typing.Optional[jsii.Number], result)
10264
10288
 
10289
+ @builtins.property
10290
+ def enable_node_auto_repair(self) -> typing.Optional[builtins.bool]:
10291
+ '''(experimental) Specifies whether to enable node auto repair for the node group.
10292
+
10293
+ Node auto repair is disabled by default.
10294
+
10295
+ :default: - disabled
10296
+
10297
+ :see: https://docs.aws.amazon.com/eks/latest/userguide/node-health.html#node-auto-repair
10298
+ :stability: experimental
10299
+ '''
10300
+ result = self._values.get("enable_node_auto_repair")
10301
+ return typing.cast(typing.Optional[builtins.bool], result)
10302
+
10265
10303
  @builtins.property
10266
10304
  def force_update(self) -> typing.Optional[builtins.bool]:
10267
10305
  '''(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 +10542,7 @@ class NodegroupOptions:
10504
10542
  "capacity_type": "capacityType",
10505
10543
  "desired_size": "desiredSize",
10506
10544
  "disk_size": "diskSize",
10545
+ "enable_node_auto_repair": "enableNodeAutoRepair",
10507
10546
  "force_update": "forceUpdate",
10508
10547
  "instance_type": "instanceType",
10509
10548
  "instance_types": "instanceTypes",
@@ -10531,6 +10570,7 @@ class NodegroupProps(NodegroupOptions):
10531
10570
  capacity_type: typing.Optional[CapacityType] = None,
10532
10571
  desired_size: typing.Optional[jsii.Number] = None,
10533
10572
  disk_size: typing.Optional[jsii.Number] = None,
10573
+ enable_node_auto_repair: typing.Optional[builtins.bool] = None,
10534
10574
  force_update: typing.Optional[builtins.bool] = None,
10535
10575
  instance_type: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.InstanceType] = None,
10536
10576
  instance_types: typing.Optional[typing.Sequence[_aws_cdk_aws_ec2_ceddda9d.InstanceType]] = None,
@@ -10555,6 +10595,7 @@ class NodegroupProps(NodegroupOptions):
10555
10595
  :param capacity_type: (experimental) The capacity type of the nodegroup. Default: - ON_DEMAND
10556
10596
  :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
10597
  :param disk_size: (experimental) The root device disk size (in GiB) for your node group instances. Default: 20
10598
+ :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
10599
  :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
10600
  :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
10601
  :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 +10640,7 @@ class NodegroupProps(NodegroupOptions):
10599
10640
  capacity_type=eks_v2_alpha.CapacityType.SPOT,
10600
10641
  desired_size=123,
10601
10642
  disk_size=123,
10643
+ enable_node_auto_repair=False,
10602
10644
  force_update=False,
10603
10645
  instance_type=instance_type,
10604
10646
  instance_types=[instance_type],
@@ -10654,6 +10696,7 @@ class NodegroupProps(NodegroupOptions):
10654
10696
  check_type(argname="argument capacity_type", value=capacity_type, expected_type=type_hints["capacity_type"])
10655
10697
  check_type(argname="argument desired_size", value=desired_size, expected_type=type_hints["desired_size"])
10656
10698
  check_type(argname="argument disk_size", value=disk_size, expected_type=type_hints["disk_size"])
10699
+ check_type(argname="argument enable_node_auto_repair", value=enable_node_auto_repair, expected_type=type_hints["enable_node_auto_repair"])
10657
10700
  check_type(argname="argument force_update", value=force_update, expected_type=type_hints["force_update"])
10658
10701
  check_type(argname="argument instance_type", value=instance_type, expected_type=type_hints["instance_type"])
10659
10702
  check_type(argname="argument instance_types", value=instance_types, expected_type=type_hints["instance_types"])
@@ -10682,6 +10725,8 @@ class NodegroupProps(NodegroupOptions):
10682
10725
  self._values["desired_size"] = desired_size
10683
10726
  if disk_size is not None:
10684
10727
  self._values["disk_size"] = disk_size
10728
+ if enable_node_auto_repair is not None:
10729
+ self._values["enable_node_auto_repair"] = enable_node_auto_repair
10685
10730
  if force_update is not None:
10686
10731
  self._values["force_update"] = force_update
10687
10732
  if instance_type is not None:
@@ -10765,6 +10810,20 @@ class NodegroupProps(NodegroupOptions):
10765
10810
  result = self._values.get("disk_size")
10766
10811
  return typing.cast(typing.Optional[jsii.Number], result)
10767
10812
 
10813
+ @builtins.property
10814
+ def enable_node_auto_repair(self) -> typing.Optional[builtins.bool]:
10815
+ '''(experimental) Specifies whether to enable node auto repair for the node group.
10816
+
10817
+ Node auto repair is disabled by default.
10818
+
10819
+ :default: - disabled
10820
+
10821
+ :see: https://docs.aws.amazon.com/eks/latest/userguide/node-health.html#node-auto-repair
10822
+ :stability: experimental
10823
+ '''
10824
+ result = self._values.get("enable_node_auto_repair")
10825
+ return typing.cast(typing.Optional[builtins.bool], result)
10826
+
10768
10827
  @builtins.property
10769
10828
  def force_update(self) -> typing.Optional[builtins.bool]:
10770
10829
  '''(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 +12870,7 @@ class Cluster(
12811
12870
  capacity_type: typing.Optional[CapacityType] = None,
12812
12871
  desired_size: typing.Optional[jsii.Number] = None,
12813
12872
  disk_size: typing.Optional[jsii.Number] = None,
12873
+ enable_node_auto_repair: typing.Optional[builtins.bool] = None,
12814
12874
  force_update: typing.Optional[builtins.bool] = None,
12815
12875
  instance_type: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.InstanceType] = None,
12816
12876
  instance_types: typing.Optional[typing.Sequence[_aws_cdk_aws_ec2_ceddda9d.InstanceType]] = None,
@@ -12837,6 +12897,7 @@ class Cluster(
12837
12897
  :param capacity_type: (experimental) The capacity type of the nodegroup. Default: - ON_DEMAND
12838
12898
  :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
12899
  :param disk_size: (experimental) The root device disk size (in GiB) for your node group instances. Default: 20
12900
+ :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
12901
  :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
12902
  :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
12903
  :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 +12926,7 @@ class Cluster(
12865
12926
  capacity_type=capacity_type,
12866
12927
  desired_size=desired_size,
12867
12928
  disk_size=disk_size,
12929
+ enable_node_auto_repair=enable_node_auto_repair,
12868
12930
  force_update=force_update,
12869
12931
  instance_type=instance_type,
12870
12932
  instance_types=instance_types,
@@ -14178,6 +14240,7 @@ def _typecheckingstub__fc8b0755389df345d97a19957b1626674e36777445f00245597a6b40c
14178
14240
  capacity_type: typing.Optional[CapacityType] = None,
14179
14241
  desired_size: typing.Optional[jsii.Number] = None,
14180
14242
  disk_size: typing.Optional[jsii.Number] = None,
14243
+ enable_node_auto_repair: typing.Optional[builtins.bool] = None,
14181
14244
  force_update: typing.Optional[builtins.bool] = None,
14182
14245
  instance_type: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.InstanceType] = None,
14183
14246
  instance_types: typing.Optional[typing.Sequence[_aws_cdk_aws_ec2_ceddda9d.InstanceType]] = None,
@@ -14212,6 +14275,7 @@ def _typecheckingstub__9f3bb52aa005520d24284a00deee84fca7e8c4afe54a8bdd40771517f
14212
14275
  capacity_type: typing.Optional[CapacityType] = None,
14213
14276
  desired_size: typing.Optional[jsii.Number] = None,
14214
14277
  disk_size: typing.Optional[jsii.Number] = None,
14278
+ enable_node_auto_repair: typing.Optional[builtins.bool] = None,
14215
14279
  force_update: typing.Optional[builtins.bool] = None,
14216
14280
  instance_type: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.InstanceType] = None,
14217
14281
  instance_types: typing.Optional[typing.Sequence[_aws_cdk_aws_ec2_ceddda9d.InstanceType]] = None,
@@ -14238,6 +14302,7 @@ def _typecheckingstub__1eebacdf94f3e813ed7347b7e8a9a3d1a5527b9a5a2d8f9ef83d77bc6
14238
14302
  capacity_type: typing.Optional[CapacityType] = None,
14239
14303
  desired_size: typing.Optional[jsii.Number] = None,
14240
14304
  disk_size: typing.Optional[jsii.Number] = None,
14305
+ enable_node_auto_repair: typing.Optional[builtins.bool] = None,
14241
14306
  force_update: typing.Optional[builtins.bool] = None,
14242
14307
  instance_type: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.InstanceType] = None,
14243
14308
  instance_types: typing.Optional[typing.Sequence[_aws_cdk_aws_ec2_ceddda9d.InstanceType]] = None,
@@ -14572,6 +14637,7 @@ def _typecheckingstub__53ffb8b8a0e8d695d7a8d656e57c375a99ce7420e23269e0c1ffb12eb
14572
14637
  capacity_type: typing.Optional[CapacityType] = None,
14573
14638
  desired_size: typing.Optional[jsii.Number] = None,
14574
14639
  disk_size: typing.Optional[jsii.Number] = None,
14640
+ enable_node_auto_repair: typing.Optional[builtins.bool] = None,
14575
14641
  force_update: typing.Optional[builtins.bool] = None,
14576
14642
  instance_type: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.InstanceType] = None,
14577
14643
  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.187.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.187.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.187.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.187.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.187.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.187.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