aws-cdk-lib 2.164.1__py3-none-any.whl → 2.166.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 (52) hide show
  1. aws_cdk/__init__.py +20 -0
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.164.1.jsii.tgz → aws-cdk-lib@2.166.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_appsync/__init__.py +2163 -375
  5. aws_cdk/aws_autoscaling/__init__.py +145 -8
  6. aws_cdk/aws_backup/__init__.py +627 -3
  7. aws_cdk/aws_bedrock/__init__.py +982 -191
  8. aws_cdk/aws_codebuild/__init__.py +88 -33
  9. aws_cdk/aws_codepipeline/__init__.py +98 -5
  10. aws_cdk/aws_codestar/__init__.py +1 -1
  11. aws_cdk/aws_cognito/__init__.py +656 -102
  12. aws_cdk/aws_connect/__init__.py +1 -1
  13. aws_cdk/aws_datasync/__init__.py +9 -7
  14. aws_cdk/aws_devopsguru/__init__.py +2 -2
  15. aws_cdk/aws_dms/__init__.py +762 -0
  16. aws_cdk/aws_dynamodb/__init__.py +13 -8
  17. aws_cdk/aws_ec2/__init__.py +134 -35
  18. aws_cdk/aws_ecs/__init__.py +41 -31
  19. aws_cdk/aws_eks/__init__.py +10 -12
  20. aws_cdk/aws_elasticache/__init__.py +52 -6
  21. aws_cdk/aws_emrserverless/__init__.py +35 -33
  22. aws_cdk/aws_events/__init__.py +25 -30
  23. aws_cdk/aws_imagebuilder/__init__.py +183 -0
  24. aws_cdk/aws_iot/__init__.py +37 -43
  25. aws_cdk/aws_iotwireless/__init__.py +2 -2
  26. aws_cdk/aws_kinesis/__init__.py +297 -1
  27. aws_cdk/aws_lambda/__init__.py +3 -3
  28. aws_cdk/aws_m2/__init__.py +58 -58
  29. aws_cdk/aws_mediapackagev2/__init__.py +191 -0
  30. aws_cdk/aws_memorydb/__init__.py +41 -0
  31. aws_cdk/aws_networkfirewall/__init__.py +14 -5
  32. aws_cdk/aws_opensearchservice/__init__.py +969 -0
  33. aws_cdk/aws_pipes/__init__.py +1 -1
  34. aws_cdk/aws_qbusiness/__init__.py +23 -14
  35. aws_cdk/aws_rds/__init__.py +187 -48
  36. aws_cdk/aws_redshift/__init__.py +23 -23
  37. aws_cdk/aws_refactorspaces/__init__.py +56 -61
  38. aws_cdk/aws_resiliencehub/__init__.py +4 -4
  39. aws_cdk/aws_route53/__init__.py +37 -9
  40. aws_cdk/aws_s3_deployment/__init__.py +13 -7
  41. aws_cdk/aws_sagemaker/__init__.py +128 -23
  42. aws_cdk/aws_secretsmanager/__init__.py +2 -1
  43. aws_cdk/aws_ses/__init__.py +19 -0
  44. aws_cdk/aws_synthetics/__init__.py +121 -0
  45. aws_cdk/aws_timestream/__init__.py +41 -0
  46. aws_cdk/aws_wisdom/__init__.py +2035 -61
  47. {aws_cdk_lib-2.164.1.dist-info → aws_cdk_lib-2.166.0.dist-info}/METADATA +6 -6
  48. {aws_cdk_lib-2.164.1.dist-info → aws_cdk_lib-2.166.0.dist-info}/RECORD +52 -52
  49. {aws_cdk_lib-2.164.1.dist-info → aws_cdk_lib-2.166.0.dist-info}/LICENSE +0 -0
  50. {aws_cdk_lib-2.164.1.dist-info → aws_cdk_lib-2.166.0.dist-info}/NOTICE +0 -0
  51. {aws_cdk_lib-2.164.1.dist-info → aws_cdk_lib-2.166.0.dist-info}/WHEEL +0 -0
  52. {aws_cdk_lib-2.164.1.dist-info → aws_cdk_lib-2.166.0.dist-info}/top_level.txt +0 -0
