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
aws_cdk/_jsii/__init__.py CHANGED
@@ -20,7 +20,7 @@ import aws_cdk.cloud_assembly_schema._jsii
20
20
  import constructs._jsii
21
21
 
22
22
  __jsii_assembly__ = jsii.JSIIAssembly.load(
23
- "aws-cdk-lib", "2.154.0", __name__[0:-6], "aws-cdk-lib@2.154.0.jsii.tgz"
23
+ "aws-cdk-lib", "2.155.0", __name__[0:-6], "aws-cdk-lib@2.155.0.jsii.tgz"
24
24
  )
25
25
 
26
26
  __all__ = [
@@ -700,7 +700,7 @@ class Annotations(
700
700
  ) -> typing.List[_SynthesisMessage_b3ae3c62]:
701
701
  '''Get the set of matching errors of a given construct path and message.
702
702
 
703
- :param construct_path: the construct path to the error. Provide ``'*'`` to match all errors in the template.
703
+ :param construct_path: the construct path to the error, provide ``'*'`` to match all errors in the template.
704
704
  :param message: the error message as should be expected. This should be a string or Matcher object.
705
705
  '''
706
706
  if __debug__:
@@ -717,7 +717,7 @@ class Annotations(
717
717
  ) -> typing.List[_SynthesisMessage_b3ae3c62]:
718
718
  '''Get the set of matching infos of a given construct path and message.
719
719
 
720
- :param construct_path: the construct path to the info. Provide ``'*'`` to match all infos in the template.
720
+ :param construct_path: the construct path to the info, provide ``'*'`` to match all infos in the template.
721
721
  :param message: the info message as should be expected. This should be a string or Matcher object.
722
722
  '''
723
723
  if __debug__:
@@ -734,7 +734,7 @@ class Annotations(
734
734
  ) -> typing.List[_SynthesisMessage_b3ae3c62]:
735
735
  '''Get the set of matching warning of a given construct path and message.
736
736
 
737
- :param construct_path: the construct path to the warning. Provide ``'*'`` to match all warnings in the template.
737
+ :param construct_path: the construct path to the warning, provide ``'*'`` to match all warnings in the template.
738
738
  :param message: the warning message as should be expected. This should be a string or Matcher object.
739
739
  '''
740
740
  if __debug__:
@@ -747,7 +747,7 @@ class Annotations(
747
747
  def has_error(self, construct_path: builtins.str, message: typing.Any) -> None:
748
748
  '''Assert that an error with the given message exists in the synthesized CDK ``Stack``.
749
749
 
750
- :param construct_path: the construct path to the error. Provide ``'*'`` to match all errors in the template.
750
+ :param construct_path: the construct path to the error, provide ``'*'`` to match all errors in the template.
751
751
  :param message: the error message as should be expected. This should be a string or Matcher object.
752
752
  '''
753
753
  if __debug__:
@@ -760,7 +760,7 @@ class Annotations(
760
760
  def has_info(self, construct_path: builtins.str, message: typing.Any) -> None:
761
761
  '''Assert that an info with the given message exists in the synthesized CDK ``Stack``.
762
762
 
763
- :param construct_path: the construct path to the info. Provide ``'*'`` to match all info in the template.
763
+ :param construct_path: the construct path to the info, provide ``'*'`` to match all info in the template.
764
764
  :param message: the info message as should be expected. This should be a string or Matcher object.
765
765
  '''
766
766
  if __debug__:
@@ -773,7 +773,7 @@ class Annotations(
773
773
  def has_no_error(self, construct_path: builtins.str, message: typing.Any) -> None:
774
774
  '''Assert that an error with the given message does not exist in the synthesized CDK ``Stack``.
775
775
 
776
- :param construct_path: the construct path to the error. Provide ``'*'`` to match all errors in the template.
776
+ :param construct_path: the construct path to the error, provide ``'*'`` to match all errors in the template.
777
777
  :param message: the error message as should be expected. This should be a string or Matcher object.
778
778
  '''
779
779
  if __debug__:
@@ -786,7 +786,7 @@ class Annotations(
786
786
  def has_no_info(self, construct_path: builtins.str, message: typing.Any) -> None:
787
787
  '''Assert that an info with the given message does not exist in the synthesized CDK ``Stack``.
788
788
 
789
- :param construct_path: the construct path to the info. Provide ``'*'`` to match all info in the template.
789
+ :param construct_path: the construct path to the info, provide ``'*'`` to match all info in the template.
790
790
  :param message: the info message as should be expected. This should be a string or Matcher object.
791
791
  '''
792
792
  if __debug__:
@@ -799,7 +799,7 @@ class Annotations(
799
799
  def has_no_warning(self, construct_path: builtins.str, message: typing.Any) -> None:
800
800
  '''Assert that an warning with the given message does not exist in the synthesized CDK ``Stack``.
801
801
 
802
- :param construct_path: the construct path to the warning. Provide ``'*'`` to match all warnings in the template.
802
+ :param construct_path: the construct path to the warning, provide ``'*'`` to match all warnings in the template.
803
803
  :param message: the warning message as should be expected. This should be a string or Matcher object.
804
804
  '''
805
805
  if __debug__:
@@ -812,7 +812,7 @@ class Annotations(
812
812
  def has_warning(self, construct_path: builtins.str, message: typing.Any) -> None:
813
813
  '''Assert that an warning with the given message exists in the synthesized CDK ``Stack``.
814
814
 
815
- :param construct_path: the construct path to the warning. Provide ``'*'`` to match all warnings in the template.
815
+ :param construct_path: the construct path to the warning, provide ``'*'`` to match all warnings in the template.
816
816
  :param message: the warning message as should be expected. This should be a string or Matcher object.
817
817
  '''
818
818
  if __debug__:
@@ -1586,7 +1586,7 @@ class Template(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.assertions.Templa
1586
1586
  ) -> typing.Mapping[builtins.str, typing.Mapping[builtins.str, typing.Any]]:
1587
1587
  '''Get the set of matching Conditions that match the given properties in the CloudFormation template.
1588
1588
 
1589
- :param logical_id: the name of the condition. Provide ``'*'`` to match all conditions in the template.
1589
+ :param logical_id: the name of the condition, provide ``'*'`` to match all conditions in the template.
1590
1590
  :param props: by default, matches all Conditions in the template. When a literal object is provided, performs a partial match via ``Match.objectLike()``. Use the ``Match`` APIs to configure a different behaviour.
1591
1591
  '''
1592
1592
  if __debug__:
@@ -1603,7 +1603,7 @@ class Template(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.assertions.Templa
1603
1603
  ) -> typing.Mapping[builtins.str, typing.Mapping[builtins.str, typing.Any]]:
1604
1604
  '''Get the set of matching Mappings that match the given properties in the CloudFormation template.
1605
1605
 
1606
- :param logical_id: the name of the mapping. Provide ``'*'`` to match all mappings in the template.
1606
+ :param logical_id: the name of the mapping, provide ``'*'`` to match all mappings in the template.
1607
1607
  :param props: by default, matches all Mappings in the template. When a literal object is provided, performs a partial match via ``Match.objectLike()``. Use the ``Match`` APIs to configure a different behaviour.
1608
1608
  '''
1609
1609
  if __debug__:
@@ -1620,7 +1620,7 @@ class Template(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.assertions.Templa
1620
1620
  ) -> typing.Mapping[builtins.str, typing.Mapping[builtins.str, typing.Any]]:
1621
1621
  '''Get the set of matching Outputs that match the given properties in the CloudFormation template.
1622
1622
 
1623
- :param logical_id: the name of the output. Provide ``'*'`` to match all outputs in the template.
1623
+ :param logical_id: the name of the output, provide ``'*'`` to match all outputs in the template.
1624
1624
  :param props: by default, matches all Outputs in the template. When a literal object is provided, performs a partial match via ``Match.objectLike()``. Use the ``Match`` APIs to configure a different behaviour.
1625
1625
  '''
1626
1626
  if __debug__:
@@ -1637,7 +1637,7 @@ class Template(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.assertions.Templa
1637
1637
  ) -> typing.Mapping[builtins.str, typing.Mapping[builtins.str, typing.Any]]:
1638
1638
  '''Get the set of matching Parameters that match the given properties in the CloudFormation template.
1639
1639
 
1640
- :param logical_id: the name of the parameter. Provide ``'*'`` to match all parameters in the template.
1640
+ :param logical_id: the name of the parameter, provide ``'*'`` to match all parameters in the template.
1641
1641
  :param props: by default, matches all Parameters in the template. When a literal object is provided, performs a partial match via ``Match.objectLike()``. Use the ``Match`` APIs to configure a different behaviour.
1642
1642
  '''
1643
1643
  if __debug__:
@@ -1670,7 +1670,7 @@ class Template(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.assertions.Templa
1670
1670
  By default, performs partial matching on the resource, via the ``Match.objectLike()``.
1671
1671
  To configure different behavior, use other matchers in the ``Match`` class.
1672
1672
 
1673
- :param logical_id: the name of the mapping. Provide ``'*'`` to match all conditions in the template.
1673
+ :param logical_id: the name of the mapping, provide ``'*'`` to match all conditions in the template.
1674
1674
  :param props: the output as should be expected in the template.
1675
1675
  '''
1676
1676
  if __debug__:
@@ -1686,7 +1686,7 @@ class Template(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.assertions.Templa
1686
1686
  By default, performs partial matching on the resource, via the ``Match.objectLike()``.
1687
1687
  To configure different behavior, use other matchers in the ``Match`` class.
1688
1688
 
1689
- :param logical_id: the name of the mapping. Provide ``'*'`` to match all mappings in the template.
1689
+ :param logical_id: the name of the mapping, provide ``'*'`` to match all mappings in the template.
1690
1690
  :param props: the output as should be expected in the template.
1691
1691
  '''
1692
1692
  if __debug__:
@@ -1702,7 +1702,7 @@ class Template(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.assertions.Templa
1702
1702
  By default, performs partial matching on the resource, via the ``Match.objectLike()``.
1703
1703
  To configure different behavior, use other matchers in the ``Match`` class.
1704
1704
 
1705
- :param logical_id: the name of the output. Provide ``'*'`` to match all outputs in the template.
1705
+ :param logical_id: the name of the output, provide ``'*'`` to match all outputs in the template.
1706
1706
  :param props: the output as should be expected in the template.
1707
1707
  '''
1708
1708
  if __debug__:
@@ -1718,7 +1718,7 @@ class Template(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.assertions.Templa
1718
1718
  By default, performs partial matching on the parameter, via the ``Match.objectLike()``.
1719
1719
  To configure different behavior, use other matchers in the ``Match`` class.
1720
1720
 
1721
- :param logical_id: the name of the parameter. Provide ``'*'`` to match all parameters in the template.
1721
+ :param logical_id: the name of the parameter, provide ``'*'`` to match all parameters in the template.
1722
1722
  :param props: the parameter as should be expected in the template.
1723
1723
  '''
1724
1724
  if __debug__:
@@ -4583,15 +4583,6 @@ class CfnIntegration(
4583
4583
  '''The CloudFormation resource type name for this resource class.'''
4584
4584
  return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
4585
4585
 
4586
- @builtins.property
4587
- @jsii.member(jsii_name="attrId")
4588
- def attr_id(self) -> builtins.str:
4589
- '''The identifier.
4590
-
4591
- :cloudformationAttribute: Id
4592
- '''
4593
- return typing.cast(builtins.str, jsii.get(self, "attrId"))
4594
-
4595
4586
  @builtins.property
4596
4587
  @jsii.member(jsii_name="attrIntegrationId")
4597
4588
  def attr_integration_id(self) -> builtins.str:
@@ -4921,10 +4912,12 @@ class CfnIntegration(
4921
4912
  destination: typing.Optional[builtins.str] = None,
4922
4913
  source: typing.Optional[builtins.str] = None,
4923
4914
  ) -> None:
4924
- '''response parameter.
4915
+ '''Supported only for HTTP APIs.
4916
+
4917
+ You use response parameters to transform the HTTP response from a backend integration before returning the response to clients. Specify a key-value map from a selection key to response parameters. The selection key must be a valid HTTP status code within the range of 200-599. Response parameters are a key-value map. The key must match the pattern ``<action>:<header>.<location>`` or ``overwrite.statuscode`` . The action can be ``append`` , ``overwrite`` or ``remove`` . The value can be a static value, or map to response data, stage variables, or context variables that are evaluated at runtime. To learn more, see `Transforming API requests and responses <https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html>`_ .
4925
4918
 
4926
- :param destination:
4927
- :param source:
4919
+ :param destination: Specifies the location of the response to modify, and how to modify it. To learn more, see `Transforming API requests and responses <https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html>`_ .
4920
+ :param source: Specifies the data to update the parameter with. To learn more, see `Transforming API requests and responses <https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html>`_ .
4928
4921
 
4929
4922
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-integration-responseparameter.html
4930
4923
  :exampleMetadata: fixture=_generated
@@ -4952,7 +4945,10 @@ class CfnIntegration(
4952
4945
 
4953
4946
  @builtins.property
4954
4947
  def destination(self) -> typing.Optional[builtins.str]:
4955
- '''
4948
+ '''Specifies the location of the response to modify, and how to modify it.
4949
+
4950
+ To learn more, see `Transforming API requests and responses <https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html>`_ .
4951
+
4956
4952
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-integration-responseparameter.html#cfn-apigatewayv2-integration-responseparameter-destination
4957
4953
  '''
4958
4954
  result = self._values.get("destination")
@@ -4960,7 +4956,10 @@ class CfnIntegration(
4960
4956
 
4961
4957
  @builtins.property
4962
4958
  def source(self) -> typing.Optional[builtins.str]:
4963
- '''
4959
+ '''Specifies the data to update the parameter with.
4960
+
4961
+ To learn more, see `Transforming API requests and responses <https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html>`_ .
4962
+
4964
4963
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-integration-responseparameter.html#cfn-apigatewayv2-integration-responseparameter-source
4965
4964
  '''
4966
4965
  result = self._values.get("source")