aws-cdk-lib 2.167.2__py3-none-any.whl → 2.169.0__py3-none-any.whl

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-lib might be problematic. Click here for more details.

Files changed (60) hide show
  1. aws_cdk/__init__.py +2083 -0
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.167.2.jsii.tgz → aws-cdk-lib@2.169.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_accessanalyzer/__init__.py +244 -13
  5. aws_cdk/aws_applicationautoscaling/__init__.py +1691 -95
  6. aws_cdk/aws_applicationinsights/__init__.py +41 -0
  7. aws_cdk/aws_applicationsignals/__init__.py +124 -0
  8. aws_cdk/aws_autoscaling/__init__.py +743 -7
  9. aws_cdk/aws_batch/__init__.py +202 -5
  10. aws_cdk/aws_bedrock/__init__.py +12 -12
  11. aws_cdk/aws_cleanrooms/__init__.py +17 -8
  12. aws_cdk/aws_cloudformation/__init__.py +2571 -492
  13. aws_cdk/aws_cloudfront/__init__.py +281 -0
  14. aws_cdk/aws_cloudfront/experimental/__init__.py +5 -0
  15. aws_cdk/aws_cloudfront_origins/__init__.py +714 -132
  16. aws_cdk/aws_cloudtrail/__init__.py +52 -14
  17. aws_cdk/aws_codebuild/__init__.py +670 -4
  18. aws_cdk/aws_connect/__init__.py +378 -0
  19. aws_cdk/aws_connectcampaignsv2/__init__.py +3376 -0
  20. aws_cdk/aws_customerprofiles/__init__.py +44 -0
  21. aws_cdk/aws_deadline/__init__.py +299 -6
  22. aws_cdk/aws_dynamodb/__init__.py +359 -16
  23. aws_cdk/aws_ec2/__init__.py +19 -6
  24. aws_cdk/aws_ecs/__init__.py +231 -12
  25. aws_cdk/aws_efs/__init__.py +61 -4
  26. aws_cdk/aws_eks/__init__.py +116 -0
  27. aws_cdk/aws_elasticloadbalancingv2/__init__.py +160 -11
  28. aws_cdk/aws_fis/__init__.py +495 -0
  29. aws_cdk/aws_gamelift/__init__.py +3204 -1104
  30. aws_cdk/aws_iot/__init__.py +209 -0
  31. aws_cdk/aws_iotfleetwise/__init__.py +550 -0
  32. aws_cdk/aws_iotsitewise/__init__.py +6 -3
  33. aws_cdk/aws_ivs/__init__.py +458 -0
  34. aws_cdk/aws_kinesisfirehose/__init__.py +756 -8
  35. aws_cdk/aws_lambda/__init__.py +634 -259
  36. aws_cdk/aws_lambda_destinations/__init__.py +73 -0
  37. aws_cdk/aws_lambda_event_sources/__init__.py +102 -2
  38. aws_cdk/aws_location/__init__.py +18 -18
  39. aws_cdk/aws_mediastore/__init__.py +22 -10
  40. aws_cdk/aws_opensearchservice/__init__.py +6 -0
  41. aws_cdk/aws_quicksight/__init__.py +35 -19
  42. aws_cdk/aws_rbin/__init__.py +902 -0
  43. aws_cdk/aws_rds/__init__.py +166 -3
  44. aws_cdk/aws_route53resolver/__init__.py +76 -19
  45. aws_cdk/aws_sagemaker/__init__.py +32 -0
  46. aws_cdk/aws_securityhub/__init__.py +11 -14
  47. aws_cdk/aws_ses/__init__.py +58 -5
  48. aws_cdk/aws_sns/__init__.py +593 -8
  49. aws_cdk/aws_sns_subscriptions/__init__.py +68 -22
  50. aws_cdk/aws_stepfunctions_tasks/__init__.py +1601 -8
  51. aws_cdk/aws_synthetics/__init__.py +46 -0
  52. aws_cdk/aws_transfer/__init__.py +0 -8
  53. aws_cdk/aws_vpclattice/__init__.py +157 -2
  54. aws_cdk/aws_wisdom/__init__.py +113 -69
  55. {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.169.0.dist-info}/METADATA +1 -1
  56. {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.169.0.dist-info}/RECORD +60 -58
  57. {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.169.0.dist-info}/LICENSE +0 -0
  58. {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.169.0.dist-info}/NOTICE +0 -0
  59. {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.169.0.dist-info}/WHEEL +0 -0
  60. {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.169.0.dist-info}/top_level.txt +0 -0
