aws-cdk-lib 2.156.0__py3-none-any.whl → 2.157.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 (53) hide show
  1. aws_cdk/__init__.py +26 -22
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.156.0.jsii.tgz → aws-cdk-lib@2.157.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_acmpca/__init__.py +10 -75
  5. aws_cdk/aws_amplify/__init__.py +106 -0
  6. aws_cdk/aws_apigatewayv2/__init__.py +81 -13
  7. aws_cdk/aws_appintegrations/__init__.py +14 -14
  8. aws_cdk/aws_applicationsignals/__init__.py +750 -1
  9. aws_cdk/aws_appsync/__init__.py +50 -18
  10. aws_cdk/aws_autoscaling/__init__.py +6 -6
  11. aws_cdk/aws_backup/__init__.py +39 -0
  12. aws_cdk/aws_batch/__init__.py +41 -0
  13. aws_cdk/aws_bedrock/__init__.py +1513 -94
  14. aws_cdk/aws_chatbot/__init__.py +6 -6
  15. aws_cdk/aws_cloudformation/__init__.py +22 -22
  16. aws_cdk/aws_cloudfront/experimental/__init__.py +30 -3
  17. aws_cdk/aws_datasync/__init__.py +40 -29
  18. aws_cdk/aws_ec2/__init__.py +373 -49
  19. aws_cdk/aws_ecs/__init__.py +253 -87
  20. aws_cdk/aws_elasticloadbalancingv2/__init__.py +4 -4
  21. aws_cdk/aws_entityresolution/__init__.py +117 -4
  22. aws_cdk/aws_glue/__init__.py +0 -8
  23. aws_cdk/aws_groundstation/__init__.py +27 -16
  24. aws_cdk/aws_guardduty/__init__.py +26 -14
  25. aws_cdk/aws_iotfleetwise/__init__.py +108 -0
  26. aws_cdk/aws_lambda/__init__.py +147 -17
  27. aws_cdk/aws_lambda_nodejs/__init__.py +30 -3
  28. aws_cdk/aws_macie/__init__.py +4 -4
  29. aws_cdk/aws_medialive/__init__.py +348 -0
  30. aws_cdk/aws_mediapackagev2/__init__.py +38 -38
  31. aws_cdk/aws_neptune/__init__.py +14 -8
  32. aws_cdk/aws_opensearchservice/__init__.py +194 -0
  33. aws_cdk/aws_pcaconnectorscep/__init__.py +884 -0
  34. aws_cdk/aws_personalize/__init__.py +2 -2
  35. aws_cdk/aws_pipes/__init__.py +22 -22
  36. aws_cdk/aws_qbusiness/__init__.py +675 -6
  37. aws_cdk/aws_quicksight/__init__.py +3285 -0
  38. aws_cdk/aws_rds/__init__.py +18 -0
  39. aws_cdk/aws_sagemaker/__init__.py +1167 -0
  40. aws_cdk/aws_secretsmanager/__init__.py +2 -3
  41. aws_cdk/aws_securityhub/__init__.py +108 -103
  42. aws_cdk/aws_ses/__init__.py +31 -0
  43. aws_cdk/aws_sns/__init__.py +19 -13
  44. aws_cdk/aws_ssm/__init__.py +10 -6
  45. aws_cdk/aws_ssmquicksetup/__init__.py +967 -0
  46. aws_cdk/aws_stepfunctions_tasks/__init__.py +4 -4
  47. aws_cdk/triggers/__init__.py +30 -3
  48. {aws_cdk_lib-2.156.0.dist-info → aws_cdk_lib-2.157.0.dist-info}/METADATA +1 -1
  49. {aws_cdk_lib-2.156.0.dist-info → aws_cdk_lib-2.157.0.dist-info}/RECORD +53 -51
  50. {aws_cdk_lib-2.156.0.dist-info → aws_cdk_lib-2.157.0.dist-info}/LICENSE +0 -0
  51. {aws_cdk_lib-2.156.0.dist-info → aws_cdk_lib-2.157.0.dist-info}/NOTICE +0 -0
  52. {aws_cdk_lib-2.156.0.dist-info → aws_cdk_lib-2.157.0.dist-info}/WHEEL +0 -0
  53. {aws_cdk_lib-2.156.0.dist-info → aws_cdk_lib-2.157.0.dist-info}/top_level.txt +0 -0
