aws-cdk-lib 2.186.0__py3-none-any.whl → 2.188.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 (85) hide show
  1. aws_cdk/__init__.py +303 -119
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.186.0.jsii.tgz → aws-cdk-lib@2.188.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_amplify/__init__.py +136 -0
  5. aws_cdk/aws_apigateway/__init__.py +69 -17
  6. aws_cdk/aws_apigatewayv2/__init__.py +88 -0
  7. aws_cdk/aws_appconfig/__init__.py +30 -14
  8. aws_cdk/aws_appsync/__init__.py +14 -5
  9. aws_cdk/aws_arczonalshift/__init__.py +4 -4
  10. aws_cdk/aws_bedrock/__init__.py +637 -32
  11. aws_cdk/aws_budgets/__init__.py +8 -8
  12. aws_cdk/aws_cassandra/__init__.py +4 -2
  13. aws_cdk/aws_ce/__init__.py +2 -2
  14. aws_cdk/aws_cloudformation/__init__.py +3 -3
  15. aws_cdk/aws_cloudfront/__init__.py +11 -0
  16. aws_cdk/aws_cloudtrail/__init__.py +4 -18
  17. aws_cdk/aws_cloudwatch/__init__.py +50 -50
  18. aws_cdk/aws_codebuild/__init__.py +32 -1
  19. aws_cdk/aws_codepipeline/__init__.py +47 -32
  20. aws_cdk/aws_codepipeline_actions/__init__.py +2786 -1042
  21. aws_cdk/aws_codestarnotifications/__init__.py +16 -16
  22. aws_cdk/aws_cognito/__init__.py +8 -2
  23. aws_cdk/aws_config/__init__.py +2 -5
  24. aws_cdk/aws_datazone/__init__.py +287 -226
  25. aws_cdk/aws_detective/__init__.py +3 -3
  26. aws_cdk/aws_dynamodb/__init__.py +37 -0
  27. aws_cdk/aws_ec2/__init__.py +2448 -442
  28. aws_cdk/aws_ecr/__init__.py +143 -0
  29. aws_cdk/aws_ecr_assets/__init__.py +115 -4
  30. aws_cdk/aws_ecs/__init__.py +51 -0
  31. aws_cdk/aws_eks/__init__.py +222 -6
  32. aws_cdk/aws_events/__init__.py +8 -11
  33. aws_cdk/aws_events_targets/__init__.py +136 -0
  34. aws_cdk/aws_forecast/__init__.py +1 -1
  35. aws_cdk/aws_fsx/__init__.py +2 -2
  36. aws_cdk/aws_gamelift/__init__.py +11 -11
  37. aws_cdk/aws_iam/__init__.py +6 -4
  38. aws_cdk/aws_identitystore/__init__.py +6 -4
  39. aws_cdk/aws_iotsitewise/__init__.py +623 -0
  40. aws_cdk/aws_kinesisfirehose/__init__.py +38 -0
  41. aws_cdk/aws_kms/__init__.py +10 -11
  42. aws_cdk/aws_lakeformation/__init__.py +3 -3
  43. aws_cdk/aws_lambda/__init__.py +105 -4
  44. aws_cdk/aws_lambda_event_sources/__init__.py +87 -25
  45. aws_cdk/aws_lambda_nodejs/__init__.py +5 -24
  46. aws_cdk/aws_lex/__init__.py +985 -5
  47. aws_cdk/aws_logs/__init__.py +18 -0
  48. aws_cdk/aws_logs_destinations/__init__.py +146 -0
  49. aws_cdk/aws_mediaconnect/__init__.py +714 -290
  50. aws_cdk/aws_mwaa/__init__.py +9 -9
  51. aws_cdk/aws_networkfirewall/__init__.py +44 -0
  52. aws_cdk/aws_notifications/__init__.py +4 -4
  53. aws_cdk/aws_omics/__init__.py +225 -1
  54. aws_cdk/aws_opensearchserverless/__init__.py +31 -23
  55. aws_cdk/aws_organizations/__init__.py +1 -1
  56. aws_cdk/aws_pcaconnectorad/__init__.py +3 -2
  57. aws_cdk/aws_quicksight/__init__.py +268 -50
  58. aws_cdk/aws_rds/__init__.py +186 -10
  59. aws_cdk/aws_route53/__init__.py +5 -5
  60. aws_cdk/aws_route53recoverycontrol/__init__.py +41 -2
  61. aws_cdk/aws_rum/__init__.py +13 -10
  62. aws_cdk/aws_s3/__init__.py +3 -6
  63. aws_cdk/aws_s3_assets/__init__.py +70 -1
  64. aws_cdk/aws_s3_deployment/__init__.py +4 -0
  65. aws_cdk/aws_sagemaker/__init__.py +47 -4
  66. aws_cdk/aws_scheduler_targets/__init__.py +4 -16
  67. aws_cdk/aws_securitylake/__init__.py +2 -2
  68. aws_cdk/aws_servicecatalog/__init__.py +4 -0
  69. aws_cdk/aws_sns/__init__.py +1 -1
  70. aws_cdk/aws_ssmincidents/__init__.py +10 -10
  71. aws_cdk/aws_stepfunctions/__init__.py +23 -17
  72. aws_cdk/aws_stepfunctions_tasks/__init__.py +4 -0
  73. aws_cdk/aws_synthetics/__init__.py +9 -0
  74. aws_cdk/aws_systemsmanagersap/__init__.py +160 -0
  75. aws_cdk/aws_transfer/__init__.py +19 -10
  76. aws_cdk/aws_wafv2/__init__.py +512 -1141
  77. aws_cdk/cloud_assembly_schema/__init__.py +60 -10
  78. aws_cdk/cx_api/__init__.py +38 -2
  79. aws_cdk/pipelines/__init__.py +52 -2
  80. {aws_cdk_lib-2.186.0.dist-info → aws_cdk_lib-2.188.0.dist-info}/METADATA +4 -4
  81. {aws_cdk_lib-2.186.0.dist-info → aws_cdk_lib-2.188.0.dist-info}/RECORD +85 -85
  82. {aws_cdk_lib-2.186.0.dist-info → aws_cdk_lib-2.188.0.dist-info}/WHEEL +1 -1
  83. {aws_cdk_lib-2.186.0.dist-info → aws_cdk_lib-2.188.0.dist-info}/LICENSE +0 -0
  84. {aws_cdk_lib-2.186.0.dist-info → aws_cdk_lib-2.188.0.dist-info}/NOTICE +0 -0
  85. {aws_cdk_lib-2.186.0.dist-info → aws_cdk_lib-2.188.0.dist-info}/top_level.txt +0 -0
