aws-cdk-lib 2.154.0__py3-none-any.whl → 2.155.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 (35) hide show
  1. aws_cdk/_jsii/__init__.py +1 -1
  2. aws_cdk/_jsii/{aws-cdk-lib@2.154.0.jsii.tgz → aws-cdk-lib@2.155.0.jsii.tgz} +0 -0
  3. aws_cdk/assertions/__init__.py +17 -17
  4. aws_cdk/aws_apigatewayv2/__init__.py +13 -14
  5. aws_cdk/aws_bedrock/__init__.py +2672 -306
  6. aws_cdk/aws_cloudfront/__init__.py +20 -5
  7. aws_cdk/aws_codebuild/__init__.py +384 -4
  8. aws_cdk/aws_ec2/__init__.py +246 -47
  9. aws_cdk/aws_ecs/__init__.py +5 -3
  10. aws_cdk/aws_eks/__init__.py +34 -4
  11. aws_cdk/aws_gamelift/__init__.py +52 -40
  12. aws_cdk/aws_glue/__init__.py +55 -4
  13. aws_cdk/aws_imagebuilder/__init__.py +6 -6
  14. aws_cdk/aws_ivs/__init__.py +460 -2
  15. aws_cdk/aws_kms/__init__.py +36 -0
  16. aws_cdk/aws_lambda/__init__.py +38 -23
  17. aws_cdk/aws_lambda_event_sources/__init__.py +27 -0
  18. aws_cdk/aws_medialive/__init__.py +41 -0
  19. aws_cdk/aws_msk/__init__.py +88 -0
  20. aws_cdk/aws_rds/__init__.py +6 -0
  21. aws_cdk/aws_sagemaker/__init__.py +2 -2
  22. aws_cdk/aws_secretsmanager/__init__.py +3 -2
  23. aws_cdk/aws_ses/__init__.py +7 -7
  24. aws_cdk/aws_ssm/__init__.py +5 -5
  25. aws_cdk/aws_ssmcontacts/__init__.py +12 -0
  26. aws_cdk/aws_stepfunctions/__init__.py +12 -14
  27. aws_cdk/aws_stepfunctions_tasks/__init__.py +76 -0
  28. aws_cdk/aws_synthetics/__init__.py +13 -0
  29. aws_cdk/custom_resources/__init__.py +113 -2
  30. {aws_cdk_lib-2.154.0.dist-info → aws_cdk_lib-2.155.0.dist-info}/METADATA +1 -1
  31. {aws_cdk_lib-2.154.0.dist-info → aws_cdk_lib-2.155.0.dist-info}/RECORD +35 -35
  32. {aws_cdk_lib-2.154.0.dist-info → aws_cdk_lib-2.155.0.dist-info}/LICENSE +0 -0
  33. {aws_cdk_lib-2.154.0.dist-info → aws_cdk_lib-2.155.0.dist-info}/NOTICE +0 -0
  34. {aws_cdk_lib-2.154.0.dist-info → aws_cdk_lib-2.155.0.dist-info}/WHEEL +0 -0
  35. {aws_cdk_lib-2.154.0.dist-info → aws_cdk_lib-2.155.0.dist-info}/top_level.txt +0 -0
