aws-cdk-lib 2.206.0__py3-none-any.whl → 2.208.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 (44) hide show
  1. aws_cdk/__init__.py +96 -15
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.206.0.jsii.tgz → aws-cdk-lib@2.208.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_aiops/__init__.py +70 -76
  5. aws_cdk/aws_amazonmq/__init__.py +8 -18
  6. aws_cdk/aws_appstream/__init__.py +36 -4
  7. aws_cdk/aws_autoscaling/__init__.py +20 -0
  8. aws_cdk/aws_bedrock/__init__.py +317 -142
  9. aws_cdk/aws_certificatemanager/__init__.py +48 -3
  10. aws_cdk/aws_cleanrooms/__init__.py +6 -2
  11. aws_cdk/aws_cloudformation/__init__.py +28 -15
  12. aws_cdk/aws_cloudfront/__init__.py +12 -2
  13. aws_cdk/aws_cloudwatch/__init__.py +574 -33
  14. aws_cdk/aws_connect/__init__.py +107 -3
  15. aws_cdk/aws_customerprofiles/__init__.py +27 -22
  16. aws_cdk/aws_datasync/__init__.py +14 -15
  17. aws_cdk/aws_docdb/__init__.py +5 -3
  18. aws_cdk/aws_ec2/__init__.py +59 -13
  19. aws_cdk/aws_ecs/__init__.py +185 -47
  20. aws_cdk/aws_events/__init__.py +142 -0
  21. aws_cdk/aws_gamelift/__init__.py +2 -2
  22. aws_cdk/aws_guardduty/__init__.py +86 -0
  23. aws_cdk/aws_iotsitewise/__init__.py +13 -9
  24. aws_cdk/aws_kinesisfirehose/__init__.py +377 -4
  25. aws_cdk/aws_kms/__init__.py +19 -17
  26. aws_cdk/aws_logs/__init__.py +4775 -764
  27. aws_cdk/aws_mediapackagev2/__init__.py +950 -48
  28. aws_cdk/aws_omics/__init__.py +13 -10
  29. aws_cdk/aws_opsworkscm/__init__.py +2 -4
  30. aws_cdk/aws_quicksight/__init__.py +111 -4
  31. aws_cdk/aws_rds/__init__.py +358 -27
  32. aws_cdk/aws_s3/__init__.py +781 -8
  33. aws_cdk/aws_s3express/__init__.py +61 -3
  34. aws_cdk/aws_s3tables/__init__.py +254 -0
  35. aws_cdk/aws_sagemaker/__init__.py +527 -140
  36. aws_cdk/aws_ssm/__init__.py +106 -33
  37. aws_cdk/aws_transfer/__init__.py +70 -11
  38. aws_cdk/aws_wisdom/__init__.py +1185 -100
  39. {aws_cdk_lib-2.206.0.dist-info → aws_cdk_lib-2.208.0.dist-info}/METADATA +2 -2
  40. {aws_cdk_lib-2.206.0.dist-info → aws_cdk_lib-2.208.0.dist-info}/RECORD +44 -44
  41. {aws_cdk_lib-2.206.0.dist-info → aws_cdk_lib-2.208.0.dist-info}/LICENSE +0 -0
  42. {aws_cdk_lib-2.206.0.dist-info → aws_cdk_lib-2.208.0.dist-info}/NOTICE +0 -0
  43. {aws_cdk_lib-2.206.0.dist-info → aws_cdk_lib-2.208.0.dist-info}/WHEEL +0 -0
  44. {aws_cdk_lib-2.206.0.dist-info → aws_cdk_lib-2.208.0.dist-info}/top_level.txt +0 -0