@@ -123,7 +123,7 @@ class CfnNotificationRule(
123
123
  ):
124
124
  '''Creates a notification rule for a resource.
125
125
 
126
- The rule specifies the events you want notifications about and the targets (such as Amazon Simple Notification Service topics or AWS Chatbot clients configured for Slack) where you want to receive them.
126
+ The rule specifies the events you want notifications about and the targets (such as Amazon Simple Notification Service topics or clients configured for Slack) where you want to receive them.
127
127
 
128
128
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestarnotifications-notificationrule.html
129
129
  :cloudformationResource: AWS::CodeStarNotifications::NotificationRule
@@ -179,12 +179,12 @@ class CfnNotificationRule(
179
179
  :param event_type_ids: A list of event types associated with this notification rule. For a complete list of event types and IDs, see `Notification concepts <https://docs.aws.amazon.com/dtconsole/latest/userguide/concepts.html#concepts-api>`_ in the *Developer Tools Console User Guide* .
180
180
  :param name: The name for the notification rule. Notification rule names must be unique in your AWS account .
181
181
  :param resource: The Amazon Resource Name (ARN) of the resource to associate with the notification rule. Supported resources include pipelines in AWS CodePipeline , repositories in AWS CodeCommit , and build projects in AWS CodeBuild .
182
- :param targets: A list of Amazon Resource Names (ARNs) of Amazon SNS topics and AWS Chatbot clients to associate with the notification rule.
182
+ :param targets: A list of Amazon Resource Names (ARNs) of Amazon SNS topics and clients to associate with the notification rule.
183
183
  :param created_by: The name or email alias of the person who created the notification rule.
184
184
  :param event_type_id: The event type associated with this notification rule. For a complete list of event types and IDs, see `Notification concepts <https://docs.aws.amazon.com/dtconsole/latest/userguide/concepts.html#concepts-api>`_ in the *Developer Tools Console User Guide* .
185
185
  :param status: The status of the notification rule. The default value is ``ENABLED`` . If the status is set to ``DISABLED`` , notifications aren't sent for the notification rule.
186
186
  :param tags: A list of tags to apply to this notification rule. Key names cannot start with " ``aws`` ".
187
- :param target_address: The Amazon Resource Name (ARN) of the Amazon SNS topic or AWS Chatbot client.
187
+ :param target_address: The Amazon Resource Name (ARN) of the Amazon SNS topic or client.
188
188
  '''