aws_cdk/__init__.py CHANGED
@@ -21589,6 +21589,7 @@ class Stage(
21589
21589
  def synth(
21590
21590
  self,
21591
21591
  *,
21592
+ error_on_duplicate_synth: typing.Optional[builtins.bool] = None,
21592
21593
  force: typing.Optional[builtins.bool] = None,
21593
21594
  skip_validation: typing.Optional[builtins.bool] = None,
21594
21595
  validate_on_synthesis: typing.Optional[builtins.bool] = None,
@@ -21598,11 +21599,13 @@ class Stage(
21598
21599
  Once an assembly has been synthesized, it cannot be modified. Subsequent
21599
21600
  calls will return the same assembly.
21600
21601
 
21602
+ :param error_on_duplicate_synth: Whether or not to throw a warning instead of an error if the construct tree has been mutated since the last synth. Default: true
21601
21603
  :param force: Force a re-synth, even if the stage has already been synthesized. This is used by tests to allow for incremental verification of the output. Do not use in production. Default: false
21602
21604
  :param skip_validation: Should we skip construct validation. Default: - false
21603
21605
  :param validate_on_synthesis: Whether the stack should be validated after synthesis to check for error metadata. Default: - false
21604
21606
  '''
21605
21607
  options = StageSynthesisOptions(
21608
+ error_on_duplicate_synth=error_on_duplicate_synth,
21606
21609
  force=force,
21607
21610
  skip_validation=skip_validation,
21608
21611
  validate_on_synthesis=validate_on_synthesis,
@@ -21845,6 +21848,7 @@ class StageProps:
21845
21848
  jsii_type="aws-cdk-lib.StageSynthesisOptions",
21846
21849
  jsii_struct_bases=[],
21847
21850
  name_mapping={
21851
+ "error_on_duplicate_synth": "errorOnDuplicateSynth",
21848
21852
  "force": "force",
21849
21853
  "skip_validation": "skipValidation",
21850
21854
  "validate_on_synthesis": "validateOnSynthesis",
@@ -21854,12 +21858,14 @@ class StageSynthesisOptions:
21854
21858
  def __init__(
21855
21859
  self,
21856
21860
  *,
21861
+ error_on_duplicate_synth: typing.Optional[builtins.bool] = None,
21857
21862
  force: typing.Optional[builtins.bool] = None,
21858
21863
  skip_validation: typing.Optional[builtins.bool] = None,
21859
21864
  validate_on_synthesis: typing.Optional[builtins.bool] = None,
21860
21865
  ) -> None:
21861
21866
  '''Options for assembly synthesis.
21862
21867
 
21868
+ :param error_on_duplicate_synth: Whether or not to throw a warning instead of an error if the construct tree has been mutated since the last synth. Default: true
21863
21869
  :param force: Force a re-synth, even if the stage has already been synthesized. This is used by tests to allow for incremental verification of the output. Do not use in production. Default: false
21864
21870
  :param skip_validation: Should we skip construct validation. Default: - false
21865
21871
  :param validate_on_synthesis: Whether the stack should be validated after synthesis to check for error metadata. Default: - false
@@ -21873,6 +21879,7 @@ class StageSynthesisOptions:
21873
21879
  import aws_cdk as cdk
21874
21880
 
21875
21881
  stage_synthesis_options = cdk.StageSynthesisOptions(
21882
+ error_on_duplicate_synth=False,
21876
21883
  force=False,
21877
21884
  skip_validation=False,
21878
21885
  validate_on_synthesis=False
@@ -21880,10 +21887,13 @@ class StageSynthesisOptions:
21880
21887
  '''
21881
21888
  if __debug__:
21882
21889
  type_hints = typing.get_type_hints(_typecheckingstub__e8b2b0462b32cc3d2ec10c615bf94a3122bcdd5b1e2c521fb377665ba9a5a618)
21890
+ check_type(argname="argument error_on_duplicate_synth", value=error_on_duplicate_synth, expected_type=type_hints["error_on_duplicate_synth"])
21883
21891
  check_type(argname="argument force", value=force, expected_type=type_hints["force"])
21884
21892
  check_type(argname="argument skip_validation", value=skip_validation, expected_type=type_hints["skip_validation"])
21885
21893
  check_type(argname="argument validate_on_synthesis", value=validate_on_synthesis, expected_type=type_hints["validate_on_synthesis"])
21886
21894
  self._values: typing.Dict[builtins.str, typing.Any] = {}
21895
+ if error_on_duplicate_synth is not None:
21896
+ self._values["error_on_duplicate_synth"] = error_on_duplicate_synth
21887
21897
  if force is not None:
21888
21898
  self._values["force"] = force
21889
21899
  if skip_validation is not None:
@@ -21891,6 +21901,15 @@ class StageSynthesisOptions:
21891
21901
  if validate_on_synthesis is not None:
21892
21902
  self._values["validate_on_synthesis"] = validate_on_synthesis
21893
21903
 
21904
+ @builtins.property
21905
+ def error_on_duplicate_synth(self) -> typing.Optional[builtins.bool]:
21906
+ '''Whether or not to throw a warning instead of an error if the construct tree has been mutated since the last synth.
21907
+
21908
+ :default: true
21909
+ '''
21910
+ result = self._values.get("error_on_duplicate_synth")
21911
+ return typing.cast(typing.Optional[builtins.bool], result)
21912
+
21894
21913
  @builtins.property
21895
21914
  def force(self) -> typing.Optional[builtins.bool]:
21896
21915
  '''Force a re-synth, even if the stage has already been synthesized.
@@ -37249,6 +37268,7 @@ def _typecheckingstub__c519a1aa0534921a8dfdfa69ddc24b52c09a7eb52fc889f7fb96b737e
37249
37268
 
37250
37269
  def _typecheckingstub__e8b2b0462b32cc3d2ec10c615bf94a3122bcdd5b1e2c521fb377665ba9a5a618(
37251
37270
  *,
37271
+ error_on_duplicate_synth: typing.Optional[builtins.bool] = None,
37252
37272
  force: typing.Optional[builtins.bool] = None,
37253
37273
  skip_validation: typing.Optional[builtins.bool] = None,
37254
37274
  validate_on_synthesis: typing.Optional[builtins.bool] = None,
aws_cdk/_jsii/__init__.py CHANGED
@@ -35,7 +35,7 @@ import aws_cdk.cloud_assembly_schema._jsii
35
35
  import constructs._jsii
36
36
 
37
37
  __jsii_assembly__ = jsii.JSIIAssembly.load(
38
- "aws-cdk-lib", "2.164.1", __name__[0:-6], "aws-cdk-lib@2.164.1.jsii.tgz"
38
+ "aws-cdk-lib", "2.166.0", __name__[0:-6], "aws-cdk-lib@2.166.0.jsii.tgz"
39
39
  )
40
40
 
41
41
  __all__ = [