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
aws_cdk/__init__.py CHANGED
@@ -1787,6 +1787,31 @@ class Annotations(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.Annotations"):
1787
1787
  check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
1788
1788
  return typing.cast("Annotations", jsii.sinvoke(cls, "of", [scope]))
1789
1789
 
1790
+ @jsii.member(jsii_name="acknowledgeInfo")
1791
+ def acknowledge_info(
1792
+ self,
1793
+ id: builtins.str,
1794
+ message: typing.Optional[builtins.str] = None,
1795
+ ) -> None:
1796
+ '''Acknowledge a info. When a info is acknowledged for a scope all infos that match the id will be ignored.
1797
+
1798
+ The acknowledgement will apply to all child scopes
1799
+
1800
+ :param id: - the id of the info message to acknowledge.
1801
+ :param message: optional message to explain the reason for acknowledgement.
1802
+
1803
+ Example::
1804
+
1805
+ # my_construct: Construct
1806
+
1807
+ Annotations.of(my_construct).acknowledge_info("SomeInfoId", "This info can be ignored because...")
1808
+ '''
1809
+ if __debug__:
1810
+ type_hints = typing.get_type_hints(_typecheckingstub__71c75ad95e6c491e615a0c0a9cc9bc5b538f2d93e7057612251cfc9592380513)
1811
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
1812
+ check_type(argname="argument message", value=message, expected_type=type_hints["message"])
1813
+ return typing.cast(None, jsii.invoke(self, "acknowledgeInfo", [id, message]))
1814
+
1790
1815
  @jsii.member(jsii_name="acknowledgeWarning")
1791
1816
  def acknowledge_warning(
1792
1817
  self,
@@ -1857,6 +1882,29 @@ class Annotations(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.Annotations"):
1857
1882
  check_type(argname="argument message", value=message, expected_type=type_hints["message"])
1858
1883
  return typing.cast(None, jsii.invoke(self, "addInfo", [message]))
1859
1884
 
1885
+ @jsii.member(jsii_name="addInfoV2")
1886
+ def add_info_v2(self, id: builtins.str, message: builtins.str) -> None:
1887
+ '''Adds an acknowledgeable info metadata entry to this construct.
1888
+
1889
+ The CLI will display the info when an app is synthesized.
1890
+
1891
+ If the info is acknowledged using ``acknowledgeInfo()``, it will not be shown by the CLI.
1892
+
1893
+ :param id: the unique identifier for the info. This can be used to acknowledge the info
1894
+ :param message: The info message.
1895
+
1896
+ Example::
1897
+
1898
+ # my_construct: Construct
1899
+
1900
+ Annotations.of(my_construct).add_info_v2("my-library:Construct.someInfo", "Some message explaining the info")
1901
+ '''
1902
+ if __debug__:
1903
+ type_hints = typing.get_type_hints(_typecheckingstub__843fb7798b96b5a06278ca94ba80d2ae0fb300672c44f21b2ee4d759a04bdba9)
1904
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
1905
+ check_type(argname="argument message", value=message, expected_type=type_hints["message"])
1906
+ return typing.cast(None, jsii.invoke(self, "addInfoV2", [id, message]))
1907
+
1860
1908
  @jsii.member(jsii_name="addWarning")
1861
1909
  def add_warning(self, message: builtins.str) -> None:
1862
1910
  '''Adds a warning metadata entry to this construct. Prefer using ``addWarningV2``.
@@ -33997,7 +34045,9 @@ class CfnStackSet(
33997
34045
  enabled: typing.Optional[typing.Union[builtins.bool, IResolvable]] = None,
33998
34046
  retain_stacks_on_account_removal: typing.Optional[typing.Union[builtins.bool, IResolvable]] = None,
33999
34047
  ) -> None:
34000
- '''[ ``Service-managed`` permissions] Describes whether StackSets automatically deploys to AWS Organizations accounts that are added to a target organizational unit (OU).
34048
+ '''Describes whether StackSets automatically deploys to AWS Organizations accounts that are added to a target organization or organizational unit (OU).
34049
+
34050
+ For more information, see `Enable or disable automatic deployments for StackSets in AWS Organizations <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-manage-auto-deployment.html>`_ in the *AWS CloudFormation User Guide* .
34001
34051
 
34002
34052
  :param enabled: If set to ``true`` , StackSets automatically deploys additional stack instances to AWS Organizations accounts that are added to a target organization or organizational unit (OU) in the specified Regions. If an account is removed from a target organization or OU, StackSets deletes stack instances from the account in the specified Regions.
34003
34053
  :param retain_stacks_on_account_removal: If set to ``true`` , stack resources are retained when an account is removed from a target organization or OU. If set to ``false`` , stack resources are deleted. Specify only if ``Enabled`` is set to ``True`` .
@@ -34080,11 +34130,20 @@ class CfnStackSet(
34080
34130
  accounts_url: typing.Optional[builtins.str] = None,
34081
34131
  organizational_unit_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
34082
34132
  ) -> None:
34083
- '''The AWS ``OrganizationalUnitIds`` or ``Accounts`` for which to create stack instances in the specified Regions.
34133
+ '''The AWS Organizations accounts or AWS accounts to deploy stacks to in the specified Regions.
34134
+
34135
+ When deploying to AWS Organizations accounts with ``SERVICE_MANAGED`` permissions:
34136
+
34137
+ - You must specify the ``OrganizationalUnitIds`` property.
34138
+ - If you specify organizational units (OUs) for ``OrganizationalUnitIds`` and use either the ``Accounts`` or ``AccountsUrl`` property, you must also specify the ``AccountFilterType`` property.
34084
34139
 
34085
- :param account_filter_type: Limit deployment targets to individual accounts or include additional accounts with provided OUs. The following is a list of possible values for the ``AccountFilterType`` operation. - ``INTERSECTION`` : StackSet deploys to the accounts specified in the ``Accounts`` parameter. - ``DIFFERENCE`` : StackSet deploys to the OU, excluding the accounts specified in the ``Accounts`` parameter. - ``UNION`` StackSet deploys to the OU, and the accounts specified in the ``Accounts`` parameter. ``UNION`` is not supported for create operations when using StackSet as a resource.
34140
+ When deploying to AWS accounts with ``SELF_MANAGED`` permissions:
34141
+
34142
+ - You must specify either the ``Accounts`` or ``AccountsUrl`` property, but not both.
34143
+
34144
+ :param account_filter_type: Refines which accounts to deploy stacks to by specifying how to use the ``Accounts`` and ``OrganizationalUnitIds`` properties together. The following values determine how CloudFormation selects target accounts: - ``INTERSECTION`` : StackSet deploys to the accounts specified in the ``Accounts`` property. - ``DIFFERENCE`` : StackSet deploys to the OU, excluding the accounts specified in the ``Accounts`` property. - ``UNION`` : StackSet deploys to the OU, and the accounts specified in the ``Accounts`` property. ``UNION`` is not supported for create operations when using StackSet as a resource or the ``CreateStackInstances`` API.
34086
34145
  :param accounts: The account IDs of the AWS accounts . If you have many account numbers, you can provide those accounts using the ``AccountsUrl`` property instead. *Pattern* : ``^[0-9]{12}$``
34087
- :param accounts_url: The Amazon S3 URL path to a file that contains a list of AWS account IDs. The file format must be either ``.csv`` or ``.txt`` , and the data can be comma-separated or new-line-separated. There is currently a 10MB limit for the data (approximately 800,000 accounts).
34146
+ :param accounts_url: The Amazon S3 URL path to a file that contains a list of AWS account IDs. The file format must be either ``.csv`` or ``.txt`` , and the data can be comma-separated or new-line-separated. There is currently a 10MB limit for the data (approximately 800,000 accounts). This property serves the same purpose as ``Accounts`` but allows you to specify a large number of accounts.
34088
34147
  :param organizational_unit_ids: The organization root ID or organizational unit (OU) IDs. *Pattern* : ``^(ou-[a-z0-9]{4,32}-[a-z0-9]{8,32}|r-[a-z0-9]{4,32})$``
34089
34148
 
34090
34149
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-stackset-deploymenttargets.html
@@ -34121,13 +34180,13 @@ class CfnStackSet(
34121
34180
 
34122
34181
  @builtins.property
34123
34182
  def account_filter_type(self) -> typing.Optional[builtins.str]:
34124
- '''Limit deployment targets to individual accounts or include additional accounts with provided OUs.
34183
+ '''Refines which accounts to deploy stacks to by specifying how to use the ``Accounts`` and ``OrganizationalUnitIds`` properties together.
34125
34184
 
34126
- The following is a list of possible values for the ``AccountFilterType`` operation.
34185
+ The following values determine how CloudFormation selects target accounts:
34127
34186
 
34128
- - ``INTERSECTION`` : StackSet deploys to the accounts specified in the ``Accounts`` parameter.
34129
- - ``DIFFERENCE`` : StackSet deploys to the OU, excluding the accounts specified in the ``Accounts`` parameter.
34130
- - ``UNION`` StackSet deploys to the OU, and the accounts specified in the ``Accounts`` parameter. ``UNION`` is not supported for create operations when using StackSet as a resource.
34187
+ - ``INTERSECTION`` : StackSet deploys to the accounts specified in the ``Accounts`` property.
34188
+ - ``DIFFERENCE`` : StackSet deploys to the OU, excluding the accounts specified in the ``Accounts`` property.
34189
+ - ``UNION`` : StackSet deploys to the OU, and the accounts specified in the ``Accounts`` property. ``UNION`` is not supported for create operations when using StackSet as a resource or the ``CreateStackInstances`` API.
34131
34190
 
34132
34191
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-stackset-deploymenttargets.html#cfn-cloudformation-stackset-deploymenttargets-accountfiltertype
34133
34192
  '''
@@ -34153,6 +34212,8 @@ class CfnStackSet(
34153
34212
 
34154
34213
  The file format must be either ``.csv`` or ``.txt`` , and the data can be comma-separated or new-line-separated. There is currently a 10MB limit for the data (approximately 800,000 accounts).
34155
34214
 
34215
+ This property serves the same purpose as ``Accounts`` but allows you to specify a large number of accounts.
34216
+
34156
34217
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-stackset-deploymenttargets.html#cfn-cloudformation-stackset-deploymenttargets-accountsurl
34157
34218
  '''
34158
34219
  result = self._values.get("accounts_url")
@@ -34193,7 +34254,7 @@ class CfnStackSet(
34193
34254
  ) -> None:
34194
34255
  '''Describes whether StackSets performs non-conflicting operations concurrently and queues conflicting operations.
34195
34256
 
34196
- :param active: When ``true`` , StackSets performs non-conflicting operations concurrently and queues conflicting operations. After conflicting operations finish, StackSets starts queued operations in request order. .. epigraph:: If there are already running or queued operations, StackSets queues all incoming operations even if they are non-conflicting. You can't modify your StackSet's execution configuration while there are running or queued operations for that StackSet. When ``false`` (default), StackSets performs one operation at a time in request order.
34257
+ :param active: When ``true`` , CloudFormation performs non-conflicting operations concurrently and queues conflicting operations. After conflicting operations finish, CloudFormation starts queued operations in request order. .. epigraph:: If there are already running or queued operations, CloudFormation queues all incoming operations even if they are non-conflicting. You can't modify your StackSet's execution configuration while there are running or queued operations for that StackSet. When ``false`` (default), StackSets performs one operation at a time in request order.
34197
34258
 
34198
34259
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-stackset-managedexecution.html
34199
34260
  :exampleMetadata: fixture=_generated
@@ -34217,12 +34278,12 @@ class CfnStackSet(
34217
34278
 
34218
34279
  @builtins.property
34219
34280
  def active(self) -> typing.Optional[typing.Union[builtins.bool, IResolvable]]:
34220
- '''When ``true`` , StackSets performs non-conflicting operations concurrently and queues conflicting operations.
34281
+ '''When ``true`` , CloudFormation performs non-conflicting operations concurrently and queues conflicting operations.
34221
34282
 
34222
- After conflicting operations finish, StackSets starts queued operations in request order.
34283
+ After conflicting operations finish, CloudFormation starts queued operations in request order.
34223
34284
  .. epigraph::
34224
34285
 
34225
- If there are already running or queued operations, StackSets queues all incoming operations even if they are non-conflicting.
34286
+ If there are already running or queued operations, CloudFormation queues all incoming operations even if they are non-conflicting.
34226
34287
 
34227
34288
  You can't modify your StackSet's execution configuration while there are running or queued operations for that StackSet.
34228
34289
 
@@ -34522,7 +34583,7 @@ class CfnStackSet(
34522
34583
  ) -> None:
34523
34584
  '''Stack instances in some specific accounts and Regions.
34524
34585
 
34525
- :param deployment_targets: The AWS ``OrganizationalUnitIds`` or ``Accounts`` for which to create stack instances in the specified Regions.
34586
+ :param deployment_targets: The AWS Organizations accounts or AWS accounts to deploy stacks to in the specified Regions.
34526
34587
  :param regions: The names of one or more Regions where you want to create stack instances using the specified AWS accounts .
34527
34588
  :param parameter_overrides: A list of StackSet parameters whose values you want to override in the selected stack instances.
34528
34589
 
@@ -34567,7 +34628,7 @@ class CfnStackSet(
34567
34628
  def deployment_targets(
34568
34629
  self,
34569
34630
  ) -> typing.Union[IResolvable, "CfnStackSet.DeploymentTargetsProperty"]:
34570
- '''The AWS ``OrganizationalUnitIds`` or ``Accounts`` for which to create stack instances in the specified Regions.
34631
+ '''The AWS Organizations accounts or AWS accounts to deploy stacks to in the specified Regions.
34571
34632
 
34572
34633
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-stackset-stackinstances.html#cfn-cloudformation-stackset-stackinstances-deploymenttargets
34573
34634
  '''
@@ -36446,6 +36507,12 @@ class NestedStack(Stack, metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.NestedS
36446
36507
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
36447
36508
  return typing.cast(None, jsii.invoke(self, "setParameter", [name, value]))
36448
36509
 
36510
+ @builtins.property
36511
+ @jsii.member(jsii_name="bundlingRequired")
36512
+ def bundling_required(self) -> builtins.bool:
36513
+ '''Indicates whether the stack requires bundling or not.'''
36514
+ return typing.cast(builtins.bool, jsii.get(self, "bundlingRequired"))
36515
+
36449
36516
  @builtins.property
36450
36517
  @jsii.member(jsii_name="stackId")
36451
36518
  def stack_id(self) -> builtins.str:
@@ -38387,6 +38454,13 @@ def _typecheckingstub__cfddeb4c359528028785fb7ca8a01e86bcda81d53c82cdaef6ad18dd0
38387
38454
  """Type checking stubs"""
38388
38455
  pass
38389
38456
 
38457
+ def _typecheckingstub__71c75ad95e6c491e615a0c0a9cc9bc5b538f2d93e7057612251cfc9592380513(
38458
+ id: builtins.str,
38459
+ message: typing.Optional[builtins.str] = None,
38460
+ ) -> None:
38461
+ """Type checking stubs"""
38462
+ pass
38463
+
38390
38464
  def _typecheckingstub__58bb467dabbe29a0334a62f44fa1a8a9b59742b9dfac031624ed782055bf0ada(
38391
38465
  id: builtins.str,
38392
38466
  message: typing.Optional[builtins.str] = None,
@@ -38413,6 +38487,13 @@ def _typecheckingstub__42febf8c4cbec6748c47fab1f601511d3bc57ef5bc415cb489e10605f
38413
38487
  """Type checking stubs"""
38414
38488
  pass
38415
38489
 
38490
+ def _typecheckingstub__843fb7798b96b5a06278ca94ba80d2ae0fb300672c44f21b2ee4d759a04bdba9(
38491
+ id: builtins.str,
38492
+ message: builtins.str,
38493
+ ) -> None:
38494
+ """Type checking stubs"""
38495
+ pass
38496
+
38416
38497
  def _typecheckingstub__e2fdcebb577d63295330a53b495fc6906cfbd98497144c53b1cb802e3e082f72(
38417
38498
  message: builtins.str,
38418
38499
  ) -> None:
aws_cdk/_jsii/__init__.py CHANGED
@@ -34,7 +34,7 @@ import aws_cdk.cloud_assembly_schema._jsii
34
34
  import constructs._jsii
35
35
 
36
36
  __jsii_assembly__ = jsii.JSIIAssembly.load(
37
- "aws-cdk-lib", "2.206.0", __name__[0:-6], "aws-cdk-lib@2.206.0.jsii.tgz"
37
+ "aws-cdk-lib", "2.208.0", __name__[0:-6], "aws-cdk-lib@2.208.0.jsii.tgz"
38
38
  )
39
39
 
40
40
  __all__ = [