aws-cdk-lib 2.195.0__py3-none-any.whl → 2.224.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 (572) hide show
  1. aws_cdk/__init__.py +1806 -417
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.195.0.jsii.tgz → aws-cdk-lib@2.224.0.jsii.tgz} +0 -0
  4. aws_cdk/alexa_ask/__init__.py +12 -2
  5. aws_cdk/aws_accessanalyzer/__init__.py +323 -6
  6. aws_cdk/aws_acmpca/__init__.py +53 -10
  7. aws_cdk/aws_aiops/__init__.py +1019 -0
  8. aws_cdk/aws_amazonmq/__init__.py +357 -313
  9. aws_cdk/aws_amplify/__init__.py +173 -17
  10. aws_cdk/aws_amplifyuibuilder/__init__.py +35 -6
  11. aws_cdk/aws_apigateway/__init__.py +1245 -215
  12. aws_cdk/aws_apigatewayv2/__init__.py +3890 -476
  13. aws_cdk/aws_apigatewayv2_integrations/__init__.py +94 -16
  14. aws_cdk/aws_appconfig/__init__.py +618 -91
  15. aws_cdk/aws_appflow/__init__.py +151 -6
  16. aws_cdk/aws_appintegrations/__init__.py +546 -6
  17. aws_cdk/aws_applicationautoscaling/__init__.py +75 -10
  18. aws_cdk/aws_applicationinsights/__init__.py +13 -2
  19. aws_cdk/aws_applicationsignals/__init__.py +374 -6
  20. aws_cdk/aws_appmesh/__init__.py +136 -26
  21. aws_cdk/aws_apprunner/__init__.py +66 -18
  22. aws_cdk/aws_appstream/__init__.py +309 -55
  23. aws_cdk/aws_appsync/__init__.py +350 -94
  24. aws_cdk/aws_apptest/__init__.py +71 -2
  25. aws_cdk/aws_aps/__init__.py +2188 -94
  26. aws_cdk/aws_arcregionswitch/__init__.py +5095 -0
  27. aws_cdk/aws_arczonalshift/__init__.py +39 -12
  28. aws_cdk/aws_athena/__init__.py +365 -29
  29. aws_cdk/aws_auditmanager/__init__.py +71 -2
  30. aws_cdk/aws_autoscaling/__init__.py +165 -60
  31. aws_cdk/aws_autoscaling_common/__init__.py +3 -0
  32. aws_cdk/aws_autoscalingplans/__init__.py +13 -2
  33. aws_cdk/aws_b2bi/__init__.py +1819 -99
  34. aws_cdk/aws_backup/__init__.py +370 -42
  35. aws_cdk/aws_backupgateway/__init__.py +13 -2
  36. aws_cdk/aws_batch/__init__.py +1462 -163
  37. aws_cdk/aws_bcmdataexports/__init__.py +21 -2
  38. aws_cdk/aws_bedrock/__init__.py +7867 -727
  39. aws_cdk/aws_bedrockagentcore/__init__.py +10425 -0
  40. aws_cdk/aws_billingconductor/__init__.py +197 -11
  41. aws_cdk/aws_budgets/__init__.py +611 -4
  42. aws_cdk/aws_cassandra/__init__.py +247 -6
  43. aws_cdk/aws_ce/__init__.py +35 -6
  44. aws_cdk/aws_certificatemanager/__init__.py +258 -32
  45. aws_cdk/aws_chatbot/__init__.py +76 -6
  46. aws_cdk/aws_cleanrooms/__init__.py +709 -206
  47. aws_cdk/aws_cleanroomsml/__init__.py +13 -2
  48. aws_cdk/aws_cloud9/__init__.py +13 -2
  49. aws_cdk/aws_cloudformation/__init__.py +362 -189
  50. aws_cdk/aws_cloudfront/__init__.py +2188 -674
  51. aws_cdk/aws_cloudfront/experimental/__init__.py +114 -16
  52. aws_cdk/aws_cloudfront_origins/__init__.py +615 -74
  53. aws_cdk/aws_cloudtrail/__init__.py +311 -21
  54. aws_cdk/aws_cloudwatch/__init__.py +3093 -1038
  55. aws_cdk/aws_cloudwatch_actions/__init__.py +75 -1
  56. aws_cdk/aws_codeartifact/__init__.py +35 -6
  57. aws_cdk/aws_codebuild/__init__.py +1303 -135
  58. aws_cdk/aws_codecommit/__init__.py +29 -9
  59. aws_cdk/aws_codeconnections/__init__.py +13 -2
  60. aws_cdk/aws_codedeploy/__init__.py +130 -6
  61. aws_cdk/aws_codeguruprofiler/__init__.py +80 -2
  62. aws_cdk/aws_codegurureviewer/__init__.py +13 -2
  63. aws_cdk/aws_codepipeline/__init__.py +177 -71
  64. aws_cdk/aws_codepipeline_actions/__init__.py +753 -4
  65. aws_cdk/aws_codestar/__init__.py +13 -2
  66. aws_cdk/aws_codestarconnections/__init__.py +35 -6
  67. aws_cdk/aws_codestarnotifications/__init__.py +22 -2
  68. aws_cdk/aws_cognito/__init__.py +905 -92
  69. aws_cdk/aws_cognito_identitypool/__init__.py +23 -12
  70. aws_cdk/aws_comprehend/__init__.py +24 -4
  71. aws_cdk/aws_config/__init__.py +227 -30
  72. aws_cdk/aws_connect/__init__.py +2736 -191
  73. aws_cdk/aws_connectcampaigns/__init__.py +13 -2
  74. aws_cdk/aws_connectcampaignsv2/__init__.py +268 -6
  75. aws_cdk/aws_controltower/__init__.py +35 -6
  76. aws_cdk/aws_cur/__init__.py +100 -4
  77. aws_cdk/aws_customerprofiles/__init__.py +617 -27
  78. aws_cdk/aws_databrew/__init__.py +68 -12
  79. aws_cdk/aws_datapipeline/__init__.py +42 -2
  80. aws_cdk/aws_datasync/__init__.py +1514 -977
  81. aws_cdk/aws_datazone/__init__.py +7426 -1763
  82. aws_cdk/aws_dax/__init__.py +83 -6
  83. aws_cdk/aws_deadline/__init__.py +511 -36
  84. aws_cdk/aws_detective/__init__.py +35 -6
  85. aws_cdk/aws_devicefarm/__init__.py +68 -12
  86. aws_cdk/aws_devopsguru/__init__.py +37 -6
  87. aws_cdk/aws_directoryservice/__init__.py +53 -4
  88. aws_cdk/aws_dlm/__init__.py +13 -2
  89. aws_cdk/aws_dms/__init__.py +184 -27
  90. aws_cdk/aws_docdb/__init__.py +350 -49
  91. aws_cdk/aws_docdbelastic/__init__.py +13 -2
  92. aws_cdk/aws_dsql/__init__.py +386 -16
  93. aws_cdk/aws_dynamodb/__init__.py +1479 -170
  94. aws_cdk/aws_ec2/__init__.py +10465 -1335
  95. aws_cdk/aws_ecr/__init__.py +637 -43
  96. aws_cdk/aws_ecr_assets/__init__.py +10 -0
  97. aws_cdk/aws_ecs/__init__.py +6629 -490
  98. aws_cdk/aws_ecs_patterns/__init__.py +124 -12
  99. aws_cdk/aws_efs/__init__.py +276 -24
  100. aws_cdk/aws_eks/__init__.py +1132 -227
  101. aws_cdk/aws_elasticache/__init__.py +378 -25
  102. aws_cdk/aws_elasticbeanstalk/__init__.py +75 -8
  103. aws_cdk/aws_elasticloadbalancing/__init__.py +22 -2
  104. aws_cdk/aws_elasticloadbalancingv2/__init__.py +1796 -123
  105. aws_cdk/aws_elasticsearch/__init__.py +291 -9
  106. aws_cdk/aws_emr/__init__.py +219 -18
  107. aws_cdk/aws_emrcontainers/__init__.py +71 -2
  108. aws_cdk/aws_emrserverless/__init__.py +188 -3
  109. aws_cdk/aws_entityresolution/__init__.py +585 -58
  110. aws_cdk/aws_events/__init__.py +1007 -126
  111. aws_cdk/aws_events_targets/__init__.py +398 -65
  112. aws_cdk/aws_eventschemas/__init__.py +46 -8
  113. aws_cdk/aws_evidently/__init__.py +57 -10
  114. aws_cdk/aws_evs/__init__.py +2244 -0
  115. aws_cdk/aws_finspace/__init__.py +71 -2
  116. aws_cdk/aws_fis/__init__.py +26 -4
  117. aws_cdk/aws_fms/__init__.py +35 -6
  118. aws_cdk/aws_forecast/__init__.py +24 -4
  119. aws_cdk/aws_frauddetector/__init__.py +79 -14
  120. aws_cdk/aws_fsx/__init__.py +1349 -127
  121. aws_cdk/aws_gamelift/__init__.py +755 -94
  122. aws_cdk/aws_gameliftstreams/__init__.py +44 -22
  123. aws_cdk/aws_globalaccelerator/__init__.py +73 -14
  124. aws_cdk/aws_glue/__init__.py +1455 -378
  125. aws_cdk/aws_grafana/__init__.py +13 -2
  126. aws_cdk/aws_greengrass/__init__.py +654 -32
  127. aws_cdk/aws_greengrassv2/__init__.py +53 -4
  128. aws_cdk/aws_groundstation/__init__.py +122 -6
  129. aws_cdk/aws_guardduty/__init__.py +1613 -123
  130. aws_cdk/aws_healthimaging/__init__.py +71 -2
  131. aws_cdk/aws_healthlake/__init__.py +42 -2
  132. aws_cdk/aws_iam/__init__.py +921 -141
  133. aws_cdk/aws_identitystore/__init__.py +24 -4
  134. aws_cdk/aws_imagebuilder/__init__.py +1454 -199
  135. aws_cdk/aws_inspector/__init__.py +44 -6
  136. aws_cdk/aws_inspectorv2/__init__.py +2285 -243
  137. aws_cdk/aws_internetmonitor/__init__.py +71 -2
  138. aws_cdk/aws_invoicing/__init__.py +13 -2
  139. aws_cdk/aws_iot/__init__.py +1760 -64
  140. aws_cdk/aws_iotanalytics/__init__.py +162 -8
  141. aws_cdk/aws_iotcoredeviceadvisor/__init__.py +106 -40
  142. aws_cdk/aws_iotevents/__init__.py +122 -6
  143. aws_cdk/aws_iotfleethub/__init__.py +71 -2
  144. aws_cdk/aws_iotfleetwise/__init__.py +195 -14
  145. aws_cdk/aws_iotsitewise/__init__.py +1837 -89
  146. aws_cdk/aws_iotthingsgraph/__init__.py +13 -2
  147. aws_cdk/aws_iottwinmaker/__init__.py +115 -10
  148. aws_cdk/aws_iotwireless/__init__.py +649 -22
  149. aws_cdk/aws_ivs/__init__.py +561 -57
  150. aws_cdk/aws_ivschat/__init__.py +24 -4
  151. aws_cdk/aws_kafkaconnect/__init__.py +35 -6
  152. aws_cdk/aws_kendra/__init__.py +120 -28
  153. aws_cdk/aws_kendraranking/__init__.py +13 -2
  154. aws_cdk/aws_kinesis/__init__.py +641 -23
  155. aws_cdk/aws_kinesisanalytics/__init__.py +467 -96
  156. aws_cdk/aws_kinesisanalyticsv2/__init__.py +207 -19
  157. aws_cdk/aws_kinesisfirehose/__init__.py +3087 -295
  158. aws_cdk/aws_kinesisvideo/__init__.py +24 -4
  159. aws_cdk/aws_kms/__init__.py +204 -45
  160. aws_cdk/aws_lakeformation/__init__.py +80 -15
  161. aws_cdk/aws_lambda/__init__.py +2236 -297
  162. aws_cdk/aws_lambda_event_sources/__init__.py +638 -1
  163. aws_cdk/aws_lambda_nodejs/__init__.py +63 -24
  164. aws_cdk/aws_launchwizard/__init__.py +13 -2
  165. aws_cdk/aws_lex/__init__.py +2162 -212
  166. aws_cdk/aws_licensemanager/__init__.py +24 -4
  167. aws_cdk/aws_lightsail/__init__.py +2958 -1322
  168. aws_cdk/aws_location/__init__.py +618 -14
  169. aws_cdk/aws_logs/__init__.py +6014 -923
  170. aws_cdk/aws_lookoutequipment/__init__.py +13 -2
  171. aws_cdk/aws_lookoutmetrics/__init__.py +38 -6
  172. aws_cdk/aws_lookoutvision/__init__.py +71 -2
  173. aws_cdk/aws_m2/__init__.py +94 -19
  174. aws_cdk/aws_macie/__init__.py +49 -11
  175. aws_cdk/aws_managedblockchain/__init__.py +180 -6
  176. aws_cdk/aws_mediaconnect/__init__.py +101 -18
  177. aws_cdk/aws_mediaconvert/__init__.py +35 -6
  178. aws_cdk/aws_medialive/__init__.py +1938 -532
  179. aws_cdk/aws_mediapackage/__init__.py +59 -12
  180. aws_cdk/aws_mediapackagev2/__init__.py +1616 -233
  181. aws_cdk/aws_mediastore/__init__.py +13 -2
  182. aws_cdk/aws_mediatailor/__init__.py +583 -12
  183. aws_cdk/aws_memorydb/__init__.py +271 -12
  184. aws_cdk/aws_mpa/__init__.py +1495 -0
  185. aws_cdk/aws_msk/__init__.py +108 -22
  186. aws_cdk/aws_mwaa/__init__.py +121 -9
  187. aws_cdk/aws_neptune/__init__.py +290 -78
  188. aws_cdk/aws_neptunegraph/__init__.py +24 -4
  189. aws_cdk/aws_networkfirewall/__init__.py +1184 -164
  190. aws_cdk/aws_networkmanager/__init__.py +349 -33
  191. aws_cdk/aws_nimblestudio/__init__.py +283 -408
  192. aws_cdk/aws_notifications/__init__.py +317 -12
  193. aws_cdk/aws_notificationscontacts/__init__.py +13 -2
  194. aws_cdk/aws_oam/__init__.py +24 -4
  195. aws_cdk/aws_observabilityadmin/__init__.py +2561 -0
  196. aws_cdk/aws_odb/__init__.py +5872 -0
  197. aws_cdk/aws_omics/__init__.py +2967 -162
  198. aws_cdk/aws_opensearchserverless/__init__.py +312 -37
  199. aws_cdk/aws_opensearchservice/__init__.py +501 -19
  200. aws_cdk/aws_opsworks/__init__.py +235 -139
  201. aws_cdk/aws_opsworkscm/__init__.py +16 -52
  202. aws_cdk/aws_organizations/__init__.py +70 -10
  203. aws_cdk/aws_osis/__init__.py +167 -2
  204. aws_cdk/aws_panorama/__init__.py +181 -9
  205. aws_cdk/aws_paymentcryptography/__init__.py +24 -4
  206. aws_cdk/aws_pcaconnectorad/__init__.py +59 -10
  207. aws_cdk/aws_pcaconnectorscep/__init__.py +24 -4
  208. aws_cdk/aws_pcs/__init__.py +516 -64
  209. aws_cdk/aws_personalize/__init__.py +46 -8
  210. aws_cdk/aws_pinpoint/__init__.py +329 -38
  211. aws_cdk/aws_pinpointemail/__init__.py +48 -8
  212. aws_cdk/aws_pipes/__init__.py +12 -2
  213. aws_cdk/aws_proton/__init__.py +37 -6
  214. aws_cdk/aws_qbusiness/__init__.py +635 -34
  215. aws_cdk/aws_qldb/__init__.py +24 -4
  216. aws_cdk/aws_quicksight/__init__.py +7900 -1160
  217. aws_cdk/aws_ram/__init__.py +24 -4
  218. aws_cdk/aws_rbin/__init__.py +12 -2
  219. aws_cdk/aws_rds/__init__.py +3721 -573
  220. aws_cdk/aws_redshift/__init__.py +143 -20
  221. aws_cdk/aws_redshiftserverless/__init__.py +699 -11
  222. aws_cdk/aws_refactorspaces/__init__.py +64 -14
  223. aws_cdk/aws_rekognition/__init__.py +93 -6
  224. aws_cdk/aws_resiliencehub/__init__.py +24 -4
  225. aws_cdk/aws_resourceexplorer2/__init__.py +35 -6
  226. aws_cdk/aws_resourcegroups/__init__.py +82 -4
  227. aws_cdk/aws_robomaker/__init__.py +72 -12
  228. aws_cdk/aws_rolesanywhere/__init__.py +194 -19
  229. aws_cdk/aws_route53/__init__.py +3965 -1436
  230. aws_cdk/aws_route53_targets/__init__.py +3 -0
  231. aws_cdk/aws_route53profiles/__init__.py +37 -6
  232. aws_cdk/aws_route53recoverycontrol/__init__.py +46 -8
  233. aws_cdk/aws_route53recoveryreadiness/__init__.py +104 -8
  234. aws_cdk/aws_route53resolver/__init__.py +189 -40
  235. aws_cdk/aws_rtbfabric/__init__.py +3498 -0
  236. aws_cdk/aws_rum/__init__.py +13 -2
  237. aws_cdk/aws_s3/__init__.py +1742 -221
  238. aws_cdk/aws_s3_assets/__init__.py +11 -11
  239. aws_cdk/aws_s3_deployment/__init__.py +153 -11
  240. aws_cdk/aws_s3_notifications/__init__.py +7 -7
  241. aws_cdk/aws_s3express/__init__.py +1053 -6
  242. aws_cdk/aws_s3objectlambda/__init__.py +68 -16
  243. aws_cdk/aws_s3outposts/__init__.py +46 -8
  244. aws_cdk/aws_s3tables/__init__.py +2000 -323
  245. aws_cdk/aws_s3vectors/__init__.py +1378 -0
  246. aws_cdk/aws_sagemaker/__init__.py +6848 -373
  247. aws_cdk/aws_sam/__init__.py +79 -14
  248. aws_cdk/aws_scheduler/__init__.py +249 -4
  249. aws_cdk/aws_sdb/__init__.py +12 -2
  250. aws_cdk/aws_secretsmanager/__init__.py +194 -14
  251. aws_cdk/aws_securityhub/__init__.py +3121 -176
  252. aws_cdk/aws_securitylake/__init__.py +46 -8
  253. aws_cdk/aws_servicecatalog/__init__.py +429 -246
  254. aws_cdk/aws_servicecatalogappregistry/__init__.py +164 -8
  255. aws_cdk/aws_servicediscovery/__init__.py +188 -47
  256. aws_cdk/aws_ses/__init__.py +2265 -369
  257. aws_cdk/aws_shield/__init__.py +46 -8
  258. aws_cdk/aws_signer/__init__.py +33 -4
  259. aws_cdk/aws_simspaceweaver/__init__.py +42 -2
  260. aws_cdk/aws_smsvoice/__init__.py +4716 -0
  261. aws_cdk/aws_sns/__init__.py +263 -29
  262. aws_cdk/aws_sns_subscriptions/__init__.py +265 -2
  263. aws_cdk/aws_sqs/__init__.py +223 -14
  264. aws_cdk/aws_ssm/__init__.py +413 -58
  265. aws_cdk/aws_ssmcontacts/__init__.py +98 -9
  266. aws_cdk/aws_ssmguiconnect/__init__.py +20 -9
  267. aws_cdk/aws_ssmincidents/__init__.py +24 -4
  268. aws_cdk/aws_ssmquicksetup/__init__.py +393 -8
  269. aws_cdk/aws_sso/__init__.py +70 -12
  270. aws_cdk/aws_stepfunctions/__init__.py +823 -94
  271. aws_cdk/aws_stepfunctions_tasks/__init__.py +2323 -150
  272. aws_cdk/aws_supportapp/__init__.py +39 -6
  273. aws_cdk/aws_synthetics/__init__.py +1088 -126
  274. aws_cdk/aws_systemsmanagersap/__init__.py +13 -2
  275. aws_cdk/aws_timestream/__init__.py +104 -8
  276. aws_cdk/aws_transfer/__init__.py +784 -87
  277. aws_cdk/aws_verifiedpermissions/__init__.py +306 -13
  278. aws_cdk/aws_voiceid/__init__.py +54 -5
  279. aws_cdk/aws_vpclattice/__init__.py +589 -231
  280. aws_cdk/aws_waf/__init__.py +79 -14
  281. aws_cdk/aws_wafregional/__init__.py +123 -22
  282. aws_cdk/aws_wafv2/__init__.py +1183 -64
  283. aws_cdk/aws_wisdom/__init__.py +1403 -90
  284. aws_cdk/aws_workspaces/__init__.py +134 -6
  285. aws_cdk/aws_workspacesinstances/__init__.py +3940 -0
  286. aws_cdk/aws_workspacesthinclient/__init__.py +79 -10
  287. aws_cdk/aws_workspacesweb/__init__.py +1057 -141
  288. aws_cdk/aws_xray/__init__.py +48 -8
  289. aws_cdk/cloud_assembly_schema/__init__.py +368 -48
  290. aws_cdk/custom_resources/__init__.py +58 -12
  291. aws_cdk/cx_api/__init__.py +125 -21
  292. aws_cdk/interfaces/__init__.py +739 -0
  293. aws_cdk/interfaces/alexa_ask/__init__.py +146 -0
  294. aws_cdk/interfaces/aws_accessanalyzer/__init__.py +146 -0
  295. aws_cdk/interfaces/aws_acmpca/__init__.py +501 -0
  296. aws_cdk/interfaces/aws_aiops/__init__.py +146 -0
  297. aws_cdk/interfaces/aws_amazonmq/__init__.py +386 -0
  298. aws_cdk/interfaces/aws_amplify/__init__.py +352 -0
  299. aws_cdk/interfaces/aws_amplifyuibuilder/__init__.py +454 -0
  300. aws_cdk/interfaces/aws_apigateway/__init__.py +2486 -0
  301. aws_cdk/interfaces/aws_apigatewayv2/__init__.py +1651 -0
  302. aws_cdk/interfaces/aws_appconfig/__init__.py +1020 -0
  303. aws_cdk/interfaces/aws_appflow/__init__.py +404 -0
  304. aws_cdk/interfaces/aws_appintegrations/__init__.py +396 -0
  305. aws_cdk/interfaces/aws_applicationautoscaling/__init__.py +307 -0
  306. aws_cdk/interfaces/aws_applicationinsights/__init__.py +148 -0
  307. aws_cdk/interfaces/aws_applicationsignals/__init__.py +358 -0
  308. aws_cdk/interfaces/aws_appmesh/__init__.py +888 -0
  309. aws_cdk/interfaces/aws_apprunner/__init__.py +564 -0
  310. aws_cdk/interfaces/aws_appstream/__init__.py +1482 -0
  311. aws_cdk/interfaces/aws_appsync/__init__.py +1326 -0
  312. aws_cdk/interfaces/aws_apptest/__init__.py +163 -0
  313. aws_cdk/interfaces/aws_aps/__init__.py +558 -0
  314. aws_cdk/interfaces/aws_arcregionswitch/__init__.py +146 -0
  315. aws_cdk/interfaces/aws_arczonalshift/__init__.py +273 -0
  316. aws_cdk/interfaces/aws_athena/__init__.py +575 -0
  317. aws_cdk/interfaces/aws_auditmanager/__init__.py +163 -0
  318. aws_cdk/interfaces/aws_autoscaling/__init__.py +705 -0
  319. aws_cdk/interfaces/aws_autoscalingplans/__init__.py +148 -0
  320. aws_cdk/interfaces/aws_b2bi/__init__.py +524 -0
  321. aws_cdk/interfaces/aws_backup/__init__.py +955 -0
  322. aws_cdk/interfaces/aws_backupgateway/__init__.py +146 -0
  323. aws_cdk/interfaces/aws_batch/__init__.py +681 -0
  324. aws_cdk/interfaces/aws_bcmdataexports/__init__.py +146 -0
  325. aws_cdk/interfaces/aws_bedrock/__init__.py +1942 -0
  326. aws_cdk/interfaces/aws_bedrockagentcore/__init__.py +934 -0
  327. aws_cdk/interfaces/aws_billing/__init__.py +146 -0
  328. aws_cdk/interfaces/aws_billingconductor/__init__.py +463 -0
  329. aws_cdk/interfaces/aws_budgets/__init__.py +261 -0
  330. aws_cdk/interfaces/aws_cassandra/__init__.py +381 -0
  331. aws_cdk/interfaces/aws_ce/__init__.py +352 -0
  332. aws_cdk/interfaces/aws_certificatemanager/__init__.py +251 -0
  333. aws_cdk/interfaces/aws_chatbot/__init__.py +366 -0
  334. aws_cdk/interfaces/aws_cleanrooms/__init__.py +1103 -0
  335. aws_cdk/interfaces/aws_cleanroomsml/__init__.py +148 -0
  336. aws_cdk/interfaces/aws_cloud9/__init__.py +166 -0
  337. aws_cdk/interfaces/aws_cloudformation/__init__.py +1919 -0
  338. aws_cdk/interfaces/aws_cloudfront/__init__.py +1998 -0
  339. aws_cdk/interfaces/aws_cloudtrail/__init__.py +570 -0
  340. aws_cdk/interfaces/aws_cloudwatch/__init__.py +733 -0
  341. aws_cdk/interfaces/aws_codeartifact/__init__.py +352 -0
  342. aws_cdk/interfaces/aws_codebuild/__init__.py +487 -0
  343. aws_cdk/interfaces/aws_codecommit/__init__.py +163 -0
  344. aws_cdk/interfaces/aws_codeconnections/__init__.py +146 -0
  345. aws_cdk/interfaces/aws_codedeploy/__init__.py +352 -0
  346. aws_cdk/interfaces/aws_codeguruprofiler/__init__.py +168 -0
  347. aws_cdk/interfaces/aws_codegurureviewer/__init__.py +148 -0
  348. aws_cdk/interfaces/aws_codepipeline/__init__.py +388 -0
  349. aws_cdk/interfaces/aws_codestar/__init__.py +146 -0
  350. aws_cdk/interfaces/aws_codestarconnections/__init__.py +370 -0
  351. aws_cdk/interfaces/aws_codestarnotifications/__init__.py +148 -0
  352. aws_cdk/interfaces/aws_cognito/__init__.py +1929 -0
  353. aws_cdk/interfaces/aws_comprehend/__init__.py +251 -0
  354. aws_cdk/interfaces/aws_config/__init__.py +1165 -0
  355. aws_cdk/interfaces/aws_connect/__init__.py +2949 -0
  356. aws_cdk/interfaces/aws_connectcampaigns/__init__.py +146 -0
  357. aws_cdk/interfaces/aws_connectcampaignsv2/__init__.py +146 -0
  358. aws_cdk/interfaces/aws_controltower/__init__.py +394 -0
  359. aws_cdk/interfaces/aws_cur/__init__.py +146 -0
  360. aws_cdk/interfaces/aws_customerprofiles/__init__.py +915 -0
  361. aws_cdk/interfaces/aws_databrew/__init__.py +661 -0
  362. aws_cdk/interfaces/aws_datapipeline/__init__.py +146 -0
  363. aws_cdk/interfaces/aws_datasync/__init__.py +1384 -0
  364. aws_cdk/interfaces/aws_datazone/__init__.py +2238 -0
  365. aws_cdk/interfaces/aws_dax/__init__.py +364 -0
  366. aws_cdk/interfaces/aws_deadline/__init__.py +1303 -0
  367. aws_cdk/interfaces/aws_detective/__init__.py +364 -0
  368. aws_cdk/interfaces/aws_devicefarm/__init__.py +663 -0
  369. aws_cdk/interfaces/aws_devopsguru/__init__.py +362 -0
  370. aws_cdk/interfaces/aws_directoryservice/__init__.py +251 -0
  371. aws_cdk/interfaces/aws_dlm/__init__.py +166 -0
  372. aws_cdk/interfaces/aws_dms/__init__.py +1176 -0
  373. aws_cdk/interfaces/aws_docdb/__init__.py +560 -0
  374. aws_cdk/interfaces/aws_docdbelastic/__init__.py +146 -0
  375. aws_cdk/interfaces/aws_dsql/__init__.py +146 -0
  376. aws_cdk/interfaces/aws_dynamodb/__init__.py +278 -0
  377. aws_cdk/interfaces/aws_ec2/__init__.py +11963 -0
  378. aws_cdk/interfaces/aws_ecr/__init__.py +814 -0
  379. aws_cdk/interfaces/aws_ecs/__init__.py +845 -0
  380. aws_cdk/interfaces/aws_efs/__init__.py +392 -0
  381. aws_cdk/interfaces/aws_eks/__init__.py +948 -0
  382. aws_cdk/interfaces/aws_elasticache/__init__.py +1108 -0
  383. aws_cdk/interfaces/aws_elasticbeanstalk/__init__.py +503 -0
  384. aws_cdk/interfaces/aws_elasticloadbalancing/__init__.py +148 -0
  385. aws_cdk/interfaces/aws_elasticloadbalancingv2/__init__.py +795 -0
  386. aws_cdk/interfaces/aws_elasticsearch/__init__.py +158 -0
  387. aws_cdk/interfaces/aws_emr/__init__.py +913 -0
  388. aws_cdk/interfaces/aws_emrcontainers/__init__.py +168 -0
  389. aws_cdk/interfaces/aws_emrserverless/__init__.py +166 -0
  390. aws_cdk/interfaces/aws_entityresolution/__init__.py +608 -0
  391. aws_cdk/interfaces/aws_events/__init__.py +872 -0
  392. aws_cdk/interfaces/aws_eventschemas/__init__.py +455 -0
  393. aws_cdk/interfaces/aws_evidently/__init__.py +558 -0
  394. aws_cdk/interfaces/aws_evs/__init__.py +166 -0
  395. aws_cdk/interfaces/aws_finspace/__init__.py +166 -0
  396. aws_cdk/interfaces/aws_fis/__init__.py +271 -0
  397. aws_cdk/interfaces/aws_fms/__init__.py +364 -0
  398. aws_cdk/interfaces/aws_forecast/__init__.py +249 -0
  399. aws_cdk/interfaces/aws_frauddetector/__init__.py +764 -0
  400. aws_cdk/interfaces/aws_fsx/__init__.py +663 -0
  401. aws_cdk/interfaces/aws_gamelift/__init__.py +1325 -0
  402. aws_cdk/interfaces/aws_gameliftstreams/__init__.py +249 -0
  403. aws_cdk/interfaces/aws_globalaccelerator/__init__.py +461 -0
  404. aws_cdk/interfaces/aws_glue/__init__.py +2377 -0
  405. aws_cdk/interfaces/aws_grafana/__init__.py +146 -0
  406. aws_cdk/interfaces/aws_greengrass/__init__.py +1871 -0
  407. aws_cdk/interfaces/aws_greengrassv2/__init__.py +251 -0
  408. aws_cdk/interfaces/aws_groundstation/__init__.py +396 -0
  409. aws_cdk/interfaces/aws_guardduty/__init__.py +1225 -0
  410. aws_cdk/interfaces/aws_healthimaging/__init__.py +163 -0
  411. aws_cdk/interfaces/aws_healthlake/__init__.py +146 -0
  412. aws_cdk/interfaces/aws_iam/__init__.py +1803 -0
  413. aws_cdk/interfaces/aws_identitystore/__init__.py +288 -0
  414. aws_cdk/interfaces/aws_imagebuilder/__init__.py +984 -0
  415. aws_cdk/interfaces/aws_inspector/__init__.py +354 -0
  416. aws_cdk/interfaces/aws_inspectorv2/__init__.py +467 -0
  417. aws_cdk/interfaces/aws_internetmonitor/__init__.py +163 -0
  418. aws_cdk/interfaces/aws_invoicing/__init__.py +146 -0
  419. aws_cdk/interfaces/aws_iot/__init__.py +3483 -0
  420. aws_cdk/interfaces/aws_iotanalytics/__init__.py +455 -0
  421. aws_cdk/interfaces/aws_iotcoredeviceadvisor/__init__.py +168 -0
  422. aws_cdk/interfaces/aws_iotevents/__init__.py +352 -0
  423. aws_cdk/interfaces/aws_iotfleethub/__init__.py +166 -0
  424. aws_cdk/interfaces/aws_iotfleetwise/__init__.py +892 -0
  425. aws_cdk/interfaces/aws_iotsitewise/__init__.py +1097 -0
  426. aws_cdk/interfaces/aws_iotthingsgraph/__init__.py +146 -0
  427. aws_cdk/interfaces/aws_iottwinmaker/__init__.py +711 -0
  428. aws_cdk/interfaces/aws_iotwireless/__init__.py +1401 -0
  429. aws_cdk/interfaces/aws_ivs/__init__.py +1075 -0
  430. aws_cdk/interfaces/aws_ivschat/__init__.py +251 -0
  431. aws_cdk/interfaces/aws_kafkaconnect/__init__.py +354 -0
  432. aws_cdk/interfaces/aws_kendra/__init__.py +428 -0
  433. aws_cdk/interfaces/aws_kendraranking/__init__.py +166 -0
  434. aws_cdk/interfaces/aws_kinesis/__init__.py +364 -0
  435. aws_cdk/interfaces/aws_kinesisanalytics/__init__.py +364 -0
  436. aws_cdk/interfaces/aws_kinesisanalyticsv2/__init__.py +479 -0
  437. aws_cdk/interfaces/aws_kinesisfirehose/__init__.py +168 -0
  438. aws_cdk/interfaces/aws_kinesisvideo/__init__.py +283 -0
  439. aws_cdk/interfaces/aws_kms/__init__.py +376 -0
  440. aws_cdk/interfaces/aws_lakeformation/__init__.py +860 -0
  441. aws_cdk/interfaces/aws_lambda/__init__.py +1141 -0
  442. aws_cdk/interfaces/aws_launchwizard/__init__.py +146 -0
  443. aws_cdk/interfaces/aws_lex/__init__.py +513 -0
  444. aws_cdk/interfaces/aws_licensemanager/__init__.py +249 -0
  445. aws_cdk/interfaces/aws_lightsail/__init__.py +1744 -0
  446. aws_cdk/interfaces/aws_location/__init__.py +879 -0
  447. aws_cdk/interfaces/aws_logs/__init__.py +1667 -0
  448. aws_cdk/interfaces/aws_lookoutequipment/__init__.py +168 -0
  449. aws_cdk/interfaces/aws_lookoutmetrics/__init__.py +251 -0
  450. aws_cdk/interfaces/aws_lookoutvision/__init__.py +163 -0
  451. aws_cdk/interfaces/aws_m2/__init__.py +352 -0
  452. aws_cdk/interfaces/aws_macie/__init__.py +512 -0
  453. aws_cdk/interfaces/aws_managedblockchain/__init__.py +381 -0
  454. aws_cdk/interfaces/aws_mediaconnect/__init__.py +1028 -0
  455. aws_cdk/interfaces/aws_mediaconvert/__init__.py +396 -0
  456. aws_cdk/interfaces/aws_medialive/__init__.py +1755 -0
  457. aws_cdk/interfaces/aws_mediapackage/__init__.py +644 -0
  458. aws_cdk/interfaces/aws_mediapackagev2/__init__.py +618 -0
  459. aws_cdk/interfaces/aws_mediastore/__init__.py +146 -0
  460. aws_cdk/interfaces/aws_mediatailor/__init__.py +788 -0
  461. aws_cdk/interfaces/aws_memorydb/__init__.py +685 -0
  462. aws_cdk/interfaces/aws_mpa/__init__.py +249 -0
  463. aws_cdk/interfaces/aws_msk/__init__.py +764 -0
  464. aws_cdk/interfaces/aws_mwaa/__init__.py +166 -0
  465. aws_cdk/interfaces/aws_neptune/__init__.py +663 -0
  466. aws_cdk/interfaces/aws_neptunegraph/__init__.py +265 -0
  467. aws_cdk/interfaces/aws_networkfirewall/__init__.py +669 -0
  468. aws_cdk/interfaces/aws_networkmanager/__init__.py +1832 -0
  469. aws_cdk/interfaces/aws_nimblestudio/__init__.py +388 -0
  470. aws_cdk/interfaces/aws_notifications/__init__.py +868 -0
  471. aws_cdk/interfaces/aws_notificationscontacts/__init__.py +148 -0
  472. aws_cdk/interfaces/aws_oam/__init__.py +249 -0
  473. aws_cdk/interfaces/aws_observabilityadmin/__init__.py +362 -0
  474. aws_cdk/interfaces/aws_odb/__init__.py +562 -0
  475. aws_cdk/interfaces/aws_omics/__init__.py +838 -0
  476. aws_cdk/interfaces/aws_opensearchserverless/__init__.py +859 -0
  477. aws_cdk/interfaces/aws_opensearchservice/__init__.py +283 -0
  478. aws_cdk/interfaces/aws_opsworks/__init__.py +772 -0
  479. aws_cdk/interfaces/aws_opsworkscm/__init__.py +146 -0
  480. aws_cdk/interfaces/aws_organizations/__init__.py +646 -0
  481. aws_cdk/interfaces/aws_osis/__init__.py +146 -0
  482. aws_cdk/interfaces/aws_panorama/__init__.py +420 -0
  483. aws_cdk/interfaces/aws_paymentcryptography/__init__.py +249 -0
  484. aws_cdk/interfaces/aws_pcaconnectorad/__init__.py +608 -0
  485. aws_cdk/interfaces/aws_pcaconnectorscep/__init__.py +249 -0
  486. aws_cdk/interfaces/aws_pcs/__init__.py +352 -0
  487. aws_cdk/interfaces/aws_personalize/__init__.py +455 -0
  488. aws_cdk/interfaces/aws_pinpoint/__init__.py +2125 -0
  489. aws_cdk/interfaces/aws_pinpointemail/__init__.py +467 -0
  490. aws_cdk/interfaces/aws_pipes/__init__.py +158 -0
  491. aws_cdk/interfaces/aws_proton/__init__.py +360 -0
  492. aws_cdk/interfaces/aws_qbusiness/__init__.py +1122 -0
  493. aws_cdk/interfaces/aws_qldb/__init__.py +283 -0
  494. aws_cdk/interfaces/aws_quicksight/__init__.py +1566 -0
  495. aws_cdk/interfaces/aws_ram/__init__.py +249 -0
  496. aws_cdk/interfaces/aws_rbin/__init__.py +146 -0
  497. aws_cdk/interfaces/aws_rds/__init__.py +1780 -0
  498. aws_cdk/interfaces/aws_redshift/__init__.py +1104 -0
  499. aws_cdk/interfaces/aws_redshiftserverless/__init__.py +356 -0
  500. aws_cdk/interfaces/aws_refactorspaces/__init__.py +605 -0
  501. aws_cdk/interfaces/aws_rekognition/__init__.py +406 -0
  502. aws_cdk/interfaces/aws_resiliencehub/__init__.py +251 -0
  503. aws_cdk/interfaces/aws_resourceexplorer2/__init__.py +354 -0
  504. aws_cdk/interfaces/aws_resourcegroups/__init__.py +261 -0
  505. aws_cdk/interfaces/aws_robomaker/__init__.py +673 -0
  506. aws_cdk/interfaces/aws_rolesanywhere/__init__.py +384 -0
  507. aws_cdk/interfaces/aws_route53/__init__.py +804 -0
  508. aws_cdk/interfaces/aws_route53profiles/__init__.py +368 -0
  509. aws_cdk/interfaces/aws_route53recoverycontrol/__init__.py +463 -0
  510. aws_cdk/interfaces/aws_route53recoveryreadiness/__init__.py +535 -0
  511. aws_cdk/interfaces/aws_route53resolver/__init__.py +1356 -0
  512. aws_cdk/interfaces/aws_rtbfabric/__init__.py +352 -0
  513. aws_cdk/interfaces/aws_rum/__init__.py +146 -0
  514. aws_cdk/interfaces/aws_s3/__init__.py +1171 -0
  515. aws_cdk/interfaces/aws_s3express/__init__.py +392 -0
  516. aws_cdk/interfaces/aws_s3objectlambda/__init__.py +271 -0
  517. aws_cdk/interfaces/aws_s3outposts/__init__.py +455 -0
  518. aws_cdk/interfaces/aws_s3tables/__init__.py +575 -0
  519. aws_cdk/interfaces/aws_s3vectors/__init__.py +354 -0
  520. aws_cdk/interfaces/aws_sagemaker/__init__.py +3797 -0
  521. aws_cdk/interfaces/aws_sam/__init__.py +603 -0
  522. aws_cdk/interfaces/aws_scheduler/__init__.py +286 -0
  523. aws_cdk/interfaces/aws_sdb/__init__.py +146 -0
  524. aws_cdk/interfaces/aws_secretsmanager/__init__.py +461 -0
  525. aws_cdk/interfaces/aws_securityhub/__init__.py +1499 -0
  526. aws_cdk/interfaces/aws_securitylake/__init__.py +474 -0
  527. aws_cdk/interfaces/aws_servicecatalog/__init__.py +1829 -0
  528. aws_cdk/interfaces/aws_servicecatalogappregistry/__init__.py +557 -0
  529. aws_cdk/interfaces/aws_servicediscovery/__init__.py +636 -0
  530. aws_cdk/interfaces/aws_ses/__init__.py +2018 -0
  531. aws_cdk/interfaces/aws_shield/__init__.py +455 -0
  532. aws_cdk/interfaces/aws_signer/__init__.py +266 -0
  533. aws_cdk/interfaces/aws_simspaceweaver/__init__.py +146 -0
  534. aws_cdk/interfaces/aws_smsvoice/__init__.py +892 -0
  535. aws_cdk/interfaces/aws_sns/__init__.py +455 -0
  536. aws_cdk/interfaces/aws_sqs/__init__.py +364 -0
  537. aws_cdk/interfaces/aws_ssm/__init__.py +982 -0
  538. aws_cdk/interfaces/aws_ssmcontacts/__init__.py +455 -0
  539. aws_cdk/interfaces/aws_ssmguiconnect/__init__.py +146 -0
  540. aws_cdk/interfaces/aws_ssmincidents/__init__.py +249 -0
  541. aws_cdk/interfaces/aws_ssmquicksetup/__init__.py +253 -0
  542. aws_cdk/interfaces/aws_sso/__init__.py +797 -0
  543. aws_cdk/interfaces/aws_stepfunctions/__init__.py +459 -0
  544. aws_cdk/interfaces/aws_supportapp/__init__.py +372 -0
  545. aws_cdk/interfaces/aws_synthetics/__init__.py +249 -0
  546. aws_cdk/interfaces/aws_systemsmanagersap/__init__.py +148 -0
  547. aws_cdk/interfaces/aws_timestream/__init__.py +526 -0
  548. aws_cdk/interfaces/aws_transfer/__init__.py +967 -0
  549. aws_cdk/interfaces/aws_verifiedpermissions/__init__.py +538 -0
  550. aws_cdk/interfaces/aws_voiceid/__init__.py +146 -0
  551. aws_cdk/interfaces/aws_vpclattice/__init__.py +1418 -0
  552. aws_cdk/interfaces/aws_waf/__init__.py +764 -0
  553. aws_cdk/interfaces/aws_wafregional/__init__.py +1182 -0
  554. aws_cdk/interfaces/aws_wafv2/__init__.py +870 -0
  555. aws_cdk/interfaces/aws_wisdom/__init__.py +1556 -0
  556. aws_cdk/interfaces/aws_workspaces/__init__.py +352 -0
  557. aws_cdk/interfaces/aws_workspacesinstances/__init__.py +390 -0
  558. aws_cdk/interfaces/aws_workspacesthinclient/__init__.py +168 -0
  559. aws_cdk/interfaces/aws_workspacesweb/__init__.py +1085 -0
  560. aws_cdk/interfaces/aws_xray/__init__.py +457 -0
  561. aws_cdk/lambda_layer_awscli/__init__.py +6 -0
  562. aws_cdk/lambda_layer_node_proxy_agent/__init__.py +6 -0
  563. aws_cdk/pipelines/__init__.py +202 -52
  564. aws_cdk/region_info/__init__.py +3 -0
  565. aws_cdk/triggers/__init__.py +66 -18
  566. {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.224.0.dist-info}/METADATA +418 -18
  567. aws_cdk_lib-2.224.0.dist-info/RECORD +584 -0
  568. aws_cdk_lib-2.195.0.dist-info/RECORD +0 -304
  569. {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.224.0.dist-info}/LICENSE +0 -0
  570. {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.224.0.dist-info}/NOTICE +0 -0
  571. {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.224.0.dist-info}/WHEEL +0 -0
  572. {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.224.0.dist-info}/top_level.txt +0 -0
