aws-cdk-lib 2.157.0__py3-none-any.whl → 2.159.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 (294) hide show
  1. aws_cdk/__init__.py +52 -20
  2. aws_cdk/_jsii/__init__.py +17 -2
  3. aws_cdk/_jsii/{aws-cdk-lib@2.157.0.jsii.tgz → aws-cdk-lib@2.159.0.jsii.tgz} +0 -0
  4. aws_cdk/alexa_ask/__init__.py +16 -1
  5. aws_cdk/assertions/__init__.py +16 -1
  6. aws_cdk/aws_accessanalyzer/__init__.py +16 -1
  7. aws_cdk/aws_acmpca/__init__.py +16 -1
  8. aws_cdk/aws_amazonmq/__init__.py +16 -1
  9. aws_cdk/aws_amplify/__init__.py +38 -9
  10. aws_cdk/aws_amplifyuibuilder/__init__.py +16 -1
  11. aws_cdk/aws_apigateway/__init__.py +16 -1
  12. aws_cdk/aws_apigatewayv2/__init__.py +46 -1
  13. aws_cdk/aws_apigatewayv2_authorizers/__init__.py +16 -1
  14. aws_cdk/aws_apigatewayv2_integrations/__init__.py +16 -1
  15. aws_cdk/aws_appconfig/__init__.py +19 -4
  16. aws_cdk/aws_appflow/__init__.py +16 -1
  17. aws_cdk/aws_appintegrations/__init__.py +16 -1
  18. aws_cdk/aws_applicationautoscaling/__init__.py +16 -1
  19. aws_cdk/aws_applicationinsights/__init__.py +560 -5
  20. aws_cdk/aws_applicationsignals/__init__.py +186 -143
  21. aws_cdk/aws_appmesh/__init__.py +16 -1
  22. aws_cdk/aws_apprunner/__init__.py +16 -1
  23. aws_cdk/aws_appstream/__init__.py +16 -1
  24. aws_cdk/aws_appsync/__init__.py +16 -1
  25. aws_cdk/aws_apptest/__init__.py +16 -1
  26. aws_cdk/aws_aps/__init__.py +16 -1
  27. aws_cdk/aws_arczonalshift/__init__.py +16 -1
  28. aws_cdk/aws_athena/__init__.py +31 -16
  29. aws_cdk/aws_auditmanager/__init__.py +21 -6
  30. aws_cdk/aws_autoscaling/__init__.py +16 -1
  31. aws_cdk/aws_autoscaling_common/__init__.py +16 -1
  32. aws_cdk/aws_autoscaling_hooktargets/__init__.py +16 -1
  33. aws_cdk/aws_autoscalingplans/__init__.py +16 -1
  34. aws_cdk/aws_b2bi/__init__.py +16 -1
  35. aws_cdk/aws_backup/__init__.py +16 -1
  36. aws_cdk/aws_backupgateway/__init__.py +16 -1
  37. aws_cdk/aws_batch/__init__.py +16 -1
  38. aws_cdk/aws_bcmdataexports/__init__.py +16 -1
  39. aws_cdk/aws_bedrock/__init__.py +23 -8
  40. aws_cdk/aws_billingconductor/__init__.py +16 -1
  41. aws_cdk/aws_budgets/__init__.py +16 -1
  42. aws_cdk/aws_cassandra/__init__.py +16 -1
  43. aws_cdk/aws_ce/__init__.py +16 -1
  44. aws_cdk/aws_certificatemanager/__init__.py +16 -1
  45. aws_cdk/aws_chatbot/__init__.py +16 -1
  46. aws_cdk/aws_cleanrooms/__init__.py +16 -1
  47. aws_cdk/aws_cleanroomsml/__init__.py +16 -1
  48. aws_cdk/aws_cloud9/__init__.py +16 -1
  49. aws_cdk/aws_cloudformation/__init__.py +16 -1
  50. aws_cdk/aws_cloudfront/__init__.py +16 -1
  51. aws_cdk/aws_cloudfront/experimental/__init__.py +16 -1
  52. aws_cdk/aws_cloudfront_origins/__init__.py +16 -1
  53. aws_cdk/aws_cloudtrail/__init__.py +16 -1
  54. aws_cdk/aws_cloudwatch/__init__.py +16 -1
  55. aws_cdk/aws_cloudwatch_actions/__init__.py +16 -1
  56. aws_cdk/aws_codeartifact/__init__.py +16 -1
  57. aws_cdk/aws_codebuild/__init__.py +55 -19
  58. aws_cdk/aws_codecommit/__init__.py +16 -1
  59. aws_cdk/aws_codeconnections/__init__.py +17 -2
  60. aws_cdk/aws_codedeploy/__init__.py +16 -1
  61. aws_cdk/aws_codeguruprofiler/__init__.py +16 -1
  62. aws_cdk/aws_codegurureviewer/__init__.py +16 -1
  63. aws_cdk/aws_codepipeline/__init__.py +16 -1
  64. aws_cdk/aws_codepipeline_actions/__init__.py +16 -1
  65. aws_cdk/aws_codestar/__init__.py +16 -1
  66. aws_cdk/aws_codestarconnections/__init__.py +16 -1
  67. aws_cdk/aws_codestarnotifications/__init__.py +16 -1
  68. aws_cdk/aws_cognito/__init__.py +406 -204
  69. aws_cdk/aws_comprehend/__init__.py +16 -1
  70. aws_cdk/aws_config/__init__.py +16 -1
  71. aws_cdk/aws_connect/__init__.py +1695 -153
  72. aws_cdk/aws_connectcampaigns/__init__.py +16 -1
  73. aws_cdk/aws_controltower/__init__.py +16 -1
  74. aws_cdk/aws_cur/__init__.py +16 -1
  75. aws_cdk/aws_customerprofiles/__init__.py +16 -1
  76. aws_cdk/aws_databrew/__init__.py +16 -1
  77. aws_cdk/aws_datapipeline/__init__.py +16 -1
  78. aws_cdk/aws_datasync/__init__.py +16 -1
  79. aws_cdk/aws_datazone/__init__.py +681 -41
  80. aws_cdk/aws_dax/__init__.py +16 -1
  81. aws_cdk/aws_deadline/__init__.py +16 -1
  82. aws_cdk/aws_detective/__init__.py +16 -1
  83. aws_cdk/aws_devicefarm/__init__.py +16 -1
  84. aws_cdk/aws_devopsguru/__init__.py +16 -1
  85. aws_cdk/aws_directoryservice/__init__.py +16 -1
  86. aws_cdk/aws_dlm/__init__.py +16 -1
  87. aws_cdk/aws_dms/__init__.py +16 -1
  88. aws_cdk/aws_docdb/__init__.py +22 -2
  89. aws_cdk/aws_docdbelastic/__init__.py +16 -1
  90. aws_cdk/aws_dynamodb/__init__.py +21 -6
  91. aws_cdk/aws_ec2/__init__.py +137 -37
  92. aws_cdk/aws_ecr/__init__.py +30 -7
  93. aws_cdk/aws_ecr_assets/__init__.py +16 -1
  94. aws_cdk/aws_ecs/__init__.py +36 -21
  95. aws_cdk/aws_ecs_patterns/__init__.py +16 -1
  96. aws_cdk/aws_efs/__init__.py +16 -1
  97. aws_cdk/aws_eks/__init__.py +16 -1
  98. aws_cdk/aws_elasticache/__init__.py +16 -1
  99. aws_cdk/aws_elasticbeanstalk/__init__.py +16 -1
  100. aws_cdk/aws_elasticloadbalancing/__init__.py +16 -1
  101. aws_cdk/aws_elasticloadbalancingv2/__init__.py +183 -21
  102. aws_cdk/aws_elasticloadbalancingv2_actions/__init__.py +16 -1
  103. aws_cdk/aws_elasticloadbalancingv2_targets/__init__.py +16 -1
  104. aws_cdk/aws_elasticsearch/__init__.py +16 -1
  105. aws_cdk/aws_emr/__init__.py +24 -9
  106. aws_cdk/aws_emrcontainers/__init__.py +16 -1
  107. aws_cdk/aws_emrserverless/__init__.py +16 -1
  108. aws_cdk/aws_entityresolution/__init__.py +16 -1
  109. aws_cdk/aws_events/__init__.py +35 -18
  110. aws_cdk/aws_events_targets/__init__.py +181 -86
  111. aws_cdk/aws_eventschemas/__init__.py +16 -1
  112. aws_cdk/aws_evidently/__init__.py +16 -1
  113. aws_cdk/aws_finspace/__init__.py +16 -1
  114. aws_cdk/aws_fis/__init__.py +16 -1
  115. aws_cdk/aws_fms/__init__.py +75 -1
  116. aws_cdk/aws_forecast/__init__.py +16 -1
  117. aws_cdk/aws_frauddetector/__init__.py +16 -1
  118. aws_cdk/aws_fsx/__init__.py +19 -4
  119. aws_cdk/aws_gamelift/__init__.py +56 -53
  120. aws_cdk/aws_globalaccelerator/__init__.py +38 -30
  121. aws_cdk/aws_globalaccelerator_endpoints/__init__.py +16 -1
  122. aws_cdk/aws_glue/__init__.py +16 -1
  123. aws_cdk/aws_grafana/__init__.py +16 -1
  124. aws_cdk/aws_greengrass/__init__.py +16 -1
  125. aws_cdk/aws_greengrassv2/__init__.py +16 -1
  126. aws_cdk/aws_groundstation/__init__.py +16 -1
  127. aws_cdk/aws_guardduty/__init__.py +16 -1
  128. aws_cdk/aws_healthimaging/__init__.py +16 -1
  129. aws_cdk/aws_healthlake/__init__.py +16 -1
  130. aws_cdk/aws_iam/__init__.py +38 -21
  131. aws_cdk/aws_identitystore/__init__.py +16 -1
  132. aws_cdk/aws_imagebuilder/__init__.py +16 -1
  133. aws_cdk/aws_inspector/__init__.py +16 -1
  134. aws_cdk/aws_inspectorv2/__init__.py +16 -1
  135. aws_cdk/aws_internetmonitor/__init__.py +16 -1
  136. aws_cdk/aws_iot/__init__.py +16 -1
  137. aws_cdk/aws_iot1click/__init__.py +16 -1
  138. aws_cdk/aws_iotanalytics/__init__.py +16 -1
  139. aws_cdk/aws_iotcoredeviceadvisor/__init__.py +16 -1
  140. aws_cdk/aws_iotevents/__init__.py +16 -1
  141. aws_cdk/aws_iotfleethub/__init__.py +16 -1
  142. aws_cdk/aws_iotfleetwise/__init__.py +435 -1
  143. aws_cdk/aws_iotsitewise/__init__.py +106 -2
  144. aws_cdk/aws_iotthingsgraph/__init__.py +16 -1
  145. aws_cdk/aws_iottwinmaker/__init__.py +16 -1
  146. aws_cdk/aws_iotwireless/__init__.py +221 -1
  147. aws_cdk/aws_ivs/__init__.py +16 -1
  148. aws_cdk/aws_ivschat/__init__.py +16 -1
  149. aws_cdk/aws_kafkaconnect/__init__.py +16 -1
  150. aws_cdk/aws_kendra/__init__.py +16 -1
  151. aws_cdk/aws_kendraranking/__init__.py +16 -1
  152. aws_cdk/aws_kinesis/__init__.py +16 -1
  153. aws_cdk/aws_kinesisanalytics/__init__.py +16 -1
  154. aws_cdk/aws_kinesisanalyticsv2/__init__.py +16 -1
  155. aws_cdk/aws_kinesisfirehose/__init__.py +16 -1
  156. aws_cdk/aws_kinesisvideo/__init__.py +16 -1
  157. aws_cdk/aws_kms/__init__.py +16 -1
  158. aws_cdk/aws_lakeformation/__init__.py +16 -1
  159. aws_cdk/aws_lambda/__init__.py +145 -17
  160. aws_cdk/aws_lambda_destinations/__init__.py +16 -1
  161. aws_cdk/aws_lambda_event_sources/__init__.py +16 -1
  162. aws_cdk/aws_lambda_nodejs/__init__.py +16 -1
  163. aws_cdk/aws_launchwizard/__init__.py +16 -1
  164. aws_cdk/aws_lex/__init__.py +31 -2
  165. aws_cdk/aws_licensemanager/__init__.py +16 -1
  166. aws_cdk/aws_lightsail/__init__.py +16 -1
  167. aws_cdk/aws_location/__init__.py +16 -1
  168. aws_cdk/aws_logs/__init__.py +17 -2
  169. aws_cdk/aws_logs_destinations/__init__.py +16 -1
  170. aws_cdk/aws_lookoutequipment/__init__.py +16 -1
  171. aws_cdk/aws_lookoutmetrics/__init__.py +16 -1
  172. aws_cdk/aws_lookoutvision/__init__.py +16 -1
  173. aws_cdk/aws_m2/__init__.py +16 -1
  174. aws_cdk/aws_macie/__init__.py +16 -1
  175. aws_cdk/aws_managedblockchain/__init__.py +16 -1
  176. aws_cdk/aws_mediaconnect/__init__.py +127 -1
  177. aws_cdk/aws_mediaconvert/__init__.py +16 -1
  178. aws_cdk/aws_medialive/__init__.py +8004 -3263
  179. aws_cdk/aws_mediapackage/__init__.py +16 -1
  180. aws_cdk/aws_mediapackagev2/__init__.py +16 -1
  181. aws_cdk/aws_mediastore/__init__.py +16 -1
  182. aws_cdk/aws_mediatailor/__init__.py +16 -1
  183. aws_cdk/aws_memorydb/__init__.py +16 -1
  184. aws_cdk/aws_msk/__init__.py +303 -480
  185. aws_cdk/aws_mwaa/__init__.py +16 -1
  186. aws_cdk/aws_neptune/__init__.py +16 -1
  187. aws_cdk/aws_neptunegraph/__init__.py +16 -1
  188. aws_cdk/aws_networkfirewall/__init__.py +16 -1
  189. aws_cdk/aws_networkmanager/__init__.py +16 -1
  190. aws_cdk/aws_nimblestudio/__init__.py +16 -1
  191. aws_cdk/aws_oam/__init__.py +16 -1
  192. aws_cdk/aws_omics/__init__.py +16 -1
  193. aws_cdk/aws_opensearchserverless/__init__.py +16 -1
  194. aws_cdk/aws_opensearchservice/__init__.py +22 -1
  195. aws_cdk/aws_opsworks/__init__.py +16 -1
  196. aws_cdk/aws_opsworkscm/__init__.py +16 -1
  197. aws_cdk/aws_organizations/__init__.py +16 -1
  198. aws_cdk/aws_osis/__init__.py +16 -1
  199. aws_cdk/aws_panorama/__init__.py +16 -1
  200. aws_cdk/aws_paymentcryptography/__init__.py +16 -1
  201. aws_cdk/aws_pcaconnectorad/__init__.py +16 -1
  202. aws_cdk/aws_pcaconnectorscep/__init__.py +85 -31
  203. aws_cdk/aws_personalize/__init__.py +16 -1
  204. aws_cdk/aws_pinpoint/__init__.py +16 -1
  205. aws_cdk/aws_pinpointemail/__init__.py +16 -1
  206. aws_cdk/aws_pipes/__init__.py +65 -1
  207. aws_cdk/aws_proton/__init__.py +16 -1
  208. aws_cdk/aws_qbusiness/__init__.py +27 -15
  209. aws_cdk/aws_qldb/__init__.py +16 -1
  210. aws_cdk/aws_quicksight/__init__.py +654 -100
  211. aws_cdk/aws_ram/__init__.py +16 -1
  212. aws_cdk/aws_rds/__init__.py +78 -32
  213. aws_cdk/aws_redshift/__init__.py +16 -1
  214. aws_cdk/aws_redshiftserverless/__init__.py +16 -1
  215. aws_cdk/aws_refactorspaces/__init__.py +16 -1
  216. aws_cdk/aws_rekognition/__init__.py +16 -1
  217. aws_cdk/aws_resiliencehub/__init__.py +16 -1
  218. aws_cdk/aws_resourceexplorer2/__init__.py +16 -1
  219. aws_cdk/aws_resourcegroups/__init__.py +16 -1
  220. aws_cdk/aws_robomaker/__init__.py +16 -1
  221. aws_cdk/aws_rolesanywhere/__init__.py +16 -1
  222. aws_cdk/aws_route53/__init__.py +16 -1
  223. aws_cdk/aws_route53_patterns/__init__.py +16 -1
  224. aws_cdk/aws_route53_targets/__init__.py +16 -1
  225. aws_cdk/aws_route53profiles/__init__.py +16 -1
  226. aws_cdk/aws_route53recoverycontrol/__init__.py +16 -1
  227. aws_cdk/aws_route53recoveryreadiness/__init__.py +16 -1
  228. aws_cdk/aws_route53resolver/__init__.py +16 -1
  229. aws_cdk/aws_rum/__init__.py +16 -1
  230. aws_cdk/aws_s3/__init__.py +231 -34
  231. aws_cdk/aws_s3_assets/__init__.py +16 -1
  232. aws_cdk/aws_s3_deployment/__init__.py +16 -1
  233. aws_cdk/aws_s3_notifications/__init__.py +16 -1
  234. aws_cdk/aws_s3express/__init__.py +16 -1
  235. aws_cdk/aws_s3objectlambda/__init__.py +18 -3
  236. aws_cdk/aws_s3outposts/__init__.py +16 -1
  237. aws_cdk/aws_sagemaker/__init__.py +888 -59
  238. aws_cdk/aws_sam/__init__.py +16 -1
  239. aws_cdk/aws_scheduler/__init__.py +16 -1
  240. aws_cdk/aws_sdb/__init__.py +16 -1
  241. aws_cdk/aws_secretsmanager/__init__.py +38 -9
  242. aws_cdk/aws_securityhub/__init__.py +277 -20
  243. aws_cdk/aws_securitylake/__init__.py +343 -8
  244. aws_cdk/aws_servicecatalog/__init__.py +16 -1
  245. aws_cdk/aws_servicecatalogappregistry/__init__.py +16 -1
  246. aws_cdk/aws_servicediscovery/__init__.py +21 -6
  247. aws_cdk/aws_ses/__init__.py +16 -1
  248. aws_cdk/aws_ses_actions/__init__.py +16 -1
  249. aws_cdk/aws_shield/__init__.py +16 -1
  250. aws_cdk/aws_signer/__init__.py +16 -1
  251. aws_cdk/aws_simspaceweaver/__init__.py +16 -1
  252. aws_cdk/aws_sns/__init__.py +16 -9
  253. aws_cdk/aws_sns_subscriptions/__init__.py +16 -1
  254. aws_cdk/aws_sqs/__init__.py +16 -1
  255. aws_cdk/aws_ssm/__init__.py +36 -13
  256. aws_cdk/aws_ssmcontacts/__init__.py +16 -1
  257. aws_cdk/aws_ssmincidents/__init__.py +16 -1
  258. aws_cdk/aws_ssmquicksetup/__init__.py +16 -1
  259. aws_cdk/aws_sso/__init__.py +16 -1
  260. aws_cdk/aws_stepfunctions/__init__.py +16 -1
  261. aws_cdk/aws_stepfunctions_tasks/__init__.py +52 -1
  262. aws_cdk/aws_supportapp/__init__.py +16 -1
  263. aws_cdk/aws_synthetics/__init__.py +16 -1
  264. aws_cdk/aws_systemsmanagersap/__init__.py +16 -1
  265. aws_cdk/aws_timestream/__init__.py +16 -1
  266. aws_cdk/aws_transfer/__init__.py +16 -1
  267. aws_cdk/aws_verifiedpermissions/__init__.py +16 -1
  268. aws_cdk/aws_voiceid/__init__.py +16 -1
  269. aws_cdk/aws_vpclattice/__init__.py +16 -1
  270. aws_cdk/aws_waf/__init__.py +16 -1
  271. aws_cdk/aws_wafregional/__init__.py +16 -1
  272. aws_cdk/aws_wafv2/__init__.py +16 -1
  273. aws_cdk/aws_wisdom/__init__.py +16 -1
  274. aws_cdk/aws_workspaces/__init__.py +16 -1
  275. aws_cdk/aws_workspacesthinclient/__init__.py +16 -1
  276. aws_cdk/aws_workspacesweb/__init__.py +16 -1
  277. aws_cdk/aws_xray/__init__.py +16 -1
  278. aws_cdk/cloud_assembly_schema/__init__.py +16 -1
  279. aws_cdk/cloudformation_include/__init__.py +16 -1
  280. aws_cdk/custom_resources/__init__.py +16 -1
  281. aws_cdk/cx_api/__init__.py +35 -1
  282. aws_cdk/lambda_layer_awscli/__init__.py +16 -1
  283. aws_cdk/lambda_layer_kubectl/__init__.py +16 -1
  284. aws_cdk/lambda_layer_node_proxy_agent/__init__.py +16 -1
  285. aws_cdk/pipelines/__init__.py +16 -1
  286. aws_cdk/region_info/__init__.py +16 -1
  287. aws_cdk/triggers/__init__.py +16 -1
  288. {aws_cdk_lib-2.157.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/METADATA +5 -5
  289. {aws_cdk_lib-2.157.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/NOTICE +27 -8
  290. aws_cdk_lib-2.159.0.dist-info/RECORD +294 -0
  291. aws_cdk_lib-2.157.0.dist-info/RECORD +0 -294
  292. {aws_cdk_lib-2.157.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/LICENSE +0 -0
  293. {aws_cdk_lib-2.157.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/WHEEL +0 -0
  294. {aws_cdk_lib-2.157.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/top_level.txt +0 -0
@@ -1506,7 +1506,22 @@ import jsii
1506
1506
  import publication
1507
1507
  import typing_extensions
1508
1508
 
1509
- from typeguard import check_type
1509
+ import typeguard
1510
+ from importlib.metadata import version as _metadata_package_version
1511
+ TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
1512
+
1513
+ def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
1514
+ if TYPEGUARD_MAJOR_VERSION <= 2:
1515
+ return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
1516
+ else:
1517
+ if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
1518
+ pass
1519
+ else:
1520
+ if TYPEGUARD_MAJOR_VERSION == 3:
1521
+ typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
1522
+ typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
1523
+ else:
1524
+ typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
1510
1525
 
1511
1526
  from .._jsii import *
1512
1527
 
@@ -1526,6 +1541,7 @@ from .. import (
1526
1541
  IResolvable as _IResolvable_da3f097b,
1527
1542
  IResource as _IResource_c80c4260,
1528
1543
  ITaggable as _ITaggable_36806126,
1544
+ ITaggableV2 as _ITaggableV2_4e6798f8,
1529
1545
  IgnoreMode as _IgnoreMode_655a98e8,
1530
1546
  RemovalPolicy as _RemovalPolicy_9f93c814,
1531
1547
  Resource as _Resource_45bc6135,
@@ -3510,7 +3526,7 @@ class CfnAliasProps:
3510
3526
  )
3511
3527
 
3512
3528
 
3513
- @jsii.implements(_IInspectable_c2943556)
3529
+ @jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
3514
3530
  class CfnCodeSigningConfig(
3515
3531
  _CfnResource_9df397a6,
3516
3532
  metaclass=jsii.JSIIMeta,
@@ -3537,7 +3553,11 @@ class CfnCodeSigningConfig(
3537
3553
  code_signing_policies=lambda.CfnCodeSigningConfig.CodeSigningPoliciesProperty(
3538
3554
  untrusted_artifact_on_deployment="untrustedArtifactOnDeployment"
3539
3555
  ),
3540
- description="description"
3556
+ description="description",
3557
+ tags=[CfnTag(
3558
+ key="key",
3559
+ value="value"
3560
+ )]
3541
3561
  )
3542
3562
  '''
3543
3563
 
@@ -3549,6 +3569,7 @@ class CfnCodeSigningConfig(
3549
3569
  allowed_publishers: typing.Union[_IResolvable_da3f097b, typing.Union["CfnCodeSigningConfig.AllowedPublishersProperty", typing.Dict[builtins.str, typing.Any]]],
3550
3570
  code_signing_policies: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCodeSigningConfig.CodeSigningPoliciesProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
3551
3571
  description: typing.Optional[builtins.str] = None,
3572
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
3552
3573
  ) -> None:
3553
3574
  '''
3554
3575
  :param scope: Scope in which this resource is defined.
@@ -3556,6 +3577,7 @@ class CfnCodeSigningConfig(
3556
3577
  :param allowed_publishers: List of allowed publishers.
3557
3578
  :param code_signing_policies: The code signing policy controls the validation failure action for signature mismatch or expiry.
3558
3579
  :param description: Code signing configuration description.
3580
+ :param tags: A list of tags to apply to CodeSigningConfig resource.
3559
3581
  '''
3560
3582
  if __debug__:
3561
3583
  type_hints = typing.get_type_hints(_typecheckingstub__df94ded3fb87e8ca56187dcab5a6bf12d335e2671120df0386f527f736b58b76)
@@ -3565,6 +3587,7 @@ class CfnCodeSigningConfig(
3565
3587
  allowed_publishers=allowed_publishers,
3566
3588
  code_signing_policies=code_signing_policies,
3567
3589
  description=description,
3590
+ tags=tags,
3568
3591
  )
3569
3592
 
3570
3593
  jsii.create(self.__class__, self, [scope, id, props])
@@ -3617,6 +3640,12 @@ class CfnCodeSigningConfig(
3617
3640
  '''
3618
3641
  return typing.cast(builtins.str, jsii.get(self, "attrCodeSigningConfigId"))
3619
3642
 
3643
+ @builtins.property
3644
+ @jsii.member(jsii_name="cdkTagManager")
3645
+ def cdk_tag_manager(self) -> _TagManager_0a598cb3:
3646
+ '''Tag Manager which manages the tags for this resource.'''
3647
+ return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
3648
+
3620
3649
  @builtins.property
3621
3650
  @jsii.member(jsii_name="cfnProperties")
3622
3651
  def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
@@ -3671,6 +3700,19 @@ class CfnCodeSigningConfig(
3671
3700
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
3672
3701
  jsii.set(self, "description", value) # pyright: ignore[reportArgumentType]
3673
3702
 
3703
+ @builtins.property
3704
+ @jsii.member(jsii_name="tags")
3705
+ def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
3706
+ '''A list of tags to apply to CodeSigningConfig resource.'''
3707
+ return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
3708
+
3709
+ @tags.setter
3710
+ def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
3711
+ if __debug__:
3712
+ type_hints = typing.get_type_hints(_typecheckingstub__81744cfe981e606b04aa7e4811cb5be2a56198c9076feeda37ccfd2c7437ac1d)
3713
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
3714
+ jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
3715
+
3674
3716
  @jsii.data_type(
3675
3717
  jsii_type="aws-cdk-lib.aws_lambda.CfnCodeSigningConfig.AllowedPublishersProperty",
3676
3718
  jsii_struct_bases=[],
@@ -3797,6 +3839,7 @@ class CfnCodeSigningConfig(
3797
3839
  "allowed_publishers": "allowedPublishers",
3798
3840
  "code_signing_policies": "codeSigningPolicies",
3799
3841
  "description": "description",
3842
+ "tags": "tags",
3800
3843
  },
3801
3844
  )
3802
3845
  class CfnCodeSigningConfigProps:
@@ -3806,12 +3849,14 @@ class CfnCodeSigningConfigProps:
3806
3849
  allowed_publishers: typing.Union[_IResolvable_da3f097b, typing.Union[CfnCodeSigningConfig.AllowedPublishersProperty, typing.Dict[builtins.str, typing.Any]]],
3807
3850
  code_signing_policies: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCodeSigningConfig.CodeSigningPoliciesProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
3808
3851
  description: typing.Optional[builtins.str] = None,
3852
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
3809
3853
  ) -> None:
3810
3854
  '''Properties for defining a ``CfnCodeSigningConfig``.
3811
3855
 
3812
3856
  :param allowed_publishers: List of allowed publishers.
3813
3857
  :param code_signing_policies: The code signing policy controls the validation failure action for signature mismatch or expiry.
3814
3858
  :param description: Code signing configuration description.
3859
+ :param tags: A list of tags to apply to CodeSigningConfig resource.
3815
3860
 
3816
3861
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-codesigningconfig.html
3817
3862
  :exampleMetadata: fixture=_generated
@@ -3831,7 +3876,11 @@ class CfnCodeSigningConfigProps:
3831
3876
  code_signing_policies=lambda.CfnCodeSigningConfig.CodeSigningPoliciesProperty(
3832
3877
  untrusted_artifact_on_deployment="untrustedArtifactOnDeployment"
3833
3878
  ),
3834
- description="description"
3879
+ description="description",
3880
+ tags=[CfnTag(
3881
+ key="key",
3882
+ value="value"
3883
+ )]
3835
3884
  )
3836
3885
  '''
3837
3886
  if __debug__:
@@ -3839,6 +3888,7 @@ class CfnCodeSigningConfigProps:
3839
3888
  check_type(argname="argument allowed_publishers", value=allowed_publishers, expected_type=type_hints["allowed_publishers"])
3840
3889
  check_type(argname="argument code_signing_policies", value=code_signing_policies, expected_type=type_hints["code_signing_policies"])
3841
3890
  check_type(argname="argument description", value=description, expected_type=type_hints["description"])
3891
+ check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
3842
3892
  self._values: typing.Dict[builtins.str, typing.Any] = {
3843
3893
  "allowed_publishers": allowed_publishers,
3844
3894
  }
@@ -3846,6 +3896,8 @@ class CfnCodeSigningConfigProps:
3846
3896
  self._values["code_signing_policies"] = code_signing_policies
3847
3897
  if description is not None:
3848
3898
  self._values["description"] = description
3899
+ if tags is not None:
3900
+ self._values["tags"] = tags
3849
3901
 
3850
3902
  @builtins.property
3851
3903
  def allowed_publishers(
@@ -3879,6 +3931,15 @@ class CfnCodeSigningConfigProps:
3879
3931
  result = self._values.get("description")
3880
3932
  return typing.cast(typing.Optional[builtins.str], result)
3881
3933
 
3934
+ @builtins.property
3935
+ def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
3936
+ '''A list of tags to apply to CodeSigningConfig resource.
3937
+
3938
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-codesigningconfig.html#cfn-lambda-codesigningconfig-tags
3939
+ '''
3940
+ result = self._values.get("tags")
3941
+ return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
3942
+
3882
3943
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
3883
3944
  return isinstance(rhs, self.__class__) and rhs._values == self._values
3884
3945
 
@@ -4407,7 +4468,7 @@ class CfnEventInvokeConfigProps:
4407
4468
  )
4408
4469
 
4409
4470
 
4410
- @jsii.implements(_IInspectable_c2943556)
4471
+ @jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
4411
4472
  class CfnEventSourceMapping(
4412
4473
  _CfnResource_9df397a6,
4413
4474
  metaclass=jsii.JSIIMeta,
@@ -4487,6 +4548,10 @@ class CfnEventSourceMapping(
4487
4548
  )],
4488
4549
  starting_position="startingPosition",
4489
4550
  starting_position_timestamp=123,
4551
+ tags=[CfnTag(
4552
+ key="key",
4553
+ value="value"
4554
+ )],
4490
4555
  topics=["topics"],
4491
4556
  tumbling_window_in_seconds=123
4492
4557
  )
@@ -4519,6 +4584,7 @@ class CfnEventSourceMapping(
4519
4584
  source_access_configurations: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnEventSourceMapping.SourceAccessConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
4520
4585
  starting_position: typing.Optional[builtins.str] = None,
4521
4586
  starting_position_timestamp: typing.Optional[jsii.Number] = None,
4587
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
4522
4588
  topics: typing.Optional[typing.Sequence[builtins.str]] = None,
4523
4589
  tumbling_window_in_seconds: typing.Optional[jsii.Number] = None,
4524
4590
  ) -> None:
@@ -4547,6 +4613,7 @@ class CfnEventSourceMapping(
4547
4613
  :param source_access_configurations: A list of SourceAccessConfiguration.
4548
4614
  :param starting_position: The position in a stream from which to start reading. Required for Amazon Kinesis and Amazon DynamoDB Streams sources.
4549
4615
  :param starting_position_timestamp: With StartingPosition set to AT_TIMESTAMP, the time from which to start reading, in Unix time seconds.
4616
+ :param tags:
4550
4617
  :param topics: (Kafka) A list of Kafka topics.
4551
4618
  :param tumbling_window_in_seconds: (Streams) Tumbling window (non-overlapping time window) duration to perform aggregations.
4552
4619
  '''
@@ -4577,6 +4644,7 @@ class CfnEventSourceMapping(
4577
4644
  source_access_configurations=source_access_configurations,
4578
4645
  starting_position=starting_position,
4579
4646
  starting_position_timestamp=starting_position_timestamp,
4647
+ tags=tags,
4580
4648
  topics=topics,
4581
4649
  tumbling_window_in_seconds=tumbling_window_in_seconds,
4582
4650
  )
@@ -4613,6 +4681,14 @@ class CfnEventSourceMapping(
4613
4681
  '''The CloudFormation resource type name for this resource class.'''
4614
4682
  return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
4615
4683
 
4684
+ @builtins.property
4685
+ @jsii.member(jsii_name="attrEventSourceMappingArn")
4686
+ def attr_event_source_mapping_arn(self) -> builtins.str:
4687
+ '''
4688
+ :cloudformationAttribute: EventSourceMappingArn
4689
+ '''
4690
+ return typing.cast(builtins.str, jsii.get(self, "attrEventSourceMappingArn"))
4691
+
4616
4692
  @builtins.property
4617
4693
  @jsii.member(jsii_name="attrId")
4618
4694
  def attr_id(self) -> builtins.str:
@@ -4622,6 +4698,12 @@ class CfnEventSourceMapping(
4622
4698
  '''
4623
4699
  return typing.cast(builtins.str, jsii.get(self, "attrId"))
4624
4700
 
4701
+ @builtins.property
4702
+ @jsii.member(jsii_name="cdkTagManager")
4703
+ def cdk_tag_manager(self) -> _TagManager_0a598cb3:
4704
+ '''Tag Manager which manages the tags for this resource.'''
4705
+ return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
4706
+
4625
4707
  @builtins.property
4626
4708
  @jsii.member(jsii_name="cfnProperties")
4627
4709
  def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
@@ -4972,6 +5054,18 @@ class CfnEventSourceMapping(
4972
5054
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
4973
5055
  jsii.set(self, "startingPositionTimestamp", value) # pyright: ignore[reportArgumentType]
4974
5056
 
5057
+ @builtins.property
5058
+ @jsii.member(jsii_name="tags")
5059
+ def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
5060
+ return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
5061
+
5062
+ @tags.setter
5063
+ def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
5064
+ if __debug__:
5065
+ type_hints = typing.get_type_hints(_typecheckingstub__9bb6ad1b3bce01f266ad309d35f842ead20e44f25952e0d033834fd0e9d063c4)
5066
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
5067
+ jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
5068
+
4975
5069
  @builtins.property
4976
5070
  @jsii.member(jsii_name="topics")
4977
5071
  def topics(self) -> typing.Optional[typing.List[builtins.str]]:
@@ -5689,6 +5783,7 @@ class CfnEventSourceMapping(
5689
5783
  "source_access_configurations": "sourceAccessConfigurations",
5690
5784
  "starting_position": "startingPosition",
5691
5785
  "starting_position_timestamp": "startingPositionTimestamp",
5786
+ "tags": "tags",
5692
5787
  "topics": "topics",
5693
5788
  "tumbling_window_in_seconds": "tumblingWindowInSeconds",
5694
5789
  },
@@ -5719,6 +5814,7 @@ class CfnEventSourceMappingProps:
5719
5814
  source_access_configurations: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnEventSourceMapping.SourceAccessConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
5720
5815
  starting_position: typing.Optional[builtins.str] = None,
5721
5816
  starting_position_timestamp: typing.Optional[jsii.Number] = None,
5817
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
5722
5818
  topics: typing.Optional[typing.Sequence[builtins.str]] = None,
5723
5819
  tumbling_window_in_seconds: typing.Optional[jsii.Number] = None,
5724
5820
  ) -> None:
@@ -5746,6 +5842,7 @@ class CfnEventSourceMappingProps:
5746
5842
  :param source_access_configurations: A list of SourceAccessConfiguration.
5747
5843
  :param starting_position: The position in a stream from which to start reading. Required for Amazon Kinesis and Amazon DynamoDB Streams sources.
5748
5844
  :param starting_position_timestamp: With StartingPosition set to AT_TIMESTAMP, the time from which to start reading, in Unix time seconds.
5845
+ :param tags:
5749
5846
  :param topics: (Kafka) A list of Kafka topics.
5750
5847
  :param tumbling_window_in_seconds: (Streams) Tumbling window (non-overlapping time window) duration to perform aggregations.
5751
5848
 
@@ -5808,6 +5905,10 @@ class CfnEventSourceMappingProps:
5808
5905
  )],
5809
5906
  starting_position="startingPosition",
5810
5907
  starting_position_timestamp=123,
5908
+ tags=[CfnTag(
5909
+ key="key",
5910
+ value="value"
5911
+ )],
5811
5912
  topics=["topics"],
5812
5913
  tumbling_window_in_seconds=123
5813
5914
  )
@@ -5836,6 +5937,7 @@ class CfnEventSourceMappingProps:
5836
5937
  check_type(argname="argument source_access_configurations", value=source_access_configurations, expected_type=type_hints["source_access_configurations"])
5837
5938
  check_type(argname="argument starting_position", value=starting_position, expected_type=type_hints["starting_position"])
5838
5939
  check_type(argname="argument starting_position_timestamp", value=starting_position_timestamp, expected_type=type_hints["starting_position_timestamp"])
5940
+ check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
5839
5941
  check_type(argname="argument topics", value=topics, expected_type=type_hints["topics"])
5840
5942
  check_type(argname="argument tumbling_window_in_seconds", value=tumbling_window_in_seconds, expected_type=type_hints["tumbling_window_in_seconds"])
5841
5943
  self._values: typing.Dict[builtins.str, typing.Any] = {
@@ -5883,6 +5985,8 @@ class CfnEventSourceMappingProps:
5883
5985
  self._values["starting_position"] = starting_position
5884
5986
  if starting_position_timestamp is not None:
5885
5987
  self._values["starting_position_timestamp"] = starting_position_timestamp
5988
+ if tags is not None:
5989
+ self._values["tags"] = tags
5886
5990
  if topics is not None:
5887
5991
  self._values["topics"] = topics
5888
5992
  if tumbling_window_in_seconds is not None:
@@ -6109,6 +6213,14 @@ class CfnEventSourceMappingProps:
6109
6213
  result = self._values.get("starting_position_timestamp")
6110
6214
  return typing.cast(typing.Optional[jsii.Number], result)
6111
6215
 
6216
+ @builtins.property
6217
+ def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
6218
+ '''
6219
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-tags
6220
+ '''
6221
+ result = self._values.get("tags")
6222
+ return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
6223
+
6112
6224
  @builtins.property
6113
6225
  def topics(self) -> typing.Optional[typing.List[builtins.str]]:
6114
6226
  '''(Kafka) A list of Kafka topics.
@@ -9179,12 +9291,12 @@ class CfnPermission(
9179
9291
  :param id: Construct identifier for this resource (unique in its scope).
9180
9292
  :param action: The action that the principal can use on the function. For example, ``lambda:InvokeFunction`` or ``lambda:GetFunction`` .
9181
9293
  :param function_name: The name or ARN of the Lambda function, version, or alias. **Name formats** - *Function name* – ``my-function`` (name-only), ``my-function:v1`` (with alias). - *Function ARN* – ``arn:aws:lambda:us-west-2:123456789012:function:my-function`` . - *Partial ARN* – ``123456789012:function:my-function`` . You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
9182
- :param principal: The AWS-service or AWS account that invokes the function. If you specify a service, use ``SourceArn`` or ``SourceAccount`` to limit who can invoke the function through that service.
9294
+ :param principal: The AWS service or AWS account that invokes the function. If you specify a service, use ``SourceArn`` or ``SourceAccount`` to limit who can invoke the function through that service.
9183
9295
  :param event_source_token: For Alexa Smart Home functions, a token that the invoker must supply.
9184
9296
  :param function_url_auth_type: The type of authentication that your function URL uses. Set to ``AWS_IAM`` if you want to restrict access to authenticated users only. Set to ``NONE`` if you want to bypass IAM authentication to create a public endpoint. For more information, see `Security and auth model for Lambda function URLs <https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html>`_ .
9185
9297
  :param principal_org_id: The identifier for your organization in AWS Organizations . Use this to grant permissions to all the AWS accounts under this organization.
9186
- :param source_account: For AWS-service , the ID of the AWS account that owns the resource. Use this together with ``SourceArn`` to ensure that the specified account owns the resource. It is possible for an Amazon S3 bucket to be deleted by its owner and recreated by another account.
9187
- :param source_arn: For AWS-services , the ARN of the AWS resource that invokes the function. For example, an Amazon S3 bucket or Amazon SNS topic. Note that Lambda configures the comparison using the ``StringLike`` operator.
9298
+ :param source_account: For AWS service , the ID of the AWS account that owns the resource. Use this together with ``SourceArn`` to ensure that the specified account owns the resource. It is possible for an Amazon S3 bucket to be deleted by its owner and recreated by another account.
9299
+ :param source_arn: For AWS services , the ARN of the AWS resource that invokes the function. For example, an Amazon S3 bucket or Amazon SNS topic. Note that Lambda configures the comparison using the ``StringLike`` operator.
9188
9300
  '''
9189
9301
  if __debug__:
9190
9302
  type_hints = typing.get_type_hints(_typecheckingstub__c457a277b84dbba5bd94a2c0135335b8d7dbb3d409b1fa988b4f5a219def8833)
@@ -9275,7 +9387,7 @@ class CfnPermission(
9275
9387
  @builtins.property
9276
9388
  @jsii.member(jsii_name="principal")
9277
9389
  def principal(self) -> builtins.str:
9278
- '''The AWS-service or AWS account that invokes the function.'''
9390
+ '''The AWS service or AWS account that invokes the function.'''
9279
9391
  return typing.cast(builtins.str, jsii.get(self, "principal"))
9280
9392
 
9281
9393
  @principal.setter
@@ -9327,7 +9439,7 @@ class CfnPermission(
9327
9439
  @builtins.property
9328
9440
  @jsii.member(jsii_name="sourceAccount")
9329
9441
  def source_account(self) -> typing.Optional[builtins.str]:
9330
- '''For AWS-service , the ID of the AWS account that owns the resource.'''
9442
+ '''For AWS service , the ID of the AWS account that owns the resource.'''
9331
9443
  return typing.cast(typing.Optional[builtins.str], jsii.get(self, "sourceAccount"))
9332
9444
 
9333
9445
  @source_account.setter
@@ -9340,7 +9452,7 @@ class CfnPermission(
9340
9452
  @builtins.property
9341
9453
  @jsii.member(jsii_name="sourceArn")
9342
9454
  def source_arn(self) -> typing.Optional[builtins.str]:
9343
- '''For AWS-services , the ARN of the AWS resource that invokes the function.'''
9455
+ '''For AWS services , the ARN of the AWS resource that invokes the function.'''
9344
9456
  return typing.cast(typing.Optional[builtins.str], jsii.get(self, "sourceArn"))
9345
9457
 
9346
9458
  @source_arn.setter
@@ -9382,12 +9494,12 @@ class CfnPermissionProps:
9382
9494
 
9383
9495
  :param action: The action that the principal can use on the function. For example, ``lambda:InvokeFunction`` or ``lambda:GetFunction`` .
9384
9496
  :param function_name: The name or ARN of the Lambda function, version, or alias. **Name formats** - *Function name* – ``my-function`` (name-only), ``my-function:v1`` (with alias). - *Function ARN* – ``arn:aws:lambda:us-west-2:123456789012:function:my-function`` . - *Partial ARN* – ``123456789012:function:my-function`` . You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
9385
- :param principal: The AWS-service or AWS account that invokes the function. If you specify a service, use ``SourceArn`` or ``SourceAccount`` to limit who can invoke the function through that service.
9497
+ :param principal: The AWS service or AWS account that invokes the function. If you specify a service, use ``SourceArn`` or ``SourceAccount`` to limit who can invoke the function through that service.
9386
9498
  :param event_source_token: For Alexa Smart Home functions, a token that the invoker must supply.
9387
9499
  :param function_url_auth_type: The type of authentication that your function URL uses. Set to ``AWS_IAM`` if you want to restrict access to authenticated users only. Set to ``NONE`` if you want to bypass IAM authentication to create a public endpoint. For more information, see `Security and auth model for Lambda function URLs <https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html>`_ .
9388
9500
  :param principal_org_id: The identifier for your organization in AWS Organizations . Use this to grant permissions to all the AWS accounts under this organization.
9389
- :param source_account: For AWS-service , the ID of the AWS account that owns the resource. Use this together with ``SourceArn`` to ensure that the specified account owns the resource. It is possible for an Amazon S3 bucket to be deleted by its owner and recreated by another account.
9390
- :param source_arn: For AWS-services , the ARN of the AWS resource that invokes the function. For example, an Amazon S3 bucket or Amazon SNS topic. Note that Lambda configures the comparison using the ``StringLike`` operator.
9501
+ :param source_account: For AWS service , the ID of the AWS account that owns the resource. Use this together with ``SourceArn`` to ensure that the specified account owns the resource. It is possible for an Amazon S3 bucket to be deleted by its owner and recreated by another account.
9502
+ :param source_arn: For AWS services , the ARN of the AWS resource that invokes the function. For example, an Amazon S3 bucket or Amazon SNS topic. Note that Lambda configures the comparison using the ``StringLike`` operator.
9391
9503
 
9392
9504
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-permission.html
9393
9505
  :exampleMetadata: fixture=_generated
@@ -9468,7 +9580,7 @@ class CfnPermissionProps:
9468
9580
 
9469
9581
  @builtins.property
9470
9582
  def principal(self) -> builtins.str:
9471
- '''The AWS-service or AWS account that invokes the function.
9583
+ '''The AWS service or AWS account that invokes the function.
9472
9584
 
9473
9585
  If you specify a service, use ``SourceArn`` or ``SourceAccount`` to limit who can invoke the function through that service.
9474
9586
 
@@ -9511,7 +9623,7 @@ class CfnPermissionProps:
9511
9623
 
9512
9624
  @builtins.property
9513
9625
  def source_account(self) -> typing.Optional[builtins.str]:
9514
- '''For AWS-service , the ID of the AWS account that owns the resource.
9626
+ '''For AWS service , the ID of the AWS account that owns the resource.
9515
9627
 
9516
9628
  Use this together with ``SourceArn`` to ensure that the specified account owns the resource. It is possible for an Amazon S3 bucket to be deleted by its owner and recreated by another account.
9517
9629
 
@@ -9522,7 +9634,7 @@ class CfnPermissionProps:
9522
9634
 
9523
9635
  @builtins.property
9524
9636
  def source_arn(self) -> typing.Optional[builtins.str]:
9525
- '''For AWS-services , the ARN of the AWS resource that invokes the function.
9637
+ '''For AWS services , the ARN of the AWS resource that invokes the function.
9526
9638
 
9527
9639
  For example, an Amazon S3 bucket or Amazon SNS topic.
9528
9640
 
@@ -28064,6 +28176,7 @@ def _typecheckingstub__df94ded3fb87e8ca56187dcab5a6bf12d335e2671120df0386f527f73
28064
28176
  allowed_publishers: typing.Union[_IResolvable_da3f097b, typing.Union[CfnCodeSigningConfig.AllowedPublishersProperty, typing.Dict[builtins.str, typing.Any]]],
28065
28177
  code_signing_policies: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCodeSigningConfig.CodeSigningPoliciesProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
28066
28178
  description: typing.Optional[builtins.str] = None,
28179
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
28067
28180
  ) -> None:
28068
28181
  """Type checking stubs"""
28069
28182
  pass
@@ -28098,6 +28211,12 @@ def _typecheckingstub__2f4fd9a03a33998a08340df7c2ba638ae623513bc416c7f5fd4c5a48e
28098
28211
  """Type checking stubs"""
28099
28212
  pass
28100
28213
 
28214
+ def _typecheckingstub__81744cfe981e606b04aa7e4811cb5be2a56198c9076feeda37ccfd2c7437ac1d(
28215
+ value: typing.Optional[typing.List[_CfnTag_f6864754]],
28216
+ ) -> None:
28217
+ """Type checking stubs"""
28218
+ pass
28219
+
28101
28220
  def _typecheckingstub__56249a2cdbb0f30384793ee6b6c0129e84d917ef7262e92e841c86b46dad7059(
28102
28221
  *,
28103
28222
  signing_profile_version_arns: typing.Sequence[builtins.str],
@@ -28117,6 +28236,7 @@ def _typecheckingstub__037c1ad6081170e8f74c6c1909b3fc62bca06393b1bf19efbc4ac600a
28117
28236
  allowed_publishers: typing.Union[_IResolvable_da3f097b, typing.Union[CfnCodeSigningConfig.AllowedPublishersProperty, typing.Dict[builtins.str, typing.Any]]],
28118
28237
  code_signing_policies: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCodeSigningConfig.CodeSigningPoliciesProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
28119
28238
  description: typing.Optional[builtins.str] = None,
28239
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
28120
28240
  ) -> None:
28121
28241
  """Type checking stubs"""
28122
28242
  pass
@@ -28235,6 +28355,7 @@ def _typecheckingstub__2fc9432254acf5a7dbe3c68dcedbda61de1f0e804a81d20ae79e04857
28235
28355
  source_access_configurations: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnEventSourceMapping.SourceAccessConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
28236
28356
  starting_position: typing.Optional[builtins.str] = None,
28237
28357
  starting_position_timestamp: typing.Optional[jsii.Number] = None,
28358
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
28238
28359
  topics: typing.Optional[typing.Sequence[builtins.str]] = None,
28239
28360
  tumbling_window_in_seconds: typing.Optional[jsii.Number] = None,
28240
28361
  ) -> None:
@@ -28385,6 +28506,12 @@ def _typecheckingstub__10f6f0aa6f7059677d942d821b3f8eaff9518ebb8fa2fe54251686028
28385
28506
  """Type checking stubs"""
28386
28507
  pass
28387
28508
 
28509
+ def _typecheckingstub__9bb6ad1b3bce01f266ad309d35f842ead20e44f25952e0d033834fd0e9d063c4(
28510
+ value: typing.Optional[typing.List[_CfnTag_f6864754]],
28511
+ ) -> None:
28512
+ """Type checking stubs"""
28513
+ pass
28514
+
28388
28515
  def _typecheckingstub__d2153d23f0d0e6a947499030bcda617b9a68e9e84bccc6a23d9d65558f37bcac(
28389
28516
  value: typing.Optional[typing.List[builtins.str]],
28390
28517
  ) -> None:
@@ -28501,6 +28628,7 @@ def _typecheckingstub__28f15573fb2525439f034f01287568e3c4a4d28fda953b3059f294655
28501
28628
  source_access_configurations: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnEventSourceMapping.SourceAccessConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
28502
28629
  starting_position: typing.Optional[builtins.str] = None,
28503
28630
  starting_position_timestamp: typing.Optional[jsii.Number] = None,
28631
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
28504
28632
  topics: typing.Optional[typing.Sequence[builtins.str]] = None,
28505
28633
  tumbling_window_in_seconds: typing.Optional[jsii.Number] = None,
28506
28634
  ) -> None:
@@ -162,7 +162,22 @@ import jsii
162
162
  import publication
163
163
  import typing_extensions
164
164
 
165
- from typeguard import check_type
165
+ import typeguard
166
+ from importlib.metadata import version as _metadata_package_version
167
+ TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
168
+
169
+ def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
170
+ if TYPEGUARD_MAJOR_VERSION <= 2:
171
+ return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
172
+ else:
173
+ if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
174
+ pass
175
+ else:
176
+ if TYPEGUARD_MAJOR_VERSION == 3:
177
+ typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
178
+ typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
179
+ else:
180
+ typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
166
181
 
167
182
  from .._jsii import *
168
183
 
@@ -427,7 +427,22 @@ import jsii
427
427
  import publication
428
428
  import typing_extensions
429
429
 
430
- from typeguard import check_type
430
+ import typeguard
431
+ from importlib.metadata import version as _metadata_package_version
432
+ TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
433
+
434
+ def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
435
+ if TYPEGUARD_MAJOR_VERSION <= 2:
436
+ return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
437
+ else:
438
+ if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
439
+ pass
440
+ else:
441
+ if TYPEGUARD_MAJOR_VERSION == 3:
442
+ typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
443
+ typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
444
+ else:
445
+ typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
431
446
 
432
447
  from .._jsii import *
433
448
 
@@ -463,7 +463,22 @@ import jsii
463
463
  import publication
464
464
  import typing_extensions
465
465
 
466
- from typeguard import check_type
466
+ import typeguard
467
+ from importlib.metadata import version as _metadata_package_version
468
+ TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
469
+
470
+ def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
471
+ if TYPEGUARD_MAJOR_VERSION <= 2:
472
+ return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
473
+ else:
474
+ if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
475
+ pass
476
+ else:
477
+ if TYPEGUARD_MAJOR_VERSION == 3:
478
+ typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
479
+ typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
480
+ else:
481
+ typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
467
482
 
468
483
  from .._jsii import *
469
484
 
@@ -48,7 +48,22 @@ import jsii
48
48
  import publication
49
49
  import typing_extensions
50
50
 
51
- from typeguard import check_type
51
+ import typeguard
52
+ from importlib.metadata import version as _metadata_package_version
53
+ TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
54
+
55
+ def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
56
+ if TYPEGUARD_MAJOR_VERSION <= 2:
57
+ return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
58
+ else:
59
+ if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
60
+ pass
61
+ else:
62
+ if TYPEGUARD_MAJOR_VERSION == 3:
63
+ typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
64
+ typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
65
+ else:
66
+ typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
52
67
 
53
68
  from .._jsii import *
54
69
 
@@ -38,7 +38,22 @@ import jsii
38
38
  import publication
39
39
  import typing_extensions
40
40
 
41
- from typeguard import check_type
41
+ import typeguard
42
+ from importlib.metadata import version as _metadata_package_version
43
+ TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
44
+
45
+ def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
46
+ if TYPEGUARD_MAJOR_VERSION <= 2:
47
+ return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
48
+ else:
49
+ if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
50
+ pass
51
+ else:
52
+ if TYPEGUARD_MAJOR_VERSION == 3:
53
+ typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
54
+ typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
55
+ else:
56
+ typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
42
57
 
43
58
  from .._jsii import *
44
59
 
@@ -1019,7 +1034,7 @@ class CfnBot(
1019
1034
  :param description: A description of the bot locale. Use this to help identify the bot locale in lists.
1020
1035
  :param intents: One or more intents defined for the locale.
1021
1036
  :param slot_types: One or more slot types defined for the locale.
1022
- :param voice_settings: Defines settings for using an Amazon Polly voice to communicate with a user.
1037
+ :param voice_settings: Defines settings for using an Amazon Polly voice to communicate with a user. Valid values include: - ``standard`` - ``neural`` - ``long-form`` - ``generative``
1023
1038
 
1024
1039
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-botlocale.html
1025
1040
  :exampleMetadata: fixture=_generated
@@ -1124,6 +1139,13 @@ class CfnBot(
1124
1139
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.VoiceSettingsProperty"]]:
1125
1140
  '''Defines settings for using an Amazon Polly voice to communicate with a user.
1126
1141
 
1142
+ Valid values include:
1143
+
1144
+ - ``standard``
1145
+ - ``neural``
1146
+ - ``long-form``
1147
+ - ``generative``
1148
+
1127
1149
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-botlocale.html#cfn-lex-bot-botlocale-voicesettings
1128
1150
  '''
1129
1151
  result = self._values.get("voice_settings")
@@ -8936,6 +8958,13 @@ class CfnBot(
8936
8958
  ) -> None:
8937
8959
  '''Defines settings for using an Amazon Polly voice to communicate with a user.
8938
8960
 
8961
+ Valid values include:
8962
+
8963
+ - ``standard``
8964
+ - ``neural``
8965
+ - ``long-form``
8966
+ - ``generative``
8967
+
8939
8968
  :param voice_id: The identifier of the Amazon Polly voice to use.
8940
8969
  :param engine: Indicates the type of Amazon Polly voice that Amazon Lex should use for voice interaction with the user. For more information, see the ```engine`` parameter of the ``SynthesizeSpeech`` operation <https://docs.aws.amazon.com/polly/latest/dg/API_SynthesizeSpeech.html#polly-SynthesizeSpeech-request-Engine>`_ in the *Amazon Polly developer guide* . If you do not specify a value, the default is ``standard`` .
8941
8970
 
@@ -38,7 +38,22 @@ import jsii
38
38
  import publication
39
39
  import typing_extensions
40
40
 
41
- from typeguard import check_type
41
+ import typeguard
42
+ from importlib.metadata import version as _metadata_package_version
43
+ TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
44
+
45
+ def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
46
+ if TYPEGUARD_MAJOR_VERSION <= 2:
47
+ return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
48
+ else:
49
+ if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
50
+ pass
51
+ else:
52
+ if TYPEGUARD_MAJOR_VERSION == 3:
53
+ typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
54
+ typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
55
+ else:
56
+ typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
42
57
 
43
58
  from .._jsii import *
44
59