aws-cdk-lib 2.185.0__py3-none-any.whl → 2.187.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 (87) hide show
  1. aws_cdk/__init__.py +383 -145
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.185.0.jsii.tgz → aws-cdk-lib@2.187.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_amazonmq/__init__.py +3 -2
  5. aws_cdk/aws_amplify/__init__.py +124 -0
  6. aws_cdk/aws_apigateway/__init__.py +48 -2
  7. aws_cdk/aws_apigatewayv2/__init__.py +9 -0
  8. aws_cdk/aws_appconfig/__init__.py +3 -3
  9. aws_cdk/aws_applicationsignals/__init__.py +363 -3
  10. aws_cdk/aws_appsync/__init__.py +74 -3
  11. aws_cdk/aws_bedrock/__init__.py +395 -14
  12. aws_cdk/aws_cassandra/__init__.py +2 -2
  13. aws_cdk/aws_cleanrooms/__init__.py +21 -9
  14. aws_cdk/aws_cloudformation/__init__.py +1 -5
  15. aws_cdk/aws_cloudfront/__init__.py +15 -1
  16. aws_cdk/aws_cloudfront_origins/__init__.py +4 -2
  17. aws_cdk/aws_cloudtrail/__init__.py +4 -18
  18. aws_cdk/aws_cloudwatch/__init__.py +50 -50
  19. aws_cdk/aws_codeartifact/__init__.py +20 -33
  20. aws_cdk/aws_codebuild/__init__.py +9 -0
  21. aws_cdk/aws_codepipeline/__init__.py +1328 -120
  22. aws_cdk/aws_cognito/__init__.py +1 -1
  23. aws_cdk/aws_cognito_identitypool/__init__.py +2303 -0
  24. aws_cdk/aws_config/__init__.py +2 -5
  25. aws_cdk/aws_connect/__init__.py +3 -7
  26. aws_cdk/aws_controltower/__init__.py +18 -26
  27. aws_cdk/aws_datazone/__init__.py +3540 -10
  28. aws_cdk/aws_detective/__init__.py +3 -3
  29. aws_cdk/aws_dynamodb/__init__.py +37 -0
  30. aws_cdk/aws_ec2/__init__.py +714 -37
  31. aws_cdk/aws_ecr/__init__.py +143 -0
  32. aws_cdk/aws_ecr_assets/__init__.py +115 -4
  33. aws_cdk/aws_ecs/__init__.py +66 -20
  34. aws_cdk/aws_eks/__init__.py +114 -0
  35. aws_cdk/aws_events/__init__.py +26 -6
  36. aws_cdk/aws_forecast/__init__.py +1 -1
  37. aws_cdk/aws_fsx/__init__.py +2 -2
  38. aws_cdk/aws_gamelift/__init__.py +11 -11
  39. aws_cdk/aws_iam/__init__.py +264 -0
  40. aws_cdk/aws_identitystore/__init__.py +16 -16
  41. aws_cdk/aws_imagebuilder/__init__.py +3 -27
  42. aws_cdk/aws_iotsitewise/__init__.py +623 -0
  43. aws_cdk/aws_kinesisfirehose/__init__.py +2 -3
  44. aws_cdk/aws_kms/__init__.py +10 -11
  45. aws_cdk/aws_lakeformation/__init__.py +3 -3
  46. aws_cdk/aws_lambda/__init__.py +112 -5
  47. aws_cdk/aws_lambda_event_sources/__init__.py +65 -3
  48. aws_cdk/aws_lambda_nodejs/__init__.py +5 -24
  49. aws_cdk/aws_lex/__init__.py +981 -5
  50. aws_cdk/aws_location/__init__.py +24 -7
  51. aws_cdk/aws_mediaconnect/__init__.py +714 -290
  52. aws_cdk/aws_msk/__init__.py +8 -2
  53. aws_cdk/aws_mwaa/__init__.py +9 -9
  54. aws_cdk/aws_networkfirewall/__init__.py +60 -12
  55. aws_cdk/aws_oam/__init__.py +8 -37
  56. aws_cdk/aws_omics/__init__.py +216 -0
  57. aws_cdk/aws_quicksight/__init__.py +250 -108
  58. aws_cdk/aws_rds/__init__.py +102 -10
  59. aws_cdk/aws_redshiftserverless/__init__.py +192 -15
  60. aws_cdk/aws_route53/__init__.py +2 -2
  61. aws_cdk/aws_route53recoverycontrol/__init__.py +43 -2
  62. aws_cdk/aws_rum/__init__.py +315 -52
  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 +6 -4
  66. aws_cdk/aws_scheduler/__init__.py +3944 -121
  67. aws_cdk/aws_scheduler_targets/__init__.py +4460 -0
  68. aws_cdk/aws_securitylake/__init__.py +2 -2
  69. aws_cdk/aws_servicecatalog/__init__.py +4 -0
  70. aws_cdk/aws_sns/__init__.py +1 -1
  71. aws_cdk/aws_ssmquicksetup/__init__.py +5 -3
  72. aws_cdk/aws_stepfunctions/__init__.py +8 -0
  73. aws_cdk/aws_stepfunctions_tasks/__init__.py +4 -0
  74. aws_cdk/aws_synthetics/__init__.py +9 -0
  75. aws_cdk/aws_systemsmanagersap/__init__.py +150 -0
  76. aws_cdk/aws_timestream/__init__.py +4 -4
  77. aws_cdk/aws_wafv2/__init__.py +1117 -1446
  78. aws_cdk/aws_workspacesthinclient/__init__.py +4 -4
  79. aws_cdk/cloud_assembly_schema/__init__.py +60 -10
  80. aws_cdk/cx_api/__init__.py +38 -0
  81. aws_cdk/pipelines/__init__.py +20 -2
  82. {aws_cdk_lib-2.185.0.dist-info → aws_cdk_lib-2.187.0.dist-info}/METADATA +4 -4
  83. {aws_cdk_lib-2.185.0.dist-info → aws_cdk_lib-2.187.0.dist-info}/RECORD +87 -85
  84. {aws_cdk_lib-2.185.0.dist-info → aws_cdk_lib-2.187.0.dist-info}/WHEEL +1 -1
  85. {aws_cdk_lib-2.185.0.dist-info → aws_cdk_lib-2.187.0.dist-info}/LICENSE +0 -0
  86. {aws_cdk_lib-2.185.0.dist-info → aws_cdk_lib-2.187.0.dist-info}/NOTICE +0 -0
  87. {aws_cdk_lib-2.185.0.dist-info → aws_cdk_lib-2.187.0.dist-info}/top_level.txt +0 -0