@@ -1592,7 +1592,10 @@ class CfnFileSystem(
1592
1592
  availability_zone_name="availabilityZoneName",
1593
1593
  file_system_id="fileSystemId",
1594
1594
  kms_key_id="kmsKeyId",
1595
- region="region"
1595
+ region="region",
1596
+ role_arn="roleArn",
1597
+ status="status",
1598
+ status_message="statusMessage"
1596
1599
  )]
1597
1600
  ),
1598
1601
  throughput_mode="throughputMode"
@@ -2245,7 +2248,10 @@ class CfnFileSystem(
2245
2248
  availability_zone_name="availabilityZoneName",
2246
2249
  file_system_id="fileSystemId",
2247
2250
  kms_key_id="kmsKeyId",
2248
- region="region"
2251
+ region="region",
2252
+ role_arn="roleArn",
2253
+ status="status",
2254
+ status_message="statusMessage"
2249
2255
  )]
2250
2256
  )
2251
2257
  '''
@@ -2288,6 +2294,9 @@ class CfnFileSystem(
2288
2294
  "file_system_id": "fileSystemId",
2289
2295
  "kms_key_id": "kmsKeyId",
2290
2296
  "region": "region",
2297
+ "role_arn": "roleArn",
2298
+ "status": "status",
2299
+ "status_message": "statusMessage",
2291
2300
  },
2292
2301
  )
2293
2302
  class ReplicationDestinationProperty:
@@ -2298,6 +2307,9 @@ class CfnFileSystem(
2298
2307
  file_system_id: typing.Optional[builtins.str] = None,
2299
2308
  kms_key_id: typing.Optional[builtins.str] = None,
2300
2309
  region: typing.Optional[builtins.str] = None,
2310
+ role_arn: typing.Optional[builtins.str] = None,
2311
+ status: typing.Optional[builtins.str] = None,
2312
+ status_message: typing.Optional[builtins.str] = None,
2301
2313
  ) -> None:
2302
2314
  '''Describes the destination file system in the replication configuration.
2303
2315
 