189
189
  if __debug__:
190
190
  type_hints = typing.get_type_hints(_typecheckingstub__724996b7b605c1ccec7fc232a8e933db042d262c4932936112f67cf6c1086ace)
@@ -312,7 +312,7 @@ class CfnNotificationRule(
312
312
  def targets(
313
313
  self,
314
314
  ) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnNotificationRule.TargetProperty"]]]:
315
- '''A list of Amazon Resource Names (ARNs) of Amazon SNS topics and AWS Chatbot clients to associate with the notification rule.'''
315
+ '''A list of Amazon Resource Names (ARNs) of Amazon SNS topics and clients to associate with the notification rule.'''
316
316
  return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnNotificationRule.TargetProperty"]]], jsii.get(self, "targets"))
317
317
 
318
318
  @targets.setter
@@ -383,7 +383,7 @@ class CfnNotificationRule(
383
383
  @builtins.property
384
384
  @jsii.member(jsii_name="targetAddress")
385
385
  def target_address(self) -> typing.Optional[builtins.str]:
386
- '''The Amazon Resource Name (ARN) of the Amazon SNS topic or AWS Chatbot client.'''
386
+ '''The Amazon Resource Name (ARN) of the Amazon SNS topic or client.'''
387
387
  return typing.cast(typing.Optional[builtins.str], jsii.get(self, "targetAddress"))
388
388
 
389
389
  @target_address.setter
@@ -405,10 +405,10 @@ class CfnNotificationRule(
405
405
  target_address: builtins.str,
406
406
  target_type: builtins.str,
407
407
  ) -> None:
408
- '''Information about the AWS Chatbot topics or AWS Chatbot clients associated with a notification rule.
408
+ '''Information about the topics or clients associated with a notification rule.
409
409
 
410
- :param target_address: The Amazon Resource Name (ARN) of the AWS Chatbot topic or AWS Chatbot client.
411
- :param target_type: The target type. Can be an Amazon Simple Notification Service topic or AWS Chatbot client. - Amazon Simple Notification Service topics are specified as ``SNS`` . - AWS Chatbot clients are specified as ``AWSChatbotSlack`` . - AWS Chatbot clients for Microsoft Teams are specified as ``AWSChatbotMicrosoftTeams`` .
410
+ :param target_address: The Amazon Resource Name (ARN) of the topic or client.
411
+ :param target_type: The target type. Can be an Amazon Simple Notification Service topic or client. - Amazon Simple Notification Service topics are specified as ``SNS`` . - clients are specified as ``AWSChatbotSlack`` . - clients for Microsoft Teams are specified as ``AWSChatbotMicrosoftTeams`` .
412
412
 
413
413
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codestarnotifications-notificationrule-target.html
414
414
  :exampleMetadata: fixture=_generated
@@ -435,7 +435,7 @@ class CfnNotificationRule(
435
435
 
436
436
  @builtins.property
437
437
  def target_address(self) -> builtins.str:
438
- '''The Amazon Resource Name (ARN) of the AWS Chatbot topic or AWS Chatbot client.
438
+ '''The Amazon Resource Name (ARN) of the topic or client.
439
439
 
440
440
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codestarnotifications-notificationrule-target.html#cfn-codestarnotifications-notificationrule-target-targetaddress
441
441
  '''
@@ -445,11 +445,11 @@ class CfnNotificationRule(
445
445
 
446
446
  @builtins.property
447
447
  def target_type(self) -> builtins.str:
448
- '''The target type. Can be an Amazon Simple Notification Service topic or AWS Chatbot client.
448
+ '''The target type. Can be an Amazon Simple Notification Service topic or client.
449
449
 
450
450
  - Amazon Simple Notification Service topics are specified as ``SNS`` .
451
- - AWS Chatbot clients are specified as ``AWSChatbotSlack`` .
452
- - AWS Chatbot clients for Microsoft Teams are specified as ``AWSChatbotMicrosoftTeams`` .
451
+ - clients are specified as ``AWSChatbotSlack`` .
452
+ - clients for Microsoft Teams are specified as ``AWSChatbotMicrosoftTeams`` .
453
453
 
454
454
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codestarnotifications-notificationrule-target.html#cfn-codestarnotifications-notificationrule-target-targettype
455
455
  '''
@@ -506,12 +506,12 @@ class CfnNotificationRuleProps:
506
506
  :param event_type_ids: A list of event types associated with this notification rule. For a complete list of event types and IDs, see `Notification concepts <https://docs.aws.amazon.com/dtconsole/latest/userguide/concepts.html#concepts-api>`_ in the *Developer Tools Console User Guide* .
507
507
  :param name: The name for the notification rule. Notification rule names must be unique in your AWS account .
508
508
  :param resource: The Amazon Resource Name (ARN) of the resource to associate with the notification rule. Supported resources include pipelines in AWS CodePipeline , repositories in AWS CodeCommit , and build projects in AWS CodeBuild .
509
- :param targets: A list of Amazon Resource Names (ARNs) of Amazon SNS topics and AWS Chatbot clients to associate with the notification rule.
509
+ :param targets: A list of Amazon Resource Names (ARNs) of Amazon SNS topics and clients to associate with the notification rule.
510
510
  :param created_by: The name or email alias of the person who created the notification rule.
511
511
  :param event_type_id: The event type associated with this notification rule. For a complete list of event types and IDs, see `Notification concepts <https://docs.aws.amazon.com/dtconsole/latest/userguide/concepts.html#concepts-api>`_ in the *Developer Tools Console User Guide* .
512
512
  :param status: The status of the notification rule. The default value is ``ENABLED`` . If the status is set to ``DISABLED`` , notifications aren't sent for the notification rule.
513
513
  :param tags: A list of tags to apply to this notification rule. Key names cannot start with " ``aws`` ".
514
- :param target_address: The Amazon Resource Name (ARN) of the Amazon SNS topic or AWS Chatbot client.
514
+ :param target_address: The Amazon Resource Name (ARN) of the Amazon SNS topic or client.
515
515
 
516
516
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestarnotifications-notificationrule.html
517
517
  :exampleMetadata: fixture=_generated
@@ -624,7 +624,7 @@ class CfnNotificationRuleProps:
624
624
  def targets(
625
625
  self,
626
626
  ) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnNotificationRule.TargetProperty]]]:
627
- '''A list of Amazon Resource Names (ARNs) of Amazon SNS topics and AWS Chatbot clients to associate with the notification rule.
627
+ '''A list of Amazon Resource Names (ARNs) of Amazon SNS topics and clients to associate with the notification rule.
628
628
 
629
629
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestarnotifications-notificationrule.html#cfn-codestarnotifications-notificationrule-targets
630
630
  '''
@@ -676,7 +676,7 @@ class CfnNotificationRuleProps:
676
676
 
677
677
  @builtins.property
678
678
  def target_address(self) -> typing.Optional[builtins.str]:
679
- '''The Amazon Resource Name (ARN) of the Amazon SNS topic or AWS Chatbot client.
679
+ '''The Amazon Resource Name (ARN) of the Amazon SNS topic or client.
680
680
 
681
681
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestarnotifications-notificationrule.html#cfn-codestarnotifications-notificationrule-targetaddress
682
682
  '''
@@ -615,7 +615,8 @@ userpool.add_trigger(cognito.UserPoolOperation.USER_MIGRATION, lambda_.Function(
615
615
  ))
616
616
  ```
617
617
 
618
- Additionally, only the pre token generation Lambda trigger supports trigger events with lambda version V2.0:
618
+ Additionally, only the pre token generation Lambda trigger supports trigger events with lambda version V2.0 or V3.0.
619
+ For details, see [Pre Token Generation Lambda Trigger](https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-pre-token-generation.html).
619
620
 
620
621
  ```python
621
622
  # userpool: cognito.UserPool
@@ -14958,6 +14959,11 @@ class LambdaVersion(enum.Enum):
14958
14959
 
14959
14960
  This is supported only for PRE_TOKEN_GENERATION trigger.
14960
14961
  '''
14962
+ V3_0 = "V3_0"
14963
+ '''V3_0 trigger.
14964
+
14965
+ This is supported only for PRE_TOKEN_GENERATION trigger.
14966
+ '''
14961
14967
 
14962
14968
 
14963
14969
  @jsii.enum(jsii_type="aws-cdk-lib.aws_cognito.ManagedLoginVersion")
@@ -21153,7 +21159,7 @@ class UserPoolOperation(
21153
21159
  @jsii.python.classproperty
21154
21160
  @jsii.member(jsii_name="PRE_TOKEN_GENERATION_CONFIG")
21155
21161
  def PRE_TOKEN_GENERATION_CONFIG(cls) -> "UserPoolOperation":
21156
- '''Add or remove attributes in Id tokens.
21162
+ '''Add or remove attributes in Id tokens and Access tokens.
21157
21163
 
21158
21164
  :see: https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-pre-token-generation.html
21159
21165
  '''