@@ -459,7 +459,7 @@ class CfnPackageGroup(
459
459
  :param description: The description of the package group.
460
460
  :param domain_owner: The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.
461
461
  :param origin_configuration: Details about the package origin configuration of a package group.
462
- :param tags: A list of tags to be applied to the package group.
462
+ :param tags: An array of key-value pairs to apply to the package group.
463
463
  '''
464
464
  if __debug__:
465
465
  type_hints = typing.get_type_hints(_typecheckingstub__7a8aaa0852b2af2f8381bac18421469d96d102aa57d00f002433c862966b5603)
@@ -510,7 +510,7 @@ class CfnPackageGroup(
510
510
  @builtins.property
511
511
  @jsii.member(jsii_name="attrArn")
512
512
  def attr_arn(self) -> builtins.str:
513
- '''When you pass the logical ID of this resource, the function returns the Amazon Resource Name (ARN) of the package group.
513
+ '''The ARN of the package group.
514
514
 
515
515
  :cloudformationAttribute: Arn
516
516
  '''
@@ -613,7 +613,7 @@ class CfnPackageGroup(
613
613
  @builtins.property
614
614
  @jsii.member(jsii_name="tags")
615
615
  def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
616
- '''A list of tags to be applied to the package group.'''
616
+ '''An array of key-value pairs to apply to the package group.'''
617
617
  return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
618
618
 
619
619
  @tags.setter
@@ -634,9 +634,8 @@ class CfnPackageGroup(
634
634
  *,
635
635
  restrictions: typing.Union[_IResolvable_da3f097b, typing.Union["CfnPackageGroup.RestrictionsProperty", typing.Dict[builtins.str, typing.Any]]],
636
636
  ) -> None:
637
- '''The package group origin configuration that determines how package versions can enter repositories.
638
-
639
- :param restrictions: The origin configuration settings that determine how package versions can enter repositories.
637
+ '''
638
+ :param restrictions:
640
639
 
641
640
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codeartifact-packagegroup-originconfiguration.html
642
641
  :exampleMetadata: fixture=_generated
@@ -681,8 +680,7 @@ class CfnPackageGroup(
681
680
  def restrictions(
682
681
  self,
683
682
  ) -> typing.Union[_IResolvable_da3f097b, "CfnPackageGroup.RestrictionsProperty"]:
684
- '''The origin configuration settings that determine how package versions can enter repositories.
685
-
683
+ '''
686
684
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codeartifact-packagegroup-originconfiguration.html#cfn-codeartifact-packagegroup-originconfiguration-restrictions
687
685
  '''
688
686
  result = self._values.get("restrictions")
@@ -715,10 +713,9 @@ class CfnPackageGroup(
715
713
  restriction_mode: builtins.str,
716
714
  repositories: typing.Optional[typing.Sequence[builtins.str]] = None,
717
715
  ) -> None:
718
- '''The ``RestrictionType`` property type specifies the package group origin configuration restriction mode, and the repositories when the ``RestrictionMode`` is set to ``ALLOW_SPECIFIC_REPOSITORIES`` .
719
-
720
- :param restriction_mode: The package group origin restriction setting. When the value is ``INHERIT`` , the value is set to the value of the first parent package group which does not have a value of ``INHERIT`` .
721
- :param repositories: The repositories to add to the allowed repositories list. The allowed repositories list is used when the ``RestrictionMode`` is set to ``ALLOW_SPECIFIC_REPOSITORIES`` .
716
+ '''
717
+ :param restriction_mode:
718
+ :param repositories:
722
719
 
723
720
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codeartifact-packagegroup-restrictiontype.html
724
721
  :exampleMetadata: fixture=_generated
@@ -748,10 +745,7 @@ class CfnPackageGroup(
748
745
 
749
746
  @builtins.property
750
747
  def restriction_mode(self) -> builtins.str:
751
- '''The package group origin restriction setting.
752
-
753
- When the value is ``INHERIT`` , the value is set to the value of the first parent package group which does not have a value of ``INHERIT`` .
754
-
748
+ '''
755
749
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codeartifact-packagegroup-restrictiontype.html#cfn-codeartifact-packagegroup-restrictiontype-restrictionmode
756
750
  '''
757
751
  result = self._values.get("restriction_mode")
@@ -760,10 +754,7 @@ class CfnPackageGroup(
760
754
 
761
755
  @builtins.property
762
756
  def repositories(self) -> typing.Optional[typing.List[builtins.str]]:
763
- '''The repositories to add to the allowed repositories list.
764
-
765
- The allowed repositories list is used when the ``RestrictionMode`` is set to ``ALLOW_SPECIFIC_REPOSITORIES`` .
766
-
757
+ '''
767
758
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codeartifact-packagegroup-restrictiontype.html#cfn-codeartifact-packagegroup-restrictiontype-repositories
768
759
  '''
769
760
  result = self._values.get("repositories")
@@ -797,11 +788,10 @@ class CfnPackageGroup(
797
788
  internal_upstream: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPackageGroup.RestrictionTypeProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
798
789
  publish: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPackageGroup.RestrictionTypeProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
799
790
  ) -> None:
800
- '''Contains information about the configured restrictions of the origin controls of a package group.
801
-
802
- :param external_upstream: The package group origin restriction setting for external, upstream repositories.
803
- :param internal_upstream: The package group origin restriction setting for internal, upstream repositories.
804
- :param publish: The package group origin restriction setting for publishing packages.
791
+ '''
792
+ :param external_upstream:
793
+ :param internal_upstream:
794
+ :param publish:
805
795
 
806
796
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codeartifact-packagegroup-restrictions.html
807
797
  :exampleMetadata: fixture=_generated
@@ -850,8 +840,7 @@ class CfnPackageGroup(
850
840
  def external_upstream(
851
841
  self,
852
842
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPackageGroup.RestrictionTypeProperty"]]:
853
- '''The package group origin restriction setting for external, upstream repositories.
854
-
843
+ '''
855
844
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codeartifact-packagegroup-restrictions.html#cfn-codeartifact-packagegroup-restrictions-externalupstream
856
845
  '''
857
846
  result = self._values.get("external_upstream")
@@ -861,8 +850,7 @@ class CfnPackageGroup(
861
850
  def internal_upstream(
862
851
  self,
863
852
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPackageGroup.RestrictionTypeProperty"]]:
864
- '''The package group origin restriction setting for internal, upstream repositories.
865
-
853
+ '''
866
854
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codeartifact-packagegroup-restrictions.html#cfn-codeartifact-packagegroup-restrictions-internalupstream
867
855
  '''
868
856
  result = self._values.get("internal_upstream")
@@ -872,8 +860,7 @@ class CfnPackageGroup(
872
860
  def publish(
873
861
  self,
874
862
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPackageGroup.RestrictionTypeProperty"]]:
875
- '''The package group origin restriction setting for publishing packages.
876
-
863
+ '''
877
864
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codeartifact-packagegroup-restrictions.html#cfn-codeartifact-packagegroup-restrictions-publish
878
865
  '''
879
866
  result = self._values.get("publish")
@@ -924,7 +911,7 @@ class CfnPackageGroupProps:
924
911
  :param description: The description of the package group.
925
912
  :param domain_owner: The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.
926
913
  :param origin_configuration: Details about the package origin configuration of a package group.
927
- :param tags: A list of tags to be applied to the package group.
914
+ :param tags: An array of key-value pairs to apply to the package group.
928
915
 
929
916
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-packagegroup.html
930
917
  :exampleMetadata: fixture=_generated
@@ -1059,7 +1046,7 @@ class CfnPackageGroupProps:
1059
1046
 
1060
1047
  @builtins.property
1061
1048
  def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
1062
- '''A list of tags to be applied to the package group.
1049
+ '''An array of key-value pairs to apply to the package group.
1063
1050
 
1064
1051
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-packagegroup.html#cfn-codeartifact-packagegroup-tags
1065
1052
  '''
@@ -12108,6 +12108,7 @@ class LinuxBuildImage(
12108
12108
  cache_disabled: typing.Optional[builtins.bool] = None,
12109
12109
  cache_from: typing.Optional[typing.Sequence[typing.Union[_DockerCacheOption_58ef18ca, typing.Dict[builtins.str, typing.Any]]]] = None,
12110
12110
  cache_to: typing.Optional[typing.Union[_DockerCacheOption_58ef18ca, typing.Dict[builtins.str, typing.Any]]] = None,
12111
+ display_name: typing.Optional[builtins.str] = None,
12111
12112
  file: typing.Optional[builtins.str] = None,
12112
12113
  invalidation: typing.Optional[typing.Union[_DockerImageAssetInvalidationOptions_4deb8d45, typing.Dict[builtins.str, typing.Any]]] = None,
12113
12114
  network_mode: typing.Optional[_NetworkMode_897e5081] = None,
@@ -12131,6 +12132,7 @@ class LinuxBuildImage(
12131
12132
  :param cache_disabled: Disable the cache and pass ``--no-cache`` to the ``docker build`` command. Default: - cache is used
12132
12133
  :param cache_from: Cache from options to pass to the ``docker build`` command. Default: - no cache from options are passed to the build command
12133
12134
  :param cache_to: Cache to options to pass to the ``docker build`` command. Default: - no cache to options are passed to the build command
12135
+ :param display_name: A display name for this asset. If supplied, the display name will be used in locations where the asset identifier is printed, like in the CLI progress information. If the same asset is added multiple times, the display name of the first occurrence is used. If ``assetName`` is given, it will also be used as the default ``displayName``. Otherwise, the default is the construct path of the ImageAsset construct, with respect to the enclosing stack. If the asset is produced by a construct helper function (such as ``lambda.Code.fromAssetImage()``), this will look like ``MyFunction/AssetImage``. We use the stack-relative construct path so that in the common case where you have multiple stacks with the same asset, we won't show something like ``/MyBetaStack/MyFunction/Code`` when you are actually deploying to production. Default: - Stack-relative construct path
12134
12136
  :param file: Path to the Dockerfile (relative to the directory). Default: 'Dockerfile'
12135
12137
  :param invalidation: Options to control which parameters are used to invalidate the asset hash. Default: - hash all parameters
12136
12138
  :param network_mode: Networking mode for the RUN commands during build. Support docker API 1.25+. Default: - no networking mode specified (the default networking mode ``NetworkMode.DEFAULT`` will be used)
@@ -12155,6 +12157,7 @@ class LinuxBuildImage(
12155
12157
  cache_disabled=cache_disabled,
12156
12158
  cache_from=cache_from,
12157
12159
  cache_to=cache_to,
12160
+ display_name=display_name,
12158
12161
  file=file,
12159
12162
  invalidation=invalidation,
12160
12163
  network_mode=network_mode,
@@ -12807,6 +12810,7 @@ class MacBuildImage(
12807
12810
  "params_key": "params"
12808
12811
  }
12809
12812
  ),
12813
+ display_name="displayName",
12810
12814
  exclude=["exclude"],
12811
12815
  extra_hash="extraHash",
12812
12816
  file="file",
@@ -12846,6 +12850,7 @@ class MacBuildImage(
12846
12850
  cache_disabled: typing.Optional[builtins.bool] = None,
12847
12851
  cache_from: typing.Optional[typing.Sequence[typing.Union[_DockerCacheOption_58ef18ca, typing.Dict[builtins.str, typing.Any]]]] = None,
12848
12852
  cache_to: typing.Optional[typing.Union[_DockerCacheOption_58ef18ca, typing.Dict[builtins.str, typing.Any]]] = None,
12853
+ display_name: typing.Optional[builtins.str] = None,
12849
12854
  file: typing.Optional[builtins.str] = None,
12850
12855
  invalidation: typing.Optional[typing.Union[_DockerImageAssetInvalidationOptions_4deb8d45, typing.Dict[builtins.str, typing.Any]]] = None,
12851
12856
  network_mode: typing.Optional[_NetworkMode_897e5081] = None,
@@ -12869,6 +12874,7 @@ class MacBuildImage(
12869
12874
  :param cache_disabled: Disable the cache and pass ``--no-cache`` to the ``docker build`` command. Default: - cache is used
12870
12875
  :param cache_from: Cache from options to pass to the ``docker build`` command. Default: - no cache from options are passed to the build command
12871
12876
  :param cache_to: Cache to options to pass to the ``docker build`` command. Default: - no cache to options are passed to the build command
12877
+ :param display_name: A display name for this asset. If supplied, the display name will be used in locations where the asset identifier is printed, like in the CLI progress information. If the same asset is added multiple times, the display name of the first occurrence is used. If ``assetName`` is given, it will also be used as the default ``displayName``. Otherwise, the default is the construct path of the ImageAsset construct, with respect to the enclosing stack. If the asset is produced by a construct helper function (such as ``lambda.Code.fromAssetImage()``), this will look like ``MyFunction/AssetImage``. We use the stack-relative construct path so that in the common case where you have multiple stacks with the same asset, we won't show something like ``/MyBetaStack/MyFunction/Code`` when you are actually deploying to production. Default: - Stack-relative construct path
12872
12878
  :param file: Path to the Dockerfile (relative to the directory). Default: 'Dockerfile'
12873
12879
  :param invalidation: Options to control which parameters are used to invalidate the asset hash. Default: - hash all parameters
12874
12880
  :param network_mode: Networking mode for the RUN commands during build. Support docker API 1.25+. Default: - no networking mode specified (the default networking mode ``NetworkMode.DEFAULT`` will be used)
@@ -12893,6 +12899,7 @@ class MacBuildImage(
12893
12899
  cache_disabled=cache_disabled,
12894
12900
  cache_from=cache_from,
12895
12901
  cache_to=cache_to,
12902
+ display_name=display_name,
12896
12903
  file=file,
12897
12904
  invalidation=invalidation,
12898
12905
  network_mode=network_mode,
@@ -19797,6 +19804,7 @@ def _typecheckingstub__c4ce5766deb0a7d190b79fe8c16f4eb758ab6db30a15dc2ea68692833
19797
19804
  cache_disabled: typing.Optional[builtins.bool] = None,
19798
19805
  cache_from: typing.Optional[typing.Sequence[typing.Union[_DockerCacheOption_58ef18ca, typing.Dict[builtins.str, typing.Any]]]] = None,
19799
19806
  cache_to: typing.Optional[typing.Union[_DockerCacheOption_58ef18ca, typing.Dict[builtins.str, typing.Any]]] = None,
19807
+ display_name: typing.Optional[builtins.str] = None,
19800
19808
  file: typing.Optional[builtins.str] = None,
19801
19809
  invalidation: typing.Optional[typing.Union[_DockerImageAssetInvalidationOptions_4deb8d45, typing.Dict[builtins.str, typing.Any]]] = None,
19802
19810
  network_mode: typing.Optional[_NetworkMode_897e5081] = None,
@@ -19864,6 +19872,7 @@ def _typecheckingstub__aa924aa0600b9706b95a62c612f337f8dde0f0df7d5d3b8c5b48b7279
19864
19872
  cache_disabled: typing.Optional[builtins.bool] = None,
19865
19873
  cache_from: typing.Optional[typing.Sequence[typing.Union[_DockerCacheOption_58ef18ca, typing.Dict[builtins.str, typing.Any]]]] = None,
19866
19874
  cache_to: typing.Optional[typing.Union[_DockerCacheOption_58ef18ca, typing.Dict[builtins.str, typing.Any]]] = None,
19875
+ display_name: typing.Optional[builtins.str] = None,
19867
19876
  file: typing.Optional[builtins.str] = None,
19868
19877
  invalidation: typing.Optional[typing.Union[_DockerImageAssetInvalidationOptions_4deb8d45, typing.Dict[builtins.str, typing.Any]]] = None,
19869
19878
  network_mode: typing.Optional[_NetworkMode_897e5081] = None,