@@ -259,6 +259,19 @@ from ..aws_logs import (
259
259
  )
260
260
  from ..aws_s3 import IBucket as _IBucket_42e086fd
261
261
  from ..aws_sns import ITopic as _ITopic_9eca4852
262
+ from ..interfaces.aws_cloudtrail import (
263
+ ChannelReference as _ChannelReference_f32eac36,
264
+ DashboardReference as _DashboardReference_c8d9a4d8,
265
+ EventDataStoreReference as _EventDataStoreReference_9009c169,
266
+ IChannelRef as _IChannelRef_578e7391,
267
+ IDashboardRef as _IDashboardRef_1dcd123e,
268
+ IEventDataStoreRef as _IEventDataStoreRef_da898eb2,
269
+ IResourcePolicyRef as _IResourcePolicyRef_018c99ea,
270
+ ITrailRef as _ITrailRef_38211c4b,
271
+ ResourcePolicyReference as _ResourcePolicyReference_79964037,
272
+ TrailReference as _TrailReference_842f4da2,
273
+ )
274
+ from ..interfaces.aws_s3 import IBucketRef as _IBucketRef_3debe44e
262
275
 
263
276
 
264
277
  @jsii.data_type(
@@ -363,7 +376,7 @@ class AddEventSelectorOptions:
363
376
  )