@@ -2305,6 +2317,9 @@ class CfnFileSystem(
2305
2317
  :param file_system_id: The ID of the destination Amazon EFS file system.
2306
2318
  :param kms_key_id: The ID of an AWS KMS key used to protect the encrypted file system.
2307
2319
  :param region: The AWS Region in which the destination file system is located. .. epigraph:: For One Zone file systems, the replication configuration must specify the AWS Region in which the destination file system is located.
2320
+ :param role_arn:
2321
+ :param status:
2322
+ :param status_message:
2308
2323
 
2309
2324
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-efs-filesystem-replicationdestination.html
2310
2325
  :exampleMetadata: fixture=_generated
@@ -2319,7 +2334,10 @@ class CfnFileSystem(
2319
2334
  availability_zone_name="availabilityZoneName",
2320
2335
  file_system_id="fileSystemId",
2321
2336
  kms_key_id="kmsKeyId",
2322
- region="region"
2337
+ region="region",
2338
+ role_arn="roleArn",
2339
+ status="status",
2340
+ status_message="statusMessage"
2323
2341
  )
2324
2342
  '''
2325
2343
  if __debug__:
@@ -2328,6 +2346,9 @@ class CfnFileSystem(
2328
2346
  check_type(argname="argument file_system_id", value=file_system_id, expected_type=type_hints["file_system_id"])
2329
2347
  check_type(argname="argument kms_key_id", value=kms_key_id, expected_type=type_hints["kms_key_id"])
2330
2348
  check_type(argname="argument region", value=region, expected_type=type_hints["region"])
2349
+ check_type(argname="argument role_arn", value=role_arn, expected_type=type_hints["role_arn"])
2350
+ check_type(argname="argument status", value=status, expected_type=type_hints["status"])
2351
+ check_type(argname="argument status_message", value=status_message, expected_type=type_hints["status_message"])
2331
2352
  self._values: typing.Dict[builtins.str, typing.Any] = {}
2332
2353
  if availability_zone_name is not None:
2333
2354
  self._values["availability_zone_name"] = availability_zone_name
@@ -2337,6 +2358,12 @@ class CfnFileSystem(
2337
2358
  self._values["kms_key_id"] = kms_key_id
2338
2359
  if region is not None:
2339
2360
  self._values["region"] = region
2361
+ if role_arn is not None:
2362
+ self._values["role_arn"] = role_arn
2363
+ if status is not None:
2364
+ self._values["status"] = status
2365
+ if status_message is not None:
2366
+ self._values["status_message"] = status_message
2340
2367
 
2341
2368
  @builtins.property
2342
2369
  def availability_zone_name(self) -> typing.Optional[builtins.str]:
@@ -2383,6 +2410,30 @@ class CfnFileSystem(
2383
2410
  result = self._values.get("region")
2384
2411
  return typing.cast(typing.Optional[builtins.str], result)
2385
2412
 
2413
+ @builtins.property
2414
+ def role_arn(self) -> typing.Optional[builtins.str]:
2415
+ '''
2416
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-efs-filesystem-replicationdestination.html#cfn-efs-filesystem-replicationdestination-rolearn
2417
+ '''
2418
+ result = self._values.get("role_arn")
2419
+ return typing.cast(typing.Optional[builtins.str], result)
2420
+
2421
+ @builtins.property
2422
+ def status(self) -> typing.Optional[builtins.str]:
2423
+ '''
2424
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-efs-filesystem-replicationdestination.html#cfn-efs-filesystem-replicationdestination-status
2425
+ '''
2426
+ result = self._values.get("status")
2427
+ return typing.cast(typing.Optional[builtins.str], result)
2428
+
2429
+ @builtins.property
2430
+ def status_message(self) -> typing.Optional[builtins.str]:
2431
+ '''
2432
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-efs-filesystem-replicationdestination.html#cfn-efs-filesystem-replicationdestination-statusmessage
2433
+ '''
2434
+ result = self._values.get("status_message")
2435
+ return typing.cast(typing.Optional[builtins.str], result)
2436
+
2386
2437
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
2387
2438
  return isinstance(rhs, self.__class__) and rhs._values == self._values
2388
2439
 
@@ -2487,7 +2538,10 @@ class CfnFileSystemProps:
2487
2538
  availability_zone_name="availabilityZoneName",
2488
2539
  file_system_id="fileSystemId",
2489
2540
  kms_key_id="kmsKeyId",
2490
- region="region"
2541
+ region="region",
2542
+ role_arn="roleArn",
2543
+ status="status",
2544
+ status_message="statusMessage"
2491
2545
  )]
2492
2546
  ),
2493
2547
  throughput_mode="throughputMode"
@@ -5127,6 +5181,9 @@ def _typecheckingstub__a0a6356d4030fadb2a5ab2683faf2e9b37a0259a16f5946aff9be9f29
5127
5181
  file_system_id: typing.Optional[builtins.str] = None,
5128
5182
  kms_key_id: typing.Optional[builtins.str] = None,
5129
5183
  region: typing.Optional[builtins.str] = None,
5184
+ role_arn: typing.Optional[builtins.str] = None,
5185
+ status: typing.Optional[builtins.str] = None,
5186
+ status_message: typing.Optional[builtins.str] = None,
5130
5187
  ) -> None:
5131
5188
  """Type checking stubs"""
5132
5189
  pass
@@ -8641,6 +8641,9 @@ class CfnNodegroup(
8641
8641
  version="version"
8642
8642
  ),
8643
8643
  nodegroup_name="nodegroupName",
8644
+ node_repair_config=eks.CfnNodegroup.NodeRepairConfigProperty(
8645
+ enabled=False
8646
+ ),
8644
8647
  release_version="releaseVersion",
8645
8648
  remote_access=eks.CfnNodegroup.RemoteAccessProperty(
8646
8649
  ec2_ssh_key="ec2SshKey",
@@ -8685,6 +8688,7 @@ class CfnNodegroup(
8685
8688
  labels: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
8686
8689
  launch_template: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnNodegroup.LaunchTemplateSpecificationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
8687
8690
  nodegroup_name: typing.Optional[builtins.str] = None,
8691
+ node_repair_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnNodegroup.NodeRepairConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
8688
8692
  release_version: typing.Optional[builtins.str] = None,
8689
8693
  remote_access: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnNodegroup.RemoteAccessProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
8690
8694
  scaling_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnNodegroup.ScalingConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
@@ -8707,6 +8711,7 @@ class CfnNodegroup(
8707
8711
  :param labels: The Kubernetes ``labels`` applied to the nodes in the node group. .. epigraph:: Only ``labels`` that are applied with the Amazon EKS API are shown here. There may be other Kubernetes ``labels`` applied to the nodes in this group.
8708
8712
  :param launch_template: An object representing a node group's launch template specification. When using this object, don't directly specify ``instanceTypes`` , ``diskSize`` , or ``remoteAccess`` . Make sure that the launch template meets the requirements in ``launchTemplateSpecification`` . Also refer to `Customizing managed nodes with launch templates <https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html>`_ in the *Amazon EKS User Guide* .
8709
8713
  :param nodegroup_name: The unique name to give your node group.
8714
+ :param node_repair_config: The node auto repair configuration for node group.
8710
8715
  :param release_version: The AMI version of the Amazon EKS optimized AMI to use with your node group (for example, ``1.14.7- *YYYYMMDD*`` ). By default, the latest available AMI version for the node group's current Kubernetes version is used. For more information, see `Amazon EKS optimized Linux AMI Versions <https://docs.aws.amazon.com/eks/latest/userguide/eks-linux-ami-versions.html>`_ in the *Amazon EKS User Guide* . .. epigraph:: Changing this value triggers an update of the node group if one is available. You can't update other properties at the same time as updating ``Release Version`` .
8711
8716
  :param remote_access: The remote access configuration to use with your node group. For Linux, the protocol is SSH. For Windows, the protocol is RDP. If you specify ``launchTemplate`` , then don't specify ``remoteAccess`` , or the node group deployment will fail. For more information about using launch templates with Amazon EKS, see `Customizing managed nodes with launch templates <https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html>`_ in the *Amazon EKS User Guide* .
8712
8717
  :param scaling_config: The scaling configuration details for the Auto Scaling group that is created for your node group.
@@ -8731,6 +8736,7 @@ class CfnNodegroup(
8731
8736
  labels=labels,
8732
8737
  launch_template=launch_template,
8733
8738
  nodegroup_name=nodegroup_name,
8739
+ node_repair_config=node_repair_config,
8734
8740
  release_version=release_version,
8735
8741
  remote_access=remote_access,
8736
8742
  scaling_config=scaling_config,
@@ -8976,6 +8982,24 @@ class CfnNodegroup(
8976
8982
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
8977
8983
  jsii.set(self, "nodegroupName", value) # pyright: ignore[reportArgumentType]
8978
8984
 
8985
+ @builtins.property
8986
+ @jsii.member(jsii_name="nodeRepairConfig")
8987
+ def node_repair_config(
8988
+ self,
8989
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnNodegroup.NodeRepairConfigProperty"]]:
8990
+ '''The node auto repair configuration for node group.'''
8991
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnNodegroup.NodeRepairConfigProperty"]], jsii.get(self, "nodeRepairConfig"))
8992
+
8993
+ @node_repair_config.setter
8994
+ def node_repair_config(
8995
+ self,
8996
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnNodegroup.NodeRepairConfigProperty"]],
8997
+ ) -> None:
8998
+ if __debug__:
8999
+ type_hints = typing.get_type_hints(_typecheckingstub__32d9a193c1fbf4f744119faa14907eda38fe01339dc08c10a27310a3e1360bee)
9000
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
9001
+ jsii.set(self, "nodeRepairConfig", value) # pyright: ignore[reportArgumentType]
9002
+
8979
9003
  @builtins.property
8980
9004
  @jsii.member(jsii_name="releaseVersion")
8981
9005
  def release_version(self) -> typing.Optional[builtins.str]:
@@ -9185,6 +9209,63 @@ class CfnNodegroup(
9185
9209
  k + "=" + repr(v) for k, v in self._values.items()
9186
9210
  )
9187
9211
 
9212
+ @jsii.data_type(
9213
+ jsii_type="aws-cdk-lib.aws_eks.CfnNodegroup.NodeRepairConfigProperty",
9214
+ jsii_struct_bases=[],
9215
+ name_mapping={"enabled": "enabled"},
9216
+ )
9217
+ class NodeRepairConfigProperty:
9218
+ def __init__(
9219
+ self,
9220
+ *,
9221
+ enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
9222
+ ) -> None:
9223
+ '''The node auto repair configuration for node group.
9224
+
9225
+ :param enabled: Set this value to true to enable node auto repair for the node group.
9226
+
9227
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-nodegroup-noderepairconfig.html
9228
+ :exampleMetadata: fixture=_generated
9229
+
9230
+ Example::
9231
+
9232
+ # The code below shows an example of how to instantiate this type.
9233
+ # The values are placeholders you should change.
9234
+ from aws_cdk import aws_eks as eks
9235
+
9236
+ node_repair_config_property = eks.CfnNodegroup.NodeRepairConfigProperty(
9237
+ enabled=False
9238
+ )
9239
+ '''
9240
+ if __debug__:
9241
+ type_hints = typing.get_type_hints(_typecheckingstub__29dbda55ee07f00e62bcfcbc392973b5c2850e347abc3e6692b5d82704d445f0)
9242
+ check_type(argname="argument enabled", value=enabled, expected_type=type_hints["enabled"])
9243
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
9244
+ if enabled is not None:
9245
+ self._values["enabled"] = enabled
9246
+
9247
+ @builtins.property
9248
+ def enabled(
9249
+ self,
9250
+ ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
9251
+ '''Set this value to true to enable node auto repair for the node group.
9252
+
9253
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-nodegroup-noderepairconfig.html#cfn-eks-nodegroup-noderepairconfig-enabled
9254
+ '''
9255
+ result = self._values.get("enabled")
9256
+ return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
9257
+
9258
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
9259
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
9260
+
9261
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
9262
+ return not (rhs == self)
9263
+
9264
+ def __repr__(self) -> str:
9265
+ return "NodeRepairConfigProperty(%s)" % ", ".join(
9266
+ k + "=" + repr(v) for k, v in self._values.items()
9267
+ )
9268
+
9188
9269
  @jsii.data_type(
9189
9270
  jsii_type="aws-cdk-lib.aws_eks.CfnNodegroup.RemoteAccessProperty",
9190
9271
  jsii_struct_bases=[],
@@ -9546,6 +9627,7 @@ class CfnNodegroup(
9546
9627
  "labels": "labels",
9547
9628
  "launch_template": "launchTemplate",
9548
9629
  "nodegroup_name": "nodegroupName",
9630
+ "node_repair_config": "nodeRepairConfig",
9549
9631
  "release_version": "releaseVersion",
9550
9632
  "remote_access": "remoteAccess",
9551
9633
  "scaling_config": "scalingConfig",
@@ -9570,6 +9652,7 @@ class CfnNodegroupProps:
9570
9652
  labels: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
9571
9653
  launch_template: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnNodegroup.LaunchTemplateSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
9572
9654
  nodegroup_name: typing.Optional[builtins.str] = None,
9655
+ node_repair_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnNodegroup.NodeRepairConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
9573
9656
  release_version: typing.Optional[builtins.str] = None,
9574
9657
  remote_access: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnNodegroup.RemoteAccessProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
9575
9658
  scaling_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnNodegroup.ScalingConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
@@ -9591,6 +9674,7 @@ class CfnNodegroupProps:
9591
9674
  :param labels: The Kubernetes ``labels`` applied to the nodes in the node group. .. epigraph:: Only ``labels`` that are applied with the Amazon EKS API are shown here. There may be other Kubernetes ``labels`` applied to the nodes in this group.
9592
9675
  :param launch_template: An object representing a node group's launch template specification. When using this object, don't directly specify ``instanceTypes`` , ``diskSize`` , or ``remoteAccess`` . Make sure that the launch template meets the requirements in ``launchTemplateSpecification`` . Also refer to `Customizing managed nodes with launch templates <https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html>`_ in the *Amazon EKS User Guide* .
9593
9676
  :param nodegroup_name: The unique name to give your node group.
9677
+ :param node_repair_config: The node auto repair configuration for node group.
9594
9678
  :param release_version: The AMI version of the Amazon EKS optimized AMI to use with your node group (for example, ``1.14.7- *YYYYMMDD*`` ). By default, the latest available AMI version for the node group's current Kubernetes version is used. For more information, see `Amazon EKS optimized Linux AMI Versions <https://docs.aws.amazon.com/eks/latest/userguide/eks-linux-ami-versions.html>`_ in the *Amazon EKS User Guide* . .. epigraph:: Changing this value triggers an update of the node group if one is available. You can't update other properties at the same time as updating ``Release Version`` .
9595
9679
  :param remote_access: The remote access configuration to use with your node group. For Linux, the protocol is SSH. For Windows, the protocol is RDP. If you specify ``launchTemplate`` , then don't specify ``remoteAccess`` , or the node group deployment will fail. For more information about using launch templates with Amazon EKS, see `Customizing managed nodes with launch templates <https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html>`_ in the *Amazon EKS User Guide* .
9596
9680
  :param scaling_config: The scaling configuration details for the Auto Scaling group that is created for your node group.
@@ -9628,6 +9712,9 @@ class CfnNodegroupProps:
9628
9712
  version="version"
9629
9713
  ),
9630
9714
  nodegroup_name="nodegroupName",
9715
+ node_repair_config=eks.CfnNodegroup.NodeRepairConfigProperty(
9716
+ enabled=False
9717
+ ),
9631
9718
  release_version="releaseVersion",
9632
9719
  remote_access=eks.CfnNodegroup.RemoteAccessProperty(
9633
9720
  ec2_ssh_key="ec2SshKey",
@@ -9668,6 +9755,7 @@ class CfnNodegroupProps:
9668
9755
  check_type(argname="argument labels", value=labels, expected_type=type_hints["labels"])
9669
9756
  check_type(argname="argument launch_template", value=launch_template, expected_type=type_hints["launch_template"])
9670
9757
  check_type(argname="argument nodegroup_name", value=nodegroup_name, expected_type=type_hints["nodegroup_name"])
9758
+ check_type(argname="argument node_repair_config", value=node_repair_config, expected_type=type_hints["node_repair_config"])
9671
9759
  check_type(argname="argument release_version", value=release_version, expected_type=type_hints["release_version"])
9672
9760
  check_type(argname="argument remote_access", value=remote_access, expected_type=type_hints["remote_access"])
9673
9761
  check_type(argname="argument scaling_config", value=scaling_config, expected_type=type_hints["scaling_config"])
@@ -9696,6 +9784,8 @@ class CfnNodegroupProps:
9696
9784
  self._values["launch_template"] = launch_template
9697
9785
  if nodegroup_name is not None:
9698
9786
  self._values["nodegroup_name"] = nodegroup_name
9787
+ if node_repair_config is not None:
9788
+ self._values["node_repair_config"] = node_repair_config
9699
9789
  if release_version is not None:
9700
9790
  self._values["release_version"] = release_version
9701
9791
  if remote_access is not None:
@@ -9839,6 +9929,17 @@ class CfnNodegroupProps:
9839
9929
  result = self._values.get("nodegroup_name")
9840
9930
  return typing.cast(typing.Optional[builtins.str], result)
9841
9931
 
9932
+ @builtins.property
9933
+ def node_repair_config(
9934
+ self,
9935
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnNodegroup.NodeRepairConfigProperty]]:
9936
+ '''The node auto repair configuration for node group.
9937
+
9938
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-nodegroup.html#cfn-eks-nodegroup-noderepairconfig
9939
+ '''
9940
+ result = self._values.get("node_repair_config")
9941
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnNodegroup.NodeRepairConfigProperty]], result)
9942
+
9842
9943
  @builtins.property
9843
9944
  def release_version(self) -> typing.Optional[builtins.str]:
9844
9945
  '''The AMI version of the Amazon EKS optimized AMI to use with your node group (for example, ``1.14.7- *YYYYMMDD*`` ). By default, the latest available AMI version for the node group's current Kubernetes version is used. For more information, see `Amazon EKS optimized Linux AMI Versions <https://docs.aws.amazon.com/eks/latest/userguide/eks-linux-ami-versions.html>`_ in the *Amazon EKS User Guide* .
@@ -21027,6 +21128,7 @@ def _typecheckingstub__27ebd660a66f96284eec036f7614b1586f77d9990c9dd345fe73522c7
21027
21128
  labels: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
21028
21129
  launch_template: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnNodegroup.LaunchTemplateSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
21029
21130
  nodegroup_name: typing.Optional[builtins.str] = None,
21131
+ node_repair_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnNodegroup.NodeRepairConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
21030
21132
  release_version: typing.Optional[builtins.str] = None,
21031
21133
  remote_access: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnNodegroup.RemoteAccessProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
21032
21134
  scaling_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnNodegroup.ScalingConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
@@ -21116,6 +21218,12 @@ def _typecheckingstub__4f424c6e7f54a85ddc7d4750a4a59bfb7f9e1faed7e8263996db88acd
21116
21218
  """Type checking stubs"""
21117
21219
  pass
21118
21220
 
21221
+ def _typecheckingstub__32d9a193c1fbf4f744119faa14907eda38fe01339dc08c10a27310a3e1360bee(
21222
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnNodegroup.NodeRepairConfigProperty]],
21223
+ ) -> None:
21224
+ """Type checking stubs"""
21225
+ pass
21226
+
21119
21227
  def _typecheckingstub__8d0a201b4d5113f2762fa5568ac8994d40e377b014ef0043d75172492c9679fa(
21120
21228
  value: typing.Optional[builtins.str],
21121
21229
  ) -> None:
@@ -21167,6 +21275,13 @@ def _typecheckingstub__e659212680af90c8732b5ec096030b6902f35121f1ca1a82a513ebaa5
21167
21275
  """Type checking stubs"""
21168
21276
  pass
21169
21277
 
21278
+ def _typecheckingstub__29dbda55ee07f00e62bcfcbc392973b5c2850e347abc3e6692b5d82704d445f0(
21279
+ *,
21280
+ enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
21281
+ ) -> None:
21282
+ """Type checking stubs"""
21283
+ pass
21284
+
21170
21285
  def _typecheckingstub__20ad8c5a88d11d94fe39192936f148394a3c64c19310bb51fdcbb909cfab8bb7(
21171
21286
  *,
21172
21287
  ec2_ssh_key: builtins.str,
@@ -21214,6 +21329,7 @@ def _typecheckingstub__61a7b4277678abead400083fb1974a4f71ee28a78b5e79235fc3a4581
21214
21329
  labels: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
21215
21330
  launch_template: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnNodegroup.LaunchTemplateSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
21216
21331
  nodegroup_name: typing.Optional[builtins.str] = None,
21332
+ node_repair_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnNodegroup.NodeRepairConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
21217
21333
  release_version: typing.Optional[builtins.str] = None,
21218
21334
  remote_access: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnNodegroup.RemoteAccessProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
21219
21335
  scaling_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnNodegroup.ScalingConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,