aws-cdk-lib 2.171.1__py3-none-any.whl → 2.173.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 (78) hide show
  1. aws_cdk/__init__.py +528 -161
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.171.1.jsii.tgz → aws-cdk-lib@2.173.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_amazonmq/__init__.py +40 -40
  5. aws_cdk/aws_apigateway/__init__.py +1357 -120
  6. aws_cdk/aws_applicationautoscaling/__init__.py +141 -66
  7. aws_cdk/aws_appsync/__init__.py +163 -139
  8. aws_cdk/aws_autoscaling/__init__.py +96 -30
  9. aws_cdk/aws_bedrock/__init__.py +80 -44
  10. aws_cdk/aws_chatbot/__init__.py +803 -2
  11. aws_cdk/aws_cleanrooms/__init__.py +4 -6
  12. aws_cdk/aws_cloudformation/__init__.py +240 -159
  13. aws_cdk/aws_cloudfront/__init__.py +15 -7
  14. aws_cdk/aws_cloudtrail/__init__.py +802 -13
  15. aws_cdk/aws_cloudwatch/__init__.py +51 -14
  16. aws_cdk/aws_codebuild/__init__.py +39 -0
  17. aws_cdk/aws_codepipeline/__init__.py +4 -4
  18. aws_cdk/aws_cognito/__init__.py +1032 -43
  19. aws_cdk/aws_config/__init__.py +13 -10
  20. aws_cdk/aws_connect/__init__.py +454 -23
  21. aws_cdk/aws_connectcampaignsv2/__init__.py +187 -176
  22. aws_cdk/aws_customerprofiles/__init__.py +3148 -0
  23. aws_cdk/aws_docdb/__init__.py +128 -0
  24. aws_cdk/aws_dynamodb/__init__.py +256 -0
  25. aws_cdk/aws_ec2/__init__.py +976 -27
  26. aws_cdk/aws_ecs/__init__.py +37 -20
  27. aws_cdk/aws_eks/__init__.py +771 -0
  28. aws_cdk/aws_elasticache/__init__.py +22 -22
  29. aws_cdk/aws_elasticloadbalancingv2/__init__.py +441 -177
  30. aws_cdk/aws_events/__init__.py +550 -30
  31. aws_cdk/aws_fsx/__init__.py +134 -10
  32. aws_cdk/aws_imagebuilder/__init__.py +8 -8
  33. aws_cdk/aws_invoicing/__init__.py +651 -0
  34. aws_cdk/aws_iot/__init__.py +70 -26
  35. aws_cdk/aws_iotfleetwise/__init__.py +1033 -382
  36. aws_cdk/aws_iotsitewise/__init__.py +158 -0
  37. aws_cdk/aws_ivs/__init__.py +43 -31
  38. aws_cdk/aws_kendra/__init__.py +4 -0
  39. aws_cdk/aws_lakeformation/__init__.py +2 -1
  40. aws_cdk/aws_lambda/__init__.py +272 -164
  41. aws_cdk/aws_lambda_event_sources/__init__.py +2 -1
  42. aws_cdk/aws_lambda_nodejs/__init__.py +11 -11
  43. aws_cdk/aws_logs/__init__.py +532 -0
  44. aws_cdk/aws_m2/__init__.py +289 -0
  45. aws_cdk/aws_mediaconnect/__init__.py +24 -14
  46. aws_cdk/aws_medialive/__init__.py +2359 -5
  47. aws_cdk/aws_mediapackage/__init__.py +3 -9
  48. aws_cdk/aws_mediapackagev2/__init__.py +19 -17
  49. aws_cdk/aws_memorydb/__init__.py +664 -4
  50. aws_cdk/aws_mwaa/__init__.py +6 -6
  51. aws_cdk/aws_opensearchserverless/__init__.py +249 -1
  52. aws_cdk/aws_pipes/__init__.py +14 -30
  53. aws_cdk/aws_qbusiness/__init__.py +2021 -67
  54. aws_cdk/aws_quicksight/__init__.py +8270 -10
  55. aws_cdk/aws_rbin/__init__.py +53 -34
  56. aws_cdk/aws_rds/__init__.py +170 -8
  57. aws_cdk/aws_resourcegroups/__init__.py +362 -4
  58. aws_cdk/aws_route53/__init__.py +1177 -10
  59. aws_cdk/aws_route53_targets/__init__.py +297 -91
  60. aws_cdk/aws_route53resolver/__init__.py +19 -8
  61. aws_cdk/aws_s3/__init__.py +4 -4
  62. aws_cdk/aws_s3express/__init__.py +421 -9
  63. aws_cdk/aws_sagemaker/__init__.py +905 -119
  64. aws_cdk/aws_secretsmanager/__init__.py +20 -6
  65. aws_cdk/aws_securityhub/__init__.py +64 -32
  66. aws_cdk/aws_servicediscovery/__init__.py +43 -0
  67. aws_cdk/aws_ses/__init__.py +188 -41
  68. aws_cdk/aws_stepfunctions_tasks/__init__.py +190 -35
  69. aws_cdk/aws_synthetics/__init__.py +7 -5
  70. aws_cdk/aws_vpclattice/__init__.py +1479 -122
  71. aws_cdk/aws_wisdom/__init__.py +8509 -1502
  72. aws_cdk/aws_workspacesweb/__init__.py +1081 -0
  73. {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/METADATA +1 -1
  74. {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/RECORD +78 -77
  75. {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/LICENSE +0 -0
  76. {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/NOTICE +0 -0
  77. {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/WHEEL +0 -0
  78. {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/top_level.txt +0 -0
@@ -85,7 +85,12 @@ class CfnRule(
85
85
  metaclass=jsii.JSIIMeta,
86
86
  jsii_type="aws-cdk-lib.aws_rbin.CfnRule",
87
87
  ):
88
- '''Resource Type definition for AWS::Rbin::Rule.
88
+ '''Creates a Recycle Bin retention rule. You can create two types of retention rules:.
89
+
90
+ - *Tag-level retention rules* - These retention rules use resource tags to identify the resources to protect. For each retention rule, you specify one or more tag key and value pairs. Resources (of the specified type) that have at least one of these tag key and value pairs are automatically retained in the Recycle Bin upon deletion. Use this type of retention rule to protect specific resources in your account based on their tags.
91
+ - *Region-level retention rules* - These retention rules, by default, apply to all of the resources (of the specified type) in the Region, even if the resources are not tagged. However, you can specify exclusion tags to exclude resources that have specific tags. Use this type of retention rule to protect all resources of a specific type in a Region.
92
+
93
+ For more information, see `Create Recycle Bin retention rules <https://docs.aws.amazon.com/ebs/latest/userguide/recycle-bin.html>`_ in the *Amazon EBS User Guide* .
89
94
 
90
95
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rbin-rule.html
91
96
  :cloudformationResource: AWS::Rbin::Rule
@@ -144,12 +149,12 @@ class CfnRule(
144
149
  :param scope: Scope in which this resource is defined.
145
150
  :param id: Construct identifier for this resource (unique in its scope).
146
151
  :param resource_type: The resource type retained by the retention rule.
147
- :param retention_period: The retention period of the rule.
148
- :param description: The description of the retention rule.
152
+ :param retention_period: Information about the retention period for which the retention rule is to retain resources.
153
+ :param description: The retention rule description.
149
154
  :param exclude_resource_tags: Information about the exclude resource tags used to identify resources that are excluded by the retention rule.
150
- :param lock_configuration:
151
- :param resource_tags: Information about the resource tags used to identify resources that are retained by the retention rule.
152
- :param status: The state of the retention rule. Only retention rules that are in the available state retain resources.
155
+ :param lock_configuration: Information about the retention rule lock configuration.
156
+ :param resource_tags: [Tag-level retention rules only] Information about the resource tags used to identify resources that are retained by the retention rule.
157
+ :param status: The state of the retention rule. Only retention rules that are in the ``available`` state retain resources.
153
158
  :param tags: Information about the tags assigned to the retention rule.
154
159
  '''
155
160
  if __debug__:
@@ -202,7 +207,7 @@ class CfnRule(
202
207
  @builtins.property
203
208
  @jsii.member(jsii_name="attrArn")
204
209
  def attr_arn(self) -> builtins.str:
205
- '''Rule Arn is unique for each rule.
210
+ '''The Amazon Resource Name (ARN) of the retention rule.
206
211
 
207
212
  :cloudformationAttribute: Arn
208
213
  '''
@@ -220,7 +225,12 @@ class CfnRule(
220
225
  @builtins.property
221
226
  @jsii.member(jsii_name="attrLockState")
222
227
  def attr_lock_state(self) -> builtins.str:
223
- '''The lock state for the retention rule.
228
+ '''[Region-level retention rules only] The lock state for the retention rule.
229
+
230
+ - ``locked`` - The retention rule is locked and can't be modified or deleted.
231
+ - ``pending_unlock`` - The retention rule has been unlocked but it is still within the unlock delay period. The retention rule can be modified or deleted only after the unlock delay period has expired.
232
+ - ``unlocked`` - The retention rule is unlocked and it can be modified or deleted by any user with the required permissions.
233
+ - ``null`` - The retention rule has never been locked. Once a retention rule has been locked, it can transition between the ``locked`` and ``unlocked`` states only; it can never transition back to ``null`` .
224
234
 
225
235
  :cloudformationAttribute: LockState
226
236
  '''
@@ -255,7 +265,7 @@ class CfnRule(
255
265
  def retention_period(
256
266
  self,
257
267
  ) -> typing.Union[_IResolvable_da3f097b, "CfnRule.RetentionPeriodProperty"]:
258
- '''The retention period of the rule.'''
268
+ '''Information about the retention period for which the retention rule is to retain resources.'''
259
269
  return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnRule.RetentionPeriodProperty"], jsii.get(self, "retentionPeriod"))
260
270
 
261
271
  @retention_period.setter
@@ -271,7 +281,7 @@ class CfnRule(
271
281
  @builtins.property
272
282
  @jsii.member(jsii_name="description")
273
283
  def description(self) -> typing.Optional[builtins.str]:
274
- '''The description of the retention rule.'''
284
+ '''The retention rule description.'''
275
285
  return typing.cast(typing.Optional[builtins.str], jsii.get(self, "description"))
276
286
 
277
287
  @description.setter
@@ -304,6 +314,7 @@ class CfnRule(
304
314
  def lock_configuration(
305
315
  self,
306
316
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnRule.UnlockDelayProperty"]]:
317
+ '''Information about the retention rule lock configuration.'''
307
318
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnRule.UnlockDelayProperty"]], jsii.get(self, "lockConfiguration"))
308
319
 
309
320
  @lock_configuration.setter
@@ -321,7 +332,7 @@ class CfnRule(
321
332
  def resource_tags(
322
333
  self,
323
334
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnRule.ResourceTagProperty"]]]]:
324
- '''Information about the resource tags used to identify resources that are retained by the retention rule.'''
335
+ '''[Tag-level retention rules only] Information about the resource tags used to identify resources that are retained by the retention rule.'''
325
336
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnRule.ResourceTagProperty"]]]], jsii.get(self, "resourceTags"))
326
337
 
327
338
  @resource_tags.setter
@@ -375,10 +386,10 @@ class CfnRule(
375
386
  resource_tag_key: builtins.str,
376
387
  resource_tag_value: builtins.str,
377
388
  ) -> None:
378
- '''The resource tag of the rule.
389
+ '''[Tag-level retention rules only] Information about the resource tags used to identify resources that are retained by the retention rule.
379
390
 
380
- :param resource_tag_key: The tag key of the resource.
381
- :param resource_tag_value: The tag value of the resource.
391
+ :param resource_tag_key: The tag key.
392
+ :param resource_tag_value: The tag value.
382
393
 
383
394
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rbin-rule-resourcetag.html
384
395
  :exampleMetadata: fixture=_generated
@@ -405,7 +416,7 @@ class CfnRule(
405
416
 
406
417
  @builtins.property
407
418
  def resource_tag_key(self) -> builtins.str:
408
- '''The tag key of the resource.
419
+ '''The tag key.
409
420
 
410
421
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rbin-rule-resourcetag.html#cfn-rbin-rule-resourcetag-resourcetagkey
411
422
  '''
@@ -415,7 +426,7 @@ class CfnRule(
415
426
 
416
427
  @builtins.property
417
428
  def resource_tag_value(self) -> builtins.str:
418
- '''The tag value of the resource.
429
+ '''The tag value.
419
430
 
420
431
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rbin-rule-resourcetag.html#cfn-rbin-rule-resourcetag-resourcetagvalue
421
432
  '''
@@ -449,10 +460,10 @@ class CfnRule(
449
460
  retention_period_unit: builtins.str,
450
461
  retention_period_value: jsii.Number,
451
462
  ) -> None:
452
- '''The retention period of the rule.
463
+ '''Information about the retention period for which the retention rule is to retain resources.
453
464
 
454
- :param retention_period_unit: The retention period unit of the rule.
455
- :param retention_period_value: The retention period value of the rule.
465
+ :param retention_period_unit: The unit of time in which the retention period is measured. Currently, only ``DAYS`` is supported.
466
+ :param retention_period_value: The period value for which the retention rule is to retain resources. The period is measured using the unit specified for *RetentionPeriodUnit* .
456
467
 
457
468
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rbin-rule-retentionperiod.html
458
469
  :exampleMetadata: fixture=_generated
@@ -479,7 +490,9 @@ class CfnRule(
479
490
 
480
491
  @builtins.property
481
492
  def retention_period_unit(self) -> builtins.str:
482
- '''The retention period unit of the rule.
493
+ '''The unit of time in which the retention period is measured.
494
+
495
+ Currently, only ``DAYS`` is supported.
483
496
 
484
497
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rbin-rule-retentionperiod.html#cfn-rbin-rule-retentionperiod-retentionperiodunit
485
498
  '''
@@ -489,7 +502,9 @@ class CfnRule(
489
502
 
490
503
  @builtins.property
491
504
  def retention_period_value(self) -> jsii.Number:
492
- '''The retention period value of the rule.
505
+ '''The period value for which the retention rule is to retain resources.
506
+
507
+ The period is measured using the unit specified for *RetentionPeriodUnit* .
493
508
 
494
509
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rbin-rule-retentionperiod.html#cfn-rbin-rule-retentionperiod-retentionperiodvalue
495
510
  '''
@@ -523,9 +538,12 @@ class CfnRule(
523
538
  unlock_delay_unit: typing.Optional[builtins.str] = None,
524
539
  unlock_delay_value: typing.Optional[jsii.Number] = None,
525
540
  ) -> None:
526
- '''
541
+ '''Information about the retention rule unlock delay.
542
+
543
+ The unlock delay is the period after which a retention rule can be modified or edited after it has been unlocked by a user with the required permissions. The retention rule can't be modified or deleted during the unlock delay.
544
+
527
545
  :param unlock_delay_unit: The unit of time in which to measure the unlock delay. Currently, the unlock delay can be measure only in days.
528
- :param unlock_delay_value: The unlock delay period, measured in the unit specified for UnlockDelayUnit.
546
+ :param unlock_delay_value: The unlock delay period, measured in the unit specified for *UnlockDelayUnit* .
529
547
 
530
548
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rbin-rule-unlockdelay.html
531
549
  :exampleMetadata: fixture=_generated
@@ -564,7 +582,7 @@ class CfnRule(
564
582
 
565
583
  @builtins.property
566
584
  def unlock_delay_value(self) -> typing.Optional[jsii.Number]:
567
- '''The unlock delay period, measured in the unit specified for UnlockDelayUnit.
585
+ '''The unlock delay period, measured in the unit specified for *UnlockDelayUnit* .
568
586
 
569
587
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rbin-rule-unlockdelay.html#cfn-rbin-rule-unlockdelay-unlockdelayvalue
570
588
  '''
@@ -613,12 +631,12 @@ class CfnRuleProps:
613
631
  '''Properties for defining a ``CfnRule``.
614
632
 
615
633
  :param resource_type: The resource type retained by the retention rule.
616
- :param retention_period: The retention period of the rule.
617
- :param description: The description of the retention rule.
634
+ :param retention_period: Information about the retention period for which the retention rule is to retain resources.
635
+ :param description: The retention rule description.
618
636
  :param exclude_resource_tags: Information about the exclude resource tags used to identify resources that are excluded by the retention rule.
619
- :param lock_configuration:
620
- :param resource_tags: Information about the resource tags used to identify resources that are retained by the retention rule.
621
- :param status: The state of the retention rule. Only retention rules that are in the available state retain resources.
637
+ :param lock_configuration: Information about the retention rule lock configuration.
638
+ :param resource_tags: [Tag-level retention rules only] Information about the resource tags used to identify resources that are retained by the retention rule.
639
+ :param status: The state of the retention rule. Only retention rules that are in the ``available`` state retain resources.
622
640
  :param tags: Information about the tags assigned to the retention rule.
623
641
 
624
642
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rbin-rule.html
@@ -699,7 +717,7 @@ class CfnRuleProps:
699
717
  def retention_period(
700
718
  self,
701
719
  ) -> typing.Union[_IResolvable_da3f097b, CfnRule.RetentionPeriodProperty]:
702
- '''The retention period of the rule.
720
+ '''Information about the retention period for which the retention rule is to retain resources.
703
721
 
704
722
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rbin-rule.html#cfn-rbin-rule-retentionperiod
705
723
  '''
@@ -709,7 +727,7 @@ class CfnRuleProps:
709
727
 
710
728
  @builtins.property
711
729
  def description(self) -> typing.Optional[builtins.str]:
712
- '''The description of the retention rule.
730
+ '''The retention rule description.
713
731
 
714
732
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rbin-rule.html#cfn-rbin-rule-description
715
733
  '''
@@ -731,7 +749,8 @@ class CfnRuleProps:
731
749
  def lock_configuration(
732
750
  self,
733
751
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnRule.UnlockDelayProperty]]:
734
- '''
752
+ '''Information about the retention rule lock configuration.
753
+
735
754
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rbin-rule.html#cfn-rbin-rule-lockconfiguration
736
755
  '''
737
756
  result = self._values.get("lock_configuration")
@@ -741,7 +760,7 @@ class CfnRuleProps:
741
760
  def resource_tags(
742
761
  self,
743
762
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnRule.ResourceTagProperty]]]]:
744
- '''Information about the resource tags used to identify resources that are retained by the retention rule.
763
+ '''[Tag-level retention rules only] Information about the resource tags used to identify resources that are retained by the retention rule.
745
764
 
746
765
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rbin-rule.html#cfn-rbin-rule-resourcetags
747
766
  '''
@@ -752,7 +771,7 @@ class CfnRuleProps:
752
771
  def status(self) -> typing.Optional[builtins.str]:
753
772
  '''The state of the retention rule.
754
773
 
755
- Only retention rules that are in the available state retain resources.
774
+ Only retention rules that are in the ``available`` state retain resources.
756
775
 
757
776
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rbin-rule.html#cfn-rbin-rule-status
758
777
  '''