364
377
 
365
378
 
366
- @jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
379
+ @jsii.implements(_IInspectable_c2943556, _IChannelRef_578e7391, _ITaggable_36806126)
367
380
  class CfnChannel(
368
381
  _CfnResource_9df397a6,
369
382
  metaclass=jsii.JSIIMeta,
@@ -405,7 +418,8 @@ class CfnChannel(
405
418
  source: typing.Optional[builtins.str] = None,
406
419
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
407
420
  ) -> None:
408
- '''
421
+ '''Create a new ``AWS::CloudTrail::Channel``.
422
+
409
423
  :param scope: Scope in which this resource is defined.
410
424
  :param id: Construct identifier for this resource (unique in its scope).
411
425
  :param destinations: One or more event data stores to which events arriving through a channel will be logged.
@@ -467,6 +481,12 @@ class CfnChannel(
467
481
  def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
468
482
  return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
469
483
 
484
+ @builtins.property
485
+ @jsii.member(jsii_name="channelRef")
486
+ def channel_ref(self) -> _ChannelReference_f32eac36:
487
+ '''A reference to a Channel resource.'''
488
+ return typing.cast(_ChannelReference_f32eac36, jsii.get(self, "channelRef"))
489
+
470
490
  @builtins.property
471
491
  @jsii.member(jsii_name="tags")
472
492
  def tags(self) -> _TagManager_0a598cb3:
@@ -719,7 +739,7 @@ class CfnChannelProps:
719
739
  )
720
740
 
721
741
 
722
- @jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
742
+ @jsii.implements(_IInspectable_c2943556, _IDashboardRef_1dcd123e, _ITaggableV2_4e6798f8)
723
743
  class CfnDashboard(
724
744
  _CfnResource_9df397a6,
725
745
  metaclass=jsii.JSIIMeta,
@@ -784,7 +804,8 @@ class CfnDashboard(
784
804
  termination_protection_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
785
805
  widgets: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDashboard.WidgetProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
786
806
  ) -> None:
787
- '''
807
+ '''Create a new ``AWS::CloudTrail::Dashboard``.
808
+
788
809
  :param scope: Scope in which this resource is defined.
789
810
  :param id: Construct identifier for this resource (unique in its scope).
790
811
  :param name: The name of the dashboard. The name must be unique to your account. To create the Highlights dashboard, the name must be ``AWSCloudTrail-Highlights`` .
@@ -893,6 +914,12 @@ class CfnDashboard(
893
914
  def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
894
915
  return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
895
916
 
917
+ @builtins.property
918
+ @jsii.member(jsii_name="dashboardRef")
919
+ def dashboard_ref(self) -> _DashboardReference_c8d9a4d8:
920
+ '''A reference to a Dashboard resource.'''
921
+ return typing.cast(_DashboardReference_c8d9a4d8, jsii.get(self, "dashboardRef"))
922
+
896
923
  @builtins.property
897
924
  @jsii.member(jsii_name="name")
898
925
  def name(self) -> typing.Optional[builtins.str]:
@@ -1413,7 +1440,7 @@ class CfnDashboardProps:
1413
1440
  )
1414
1441
 
1415
1442
 
1416
- @jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
1443
+ @jsii.implements(_IInspectable_c2943556, _IEventDataStoreRef_da898eb2, _ITaggable_36806126)
1417
1444
  class CfnEventDataStore(
1418
1445
  _CfnResource_9df397a6,
1419
1446
  metaclass=jsii.JSIIMeta,
@@ -1449,6 +1476,10 @@ class CfnEventDataStore(
1449
1476
  name="name"
1450
1477
  )],
1451
1478
  billing_mode="billingMode",
1479
+ context_key_selectors=[cloudtrail.CfnEventDataStore.ContextKeySelectorProperty(
1480
+ equal_to=["equalTo"],
1481
+ type="type"
1482
+ )],
1452
1483
  federation_enabled=False,
1453
1484
  federation_role_arn="federationRoleArn",
1454
1485
  ingestion_enabled=False,
@@ -1457,6 +1488,7 @@ class CfnEventDataStore(
1457
1488
  insight_type="insightType"
1458
1489
  )],
1459
1490
  kms_key_id="kmsKeyId",
1491
+ max_event_size="maxEventSize",
1460
1492
  multi_region_enabled=False,
1461
1493
  name="name",
1462
1494
  organization_enabled=False,
@@ -1476,12 +1508,14 @@ class CfnEventDataStore(
1476
1508
  *,
1477
1509
  advanced_event_selectors: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnEventDataStore.AdvancedEventSelectorProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
1478
1510
  billing_mode: typing.Optional[builtins.str] = None,
1511
+ context_key_selectors: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnEventDataStore.ContextKeySelectorProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
1479
1512
  federation_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
1480
1513
  federation_role_arn: typing.Optional[builtins.str] = None,
1481
1514
  ingestion_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
1482
1515
  insights_destination: typing.Optional[builtins.str] = None,
1483
1516
  insight_selectors: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnEventDataStore.InsightSelectorProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
1484
1517
  kms_key_id: typing.Optional[builtins.str] = None,
1518
+ max_event_size: typing.Optional[builtins.str] = None,
1485
1519
  multi_region_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
1486
1520
  name: typing.Optional[builtins.str] = None,
1487
1521
  organization_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
@@ -1489,17 +1523,20 @@ class CfnEventDataStore(
1489
1523
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
1490
1524
  termination_protection_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
1491
1525
  ) -> None:
1492
- '''
1526
+ '''Create a new ``AWS::CloudTrail::EventDataStore``.
1527
+
1493
1528
  :param scope: Scope in which this resource is defined.
1494
1529
  :param id: Construct identifier for this resource (unique in its scope).
1495
1530
  :param advanced_event_selectors: The advanced event selectors to use to select the events for the data store. You can configure up to five advanced event selectors for each event data store. For more information about how to use advanced event selectors to log CloudTrail events, see `Log events by using advanced event selectors <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html#creating-data-event-selectors-advanced>`_ in the CloudTrail User Guide. For more information about how to use advanced event selectors to include AWS Config configuration items in your event data store, see `Create an event data store for AWS Config configuration items <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/lake-eds-cli.html#lake-cli-create-eds-config>`_ in the CloudTrail User Guide. For more information about how to use advanced event selectors to include events outside of AWS events in your event data store, see `Create an integration to log events from outside AWS <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/lake-integrations-cli.html#lake-cli-create-integration>`_ in the CloudTrail User Guide.
1496
1531
  :param billing_mode: The billing mode for the event data store determines the cost for ingesting events and the default and maximum retention period for the event data store. The following are the possible values: - ``EXTENDABLE_RETENTION_PRICING`` - This billing mode is generally recommended if you want a flexible retention period of up to 3653 days (about 10 years). The default retention period for this billing mode is 366 days. - ``FIXED_RETENTION_PRICING`` - This billing mode is recommended if you expect to ingest more than 25 TB of event data per month and need a retention period of up to 2557 days (about 7 years). The default retention period for this billing mode is 2557 days. The default value is ``EXTENDABLE_RETENTION_PRICING`` . For more information about CloudTrail pricing, see `AWS CloudTrail Pricing <https://docs.aws.amazon.com/cloudtrail/pricing/>`_ and `Managing CloudTrail Lake costs <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-lake-manage-costs.html>`_ .
1532
+ :param context_key_selectors: The list of context key selectors that are configured for the event data store.
1497
1533
  :param federation_enabled: Indicates if `Lake query federation <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-federation.html>`_ is enabled. By default, Lake query federation is disabled. You cannot delete an event data store if Lake query federation is enabled.
1498
1534
  :param federation_role_arn: If Lake query federation is enabled, provides the ARN of the federation role used to access the resources for the federated event data store. The federation role must exist in your account and provide the `required minimum permissions <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-federation.html#query-federation-permissions-role>`_ .
1499
1535
  :param ingestion_enabled: Specifies whether the event data store should start ingesting live events. The default is true.
1500
1536
  :param insights_destination: The ARN (or ID suffix of the ARN) of the destination event data store that logs Insights events. For more information, see `Create an event data store for CloudTrail Insights events <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-event-data-store-insights.html>`_ .
1501
1537
  :param insight_selectors: A JSON string that contains the Insights types you want to log on an event data store. ``ApiCallRateInsight`` and ``ApiErrorRateInsight`` are valid Insight types. The ``ApiCallRateInsight`` Insights type analyzes write-only management API calls that are aggregated per minute against a baseline API call volume. The ``ApiErrorRateInsight`` Insights type analyzes management API calls that result in error codes. The error is shown if the API call is unsuccessful.
1502
1538
  :param kms_key_id: Specifies the AWS KMS key ID to use to encrypt the events delivered by CloudTrail. The value can be an alias name prefixed by ``alias/`` , a fully specified ARN to an alias, a fully specified ARN to a key, or a globally unique identifier. .. epigraph:: Disabling or deleting the KMS key, or removing CloudTrail permissions on the key, prevents CloudTrail from logging events to the event data store, and prevents users from querying the data in the event data store that was encrypted with the key. After you associate an event data store with a KMS key, the KMS key cannot be removed or changed. Before you disable or delete a KMS key that you are using with an event data store, delete or back up your event data store. CloudTrail also supports AWS KMS multi-Region keys. For more information about multi-Region keys, see `Using multi-Region keys <https://docs.aws.amazon.com/kms/latest/developerguide/multi-region-keys-overview.html>`_ in the *AWS Key Management Service Developer Guide* . Examples: - ``alias/MyAliasName`` - ``arn:aws:kms:us-east-2:123456789012:alias/MyAliasName`` - ``arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012`` - ``12345678-1234-1234-1234-123456789012``
1539
+ :param max_event_size: The maximum allowed size for events to be stored in the specified event data store. If you are using context key selectors, MaxEventSize must be set to Large.
1503
1540
  :param multi_region_enabled: Specifies whether the event data store includes events from all Regions, or only from the Region in which the event data store is created.
1504
1541
  :param name: The name of the event data store.
1505
1542
  :param organization_enabled: Specifies whether an event data store collects events logged for an organization in AWS Organizations .
@@ -1514,12 +1551,14 @@ class CfnEventDataStore(
1514
1551
  props = CfnEventDataStoreProps(
1515
1552
  advanced_event_selectors=advanced_event_selectors,
1516
1553
  billing_mode=billing_mode,
1554
+ context_key_selectors=context_key_selectors,
1517
1555
  federation_enabled=federation_enabled,
1518
1556
  federation_role_arn=federation_role_arn,
1519
1557
  ingestion_enabled=ingestion_enabled,
1520
1558
  insights_destination=insights_destination,
1521
1559
  insight_selectors=insight_selectors,
1522
1560
  kms_key_id=kms_key_id,
1561
+ max_event_size=max_event_size,
1523
1562
  multi_region_enabled=multi_region_enabled,
1524
1563
  name=name,
1525
1564
  organization_enabled=organization_enabled,
@@ -1601,6 +1640,12 @@ class CfnEventDataStore(
1601
1640
  def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
1602
1641
  return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
1603
1642
 
1643
+ @builtins.property
1644
+ @jsii.member(jsii_name="eventDataStoreRef")
1645
+ def event_data_store_ref(self) -> _EventDataStoreReference_9009c169:
1646
+ '''A reference to a EventDataStore resource.'''
1647
+ return typing.cast(_EventDataStoreReference_9009c169, jsii.get(self, "eventDataStoreRef"))
1648
+
1604
1649
  @builtins.property
1605
1650
  @jsii.member(jsii_name="tags")
1606
1651
  def tags(self) -> _TagManager_0a598cb3:
@@ -1638,6 +1683,24 @@ class CfnEventDataStore(
1638
1683
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1639
1684
  jsii.set(self, "billingMode", value) # pyright: ignore[reportArgumentType]
1640
1685
 
1686
+ @builtins.property
1687
+ @jsii.member(jsii_name="contextKeySelectors")
1688
+ def context_key_selectors(
1689
+ self,
1690
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnEventDataStore.ContextKeySelectorProperty"]]]]:
1691
+ '''The list of context key selectors that are configured for the event data store.'''
1692
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnEventDataStore.ContextKeySelectorProperty"]]]], jsii.get(self, "contextKeySelectors"))
1693
+
1694
+ @context_key_selectors.setter
1695
+ def context_key_selectors(
1696
+ self,
1697
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnEventDataStore.ContextKeySelectorProperty"]]]],
1698
+ ) -> None:
1699
+ if __debug__:
1700
+ type_hints = typing.get_type_hints(_typecheckingstub__aa0ae30f8c5291a79387d1a2f7fb5c056fc8459c7878eb58241f52eba3a4762e)
1701
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1702
+ jsii.set(self, "contextKeySelectors", value) # pyright: ignore[reportArgumentType]
1703
+
1641
1704
  @builtins.property
1642
1705
  @jsii.member(jsii_name="federationEnabled")
1643
1706
  def federation_enabled(
@@ -1731,6 +1794,19 @@ class CfnEventDataStore(
1731
1794
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1732
1795
  jsii.set(self, "kmsKeyId", value) # pyright: ignore[reportArgumentType]
1733
1796
 
1797
+ @builtins.property
1798
+ @jsii.member(jsii_name="maxEventSize")
1799
+ def max_event_size(self) -> typing.Optional[builtins.str]:
1800
+ '''The maximum allowed size for events to be stored in the specified event data store.'''
1801
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "maxEventSize"))
1802
+
1803
+ @max_event_size.setter
1804
+ def max_event_size(self, value: typing.Optional[builtins.str]) -> None:
1805
+ if __debug__:
1806
+ type_hints = typing.get_type_hints(_typecheckingstub__a69353bf46f46a1067b410e6f91c0033234561f53fceb13608d40dd90dd0832e)
1807
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1808
+ jsii.set(self, "maxEventSize", value) # pyright: ignore[reportArgumentType]
1809
+
1734
1810
  @builtins.property
1735
1811
  @jsii.member(jsii_name="multiRegionEnabled")
1736
1812
  def multi_region_enabled(
@@ -2163,6 +2239,79 @@ class CfnEventDataStore(
2163
2239
  k + "=" + repr(v) for k, v in self._values.items()
2164
2240
  )
2165
2241
 
2242
+ @jsii.data_type(
2243
+ jsii_type="aws-cdk-lib.aws_cloudtrail.CfnEventDataStore.ContextKeySelectorProperty",
2244
+ jsii_struct_bases=[],
2245
+ name_mapping={"equal_to": "equalTo", "type": "type"},
2246
+ )
2247
+ class ContextKeySelectorProperty:
2248
+ def __init__(
2249
+ self,
2250
+ *,
2251
+ equal_to: typing.Sequence[builtins.str],
2252
+ type: builtins.str,
2253
+ ) -> None:
2254
+ '''An object that contains information types to be included in CloudTrail enriched events.
2255
+
2256
+ :param equal_to: A list of keys defined by Type to be included in CloudTrail enriched events.
2257
+ :param type: Specifies the type of the event record field in ContextKeySelector. Valid values include RequestContext, TagContext.
2258
+
2259
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudtrail-eventdatastore-contextkeyselector.html
2260
+ :exampleMetadata: fixture=_generated
2261
+
2262
+ Example::
2263
+
2264
+ # The code below shows an example of how to instantiate this type.
2265
+ # The values are placeholders you should change.
2266
+ from aws_cdk import aws_cloudtrail as cloudtrail
2267
+
2268
+ context_key_selector_property = cloudtrail.CfnEventDataStore.ContextKeySelectorProperty(
2269
+ equal_to=["equalTo"],
2270
+ type="type"
2271
+ )
2272
+ '''
2273
+ if __debug__:
2274
+ type_hints = typing.get_type_hints(_typecheckingstub__442b3465c9cf8a3aebc6597e8616078b26e24675af399050c52412909f6169e3)
2275
+ check_type(argname="argument equal_to", value=equal_to, expected_type=type_hints["equal_to"])
2276
+ check_type(argname="argument type", value=type, expected_type=type_hints["type"])
2277
+ self._values: typing.Dict[builtins.str, typing.Any] = {
2278
+ "equal_to": equal_to,
2279
+ "type": type,
2280
+ }
2281
+
2282
+ @builtins.property
2283
+ def equal_to(self) -> typing.List[builtins.str]:
2284
+ '''A list of keys defined by Type to be included in CloudTrail enriched events.
2285
+
2286
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudtrail-eventdatastore-contextkeyselector.html#cfn-cloudtrail-eventdatastore-contextkeyselector-equals
2287
+ '''
2288
+ result = self._values.get("equal_to")
2289
+ assert result is not None, "Required property 'equal_to' is missing"
2290
+ return typing.cast(typing.List[builtins.str], result)
2291
+
2292
+ @builtins.property
2293
+ def type(self) -> builtins.str:
2294
+ '''Specifies the type of the event record field in ContextKeySelector.
2295
+
2296
+ Valid values include RequestContext, TagContext.
2297
+
2298
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudtrail-eventdatastore-contextkeyselector.html#cfn-cloudtrail-eventdatastore-contextkeyselector-type
2299
+ '''
2300
+ result = self._values.get("type")
2301
+ assert result is not None, "Required property 'type' is missing"
2302
+ return typing.cast(builtins.str, result)
2303
+
2304
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
2305
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
2306
+
2307
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
2308
+ return not (rhs == self)
2309
+
2310
+ def __repr__(self) -> str:
2311
+ return "ContextKeySelectorProperty(%s)" % ", ".join(
2312
+ k + "=" + repr(v) for k, v in self._values.items()
2313
+ )
2314
+
2166
2315
  @jsii.data_type(
2167
2316
  jsii_type="aws-cdk-lib.aws_cloudtrail.CfnEventDataStore.InsightSelectorProperty",
2168
2317
  jsii_struct_bases=[],
@@ -2229,12 +2378,14 @@ class CfnEventDataStore(
2229
2378
  name_mapping={
2230
2379
  "advanced_event_selectors": "advancedEventSelectors",
2231
2380
  "billing_mode": "billingMode",
2381
+ "context_key_selectors": "contextKeySelectors",
2232
2382
  "federation_enabled": "federationEnabled",
2233
2383
  "federation_role_arn": "federationRoleArn",
2234
2384
  "ingestion_enabled": "ingestionEnabled",
2235
2385
  "insights_destination": "insightsDestination",
2236
2386
  "insight_selectors": "insightSelectors",
2237
2387
  "kms_key_id": "kmsKeyId",
2388
+ "max_event_size": "maxEventSize",
2238
2389
  "multi_region_enabled": "multiRegionEnabled",
2239
2390
  "name": "name",
2240
2391
  "organization_enabled": "organizationEnabled",
@@ -2249,12 +2400,14 @@ class CfnEventDataStoreProps:
2249
2400
  *,
2250
2401
  advanced_event_selectors: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnEventDataStore.AdvancedEventSelectorProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
2251
2402
  billing_mode: typing.Optional[builtins.str] = None,
2403
+ context_key_selectors: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnEventDataStore.ContextKeySelectorProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
2252
2404
  federation_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
2253
2405
  federation_role_arn: typing.Optional[builtins.str] = None,
2254
2406
  ingestion_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
2255
2407
  insights_destination: typing.Optional[builtins.str] = None,
2256
2408
  insight_selectors: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnEventDataStore.InsightSelectorProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
2257
2409
  kms_key_id: typing.Optional[builtins.str] = None,
2410
+ max_event_size: typing.Optional[builtins.str] = None,
2258
2411
  multi_region_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
2259
2412
  name: typing.Optional[builtins.str] = None,
2260
2413
  organization_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
@@ -2266,12 +2419,14 @@ class CfnEventDataStoreProps:
2266
2419
 
2267
2420
  :param advanced_event_selectors: The advanced event selectors to use to select the events for the data store. You can configure up to five advanced event selectors for each event data store. For more information about how to use advanced event selectors to log CloudTrail events, see `Log events by using advanced event selectors <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html#creating-data-event-selectors-advanced>`_ in the CloudTrail User Guide. For more information about how to use advanced event selectors to include AWS Config configuration items in your event data store, see `Create an event data store for AWS Config configuration items <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/lake-eds-cli.html#lake-cli-create-eds-config>`_ in the CloudTrail User Guide. For more information about how to use advanced event selectors to include events outside of AWS events in your event data store, see `Create an integration to log events from outside AWS <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/lake-integrations-cli.html#lake-cli-create-integration>`_ in the CloudTrail User Guide.
2268
2421
  :param billing_mode: The billing mode for the event data store determines the cost for ingesting events and the default and maximum retention period for the event data store. The following are the possible values: - ``EXTENDABLE_RETENTION_PRICING`` - This billing mode is generally recommended if you want a flexible retention period of up to 3653 days (about 10 years). The default retention period for this billing mode is 366 days. - ``FIXED_RETENTION_PRICING`` - This billing mode is recommended if you expect to ingest more than 25 TB of event data per month and need a retention period of up to 2557 days (about 7 years). The default retention period for this billing mode is 2557 days. The default value is ``EXTENDABLE_RETENTION_PRICING`` . For more information about CloudTrail pricing, see `AWS CloudTrail Pricing <https://docs.aws.amazon.com/cloudtrail/pricing/>`_ and `Managing CloudTrail Lake costs <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-lake-manage-costs.html>`_ .
2422
+ :param context_key_selectors: The list of context key selectors that are configured for the event data store.
2269
2423
  :param federation_enabled: Indicates if `Lake query federation <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-federation.html>`_ is enabled. By default, Lake query federation is disabled. You cannot delete an event data store if Lake query federation is enabled.
2270
2424
  :param federation_role_arn: If Lake query federation is enabled, provides the ARN of the federation role used to access the resources for the federated event data store. The federation role must exist in your account and provide the `required minimum permissions <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-federation.html#query-federation-permissions-role>`_ .
2271
2425
  :param ingestion_enabled: Specifies whether the event data store should start ingesting live events. The default is true.
2272
2426
  :param insights_destination: The ARN (or ID suffix of the ARN) of the destination event data store that logs Insights events. For more information, see `Create an event data store for CloudTrail Insights events <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-event-data-store-insights.html>`_ .
2273
2427
  :param insight_selectors: A JSON string that contains the Insights types you want to log on an event data store. ``ApiCallRateInsight`` and ``ApiErrorRateInsight`` are valid Insight types. The ``ApiCallRateInsight`` Insights type analyzes write-only management API calls that are aggregated per minute against a baseline API call volume. The ``ApiErrorRateInsight`` Insights type analyzes management API calls that result in error codes. The error is shown if the API call is unsuccessful.
2274
2428
  :param kms_key_id: Specifies the AWS KMS key ID to use to encrypt the events delivered by CloudTrail. The value can be an alias name prefixed by ``alias/`` , a fully specified ARN to an alias, a fully specified ARN to a key, or a globally unique identifier. .. epigraph:: Disabling or deleting the KMS key, or removing CloudTrail permissions on the key, prevents CloudTrail from logging events to the event data store, and prevents users from querying the data in the event data store that was encrypted with the key. After you associate an event data store with a KMS key, the KMS key cannot be removed or changed. Before you disable or delete a KMS key that you are using with an event data store, delete or back up your event data store. CloudTrail also supports AWS KMS multi-Region keys. For more information about multi-Region keys, see `Using multi-Region keys <https://docs.aws.amazon.com/kms/latest/developerguide/multi-region-keys-overview.html>`_ in the *AWS Key Management Service Developer Guide* . Examples: - ``alias/MyAliasName`` - ``arn:aws:kms:us-east-2:123456789012:alias/MyAliasName`` - ``arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012`` - ``12345678-1234-1234-1234-123456789012``
2429
+ :param max_event_size: The maximum allowed size for events to be stored in the specified event data store. If you are using context key selectors, MaxEventSize must be set to Large.
2275
2430
  :param multi_region_enabled: Specifies whether the event data store includes events from all Regions, or only from the Region in which the event data store is created.
2276
2431
  :param name: The name of the event data store.
2277
2432
  :param organization_enabled: Specifies whether an event data store collects events logged for an organization in AWS Organizations .
@@ -2306,6 +2461,10 @@ class CfnEventDataStoreProps:
2306
2461
  name="name"
2307
2462
  )],
2308
2463
  billing_mode="billingMode",
2464
+ context_key_selectors=[cloudtrail.CfnEventDataStore.ContextKeySelectorProperty(
2465
+ equal_to=["equalTo"],
2466
+ type="type"
2467
+ )],
2309
2468
  federation_enabled=False,
2310
2469
  federation_role_arn="federationRoleArn",
2311
2470
  ingestion_enabled=False,
@@ -2314,6 +2473,7 @@ class CfnEventDataStoreProps:
2314
2473
  insight_type="insightType"
2315
2474
  )],
2316
2475
  kms_key_id="kmsKeyId",
2476
+ max_event_size="maxEventSize",
2317
2477
  multi_region_enabled=False,
2318
2478
  name="name",
2319
2479
  organization_enabled=False,
@@ -2329,12 +2489,14 @@ class CfnEventDataStoreProps:
2329
2489
  type_hints = typing.get_type_hints(_typecheckingstub__bc172d8375a6bcb019f0df4a0d571d671956c64545dc03fc01f9ad66e38ac10e)
2330
2490
  check_type(argname="argument advanced_event_selectors", value=advanced_event_selectors, expected_type=type_hints["advanced_event_selectors"])
2331
2491
  check_type(argname="argument billing_mode", value=billing_mode, expected_type=type_hints["billing_mode"])
2492
+ check_type(argname="argument context_key_selectors", value=context_key_selectors, expected_type=type_hints["context_key_selectors"])
2332
2493
  check_type(argname="argument federation_enabled", value=federation_enabled, expected_type=type_hints["federation_enabled"])
2333
2494
  check_type(argname="argument federation_role_arn", value=federation_role_arn, expected_type=type_hints["federation_role_arn"])
2334
2495
  check_type(argname="argument ingestion_enabled", value=ingestion_enabled, expected_type=type_hints["ingestion_enabled"])
2335
2496
  check_type(argname="argument insights_destination", value=insights_destination, expected_type=type_hints["insights_destination"])
2336
2497
  check_type(argname="argument insight_selectors", value=insight_selectors, expected_type=type_hints["insight_selectors"])
2337
2498
  check_type(argname="argument kms_key_id", value=kms_key_id, expected_type=type_hints["kms_key_id"])
2499
+ check_type(argname="argument max_event_size", value=max_event_size, expected_type=type_hints["max_event_size"])
2338
2500
  check_type(argname="argument multi_region_enabled", value=multi_region_enabled, expected_type=type_hints["multi_region_enabled"])
2339
2501
  check_type(argname="argument name", value=name, expected_type=type_hints["name"])
2340
2502
  check_type(argname="argument organization_enabled", value=organization_enabled, expected_type=type_hints["organization_enabled"])
@@ -2346,6 +2508,8 @@ class CfnEventDataStoreProps:
2346
2508
  self._values["advanced_event_selectors"] = advanced_event_selectors
2347
2509
  if billing_mode is not None:
2348
2510
  self._values["billing_mode"] = billing_mode
2511
+ if context_key_selectors is not None:
2512
+ self._values["context_key_selectors"] = context_key_selectors
2349
2513
  if federation_enabled is not None:
2350
2514
  self._values["federation_enabled"] = federation_enabled
2351
2515
  if federation_role_arn is not None:
@@ -2358,6 +2522,8 @@ class CfnEventDataStoreProps:
2358
2522
  self._values["insight_selectors"] = insight_selectors
2359
2523
  if kms_key_id is not None:
2360
2524
  self._values["kms_key_id"] = kms_key_id
2525
+ if max_event_size is not None:
2526
+ self._values["max_event_size"] = max_event_size
2361
2527
  if multi_region_enabled is not None:
2362
2528
  self._values["multi_region_enabled"] = multi_region_enabled
2363
2529
  if name is not None:
@@ -2408,6 +2574,17 @@ class CfnEventDataStoreProps:
2408
2574
  result = self._values.get("billing_mode")
2409
2575
  return typing.cast(typing.Optional[builtins.str], result)
2410
2576
 
2577
+ @builtins.property
2578
+ def context_key_selectors(
2579
+ self,
2580
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnEventDataStore.ContextKeySelectorProperty]]]]:
2581
+ '''The list of context key selectors that are configured for the event data store.
2582
+
2583
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudtrail-eventdatastore.html#cfn-cloudtrail-eventdatastore-contextkeyselectors
2584
+ '''
2585
+ result = self._values.get("context_key_selectors")
2586
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnEventDataStore.ContextKeySelectorProperty]]]], result)
2587
+
2411
2588
  @builtins.property