@@ -698,7 +698,7 @@ class CfnConfigRule(
698
698
  :param evaluation_modes: The modes the AWS Config rule can be evaluated in. The valid values are distinct objects. By default, the value is Detective evaluation mode only.
699
699
  :param input_parameters: A string, in JSON format, that is passed to the AWS Config rule Lambda function.
700
700
  :param maximum_execution_frequency: The maximum frequency with which AWS Config runs evaluations for a rule. You can specify a value for ``MaximumExecutionFrequency`` when: - You are using an AWS managed rule that is triggered at a periodic frequency. - Your custom rule is triggered when AWS Config delivers the configuration snapshot. For more information, see `ConfigSnapshotDeliveryProperties <https://docs.aws.amazon.com/config/latest/APIReference/API_ConfigSnapshotDeliveryProperties.html>`_ . .. epigraph:: By default, rules with a periodic trigger are evaluated every 24 hours. To change the frequency, specify a valid value for the ``MaximumExecutionFrequency`` parameter.
701
- :param scope: Defines which resources can trigger an evaluation for the rule. The scope can include one or more resource types, a combination of one resource type and one resource ID, or a combination of a tag key and value. Specify a scope to constrain the resources that can trigger an evaluation for the rule. If you do not specify a scope, evaluations are triggered when any resource in the recording group changes. .. epigraph:: Scope is only supported for change-triggered rules. Scope is not supported for periodic or hybrid rules.
701
+ :param scope: Defines which resources can trigger an evaluation for the rule. The scope can include one or more resource types, a combination of one resource type and one resource ID, or a combination of a tag key and value. Specify a scope to constrain the resources that can trigger an evaluation for the rule. If you do not specify a scope, evaluations are triggered when any resource in the recording group changes.
702
702
  '''
703
703
  if __debug__:
704
704
  type_hints = typing.get_type_hints(_typecheckingstub__deecc74e0a0f7e54fde16a159ece5d8f96f56f6b8aca025003adcc1d931d5d00)
@@ -1512,7 +1512,7 @@ class CfnConfigRuleProps:
1512
1512
  :param evaluation_modes: The modes the AWS Config rule can be evaluated in. The valid values are distinct objects. By default, the value is Detective evaluation mode only.
1513
1513
  :param input_parameters: A string, in JSON format, that is passed to the AWS Config rule Lambda function.
1514
1514
  :param maximum_execution_frequency: The maximum frequency with which AWS Config runs evaluations for a rule. You can specify a value for ``MaximumExecutionFrequency`` when: - You are using an AWS managed rule that is triggered at a periodic frequency. - Your custom rule is triggered when AWS Config delivers the configuration snapshot. For more information, see `ConfigSnapshotDeliveryProperties <https://docs.aws.amazon.com/config/latest/APIReference/API_ConfigSnapshotDeliveryProperties.html>`_ . .. epigraph:: By default, rules with a periodic trigger are evaluated every 24 hours. To change the frequency, specify a valid value for the ``MaximumExecutionFrequency`` parameter.
1515
- :param scope: Defines which resources can trigger an evaluation for the rule. The scope can include one or more resource types, a combination of one resource type and one resource ID, or a combination of a tag key and value. Specify a scope to constrain the resources that can trigger an evaluation for the rule. If you do not specify a scope, evaluations are triggered when any resource in the recording group changes. .. epigraph:: Scope is only supported for change-triggered rules. Scope is not supported for periodic or hybrid rules.
1515
+ :param scope: Defines which resources can trigger an evaluation for the rule. The scope can include one or more resource types, a combination of one resource type and one resource ID, or a combination of a tag key and value. Specify a scope to constrain the resources that can trigger an evaluation for the rule. If you do not specify a scope, evaluations are triggered when any resource in the recording group changes.
1516
1516
 
1517
1517
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-configrule.html
1518
1518
  :exampleMetadata: fixture=_generated
@@ -1682,9 +1682,6 @@ class CfnConfigRuleProps:
1682
1682
  '''Defines which resources can trigger an evaluation for the rule.
1683
1683
 
1684
1684
  The scope can include one or more resource types, a combination of one resource type and one resource ID, or a combination of a tag key and value. Specify a scope to constrain the resources that can trigger an evaluation for the rule. If you do not specify a scope, evaluations are triggered when any resource in the recording group changes.
1685
- .. epigraph::
1686
-
1687
- Scope is only supported for change-triggered rules. Scope is not supported for periodic or hybrid rules.
1688
1685
 
1689
1686
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-configrule.html#cfn-config-configrule-scope
1690
1687
  '''