@@ -19496,6 +19496,7 @@ class AutoScalingGroup(
19496
19496
  launch_template: typing.Optional[_ILaunchTemplate_f32c0fd7] = None,
19497
19497
  machine_image: typing.Optional[_IMachineImage_0e8bd50b] = None,
19498
19498
  max_healthy_percentage: typing.Optional[jsii.Number] = None,
19499
+ migrate_to_launch_template: typing.Optional[builtins.bool] = None,
19499
19500
  min_healthy_percentage: typing.Optional[jsii.Number] = None,
19500
19501
  mixed_instances_policy: typing.Optional[typing.Union[MixedInstancesPolicy, typing.Dict[builtins.str, typing.Any]]] = None,
19501
19502
  require_imdsv2: typing.Optional[builtins.bool] = None,
@@ -19541,6 +19542,7 @@ class AutoScalingGroup(
19541
19542
  :param launch_template: Launch template to use. Launch configuration related settings and MixedInstancesPolicy must not be specified when a launch template is specified. Default: - Do not provide any launch template
19542
19543
  :param machine_image: AMI to launch. ``launchTemplate`` and ``mixedInstancesPolicy`` must not be specified when this property is specified Default: - Do not provide any machine image
19543
19544
  :param max_healthy_percentage: Specifies the upper threshold as a percentage of the desired capacity of the Auto Scaling group. It represents the maximum percentage of the group that can be in service and healthy, or pending, to support your workload when replacing instances. Value range is 0 to 100. After it's set, both ``minHealthyPercentage`` and ``maxHealthyPercentage`` to -1 will clear the previously set value. Both or neither of ``minHealthyPercentage`` and ``maxHealthyPercentage`` must be specified, and the difference between them cannot be greater than 100. A large range increases the number of instances that can be replaced at the same time. Default: - No instance maintenance policy.
19545
+ :param migrate_to_launch_template: Whether safety guardrail should be enforced when migrating to the launch template. Default: false
19544
19546
  :param min_healthy_percentage: Specifies the lower threshold as a percentage of the desired capacity of the Auto Scaling group. It represents the minimum percentage of the group to keep in service, healthy, and ready to use to support your workload when replacing instances. Value range is 0 to 100. After it's set, both ``minHealthyPercentage`` and ``maxHealthyPercentage`` to -1 will clear the previously set value. Both or neither of ``minHealthyPercentage`` and ``maxHealthyPercentage`` must be specified, and the difference between them cannot be greater than 100. A large range increases the number of instances that can be replaced at the same time. Default: - No instance maintenance policy.
19545
19547
  :param mixed_instances_policy: Mixed Instances Policy to use. Launch configuration related settings and Launch Template must not be specified when a MixedInstancesPolicy is specified. Default: - Do not provide any MixedInstancesPolicy
19546
19548
  :param require_imdsv2: Whether IMDSv2 should be required on launched instances. Default: false
@@ -19588,6 +19590,7 @@ class AutoScalingGroup(
19588
19590
  launch_template=launch_template,
19589
19591
  machine_image=machine_image,
19590
19592
  max_healthy_percentage=max_healthy_percentage,
19593
+ migrate_to_launch_template=migrate_to_launch_template,
19591
19594
  min_healthy_percentage=min_healthy_percentage,
19592
19595
  mixed_instances_policy=mixed_instances_policy,
19593
19596
  require_imdsv2=require_imdsv2,
@@ -20230,6 +20233,7 @@ class AutoScalingGroup(
20230
20233
  "launch_template": "launchTemplate",
20231
20234
  "machine_image": "machineImage",
20232
20235
  "max_healthy_percentage": "maxHealthyPercentage",
20236
+ "migrate_to_launch_template": "migrateToLaunchTemplate",
20233
20237
  "min_healthy_percentage": "minHealthyPercentage",
20234
20238
  "mixed_instances_policy": "mixedInstancesPolicy",
20235
20239
  "require_imdsv2": "requireImdsv2",
@@ -20277,6 +20281,7 @@ class AutoScalingGroupProps(CommonAutoScalingGroupProps):
20277
20281
  launch_template: typing.Optional[_ILaunchTemplate_f32c0fd7] = None,
20278
20282
  machine_image: typing.Optional[_IMachineImage_0e8bd50b] = None,
20279
20283
  max_healthy_percentage: typing.Optional[jsii.Number] = None,
20284
+ migrate_to_launch_template: typing.Optional[builtins.bool] = None,
20280
20285
  min_healthy_percentage: typing.Optional[jsii.Number] = None,
20281
20286
  mixed_instances_policy: typing.Optional[typing.Union[MixedInstancesPolicy, typing.Dict[builtins.str, typing.Any]]] = None,
20282
20287
  require_imdsv2: typing.Optional[builtins.bool] = None,
@@ -20321,6 +20326,7 @@ class AutoScalingGroupProps(CommonAutoScalingGroupProps):
20321
20326
  :param launch_template: Launch template to use. Launch configuration related settings and MixedInstancesPolicy must not be specified when a launch template is specified. Default: - Do not provide any launch template
20322
20327
  :param machine_image: AMI to launch. ``launchTemplate`` and ``mixedInstancesPolicy`` must not be specified when this property is specified Default: - Do not provide any machine image
20323
20328
  :param max_healthy_percentage: Specifies the upper threshold as a percentage of the desired capacity of the Auto Scaling group. It represents the maximum percentage of the group that can be in service and healthy, or pending, to support your workload when replacing instances. Value range is 0 to 100. After it's set, both ``minHealthyPercentage`` and ``maxHealthyPercentage`` to -1 will clear the previously set value. Both or neither of ``minHealthyPercentage`` and ``maxHealthyPercentage`` must be specified, and the difference between them cannot be greater than 100. A large range increases the number of instances that can be replaced at the same time. Default: - No instance maintenance policy.
20329
+ :param migrate_to_launch_template: Whether safety guardrail should be enforced when migrating to the launch template. Default: false
20324
20330
  :param min_healthy_percentage: Specifies the lower threshold as a percentage of the desired capacity of the Auto Scaling group. It represents the minimum percentage of the group to keep in service, healthy, and ready to use to support your workload when replacing instances. Value range is 0 to 100. After it's set, both ``minHealthyPercentage`` and ``maxHealthyPercentage`` to -1 will clear the previously set value. Both or neither of ``minHealthyPercentage`` and ``maxHealthyPercentage`` must be specified, and the difference between them cannot be greater than 100. A large range increases the number of instances that can be replaced at the same time. Default: - No instance maintenance policy.
20325
20331
  :param mixed_instances_policy: Mixed Instances Policy to use. Launch configuration related settings and Launch Template must not be specified when a MixedInstancesPolicy is specified. Default: - Do not provide any MixedInstancesPolicy
20326
20332
  :param require_imdsv2: Whether IMDSv2 should be required on launched instances. Default: false
@@ -20386,6 +20392,7 @@ class AutoScalingGroupProps(CommonAutoScalingGroupProps):
20386
20392
  check_type(argname="argument launch_template", value=launch_template, expected_type=type_hints["launch_template"])
20387
20393
  check_type(argname="argument machine_image", value=machine_image, expected_type=type_hints["machine_image"])
20388
20394
  check_type(argname="argument max_healthy_percentage", value=max_healthy_percentage, expected_type=type_hints["max_healthy_percentage"])
20395
+ check_type(argname="argument migrate_to_launch_template", value=migrate_to_launch_template, expected_type=type_hints["migrate_to_launch_template"])
20389
20396
  check_type(argname="argument min_healthy_percentage", value=min_healthy_percentage, expected_type=type_hints["min_healthy_percentage"])
20390
20397
  check_type(argname="argument mixed_instances_policy", value=mixed_instances_policy, expected_type=type_hints["mixed_instances_policy"])
20391
20398
  check_type(argname="argument require_imdsv2", value=require_imdsv2, expected_type=type_hints["require_imdsv2"])
@@ -20463,6 +20470,8 @@ class AutoScalingGroupProps(CommonAutoScalingGroupProps):
20463
20470
  self._values["machine_image"] = machine_image
20464
20471
  if max_healthy_percentage is not None:
20465
20472
  self._values["max_healthy_percentage"] = max_healthy_percentage
20473
+ if migrate_to_launch_template is not None:
20474
+ self._values["migrate_to_launch_template"] = migrate_to_launch_template
20466
20475
  if min_healthy_percentage is not None:
20467
20476
  self._values["min_healthy_percentage"] = min_healthy_percentage
20468
20477
  if mixed_instances_policy is not None:
@@ -20957,6 +20966,15 @@ class AutoScalingGroupProps(CommonAutoScalingGroupProps):
20957
20966
  result = self._values.get("max_healthy_percentage")
20958
20967
  return typing.cast(typing.Optional[jsii.Number], result)
20959
20968
 
20969
+ @builtins.property
20970
+ def migrate_to_launch_template(self) -> typing.Optional[builtins.bool]:
20971
+ '''Whether safety guardrail should be enforced when migrating to the launch template.
20972
+
20973
+ :default: false
20974
+ '''
20975
+ result = self._values.get("migrate_to_launch_template")
20976
+ return typing.cast(typing.Optional[builtins.bool], result)
20977
+
20960
20978
  @builtins.property
20961
20979
  def min_healthy_percentage(self) -> typing.Optional[jsii.Number]:
20962
20980
  '''Specifies the lower threshold as a percentage of the desired capacity of the Auto Scaling group.
@@ -23458,6 +23476,7 @@ def _typecheckingstub__82981fc74407321badee3133fda3bd0a016f4ab7634f761219c1c808c
23458
23476
  launch_template: typing.Optional[_ILaunchTemplate_f32c0fd7] = None,
23459
23477
  machine_image: typing.Optional[_IMachineImage_0e8bd50b] = None,
23460
23478
  max_healthy_percentage: typing.Optional[jsii.Number] = None,
23479
+ migrate_to_launch_template: typing.Optional[builtins.bool] = None,
23461
23480
  min_healthy_percentage: typing.Optional[jsii.Number] = None,
23462
23481
  mixed_instances_policy: typing.Optional[typing.Union[MixedInstancesPolicy, typing.Dict[builtins.str, typing.Any]]] = None,
23463
23482
  require_imdsv2: typing.Optional[builtins.bool] = None,
@@ -23708,6 +23727,7 @@ def _typecheckingstub__186ff14d58334848486a7ecd802c6b72a1b76f272f25349712b95361e
23708
23727
  launch_template: typing.Optional[_ILaunchTemplate_f32c0fd7] = None,
23709
23728
  machine_image: typing.Optional[_IMachineImage_0e8bd50b] = None,
23710
23729
  max_healthy_percentage: typing.Optional[jsii.Number] = None,
23730
+ migrate_to_launch_template: typing.Optional[builtins.bool] = None,
23711
23731
  min_healthy_percentage: typing.Optional[jsii.Number] = None,
23712
23732
  mixed_instances_policy: typing.Optional[typing.Union[MixedInstancesPolicy, typing.Dict[builtins.str, typing.Any]]] = None,
23713
23733
  require_imdsv2: typing.Optional[builtins.bool] = None,