2412
2589
  def federation_enabled(
2413
2590
  self,
@@ -2494,6 +2671,17 @@ class CfnEventDataStoreProps:
2494
2671
  result = self._values.get("kms_key_id")
2495
2672
  return typing.cast(typing.Optional[builtins.str], result)
2496
2673
 
2674
+ @builtins.property
2675
+ def max_event_size(self) -> typing.Optional[builtins.str]:
2676
+ '''The maximum allowed size for events to be stored in the specified event data store.
2677
+
2678
+ If you are using context key selectors, MaxEventSize must be set to Large.
2679
+
2680
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudtrail-eventdatastore.html#cfn-cloudtrail-eventdatastore-maxeventsize
2681
+ '''
2682
+ result = self._values.get("max_event_size")
2683
+ return typing.cast(typing.Optional[builtins.str], result)
2684
+
2497
2685
  @builtins.property
2498
2686
  def multi_region_enabled(
2499
2687
  self,
@@ -2575,7 +2763,7 @@ class CfnEventDataStoreProps:
2575
2763
  )
2576
2764
 
2577
2765
 
2578
- @jsii.implements(_IInspectable_c2943556)
2766
+ @jsii.implements(_IInspectable_c2943556, _IResourcePolicyRef_018c99ea)
2579
2767
  class CfnResourcePolicy(
2580
2768
  _CfnResource_9df397a6,
2581
2769
  metaclass=jsii.JSIIMeta,
@@ -2611,7 +2799,8 @@ class CfnResourcePolicy(
2611
2799
  resource_arn: builtins.str,
2612
2800
  resource_policy: typing.Any,
2613
2801
  ) -> None:
2614
- '''
2802
+ '''Create a new ``AWS::CloudTrail::ResourcePolicy``.
2803
+
2615
2804
  :param scope: Scope in which this resource is defined.
2616
2805
  :param id: Construct identifier for this resource (unique in its scope).
2617
2806
  :param resource_arn: The Amazon Resource Name (ARN) of the CloudTrail event data store, dashboard, or channel attached to the resource-based policy. Example event data store ARN format: ``arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE`` Example dashboard ARN format: ``arn:aws:cloudtrail:us-east-1:123456789012:dashboard/exampleDash`` Example channel ARN format: ``arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890``
@@ -2662,6 +2851,12 @@ class CfnResourcePolicy(
2662
2851
  def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
2663
2852
  return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
2664
2853
 
2854
+ @builtins.property
2855
+ @jsii.member(jsii_name="resourcePolicyRef")
2856
+ def resource_policy_ref(self) -> _ResourcePolicyReference_79964037:
2857
+ '''A reference to a ResourcePolicy resource.'''
2858
+ return typing.cast(_ResourcePolicyReference_79964037, jsii.get(self, "resourcePolicyRef"))
2859
+
2665
2860
  @builtins.property
2666
2861
  @jsii.member(jsii_name="resourceArn")
2667
2862
  def resource_arn(self) -> builtins.str:
@@ -2771,7 +2966,7 @@ class CfnResourcePolicyProps:
2771
2966
  )
2772
2967
 
2773
2968
 
2774
- @jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
2969
+ @jsii.implements(_IInspectable_c2943556, _ITrailRef_38211c4b, _ITaggable_36806126)
2775
2970
  class CfnTrail(
2776
2971
  _CfnResource_9df397a6,
2777
2972
  metaclass=jsii.JSIIMeta,
@@ -2863,7 +3058,8 @@ class CfnTrail(
2863
3058
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
2864
3059
  trail_name: typing.Optional[builtins.str] = None,
2865
3060
  ) -> None:
2866
- '''
3061
+ '''Create a new ``AWS::CloudTrail::Trail``.
3062
+
2867
3063
  :param scope: Scope in which this resource is defined.
2868
3064
  :param id: Construct identifier for this resource (unique in its scope).
2869
3065
  :param is_logging: Whether the CloudTrail trail is currently logging AWS API calls.
@@ -2877,7 +3073,7 @@ class CfnTrail(
2877
3073
  :param insight_selectors: A JSON string that contains the Insights types you want to log on a trail. ``ApiCallRateInsight`` and ``ApiErrorRateInsight`` are valid Insight types. The ``ApiCallRateInsight`` Insights type analyzes write-only management API calls that are aggregated per minute against a baseline API call volume. The ``ApiErrorRateInsight`` Insights type analyzes management API calls that result in error codes. The error is shown if the API call is unsuccessful.
2878
3074
  :param is_multi_region_trail: Specifies whether the trail applies only to the current Region or to all Regions. The default is false. If the trail exists only in the current Region and this value is set to true, shadow trails (replications of the trail) will be created in the other Regions. If the trail exists in all Regions and this value is set to false, the trail will remain in the Region where it was created, and its shadow trails in other Regions will be deleted. As a best practice, consider using trails that log events in all Regions.
2879
3075
  :param is_organization_trail: Specifies whether the trail is applied to all accounts in an organization in AWS Organizations , or only for the current AWS account . The default is false, and cannot be true unless the call is made on behalf of an AWS account that is the management account for an organization in AWS Organizations . If the trail is not an organization trail and this is set to ``true`` , the trail will be created in all AWS accounts that belong to the organization. If the trail is an organization trail and this is set to ``false`` , the trail will remain in the current AWS account but be deleted from all member accounts in the organization. .. epigraph:: Only the management account for the organization can convert an organization trail to a non-organization trail, or convert a non-organization trail to an organization trail.
2880
- :param kms_key_id: Specifies the AWS KMS key ID to use to encrypt the logs delivered by CloudTrail. The value can be an alias name prefixed by "alias/", a fully specified ARN to an alias, a fully specified ARN to a key, or a globally unique identifier. CloudTrail also supports AWS KMS multi-Region keys. For more information about multi-Region keys, see `Using multi-Region keys <https://docs.aws.amazon.com/kms/latest/developerguide/multi-region-keys-overview.html>`_ in the *AWS Key Management Service Developer Guide* . Examples: - alias/MyAliasName - arn:aws:kms:us-east-2:123456789012:alias/MyAliasName - arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012 - 12345678-1234-1234-1234-123456789012
3076
+ :param kms_key_id: Specifies the AWS KMS key ID to use to encrypt the logs and digest files delivered by CloudTrail. The value can be an alias name prefixed by "alias/", a fully specified ARN to an alias, a fully specified ARN to a key, or a globally unique identifier. CloudTrail also supports AWS KMS multi-Region keys. For more information about multi-Region keys, see `Using multi-Region keys <https://docs.aws.amazon.com/kms/latest/developerguide/multi-region-keys-overview.html>`_ in the *AWS Key Management Service Developer Guide* . Examples: - alias/MyAliasName - arn:aws:kms:us-east-2:123456789012:alias/MyAliasName - arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012 - 12345678-1234-1234-1234-123456789012
2881
3077
  :param s3_key_prefix: Specifies the Amazon S3 key prefix that comes after the name of the bucket you have designated for log file delivery. For more information, see `Finding Your CloudTrail Log Files <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/get-and-view-cloudtrail-log-files.html#cloudtrail-find-log-files>`_ . The maximum length is 200 characters.
2882
3078
  :param sns_topic_name: Specifies the name or ARN of the Amazon SNS topic defined for notification of log file delivery. The maximum length is 256 characters.
2883
3079
  :param tags: A custom set of tags (key-value pairs) for this trail.
@@ -2908,6 +3104,48 @@ class CfnTrail(
2908
3104
 
2909
3105
  jsii.create(self.__class__, self, [scope, id, props])
2910
3106
 
3107
+ @jsii.member(jsii_name="fromTrailArn")
3108
+ @builtins.classmethod
3109
+ def from_trail_arn(
3110
+ cls,
3111
+ scope: _constructs_77d1e7e8.Construct,
3112
+ id: builtins.str,
3113
+ arn: builtins.str,
3114
+ ) -> _ITrailRef_38211c4b:
3115
+ '''Creates a new ITrailRef from an ARN.
3116
+
3117
+ :param scope: -
3118
+ :param id: -
3119
+ :param arn: -
3120
+ '''
3121
+ if __debug__:
3122
+ type_hints = typing.get_type_hints(_typecheckingstub__de13fd6629dabd92566f74df031bb3846b1f0c60616e28f88435c2f70ea1f0dd)
3123
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
3124
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
3125
+ check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
3126
+ return typing.cast(_ITrailRef_38211c4b, jsii.sinvoke(cls, "fromTrailArn", [scope, id, arn]))
3127
+
3128
+ @jsii.member(jsii_name="fromTrailName")
3129
+ @builtins.classmethod
3130
+ def from_trail_name(
3131
+ cls,
3132
+ scope: _constructs_77d1e7e8.Construct,
3133
+ id: builtins.str,
3134
+ trail_name: builtins.str,
3135
+ ) -> _ITrailRef_38211c4b:
3136
+ '''Creates a new ITrailRef from a trailName.
3137
+
3138
+ :param scope: -
3139
+ :param id: -
3140
+ :param trail_name: -
3141
+ '''
3142
+ if __debug__:
3143
+ type_hints = typing.get_type_hints(_typecheckingstub__de86420b3e78209dc350b0fda0b9e94a90b38d019fdd7b81692f6899942ea4ae)
3144
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
3145
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
3146
+ check_type(argname="argument trail_name", value=trail_name, expected_type=type_hints["trail_name"])
3147
+ return typing.cast(_ITrailRef_38211c4b, jsii.sinvoke(cls, "fromTrailName", [scope, id, trail_name]))
3148
+
2911
3149
  @jsii.member(jsii_name="inspect")
2912
3150
  def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
2913
3151
  '''Examines the CloudFormation resource and discloses attributes.
@@ -2967,6 +3205,12 @@ class CfnTrail(
2967
3205
  '''Tag Manager which manages the tags for this resource.'''
2968
3206
  return typing.cast(_TagManager_0a598cb3, jsii.get(self, "tags"))
2969
3207
 
3208
+ @builtins.property
3209
+ @jsii.member(jsii_name="trailRef")
3210
+ def trail_ref(self) -> _TrailReference_842f4da2:
3211
+ '''A reference to a Trail resource.'''
3212
+ return typing.cast(_TrailReference_842f4da2, jsii.get(self, "trailRef"))
3213
+
2970
3214
  @builtins.property
2971
3215
  @jsii.member(jsii_name="isLogging")
2972
3216
  def is_logging(self) -> typing.Union[builtins.bool, _IResolvable_da3f097b]:
@@ -3157,7 +3401,7 @@ class CfnTrail(
3157
3401
  @builtins.property
3158
3402
  @jsii.member(jsii_name="kmsKeyId")
3159
3403
  def kms_key_id(self) -> typing.Optional[builtins.str]:
3160
- '''Specifies the AWS KMS key ID to use to encrypt the logs delivered by CloudTrail.'''
3404
+ '''Specifies the AWS KMS key ID to use to encrypt the logs and digest files delivered by CloudTrail.'''
3161
3405
  return typing.cast(typing.Optional[builtins.str], jsii.get(self, "kmsKeyId"))
3162
3406
 
3163
3407
  @kms_key_id.setter
@@ -3945,7 +4189,7 @@ class CfnTrailProps:
3945
4189
  :param insight_selectors: A JSON string that contains the Insights types you want to log on a trail. ``ApiCallRateInsight`` and ``ApiErrorRateInsight`` are valid Insight types. The ``ApiCallRateInsight`` Insights type analyzes write-only management API calls that are aggregated per minute against a baseline API call volume. The ``ApiErrorRateInsight`` Insights type analyzes management API calls that result in error codes. The error is shown if the API call is unsuccessful.
3946
4190
  :param is_multi_region_trail: Specifies whether the trail applies only to the current Region or to all Regions. The default is false. If the trail exists only in the current Region and this value is set to true, shadow trails (replications of the trail) will be created in the other Regions. If the trail exists in all Regions and this value is set to false, the trail will remain in the Region where it was created, and its shadow trails in other Regions will be deleted. As a best practice, consider using trails that log events in all Regions.
3947
4191
  :param is_organization_trail: Specifies whether the trail is applied to all accounts in an organization in AWS Organizations , or only for the current AWS account . The default is false, and cannot be true unless the call is made on behalf of an AWS account that is the management account for an organization in AWS Organizations . If the trail is not an organization trail and this is set to ``true`` , the trail will be created in all AWS accounts that belong to the organization. If the trail is an organization trail and this is set to ``false`` , the trail will remain in the current AWS account but be deleted from all member accounts in the organization. .. epigraph:: Only the management account for the organization can convert an organization trail to a non-organization trail, or convert a non-organization trail to an organization trail.
3948
- :param kms_key_id: Specifies the AWS KMS key ID to use to encrypt the logs delivered by CloudTrail. The value can be an alias name prefixed by "alias/", a fully specified ARN to an alias, a fully specified ARN to a key, or a globally unique identifier. CloudTrail also supports AWS KMS multi-Region keys. For more information about multi-Region keys, see `Using multi-Region keys <https://docs.aws.amazon.com/kms/latest/developerguide/multi-region-keys-overview.html>`_ in the *AWS Key Management Service Developer Guide* . Examples: - alias/MyAliasName - arn:aws:kms:us-east-2:123456789012:alias/MyAliasName - arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012 - 12345678-1234-1234-1234-123456789012
4192
+ :param kms_key_id: Specifies the AWS KMS key ID to use to encrypt the logs and digest files delivered by CloudTrail. The value can be an alias name prefixed by "alias/", a fully specified ARN to an alias, a fully specified ARN to a key, or a globally unique identifier. CloudTrail also supports AWS KMS multi-Region keys. For more information about multi-Region keys, see `Using multi-Region keys <https://docs.aws.amazon.com/kms/latest/developerguide/multi-region-keys-overview.html>`_ in the *AWS Key Management Service Developer Guide* . Examples: - alias/MyAliasName - arn:aws:kms:us-east-2:123456789012:alias/MyAliasName - arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012 - 12345678-1234-1234-1234-123456789012
3949
4193
  :param s3_key_prefix: Specifies the Amazon S3 key prefix that comes after the name of the bucket you have designated for log file delivery. For more information, see `Finding Your CloudTrail Log Files <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/get-and-view-cloudtrail-log-files.html#cloudtrail-find-log-files>`_ . The maximum length is 200 characters.
3950
4194
  :param sns_topic_name: Specifies the name or ARN of the Amazon SNS topic defined for notification of log file delivery. The maximum length is 256 characters.
3951
4195
  :param tags: A custom set of tags (key-value pairs) for this trail.
@@ -4222,7 +4466,7 @@ class CfnTrailProps:
4222
4466
 
4223
4467
  @builtins.property
4224
4468
  def kms_key_id(self) -> typing.Optional[builtins.str]:
4225
- '''Specifies the AWS KMS key ID to use to encrypt the logs delivered by CloudTrail.
4469
+ '''Specifies the AWS KMS key ID to use to encrypt the logs and digest files delivered by CloudTrail.
4226
4470
 
4227
4471
  The value can be an alias name prefixed by "alias/", a fully specified ARN to an alias, a fully specified ARN to a key, or a globally unique identifier.
4228
4472
 
@@ -4408,7 +4652,7 @@ class S3EventSelector:
4408
4652
  def __init__(
4409
4653
  self,
4410
4654
  *,
4411
- bucket: _IBucket_42e086fd,
4655
+ bucket: _IBucketRef_3debe44e,
4412
4656
  object_prefix: typing.Optional[builtins.str] = None,
4413
4657
  ) -> None:
4414
4658
  '''Selecting an S3 bucket and an optional prefix to be logged for data events.
@@ -4423,12 +4667,12 @@ class S3EventSelector:
4423
4667
  # The code below shows an example of how to instantiate this type.
4424
4668
  # The values are placeholders you should change.
4425
4669
  from aws_cdk import aws_cloudtrail as cloudtrail
4426
- from aws_cdk import aws_s3 as s3
4670
+ from aws_cdk.interfaces import aws_s3 as interfaces_aws_s3
4427
4671
 
4428
- # bucket: s3.Bucket
4672
+ # bucket_ref: interfaces_aws_s3.IBucketRef
4429
4673
 
4430
4674
  s3_event_selector = cloudtrail.S3EventSelector(
4431
- bucket=bucket,
4675
+ bucket=bucket_ref,
4432
4676
 
4433
4677
  # the properties below are optional
4434
4678
  object_prefix="objectPrefix"
@@ -4445,11 +4689,11 @@ class S3EventSelector:
4445
4689
  self._values["object_prefix"] = object_prefix
4446
4690
 
4447
4691
  @builtins.property
4448
- def bucket(self) -> _IBucket_42e086fd:
4692
+ def bucket(self) -> _IBucketRef_3debe44e:
4449
4693
  '''S3 bucket.'''
4450
4694
  result = self._values.get("bucket")
4451
4695
  assert result is not None, "Required property 'bucket' is missing"
4452
- return typing.cast(_IBucket_42e086fd, result)
4696
+ return typing.cast(_IBucketRef_3debe44e, result)
4453
4697
 
4454
4698
  @builtins.property
4455
4699
  def object_prefix(self) -> typing.Optional[builtins.str]:
@@ -4760,6 +5004,12 @@ class Trail(
4760
5004
 
4761
5005
  return typing.cast(None, jsii.invoke(self, "logAllS3DataEvents", [options]))
4762
5006
 
5007
+ @jsii.python.classproperty
5008
+ @jsii.member(jsii_name="PROPERTY_INJECTION_ID")
5009
+ def PROPERTY_INJECTION_ID(cls) -> builtins.str:
5010
+ '''Uniquely identifies this class.'''
5011
+ return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
5012
+
4763
5013
  @builtins.property
4764
5014
  @jsii.member(jsii_name="trailArn")
4765
5015
  def trail_arn(self) -> builtins.str:
@@ -5279,12 +5529,14 @@ def _typecheckingstub__058a94222b13ad44b4607ad5932ec9b6a2defcb250ff436576e6e8976
5279
5529
  *,
5280
5530
  advanced_event_selectors: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnEventDataStore.AdvancedEventSelectorProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
5281
5531
  billing_mode: typing.Optional[builtins.str] = None,
5532
+ context_key_selectors: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnEventDataStore.ContextKeySelectorProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
5282
5533
  federation_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
5283
5534
  federation_role_arn: typing.Optional[builtins.str] = None,
5284
5535
  ingestion_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
5285
5536
  insights_destination: typing.Optional[builtins.str] = None,
5286
5537
  insight_selectors: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnEventDataStore.InsightSelectorProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
5287
5538
  kms_key_id: typing.Optional[builtins.str] = None,
5539
+ max_event_size: typing.Optional[builtins.str] = None,
5288
5540
  multi_region_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
5289
5541
  name: typing.Optional[builtins.str] = None,
5290
5542
  organization_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
@@ -5319,6 +5571,12 @@ def _typecheckingstub__106939491635761bff083d6af3ca26d1723f9df71ec433399c5746554
5319
5571
  """Type checking stubs"""
5320
5572
  pass
5321
5573
 
5574
+ def _typecheckingstub__aa0ae30f8c5291a79387d1a2f7fb5c056fc8459c7878eb58241f52eba3a4762e(
5575
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnEventDataStore.ContextKeySelectorProperty]]]],
5576
+ ) -> None:
5577
+ """Type checking stubs"""
5578
+ pass
5579
+
5322
5580
  def _typecheckingstub__765513d5a073b76962f766e5dc1a967c4ad42a5bb2200d9f880aac945789b35d(
5323
5581
  value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
5324
5582
  ) -> None:
@@ -5355,6 +5613,12 @@ def _typecheckingstub__b2945b7a3d4af202bf1a8d8550ce4b17a1ab219e4dd829832fc9bd51a
5355
5613
  """Type checking stubs"""
5356
5614
  pass
5357
5615
 
5616
+ def _typecheckingstub__a69353bf46f46a1067b410e6f91c0033234561f53fceb13608d40dd90dd0832e(
5617
+ value: typing.Optional[builtins.str],
5618
+ ) -> None:
5619
+ """Type checking stubs"""
5620
+ pass
5621
+
5358
5622
  def _typecheckingstub__69742230d7479a5e2d180046d6dbe2ea4627b1fbe6861d248e8fa77f7c0dcd20(
5359
5623
  value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
5360
5624
  ) -> None:
@@ -5412,6 +5676,14 @@ def _typecheckingstub__13e48a5f3f6a4ee090f15046f2744cbdc1f623a943843b6e8cd72526e
5412
5676
  """Type checking stubs"""
5413
5677
  pass
5414
5678
 
5679
+ def _typecheckingstub__442b3465c9cf8a3aebc6597e8616078b26e24675af399050c52412909f6169e3(
5680
+ *,
5681
+ equal_to: typing.Sequence[builtins.str],
5682
+ type: builtins.str,
5683
+ ) -> None:
5684
+ """Type checking stubs"""
5685
+ pass
5686
+
5415
5687
  def _typecheckingstub__5dc8183d614f9c9498310cd377ff020cdc048d422b2548bbe678fc3c199d1dc6(
5416
5688
  *,
5417
5689
  insight_type: typing.Optional[builtins.str] = None,
@@ -5423,12 +5695,14 @@ def _typecheckingstub__bc172d8375a6bcb019f0df4a0d571d671956c64545dc03fc01f9ad66e
5423
5695
  *,
5424
5696
  advanced_event_selectors: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnEventDataStore.AdvancedEventSelectorProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
5425
5697
  billing_mode: typing.Optional[builtins.str] = None,
5698
+ context_key_selectors: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnEventDataStore.ContextKeySelectorProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
5426
5699
  federation_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
5427
5700
  federation_role_arn: typing.Optional[builtins.str] = None,
5428
5701
  ingestion_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
5429
5702
  insights_destination: typing.Optional[builtins.str] = None,
5430
5703
  insight_selectors: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnEventDataStore.InsightSelectorProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
5431
5704
  kms_key_id: typing.Optional[builtins.str] = None,
5705
+ max_event_size: typing.Optional[builtins.str] = None,
5432
5706
  multi_region_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
5433
5707
  name: typing.Optional[builtins.str] = None,
5434
5708
  organization_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
@@ -5505,6 +5779,22 @@ def _typecheckingstub__2259d5765ec84e4697f55f0d491871f1aa010feb94b3445a33a9e4b9f
5505
5779
  """Type checking stubs"""
5506
5780
  pass
5507
5781
 
5782
+ def _typecheckingstub__de13fd6629dabd92566f74df031bb3846b1f0c60616e28f88435c2f70ea1f0dd(
5783
+ scope: _constructs_77d1e7e8.Construct,
5784
+ id: builtins.str,
5785
+ arn: builtins.str,
5786
+ ) -> None:
5787
+ """Type checking stubs"""
5788
+ pass
5789
+
5790
+ def _typecheckingstub__de86420b3e78209dc350b0fda0b9e94a90b38d019fdd7b81692f6899942ea4ae(
5791
+ scope: _constructs_77d1e7e8.Construct,
5792
+ id: builtins.str,
5793
+ trail_name: builtins.str,
5794
+ ) -> None:
5795
+ """Type checking stubs"""
5796
+ pass
5797
+
5508
5798
  def _typecheckingstub__27c0b3977f3ce3e2ad80b21e158e38a08a45c6700ebeed895b3710e8c214a1bb(
5509
5799
  inspector: _TreeInspector_488e0dd5,
5510
5800
  ) -> None:
@@ -5689,7 +5979,7 @@ def _typecheckingstub__1cb2fd9327becb7b11bbb80f00762b693b18c3d8338685289adc8907f
5689
5979
 
5690
5980
  def _typecheckingstub__7d0df2bbec441689030ea9ec1ee0c490c06396957a77ed6d3353b714dbe525ea(
5691
5981
  *,
5692
- bucket: _IBucket_42e086fd,
5982
+ bucket: _IBucketRef_3debe44e,
5693
5983
  object_prefix: typing.Optional[builtins.str] = None,
5694
5984
  ) -> None:
5695
5985
  """Type checking stubs"""