@@ -608,6 +608,15 @@ class CfnSubscription(
608
608
  '''The CloudFormation resource type name for this resource class.'''
609
609
  return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
610
610
 
611
+ @builtins.property
612
+ @jsii.member(jsii_name="attrArn")
613
+ def attr_arn(self) -> builtins.str:
614
+ '''Arn of the subscription.
615
+
616
+ :cloudformationAttribute: Arn
617
+ '''
618
+ return typing.cast(builtins.str, jsii.get(self, "attrArn"))
619
+
611
620
  @builtins.property
612
621
  @jsii.member(jsii_name="attrId")
613
622
  def attr_id(self) -> builtins.str:
@@ -1104,8 +1113,8 @@ class CfnTopic(
1104
1113
  '''
1105
1114
  :param scope: Scope in which this resource is defined.
1106
1115
  :param id: Construct identifier for this resource (unique in its scope).
1107
- :param archive_policy: The archive policy determines the number of days Amazon SNS retains messages. You can set a retention period from 1 to 365 days.
1108
- :param content_based_deduplication: Enables content-based deduplication for FIFO topics. - By default, ``ContentBasedDeduplication`` is set to ``false`` . If you create a FIFO topic and this attribute is ``false`` , you must specify a value for the ``MessageDeduplicationId`` parameter for the `Publish <https://docs.aws.amazon.com/sns/latest/api/API_Publish.html>`_ action. - When you set ``ContentBasedDeduplication`` to ``true`` , Amazon SNS uses a SHA-256 hash to generate the ``MessageDeduplicationId`` using the body of the message (but not the attributes of the message). (Optional) To override the generated value, you can specify a value for the the ``MessageDeduplicationId`` parameter for the ``Publish`` action.
1116
+ :param archive_policy: The ``ArchivePolicy`` determines the number of days Amazon SNS retains messages in FIFO topics. You can set a retention period ranging from 1 to 365 days. This property is only applicable to FIFO topics; attempting to use it with standard topics will result in a creation failure.
1117
+ :param content_based_deduplication: ``ContentBasedDeduplication`` enables deduplication of messages based on their content for FIFO topics. By default, this property is set to false. If you create a FIFO topic with ``ContentBasedDeduplication`` set to false, you must provide a ``MessageDeduplicationId`` for each ``Publish`` action. When set to true, Amazon SNS automatically generates a ``MessageDeduplicationId`` using a SHA-256 hash of the message body (excluding message attributes). You can optionally override this generated value by specifying a ``MessageDeduplicationId`` in the ``Publish`` action. Note that this property only applies to FIFO topics; using it with standard topics will cause the creation to fail.
1109
1118
  :param data_protection_policy: The body of the policy document you want to use for this topic. You can only add one policy per topic. The policy must be in JSON string format. Length Constraints: Maximum length of 30,720.
1110
1119
  :param delivery_status_logging: The ``DeliveryStatusLogging`` configuration enables you to log the delivery status of messages sent from your Amazon SNS topic to subscribed endpoints with the following supported delivery protocols:. - HTTP - Amazon Kinesis Data Firehose - AWS Lambda - Platform application endpoint - Amazon Simple Queue Service Once configured, log entries are sent to Amazon CloudWatch Logs.
1111
1120
  :param display_name: The display name to use for an Amazon SNS topic with SMS subscriptions. The display name must be maximum 100 characters long, including hyphens (-), underscores (_), spaces, and tabs.
@@ -1200,7 +1209,7 @@ class CfnTopic(
1200
1209
  @builtins.property
1201
1210
  @jsii.member(jsii_name="archivePolicy")
1202
1211
  def archive_policy(self) -> typing.Any:
1203
- '''The archive policy determines the number of days Amazon SNS retains messages.'''
1212
+ '''The ``ArchivePolicy`` determines the number of days Amazon SNS retains messages in FIFO topics.'''
1204
1213
  return typing.cast(typing.Any, jsii.get(self, "archivePolicy"))
1205
1214
 
1206
1215
  @archive_policy.setter
@@ -1215,7 +1224,7 @@ class CfnTopic(
1215
1224
  def content_based_deduplication(
1216
1225
  self,
1217
1226
  ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
1218
- '''Enables content-based deduplication for FIFO topics.'''
1227
+ '''``ContentBasedDeduplication`` enables deduplication of messages based on their content for FIFO topics.'''
1219
1228
  return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], jsii.get(self, "contentBasedDeduplication"))
1220
1229
 
1221
1230
  @content_based_deduplication.setter
@@ -1977,8 +1986,8 @@ class CfnTopicProps:
1977
1986
  ) -> None:
1978
1987
  '''Properties for defining a ``CfnTopic``.
1979
1988
 
1980
- :param archive_policy: The archive policy determines the number of days Amazon SNS retains messages. You can set a retention period from 1 to 365 days.
1981
- :param content_based_deduplication: Enables content-based deduplication for FIFO topics. - By default, ``ContentBasedDeduplication`` is set to ``false`` . If you create a FIFO topic and this attribute is ``false`` , you must specify a value for the ``MessageDeduplicationId`` parameter for the `Publish <https://docs.aws.amazon.com/sns/latest/api/API_Publish.html>`_ action. - When you set ``ContentBasedDeduplication`` to ``true`` , Amazon SNS uses a SHA-256 hash to generate the ``MessageDeduplicationId`` using the body of the message (but not the attributes of the message). (Optional) To override the generated value, you can specify a value for the the ``MessageDeduplicationId`` parameter for the ``Publish`` action.
1989
+ :param archive_policy: The ``ArchivePolicy`` determines the number of days Amazon SNS retains messages in FIFO topics. You can set a retention period ranging from 1 to 365 days. This property is only applicable to FIFO topics; attempting to use it with standard topics will result in a creation failure.
1990
+ :param content_based_deduplication: ``ContentBasedDeduplication`` enables deduplication of messages based on their content for FIFO topics. By default, this property is set to false. If you create a FIFO topic with ``ContentBasedDeduplication`` set to false, you must provide a ``MessageDeduplicationId`` for each ``Publish`` action. When set to true, Amazon SNS automatically generates a ``MessageDeduplicationId`` using a SHA-256 hash of the message body (excluding message attributes). You can optionally override this generated value by specifying a ``MessageDeduplicationId`` in the ``Publish`` action. Note that this property only applies to FIFO topics; using it with standard topics will cause the creation to fail.
1982
1991
  :param data_protection_policy: The body of the policy document you want to use for this topic. You can only add one policy per topic. The policy must be in JSON string format. Length Constraints: Maximum length of 30,720.
1983
1992
  :param delivery_status_logging: The ``DeliveryStatusLogging`` configuration enables you to log the delivery status of messages sent from your Amazon SNS topic to subscribed endpoints with the following supported delivery protocols:. - HTTP - Amazon Kinesis Data Firehose - AWS Lambda - Platform application endpoint - Amazon Simple Queue Service Once configured, log entries are sent to Amazon CloudWatch Logs.
1984
1993
  :param display_name: The display name to use for an Amazon SNS topic with SMS subscriptions. The display name must be maximum 100 characters long, including hyphens (-), underscores (_), spaces, and tabs.
@@ -2072,9 +2081,9 @@ class CfnTopicProps:
2072
2081
 
2073
2082
  @builtins.property
2074
2083
  def archive_policy(self) -> typing.Any:
2075
- '''The archive policy determines the number of days Amazon SNS retains messages.
2084
+ '''The ``ArchivePolicy`` determines the number of days Amazon SNS retains messages in FIFO topics.
2076
2085
 
2077
- You can set a retention period from 1 to 365 days.
2086
+ You can set a retention period ranging from 1 to 365 days. This property is only applicable to FIFO topics; attempting to use it with standard topics will result in a creation failure.
2078
2087
 
2079
2088
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-topic.html#cfn-sns-topic-archivepolicy
2080
2089
  '''
@@ -2085,12 +2094,9 @@ class CfnTopicProps:
2085
2094
  def content_based_deduplication(
2086
2095
  self,
2087
2096
  ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
2088
- '''Enables content-based deduplication for FIFO topics.
2089
-
2090
- - By default, ``ContentBasedDeduplication`` is set to ``false`` . If you create a FIFO topic and this attribute is ``false`` , you must specify a value for the ``MessageDeduplicationId`` parameter for the `Publish <https://docs.aws.amazon.com/sns/latest/api/API_Publish.html>`_ action.
2091
- - When you set ``ContentBasedDeduplication`` to ``true`` , Amazon SNS uses a SHA-256 hash to generate the ``MessageDeduplicationId`` using the body of the message (but not the attributes of the message).
2097
+ '''``ContentBasedDeduplication`` enables deduplication of messages based on their content for FIFO topics.
2092
2098
 
2093
- (Optional) To override the generated value, you can specify a value for the the ``MessageDeduplicationId`` parameter for the ``Publish`` action.
2099
+ By default, this property is set to false. If you create a FIFO topic with ``ContentBasedDeduplication`` set to false, you must provide a ``MessageDeduplicationId`` for each ``Publish`` action. When set to true, Amazon SNS automatically generates a ``MessageDeduplicationId`` using a SHA-256 hash of the message body (excluding message attributes). You can optionally override this generated value by specifying a ``MessageDeduplicationId`` in the ``Publish`` action. Note that this property only applies to FIFO topics; using it with standard topics will cause the creation to fail.
2094
2100
 
2095
2101
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-topic.html#cfn-sns-topic-contentbaseddeduplication
2096
2102
  '''
@@ -5879,8 +5879,8 @@ class CfnPatchBaseline(
5879
5879
 
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
- :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, ``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.
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. This parameter is marked as ``Required: No`` , but your request must include a value for either ``ApproveAfterDays`` or ``ApproveUntilDate`` . Not supported for Debian Server or Ubuntu Server. .. epigraph:: Use caution when setting this value for Windows Server patch baselines. Because patch updates that are replaced by later updates are removed, setting too broad a value for this parameter can result in crucial patches not being installed. For more information, see the *Windows Server* tab in the topic `How security patches are selected <https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-selecting-patches.html>`_ in the *AWS Systems Manager User Guide* .
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`` . This parameter is marked as ``Required: No`` , but your request must include a value for either ``ApproveUntilDate`` or ``ApproveAfterDays`` . Not supported for Debian Server or Ubuntu Server. .. epigraph:: Use caution when setting this value for Windows Server patch baselines. Because patch updates that are replaced by later updates are removed, setting too broad a value for this parameter can result in crucial patches not being installed. For more information, see the *Windows Server* tab in the topic `How security patches are selected <https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-selecting-patches.html>`_ in the *AWS Systems Manager User Guide* .
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.
@@ -5931,11 +5931,13 @@ class CfnPatchBaseline(
5931
5931
  '''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.
5932
5932
 
5933
5933
  For example, a value of ``7`` means that patches are approved seven days after they are released.
5934
- .. epigraph::
5935
5934
 
5936
- This parameter is marked as not required, but your request must include a value for either ``ApproveAfterDays`` or ``ApproveUntilDate`` .
5935
+ This parameter is marked as ``Required: No`` , but your request must include a value for either ``ApproveAfterDays`` or ``ApproveUntilDate`` .
5937
5936
 
5938
5937
  Not supported for Debian Server or Ubuntu Server.
5938
+ .. epigraph::
5939
+
5940
+ Use caution when setting this value for Windows Server patch baselines. Because patch updates that are replaced by later updates are removed, setting too broad a value for this parameter can result in crucial patches not being installed. For more information, see the *Windows Server* tab in the topic `How security patches are selected <https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-selecting-patches.html>`_ in the *AWS Systems Manager User Guide* .
5939
5941
 
5940
5942
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-patchbaseline-rule.html#cfn-ssm-patchbaseline-rule-approveafterdays
5941
5943
  '''
@@ -5949,11 +5951,13 @@ class CfnPatchBaseline(
5949
5951
  Any patches released on or before this date are installed automatically.
5950
5952
 
5951
5953
  Enter dates in the format ``YYYY-MM-DD`` . For example, ``2024-12-31`` .
5952
- .. epigraph::
5953
5954
 
5954
- This parameter is marked as not required, but your request must include a value for either ``ApproveUntilDate`` or ``ApproveAfterDays`` .
5955
+ This parameter is marked as ``Required: No`` , but your request must include a value for either ``ApproveUntilDate`` or ``ApproveAfterDays`` .
5955
5956
 
5956
5957
  Not supported for Debian Server or Ubuntu Server.
5958
+ .. epigraph::
5959
+
5960
+ Use caution when setting this value for Windows Server patch baselines. Because patch updates that are replaced by later updates are removed, setting too broad a value for this parameter can result in crucial patches not being installed. For more information, see the *Windows Server* tab in the topic `How security patches are selected <https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-selecting-patches.html>`_ in the *AWS Systems Manager User Guide* .
5957
5961
 
5958
5962
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-patchbaseline-rule.html#cfn-ssm-patchbaseline-rule-approveuntildate
5959
5963
  '''