aws-cdk-lib 2.168.0__py3-none-any.whl → 2.170.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.
Files changed (40) hide show
  1. aws_cdk/__init__.py +2 -0
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.168.0.jsii.tgz → aws-cdk-lib@2.170.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_accessanalyzer/__init__.py +244 -13
  5. aws_cdk/aws_applicationsignals/__init__.py +8 -1
  6. aws_cdk/aws_autoscaling/__init__.py +310 -9
  7. aws_cdk/aws_cloudfront/__init__.py +50 -0
  8. aws_cdk/aws_cloudfront/experimental/__init__.py +5 -0
  9. aws_cdk/aws_codebuild/__init__.py +2 -2
  10. aws_cdk/aws_connect/__init__.py +378 -0
  11. aws_cdk/aws_customerprofiles/__init__.py +44 -0
  12. aws_cdk/aws_deadline/__init__.py +299 -6
  13. aws_cdk/aws_dynamodb/__init__.py +47 -25
  14. aws_cdk/aws_ec2/__init__.py +6 -2
  15. aws_cdk/aws_ecs/__init__.py +28 -22
  16. aws_cdk/aws_efs/__init__.py +61 -4
  17. aws_cdk/aws_eks/__init__.py +116 -0
  18. aws_cdk/aws_gamelift/__init__.py +385 -251
  19. aws_cdk/aws_iot/__init__.py +209 -0
  20. aws_cdk/aws_iotfleetwise/__init__.py +550 -0
  21. aws_cdk/aws_iotsitewise/__init__.py +6 -3
  22. aws_cdk/aws_ivs/__init__.py +458 -0
  23. aws_cdk/aws_kinesisfirehose/__init__.py +90 -33
  24. aws_cdk/aws_lambda/__init__.py +150 -6
  25. aws_cdk/aws_lambda_event_sources/__init__.py +298 -1
  26. aws_cdk/aws_rbin/__init__.py +902 -0
  27. aws_cdk/aws_rds/__init__.py +115 -0
  28. aws_cdk/aws_route53resolver/__init__.py +76 -19
  29. aws_cdk/aws_sagemaker/__init__.py +32 -0
  30. aws_cdk/aws_sns/__init__.py +593 -8
  31. aws_cdk/aws_sns_subscriptions/__init__.py +68 -22
  32. aws_cdk/aws_synthetics/__init__.py +46 -0
  33. aws_cdk/aws_vpclattice/__init__.py +118 -2
  34. aws_cdk/aws_wisdom/__init__.py +16 -21
  35. {aws_cdk_lib-2.168.0.dist-info → aws_cdk_lib-2.170.0.dist-info}/METADATA +1 -1
  36. {aws_cdk_lib-2.168.0.dist-info → aws_cdk_lib-2.170.0.dist-info}/RECORD +40 -39
  37. {aws_cdk_lib-2.168.0.dist-info → aws_cdk_lib-2.170.0.dist-info}/LICENSE +0 -0
  38. {aws_cdk_lib-2.168.0.dist-info → aws_cdk_lib-2.170.0.dist-info}/NOTICE +0 -0
  39. {aws_cdk_lib-2.168.0.dist-info → aws_cdk_lib-2.170.0.dist-info}/WHEEL +0 -0
  40. {aws_cdk_lib-2.168.0.dist-info → aws_cdk_lib-2.170.0.dist-info}/top_level.txt +0 -0
@@ -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,