@@ -2251,7 +2251,7 @@ class CfnSecretTargetAttachment(
2251
2251
  :param id: Construct identifier for this resource (unique in its scope).
2252
2252
  :param secret_id: The ARN or name of the secret. To reference a secret also created in this template, use the see `Ref <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-ref.html>`_ function with the secret's logical ID.
2253
2253
  :param target_id: The ID of the database or cluster.
2254
- :param target_type: A string that defines the type of service or database associated with the secret. This value instructs Secrets Manager how to update the secret with the details of the service or database. This value must be one of the following: - AWS::RDS::DBInstance - AWS::RDS::DBCluster - AWS::Redshift::Cluster - AWS::DocDB::DBInstance - AWS::DocDB::DBCluster
2254
+ :param target_type: A string that defines the type of service or database associated with the secret. This value instructs Secrets Manager how to update the secret with the details of the service or database. This value must be one of the following: - AWS::RDS::DBInstance - AWS::RDS::DBCluster - AWS::Redshift::Cluster - AWS::DocDB::DBInstance - AWS::DocDB::DBCluster - AWS::DocDBElastic::Cluster
2255
2255
  '''
2256
2256
  if __debug__:
2257
2257
  type_hints = typing.get_type_hints(_typecheckingstub__f27548ced74eb3d06a9cd3710e7d562d307b5a2c264476a3e685fcb94ccdee58)
@@ -2367,7 +2367,7 @@ class CfnSecretTargetAttachmentProps:
2367
2367
 
2368
2368
  :param secret_id: The ARN or name of the secret. To reference a secret also created in this template, use the see `Ref <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-ref.html>`_ function with the secret's logical ID.
2369
2369
  :param target_id: The ID of the database or cluster.
2370
- :param target_type: A string that defines the type of service or database associated with the secret. This value instructs Secrets Manager how to update the secret with the details of the service or database. This value must be one of the following: - AWS::RDS::DBInstance - AWS::RDS::DBCluster - AWS::Redshift::Cluster - AWS::DocDB::DBInstance - AWS::DocDB::DBCluster
2370
+ :param target_type: A string that defines the type of service or database associated with the secret. This value instructs Secrets Manager how to update the secret with the details of the service or database. This value must be one of the following: - AWS::RDS::DBInstance - AWS::RDS::DBCluster - AWS::Redshift::Cluster - AWS::DocDB::DBInstance - AWS::DocDB::DBCluster - AWS::DocDBElastic::Cluster
2371
2371
 
2372
2372
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-secrettargetattachment.html
2373
2373
  :exampleMetadata: fixture=_generated
@@ -2428,6 +2428,7 @@ class CfnSecretTargetAttachmentProps:
2428
2428
  - AWS::Redshift::Cluster
2429
2429
  - AWS::DocDB::DBInstance
2430
2430
  - AWS::DocDB::DBCluster
2431
+ - AWS::DocDBElastic::Cluster
2431
2432
 
2432
2433
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-secrettargetattachment.html#cfn-secretsmanager-secrettargetattachment-targettype
2433
2434
  '''
@@ -10850,7 +10850,7 @@ class CfnReceiptRule(
10850
10850
  For information about specifying Amazon S3 actions in receipt rules, see the `Amazon SES Developer Guide <https://docs.aws.amazon.com/ses/latest/dg/receiving-email-action-s3.html>`_ .
10851
10851
 
10852
10852
  :param bucket_name: The name of the Amazon S3 bucket for incoming email.
10853
- :param kms_key_arn: The customer master key that Amazon SES should use to encrypt your emails before saving them to the Amazon S3 bucket. You can use the default master key or a custom master key that you created in AWS KMS as follows: - To use the default master key, provide an ARN in the form of ``arn:aws:kms:REGION:ACCOUNT-ID-WITHOUT-HYPHENS:alias/aws/ses`` . For example, if your AWS account ID is 123456789012 and you want to use the default master key in the US West (Oregon) Region, the ARN of the default master key would be ``arn:aws:kms:us-west-2:123456789012:alias/aws/ses`` . If you use the default master key, you don't need to perform any extra steps to give Amazon SES permission to use the key. - To use a custom master key that you created in AWS KMS, provide the ARN of the master key and ensure that you add a statement to your key's policy to give Amazon SES permission to use it. For more information about giving permissions, see the `Amazon SES Developer Guide <https://docs.aws.amazon.com/ses/latest/dg/receiving-email-permissions.html>`_ . For more information about key policies, see the `AWS KMS Developer Guide <https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html>`_ . If you do not specify a master key, Amazon SES does not encrypt your emails. .. epigraph:: Your mail is encrypted by Amazon SES using the Amazon S3 encryption client before the mail is submitted to Amazon S3 for storage. It is not encrypted using Amazon S3 server-side encryption. This means that you must use the Amazon S3 encryption client to decrypt the email after retrieving it from Amazon S3, as the service has no access to use your AWS KMS keys for decryption. This encryption client is currently available with the `AWS SDK for Java <https://docs.aws.amazon.com/sdk-for-java/>`_ and `AWS SDK for Ruby <https://docs.aws.amazon.com/sdk-for-ruby/>`_ only. For more information about client-side encryption using AWS KMS master keys, see the `Amazon S3 Developer Guide <https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingClientSideEncryption.html>`_ .
10853
+ :param kms_key_arn: The customer managed key that Amazon SES should use to encrypt your emails before saving them to the Amazon S3 bucket. You can use the AWS managed key or a customer managed key that you created in AWS KMS as follows: - To use the AWS managed key, provide an ARN in the form of ``arn:aws:kms:REGION:ACCOUNT-ID-WITHOUT-HYPHENS:alias/aws/ses`` . For example, if your AWS account ID is 123456789012 and you want to use the AWS managed key in the US West (Oregon) Region, the ARN of the AWS managed key would be ``arn:aws:kms:us-west-2:123456789012:alias/aws/ses`` . If you use the AWS managed key, you don't need to perform any extra steps to give Amazon SES permission to use the key. - To use a customer managed key that you created in AWS KMS, provide the ARN of the customer managed key and ensure that you add a statement to your key's policy to give Amazon SES permission to use it. For more information about giving permissions, see the `Amazon SES Developer Guide <https://docs.aws.amazon.com/ses/latest/dg/receiving-email-permissions.html>`_ . For more information about key policies, see the `AWS KMS Developer Guide <https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html>`_ . If you do not specify an AWS KMS key, Amazon SES does not encrypt your emails. .. epigraph:: Your mail is encrypted by Amazon SES using the Amazon S3 encryption client before the mail is submitted to Amazon S3 for storage. It is not encrypted using Amazon S3 server-side encryption. This means that you must use the Amazon S3 encryption client to decrypt the email after retrieving it from Amazon S3, as the service has no access to use your AWS KMS keys for decryption. This encryption client is currently available with the `AWS SDK for Java <https://docs.aws.amazon.com/sdk-for-java/>`_ and `AWS SDK for Ruby <https://docs.aws.amazon.com/sdk-for-ruby/>`_ only. For more information about client-side encryption using AWS KMS managed keys, see the `Amazon S3 Developer Guide <https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingClientSideEncryption.html>`_ .
10854
10854
  :param object_key_prefix: The key prefix of the Amazon S3 bucket. The key prefix is similar to a directory name that enables you to store similar data under the same directory in a bucket.
10855
10855
  :param topic_arn: The ARN of the Amazon SNS topic to notify when the message is saved to the Amazon S3 bucket. You can find the ARN of a topic by using the `ListTopics <https://docs.aws.amazon.com/sns/latest/api/API_ListTopics.html>`_ operation in Amazon SNS. For more information about Amazon SNS topics, see the `Amazon SNS Developer Guide <https://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html>`_ .
10856
10856
 
@@ -10900,17 +10900,17 @@ class CfnReceiptRule(
10900
10900
 
10901
10901
  @builtins.property
10902
10902
  def kms_key_arn(self) -> typing.Optional[builtins.str]:
10903
- '''The customer master key that Amazon SES should use to encrypt your emails before saving them to the Amazon S3 bucket.
10903
+ '''The customer managed key that Amazon SES should use to encrypt your emails before saving them to the Amazon S3 bucket.
10904
10904
 
10905
- You can use the default master key or a custom master key that you created in AWS KMS as follows:
10905
+ You can use the AWS managed key or a customer managed key that you created in AWS KMS as follows:
10906
10906
 
10907
- - To use the default master key, provide an ARN in the form of ``arn:aws:kms:REGION:ACCOUNT-ID-WITHOUT-HYPHENS:alias/aws/ses`` . For example, if your AWS account ID is 123456789012 and you want to use the default master key in the US West (Oregon) Region, the ARN of the default master key would be ``arn:aws:kms:us-west-2:123456789012:alias/aws/ses`` . If you use the default master key, you don't need to perform any extra steps to give Amazon SES permission to use the key.
10908
- - To use a custom master key that you created in AWS KMS, provide the ARN of the master key and ensure that you add a statement to your key's policy to give Amazon SES permission to use it. For more information about giving permissions, see the `Amazon SES Developer Guide <https://docs.aws.amazon.com/ses/latest/dg/receiving-email-permissions.html>`_ .
10907
+ - To use the AWS managed key, provide an ARN in the form of ``arn:aws:kms:REGION:ACCOUNT-ID-WITHOUT-HYPHENS:alias/aws/ses`` . For example, if your AWS account ID is 123456789012 and you want to use the AWS managed key in the US West (Oregon) Region, the ARN of the AWS managed key would be ``arn:aws:kms:us-west-2:123456789012:alias/aws/ses`` . If you use the AWS managed key, you don't need to perform any extra steps to give Amazon SES permission to use the key.
10908
+ - To use a customer managed key that you created in AWS KMS, provide the ARN of the customer managed key and ensure that you add a statement to your key's policy to give Amazon SES permission to use it. For more information about giving permissions, see the `Amazon SES Developer Guide <https://docs.aws.amazon.com/ses/latest/dg/receiving-email-permissions.html>`_ .
10909
10909
 
10910
- For more information about key policies, see the `AWS KMS Developer Guide <https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html>`_ . If you do not specify a master key, Amazon SES does not encrypt your emails.
10910
+ For more information about key policies, see the `AWS KMS Developer Guide <https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html>`_ . If you do not specify an AWS KMS key, Amazon SES does not encrypt your emails.
10911
10911
  .. epigraph::
10912
10912
 
10913
- Your mail is encrypted by Amazon SES using the Amazon S3 encryption client before the mail is submitted to Amazon S3 for storage. It is not encrypted using Amazon S3 server-side encryption. This means that you must use the Amazon S3 encryption client to decrypt the email after retrieving it from Amazon S3, as the service has no access to use your AWS KMS keys for decryption. This encryption client is currently available with the `AWS SDK for Java <https://docs.aws.amazon.com/sdk-for-java/>`_ and `AWS SDK for Ruby <https://docs.aws.amazon.com/sdk-for-ruby/>`_ only. For more information about client-side encryption using AWS KMS master keys, see the `Amazon S3 Developer Guide <https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingClientSideEncryption.html>`_ .
10913
+ Your mail is encrypted by Amazon SES using the Amazon S3 encryption client before the mail is submitted to Amazon S3 for storage. It is not encrypted using Amazon S3 server-side encryption. This means that you must use the Amazon S3 encryption client to decrypt the email after retrieving it from Amazon S3, as the service has no access to use your AWS KMS keys for decryption. This encryption client is currently available with the `AWS SDK for Java <https://docs.aws.amazon.com/sdk-for-java/>`_ and `AWS SDK for Ruby <https://docs.aws.amazon.com/sdk-for-ruby/>`_ only. For more information about client-side encryption using AWS KMS managed keys, see the `Amazon S3 Developer Guide <https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingClientSideEncryption.html>`_ .
10914
10914
 
10915
10915
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-s3action.html#cfn-ses-receiptrule-s3action-kmskeyarn
10916
10916
  '''
@@ -1538,7 +1538,7 @@ class CfnDocument(
1538
1538
 
1539
1539
  :param key: The key of a key-value pair that identifies the location of an attachment to a document.
1540
1540
  :param name: The name of the document attachment file.
1541
- :param values: The value of a key-value pair that identifies the location of an attachment to a document. The format for *Value* depends on the type of key you specify. - For the key *SourceUrl* , the value is an S3 bucket location. For example: ``"Values": [ "s3://doc-example-bucket/my-folder" ]`` - For the key *S3FileUrl* , the value is a file in an S3 bucket. For example: ``"Values": [ "s3://doc-example-bucket/my-folder/my-file.py" ]`` - For the key *AttachmentReference* , the value is constructed from the name of another SSM document in your account, a version number of that document, and a file attached to that document version that you want to reuse. For example: ``"Values": [ "MyOtherDocument/3/my-other-file.py" ]`` However, if the SSM document is shared with you from another account, the full SSM document ARN must be specified instead of the document name only. For example: ``"Values": [ "arn:aws:ssm:us-east-2:111122223333:document/OtherAccountDocument/3/their-file.py" ]``
1541
+ :param values: The value of a key-value pair that identifies the location of an attachment to a document. The format for *Value* depends on the type of key you specify. - For the key *SourceUrl* , the value is an S3 bucket location. For example: ``"Values": [ "s3://amzn-s3-demo-bucket/my-prefix" ]`` - For the key *S3FileUrl* , the value is a file in an S3 bucket. For example: ``"Values": [ "s3://amzn-s3-demo-bucket/my-prefix/my-file.py" ]`` - For the key *AttachmentReference* , the value is constructed from the name of another SSM document in your account, a version number of that document, and a file attached to that document version that you want to reuse. For example: ``"Values": [ "MyOtherDocument/3/my-other-file.py" ]`` However, if the SSM document is shared with you from another account, the full SSM document ARN must be specified instead of the document name only. For example: ``"Values": [ "arn:aws:ssm:us-east-2:111122223333:document/OtherAccountDocument/3/their-file.py" ]``
1542
1542
 
1543
1543
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-document-attachmentssource.html
1544
1544
  :exampleMetadata: fixture=_generated
@@ -1594,11 +1594,11 @@ class CfnDocument(
1594
1594
 
1595
1595
  - For the key *SourceUrl* , the value is an S3 bucket location. For example:
1596
1596
 
1597
- ``"Values": [ "s3://doc-example-bucket/my-folder" ]``
1597
+ ``"Values": [ "s3://amzn-s3-demo-bucket/my-prefix" ]``
1598
1598
 
1599
1599
  - For the key *S3FileUrl* , the value is a file in an S3 bucket. For example:
1600
1600
 
1601
- ``"Values": [ "s3://doc-example-bucket/my-folder/my-file.py" ]``
1601
+ ``"Values": [ "s3://amzn-s3-demo-bucket/my-prefix/my-file.py" ]``
1602
1602
 
1603
1603
  - For the key *AttachmentReference* , the value is constructed from the name of another SSM document in your account, a version number of that document, and a file attached to that document version that you want to reuse. For example:
1604
1604
 
@@ -5880,7 +5880,7 @@ class CfnPatchBaseline(
5880
5880
  The ``PatchRules`` property of the `RuleGroup <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-patchbaseline-rulegroup.html>`_ property type contains a list of ``Rule`` property types.
5881
5881
 
5882
5882
  :param approve_after_days: The number of days after the release date of each patch matched by the rule that the patch is marked as approved in the patch baseline. For example, a value of ``7`` means that patches are approved seven days after they are released. .. epigraph:: This parameter is marked as not required, but your request must include a value for either ``ApproveAfterDays`` or ``ApproveUntilDate`` . Not supported for Debian Server or Ubuntu Server.
5883
- :param approve_until_date: The cutoff date for auto approval of released patches. Any patches released on or before this date are installed automatically. Enter dates in the format ``YYYY-MM-DD`` . For example, ``2021-12-31`` . .. epigraph:: This parameter is marked as not required, but your request must include a value for either ``ApproveUntilDate`` or ``ApproveAfterDays`` . Not supported for Debian Server or Ubuntu Server.
5883
+ :param approve_until_date: The cutoff date for auto approval of released patches. Any patches released on or before this date are installed automatically. Enter dates in the format ``YYYY-MM-DD`` . For example, ``2024-12-31`` . .. epigraph:: This parameter is marked as not required, but your request must include a value for either ``ApproveUntilDate`` or ``ApproveAfterDays`` . Not supported for Debian Server or Ubuntu Server.
5884
5884
  :param compliance_level: A compliance severity level for all approved patches in a patch baseline. Valid compliance severity levels include the following: ``UNSPECIFIED`` , ``CRITICAL`` , ``HIGH`` , ``MEDIUM`` , ``LOW`` , and ``INFORMATIONAL`` .
5885
5885
  :param enable_non_security: For managed nodes identified by the approval rule filters, enables a patch baseline to apply non-security updates available in the specified repository. The default value is ``false`` . Applies to Linux managed nodes only. Default: - false
5886
5886
  :param patch_filter_group: The patch filter group that defines the criteria for the rule.
@@ -5948,7 +5948,7 @@ class CfnPatchBaseline(
5948
5948
 
5949
5949
  Any patches released on or before this date are installed automatically.
5950
5950
 
5951
- Enter dates in the format ``YYYY-MM-DD`` . For example, ``2021-12-31`` .
5951
+ Enter dates in the format ``YYYY-MM-DD`` . For example, ``2024-12-31`` .
5952
5952
  .. epigraph::
5953
5953
 
5954
5954
  This parameter is marked as not required, but your request must include a value for either ``ApproveUntilDate`` or ``ApproveAfterDays`` .
@@ -565,6 +565,10 @@ class CfnContactChannel(
565
565
  ):
566
566
  '''The ``AWS::SSMContacts::ContactChannel`` resource specifies a contact channel as the method that Incident Manager uses to engage your contact.
567
567
 
568
+ .. epigraph::
569
+
570
+ *Template example* : We recommend creating all Incident Manager ``Contacts`` resources using a single AWS CloudFormation template. For a demonstration, see the examples for `AWS::SSMContacts::Contacts <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmcontacts-contact.html>`_ .
571
+
568
572
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmcontacts-contactchannel.html
569
573
  :cloudformationResource: AWS::SSMContacts::ContactChannel
570
574
  :exampleMetadata: fixture=_generated
@@ -1009,6 +1013,10 @@ class CfnPlan(
1009
1013
  ):
1010
1014
  '''Information about the stages and on-call rotation teams associated with an escalation plan or engagement plan.
1011
1015
 
1016
+ .. epigraph::
1017
+
1018
+ *Template example* : We recommend creating all Incident Manager ``Contacts`` resources using a single AWS CloudFormation template. For a demonstration, see the examples for `AWS::SSMContacts::Contacts <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmcontacts-contact.html>`_ .
1019
+
1012
1020
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmcontacts-plan.html
1013
1021
  :cloudformationResource: AWS::SSMContacts::Plan
1014
1022
  :exampleMetadata: fixture=_generated
@@ -1591,6 +1599,10 @@ class CfnRotation(
1591
1599
  ):
1592
1600
  '''Specifies a rotation in an on-call schedule.
1593
1601
 
1602
+ .. epigraph::
1603
+
1604
+ *Template example* : We recommend creating all Incident Manager ``Contacts`` resources using a single AWS CloudFormation template. For a demonstration, see the examples for `AWS::SSMContacts::Contacts <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmcontacts-contact.html>`_ .
1605
+
1594
1606
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmcontacts-rotation.html
1595
1607
  :cloudformationResource: AWS::SSMContacts::Rotation
1596
1608
  :exampleMetadata: fixture=_generated
@@ -6663,28 +6663,26 @@ class IntegrationPattern(enum.Enum):
6663
6663
  import aws_cdk.aws_codebuild as codebuild
6664
6664
 
6665
6665
 
6666
- project = codebuild.Project(self, "Project",
6666
+ codebuild_project = codebuild.Project(self, "Project",
6667
6667
  project_name="MyTestProject",
6668
- build_spec=codebuild.BuildSpec.from_object_to_yaml({
6669
- "version": 0.2,
6670
- "batch": {
6671
- "build-list": [{
6672
- "identifier": "id",
6673
- "buildspec": "version: 0.2\nphases:\n build:\n commands:\n - echo \"Hello, from small!\""
6668
+ build_spec=codebuild.BuildSpec.from_object({
6669
+ "version": "0.2",
6670
+ "phases": {
6671
+ "build": {
6672
+ "commands": ["echo \"Hello, CodeBuild!\""
6673
+ ]
6674
6674
  }
6675
- ]
6676
6675
  }
6677
6676
  })
6678
6677
  )
6679
- project.enable_batch_builds()
6680
6678
 
6681
- task = tasks.CodeBuildStartBuildBatch(self, "buildBatchTask",
6682
- project=project,
6683
- integration_pattern=sfn.IntegrationPattern.REQUEST_RESPONSE,
6679
+ task = tasks.CodeBuildStartBuild(self, "Task",
6680
+ project=codebuild_project,
6681
+ integration_pattern=sfn.IntegrationPattern.RUN_JOB,
6684
6682
  environment_variables_override={
6685
- "test": codebuild.BuildEnvironmentVariable(
6683
+ "ZONE": codebuild.BuildEnvironmentVariable(
6686
6684
  type=codebuild.BuildEnvironmentVariableType.PLAINTEXT,
6687
- value="testValue"
6685
+ value=sfn.JsonPath.string_at("$.envVariables.zone")
6688
6686
  )
6689
6687
  }
6690
6688
  )
@@ -716,6 +716,38 @@ run_task = tasks.EcsRunTask(self, "RunFargate",
716
716
  )
717
717
  ```
718
718
 
719
+ #### Override CPU and Memory Parameter
720
+
721
+ By setting the property cpu or memoryMiB, you can override the Fargate or EC2 task instance size at runtime.
722
+
723
+ see: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_TaskOverride.html
724
+
725
+ ```python
726
+ vpc = ec2.Vpc.from_lookup(self, "Vpc",
727
+ is_default=True
728
+ )
729
+ cluster = ecs.Cluster(self, "ECSCluster", vpc=vpc)
730
+
731
+ task_definition = ecs.TaskDefinition(self, "TD",
732
+ compatibility=ecs.Compatibility.FARGATE,
733
+ cpu="256",
734
+ memory_mi_b="512"
735
+ )
736
+
737
+ task_definition.add_container("TheContainer",
738
+ image=ecs.ContainerImage.from_registry("foo/bar")
739
+ )
740
+
741
+ run_task = tasks.EcsRunTask(self, "Run",
742
+ integration_pattern=sfn.IntegrationPattern.RUN_JOB,
743
+ cluster=cluster,
744
+ task_definition=task_definition,
745
+ launch_target=tasks.EcsFargateLaunchTarget(),
746
+ cpu="1024",
747
+ memory_mi_b="1048"
748
+ )
749
+ ```
750
+
719
751
  #### ECS enable Exec
720
752
 
721
753
  By setting the property [`enableExecuteCommand`](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_RunTask.html#ECS-RunTask-request-enableExecuteCommand) to `true`, you can enable the [ECS Exec feature](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-exec.html) for the task for either Fargate or EC2 launch types.
@@ -12718,7 +12750,9 @@ class EcsRunTask(
12718
12750
  task_definition: _TaskDefinition_a541a103,
12719
12751
  assign_public_ip: typing.Optional[builtins.bool] = None,
12720
12752
  container_overrides: typing.Optional[typing.Sequence[typing.Union[ContainerOverride, typing.Dict[builtins.str, typing.Any]]]] = None,
12753
+ cpu: typing.Optional[builtins.str] = None,
12721
12754
  enable_execute_command: typing.Optional[builtins.bool] = None,
12755
+ memory_mib: typing.Optional[builtins.str] = None,
12722
12756
  propagated_tag_source: typing.Optional[_PropagatedTagSource_ad4e874a] = None,
12723
12757
  revision_number: typing.Optional[jsii.Number] = None,
12724
12758
  security_groups: typing.Optional[typing.Sequence[_ISecurityGroup_acf8a799]] = None,
@@ -12744,7 +12778,9 @@ class EcsRunTask(
12744
12778
  :param task_definition: [disable-awslint:ref-via-interface] Task Definition used for running tasks in the service. Note: this must be TaskDefinition, and not ITaskDefinition, as it requires properties that are not known for imported task definitions If you want to run a RunTask with an imported task definition, consider using CustomState
12745
12779
  :param assign_public_ip: Assign public IP addresses to each task. Default: false
12746
12780
  :param container_overrides: Container setting overrides. Specify the container to use and the overrides to apply. Default: - No overrides
12781
+ :param cpu: Cpu setting override. Default: - No override
12747
12782
  :param enable_execute_command: Whether ECS Exec should be enabled. Default: false
12783
+ :param memory_mib: Memory setting override. Default: - No override
12748
12784
  :param propagated_tag_source: Specifies whether to propagate the tags from the task definition to the task. An error will be received if you specify the SERVICE option when running a task. Default: - No tags are propagated.
12749
12785
  :param revision_number: The revision number of ECS task definition family. Default: - '$latest'
12750
12786
  :param security_groups: Existing security groups to use for the tasks. Default: - A new security group is created
@@ -12772,7 +12808,9 @@ class EcsRunTask(
12772
12808
  task_definition=task_definition,
12773
12809
  assign_public_ip=assign_public_ip,
12774
12810
  container_overrides=container_overrides,
12811
+ cpu=cpu,
12775
12812
  enable_execute_command=enable_execute_command,
12813
+ memory_mib=memory_mib,
12776
12814
  propagated_tag_source=propagated_tag_source,
12777
12815
  revision_number=revision_number,
12778
12816
  security_groups=security_groups,
@@ -12831,7 +12869,9 @@ class EcsRunTask(
12831
12869
  "task_definition": "taskDefinition",
12832
12870
  "assign_public_ip": "assignPublicIp",
12833
12871
  "container_overrides": "containerOverrides",
12872
+ "cpu": "cpu",
12834
12873
  "enable_execute_command": "enableExecuteCommand",
12874
+ "memory_mib": "memoryMiB",
12835
12875
  "propagated_tag_source": "propagatedTagSource",
12836
12876
  "revision_number": "revisionNumber",
12837
12877
  "security_groups": "securityGroups",
@@ -12859,7 +12899,9 @@ class EcsRunTaskProps(_TaskStateBaseProps_3a62b6d0):
12859
12899
  task_definition: _TaskDefinition_a541a103,
12860
12900
  assign_public_ip: typing.Optional[builtins.bool] = None,
12861
12901
  container_overrides: typing.Optional[typing.Sequence[typing.Union[ContainerOverride, typing.Dict[builtins.str, typing.Any]]]] = None,
12902
+ cpu: typing.Optional[builtins.str] = None,
12862
12903
  enable_execute_command: typing.Optional[builtins.bool] = None,
12904
+ memory_mib: typing.Optional[builtins.str] = None,
12863
12905
  propagated_tag_source: typing.Optional[_PropagatedTagSource_ad4e874a] = None,
12864
12906
  revision_number: typing.Optional[jsii.Number] = None,
12865
12907
  security_groups: typing.Optional[typing.Sequence[_ISecurityGroup_acf8a799]] = None,
@@ -12884,7 +12926,9 @@ class EcsRunTaskProps(_TaskStateBaseProps_3a62b6d0):
12884
12926
  :param task_definition: [disable-awslint:ref-via-interface] Task Definition used for running tasks in the service. Note: this must be TaskDefinition, and not ITaskDefinition, as it requires properties that are not known for imported task definitions If you want to run a RunTask with an imported task definition, consider using CustomState
12885
12927
  :param assign_public_ip: Assign public IP addresses to each task. Default: false
12886
12928
  :param container_overrides: Container setting overrides. Specify the container to use and the overrides to apply. Default: - No overrides
12929
+ :param cpu: Cpu setting override. Default: - No override
12887
12930
  :param enable_execute_command: Whether ECS Exec should be enabled. Default: false
12931
+ :param memory_mib: Memory setting override. Default: - No override
12888
12932
  :param propagated_tag_source: Specifies whether to propagate the tags from the task definition to the task. An error will be received if you specify the SERVICE option when running a task. Default: - No tags are propagated.
12889
12933
  :param revision_number: The revision number of ECS task definition family. Default: - '$latest'
12890
12934
  :param security_groups: Existing security groups to use for the tasks. Default: - A new security group is created
@@ -12947,7 +12991,9 @@ class EcsRunTaskProps(_TaskStateBaseProps_3a62b6d0):
12947
12991
  check_type(argname="argument task_definition", value=task_definition, expected_type=type_hints["task_definition"])
12948
12992
  check_type(argname="argument assign_public_ip", value=assign_public_ip, expected_type=type_hints["assign_public_ip"])
12949
12993
  check_type(argname="argument container_overrides", value=container_overrides, expected_type=type_hints["container_overrides"])
12994
+ check_type(argname="argument cpu", value=cpu, expected_type=type_hints["cpu"])
12950
12995
  check_type(argname="argument enable_execute_command", value=enable_execute_command, expected_type=type_hints["enable_execute_command"])
12996
+ check_type(argname="argument memory_mib", value=memory_mib, expected_type=type_hints["memory_mib"])
12951
12997
  check_type(argname="argument propagated_tag_source", value=propagated_tag_source, expected_type=type_hints["propagated_tag_source"])
12952
12998
  check_type(argname="argument revision_number", value=revision_number, expected_type=type_hints["revision_number"])
12953
12999
  check_type(argname="argument security_groups", value=security_groups, expected_type=type_hints["security_groups"])
@@ -12985,8 +13031,12 @@ class EcsRunTaskProps(_TaskStateBaseProps_3a62b6d0):
12985
13031
  self._values["assign_public_ip"] = assign_public_ip
12986
13032
  if container_overrides is not None:
12987
13033
  self._values["container_overrides"] = container_overrides
13034
+ if cpu is not None:
13035
+ self._values["cpu"] = cpu
12988
13036
  if enable_execute_command is not None:
12989
13037
  self._values["enable_execute_command"] = enable_execute_command
13038
+ if memory_mib is not None:
13039
+ self._values["memory_mib"] = memory_mib
12990
13040
  if propagated_tag_source is not None:
12991
13041
  self._values["propagated_tag_source"] = propagated_tag_source
12992
13042
  if revision_number is not None:
@@ -13201,6 +13251,17 @@ class EcsRunTaskProps(_TaskStateBaseProps_3a62b6d0):
13201
13251
  result = self._values.get("container_overrides")
13202
13252
  return typing.cast(typing.Optional[typing.List[ContainerOverride]], result)
13203
13253
 
13254
+ @builtins.property
13255
+ def cpu(self) -> typing.Optional[builtins.str]:
13256
+ '''Cpu setting override.
13257
+
13258
+ :default: - No override
13259
+
13260
+ :see: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_TaskOverride.html
13261
+ '''
13262
+ result = self._values.get("cpu")
13263
+ return typing.cast(typing.Optional[builtins.str], result)
13264
+
13204
13265
  @builtins.property
13205
13266
  def enable_execute_command(self) -> typing.Optional[builtins.bool]:
13206
13267
  '''Whether ECS Exec should be enabled.
@@ -13212,6 +13273,17 @@ class EcsRunTaskProps(_TaskStateBaseProps_3a62b6d0):
13212
13273
  result = self._values.get("enable_execute_command")
13213
13274
  return typing.cast(typing.Optional[builtins.bool], result)
13214
13275
 
13276
+ @builtins.property
13277
+ def memory_mib(self) -> typing.Optional[builtins.str]:
13278
+ '''Memory setting override.
13279
+
13280
+ :default: - No override
13281
+
13282
+ :see: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_TaskOverride.html
13283
+ '''
13284
+ result = self._values.get("memory_mib")
13285
+ return typing.cast(typing.Optional[builtins.str], result)
13286
+
13215
13287
  @builtins.property
13216
13288
  def propagated_tag_source(self) -> typing.Optional[_PropagatedTagSource_ad4e874a]:
13217
13289
  '''Specifies whether to propagate the tags from the task definition to the task.
@@ -35530,7 +35602,9 @@ def _typecheckingstub__1b9fa1de6876853cd0aa59517079cbcfc7017daf643f17b13556a7a5f
35530
35602
  task_definition: _TaskDefinition_a541a103,
35531
35603
  assign_public_ip: typing.Optional[builtins.bool] = None,
35532
35604
  container_overrides: typing.Optional[typing.Sequence[typing.Union[ContainerOverride, typing.Dict[builtins.str, typing.Any]]]] = None,
35605
+ cpu: typing.Optional[builtins.str] = None,
35533
35606
  enable_execute_command: typing.Optional[builtins.bool] = None,
35607
+ memory_mib: typing.Optional[builtins.str] = None,
35534
35608
  propagated_tag_source: typing.Optional[_PropagatedTagSource_ad4e874a] = None,
35535
35609
  revision_number: typing.Optional[jsii.Number] = None,
35536
35610
  security_groups: typing.Optional[typing.Sequence[_ISecurityGroup_acf8a799]] = None,
@@ -35570,7 +35644,9 @@ def _typecheckingstub__4f880997570006602fac387ce93510039132ec3f42612722766b67ec6
35570
35644
  task_definition: _TaskDefinition_a541a103,
35571
35645
  assign_public_ip: typing.Optional[builtins.bool] = None,
35572
35646
  container_overrides: typing.Optional[typing.Sequence[typing.Union[ContainerOverride, typing.Dict[builtins.str, typing.Any]]]] = None,
35647
+ cpu: typing.Optional[builtins.str] = None,
35573
35648
  enable_execute_command: typing.Optional[builtins.bool] = None,
35649
+ memory_mib: typing.Optional[builtins.str] = None,
35574
35650
  propagated_tag_source: typing.Optional[_PropagatedTagSource_ad4e874a] = None,
35575
35651
  revision_number: typing.Optional[jsii.Number] = None,
35576
35652
  security_groups: typing.Optional[typing.Sequence[_ISecurityGroup_acf8a799]] = None,
@@ -3839,6 +3839,19 @@ class Runtime(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_synthetics.Run
3839
3839
  '''
3840
3840
  return typing.cast("Runtime", jsii.sget(cls, "SYNTHETICS_PYTHON_SELENIUM_3_0"))
3841
3841
 
3842
+ @jsii.python.classproperty
3843
+ @jsii.member(jsii_name="SYNTHETICS_PYTHON_SELENIUM_4_0")
3844
+ def SYNTHETICS_PYTHON_SELENIUM_4_0(cls) -> "Runtime":
3845
+ '''``syn-python-selenium-4.0`` includes the following: - Lambda runtime Python 3.9 - Selenium version 4.15.1 - Chromium version 126.0.6478.126.
3846
+
3847
+ New Features:
3848
+
3849
+ - **Bug fixes** for errors in HAR parser logging.
3850
+
3851
+ :see: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Library_python_selenium.html#CloudWatch_Synthetics_runtimeversion-syn-python-selenium-4.0
3852
+ '''
3853
+ return typing.cast("Runtime", jsii.sget(cls, "SYNTHETICS_PYTHON_SELENIUM_4_0"))
3854
+
3842
3855
  @builtins.property
3843
3856
  @jsii.member(jsii_name="family")
3844
3857
  def family(self) -> "RuntimeFamily":
@@ -842,6 +842,8 @@ Note that `CustomResourceConfig` uses Aspects to modify your constructs. There i
842
842
  CustomResourceConfig.of(App).addLogRetentionLifetime(logs.RetentionDays.TEN_YEARS);
843
843
  CustomResourceConfig.of(App).addLogRetentionLifetime(logs.RetentionDays.ONE_DAY);
844
844
 
845
+ ### Setting Log Retention Lifetime
846
+
845
847
  The following example configures every custom resource in this CDK app to retain its logs for ten years:
846
848
 
847
849
  ```python
@@ -918,6 +920,8 @@ s3deploy.BucketDeployment(nested_stack_b, "s3deployB",
918
920
  )
919
921
  ```
920
922
 
923
+ ### Setting Log Group Removal Policy
924
+
921
925
  The `addLogRetentionLifetime` method of `CustomResourceConfig` will associate a log group with a AWS-vended custom resource lambda.
922
926
  The `addRemovalPolicy` method will configure the custom resource lambda log group removal policy to `DESTROY`.
923
927
 
@@ -936,6 +940,27 @@ ses.ReceiptRuleSet(app, "RuleSet",
936
940
  drop_spam=True
937
941
  )
938
942
  ```
943
+
944
+ ### Setting Lambda Runtimes
945
+
946
+ The `addLambdaRuntime` method of `CustomResourceConfig` will set every AWS-vended custom resource to the specified lambda runtime, provided that the custom resource lambda is in the same runtime family as the one you specified. The S3 BucketDeployment construct uses lambda runtime Python 3.9. The following example sets the custom resource lambda runtime to `PYTHON_3_12`:
947
+
948
+ ```python
949
+ import aws_cdk as cdk
950
+ import aws_cdk.aws_s3_deployment as s3deploy
951
+ from aws_cdk.custom_resources import CustomResourceConfig
952
+
953
+
954
+ app = cdk.App()
955
+ stack = cdk.Stack(app, "Stack")
956
+ CustomResourceConfig.of(app).add_lambda_runtime(lambda_.Runtime.PYTHON_3_12)
957
+
958
+ website_bucket = s3.Bucket(stack, "WebsiteBucket")
959
+ s3deploy.BucketDeployment(stack, "s3deploy",
960
+ sources=[s3deploy.Source.json_data("file.json", {"a": "b"})],
961
+ destination_bucket=website_bucket
962
+ )
963
+ ```
939
964
  '''
940
965
  from pkgutil import extend_path
941
966
  __path__ = extend_path(__path__, __name__)
@@ -976,7 +1001,7 @@ from ..aws_iam import (
976
1001
  PolicyStatement as _PolicyStatement_0fe33853,
977
1002
  )
978
1003
  from ..aws_kms import IKey as _IKey_5f11635f
979
- from ..aws_lambda import IFunction as _IFunction_6adb0ab8
1004
+ from ..aws_lambda import IFunction as _IFunction_6adb0ab8, Runtime as _Runtime_b4eaa844
980
1005
  from ..aws_logs import (
981
1006
  ILogGroup as _ILogGroup_3c4fa718, RetentionDays as _RetentionDays_070f99f0
982
1007
  )
@@ -1797,7 +1822,9 @@ class CustomResourceConfig(
1797
1822
  metaclass=jsii.JSIIMeta,
1798
1823
  jsii_type="aws-cdk-lib.custom_resources.CustomResourceConfig",
1799
1824
  ):
1800
- '''Manages AWS-vended Custom Resources This feature is currently experimental.
1825
+ '''Manages AWS-vended Custom Resources.
1826
+
1827
+ This feature is currently experimental.
1801
1828
 
1802
1829
  :exampleMetadata: fixture=_generated
1803
1830
 
@@ -1822,10 +1849,25 @@ class CustomResourceConfig(
1822
1849
  check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
1823
1850
  return typing.cast("CustomResourceConfig", jsii.sinvoke(cls, "of", [scope]))
1824
1851
 
1852
+ @jsii.member(jsii_name="addLambdaRuntime")
1853
+ def add_lambda_runtime(self, lambda_runtime: _Runtime_b4eaa844) -> None:
1854
+ '''Set the runtime version on AWS-vended custom resources lambdas.
1855
+
1856
+ This feature is currently experimental.
1857
+
1858
+ :param lambda_runtime: -
1859
+ '''
1860
+ if __debug__:
1861
+ type_hints = typing.get_type_hints(_typecheckingstub__78a138e921609d9dcf95b341aa403897a831e305855b6a8bf80efcf60f0acc0e)
1862
+ check_type(argname="argument lambda_runtime", value=lambda_runtime, expected_type=type_hints["lambda_runtime"])
1863
+ return typing.cast(None, jsii.invoke(self, "addLambdaRuntime", [lambda_runtime]))
1864
+
1825
1865
  @jsii.member(jsii_name="addLogRetentionLifetime")
1826
1866
  def add_log_retention_lifetime(self, rentention: _RetentionDays_070f99f0) -> None:
1827
1867
  '''Set the log retention of AWS-vended custom resource lambdas.
1828
1868
 
1869
+ This feature is currently experimental.
1870
+
1829
1871
  :param rentention: -
1830
1872
  '''
1831
1873
  if __debug__:
@@ -1837,6 +1879,8 @@ class CustomResourceConfig(
1837
1879
  def add_removal_policy(self, removal_policy: _RemovalPolicy_9f93c814) -> None:
1838
1880
  '''Set the removal policy of AWS-vended custom resource logGroup.
1839
1881
 
1882
+ This feature is currently experimental.
1883
+
1840
1884
  :param removal_policy: -
1841
1885
  '''
1842
1886
  if __debug__:
@@ -1845,6 +1889,50 @@ class CustomResourceConfig(
1845
1889
  return typing.cast(None, jsii.invoke(self, "addRemovalPolicy", [removal_policy]))
1846
1890
 
1847
1891
 
1892
+ @jsii.implements(_IAspect_118c810a)
1893
+ class CustomResourceLambdaRuntime(
1894
+ metaclass=jsii.JSIIMeta,
1895
+ jsii_type="aws-cdk-lib.custom_resources.CustomResourceLambdaRuntime",
1896
+ ):
1897
+ '''Manages lambda runtime for AWS-vended custom resources.
1898
+
1899
+ This feature is currently experimental.
1900
+
1901
+ :exampleMetadata: fixture=_generated
1902
+
1903
+ Example::
1904
+
1905
+ # The code below shows an example of how to instantiate this type.
1906
+ # The values are placeholders you should change.
1907
+ from aws_cdk import aws_lambda as lambda_
1908
+ from aws_cdk import custom_resources
1909
+
1910
+ # runtime: lambda.Runtime
1911
+
1912
+ custom_resource_lambda_runtime = custom_resources.CustomResourceLambdaRuntime(runtime)
1913
+ '''
1914
+
1915
+ def __init__(self, lambda_runtime: _Runtime_b4eaa844) -> None:
1916
+ '''
1917
+ :param lambda_runtime: -
1918
+ '''
1919
+ if __debug__:
1920
+ type_hints = typing.get_type_hints(_typecheckingstub__12285526f811e0d37f024a5fdf89253f5dd9d8adfeb44ea4697e8a0c2722e8f4)
1921
+ check_type(argname="argument lambda_runtime", value=lambda_runtime, expected_type=type_hints["lambda_runtime"])
1922
+ jsii.create(self.__class__, self, [lambda_runtime])
1923
+
1924
+ @jsii.member(jsii_name="visit")
1925
+ def visit(self, node: _constructs_77d1e7e8.IConstruct) -> None:
1926
+ '''All aspects can visit an IConstruct.
1927
+
1928
+ :param node: -
1929
+ '''
1930
+ if __debug__:
1931
+ type_hints = typing.get_type_hints(_typecheckingstub__4a41e38bc97de5d240895d2afbccd81c124833c332c3dca576ae7d31e5fc3f21)
1932
+ check_type(argname="argument node", value=node, expected_type=type_hints["node"])
1933
+ return typing.cast(None, jsii.invoke(self, "visit", [node]))
1934
+
1935
+
1848
1936
  @jsii.implements(_IAspect_118c810a)
1849
1937
  class CustomResourceLogRetention(
1850
1938
  metaclass=jsii.JSIIMeta,
@@ -1852,6 +1940,8 @@ class CustomResourceLogRetention(
1852
1940
  ):
1853
1941
  '''Manages log retention for AWS-vended custom resources.
1854
1942
 
1943
+ This feature is currently experimental.
1944
+
1855
1945
  :exampleMetadata: fixture=_generated
1856
1946
 
1857
1947
  Example::
@@ -1892,6 +1982,8 @@ class CustomResourceRemovalPolicy(
1892
1982
  ):
1893
1983
  '''Manages removal policy for AWS-vended custom resources.
1894
1984
 
1985
+ This feature is currently experimental.
1986
+
1895
1987
  :exampleMetadata: fixture=_generated
1896
1988
 
1897
1989
  Example::
@@ -3043,6 +3135,7 @@ __all__ = [
3043
3135
  "AwsCustomResourceProps",
3044
3136
  "AwsSdkCall",
3045
3137
  "CustomResourceConfig",
3138
+ "CustomResourceLambdaRuntime",
3046
3139
  "CustomResourceLogRetention",
3047
3140
  "CustomResourceRemovalPolicy",
3048
3141
  "LogOptions",
@@ -3143,6 +3236,12 @@ def _typecheckingstub__71c1178bbfb24d2c3974ce93648bb5eea2ec04e86060e04ce5e125d82
3143
3236
  """Type checking stubs"""
3144
3237
  pass
3145
3238
 
3239
+ def _typecheckingstub__78a138e921609d9dcf95b341aa403897a831e305855b6a8bf80efcf60f0acc0e(
3240
+ lambda_runtime: _Runtime_b4eaa844,
3241
+ ) -> None:
3242
+ """Type checking stubs"""
3243
+ pass
3244
+
3146
3245
  def _typecheckingstub__b24e4182dd0a87c24dfd3d5c1bc10b91914571416d15e209d3fbd01cdcca86c3(
3147
3246
  rentention: _RetentionDays_070f99f0,
3148
3247
  ) -> None:
@@ -3155,6 +3254,18 @@ def _typecheckingstub__40b6d12e0fa498dd2bcee3634487a6647d3a4e2c1241e542a57e63d03
3155
3254
  """Type checking stubs"""
3156
3255
  pass
3157
3256
 
3257
+ def _typecheckingstub__12285526f811e0d37f024a5fdf89253f5dd9d8adfeb44ea4697e8a0c2722e8f4(
3258
+ lambda_runtime: _Runtime_b4eaa844,
3259
+ ) -> None:
3260
+ """Type checking stubs"""
3261
+ pass
3262
+
3263
+ def _typecheckingstub__4a41e38bc97de5d240895d2afbccd81c124833c332c3dca576ae7d31e5fc3f21(
3264
+ node: _constructs_77d1e7e8.IConstruct,
3265
+ ) -> None:
3266
+ """Type checking stubs"""
3267
+ pass
3268
+
3158
3269
  def _typecheckingstub__d9817c2e505de7a66bfdd5dae2d9307acfd8d0c9c65dd6bd79ef0eb799e16ac3(
3159
3270
  set_log_retention: _RetentionDays_070f99f0,
3160
3271
  ) -> None:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aws-cdk-lib
3
- Version: 2.154.0
3
+ Version: 2.155.0
4
4
  Summary: Version 2 of the AWS Cloud Development Kit library
5
5
  Home-page: https://github.com/aws/aws-cdk
6
6
  Author: Amazon Web Services