@aws-cdk/mixins-preview 2.267.0-alpha.0 → 2.269.0-alpha.0

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.
Files changed (322) hide show
  1. package/.jsii.gz +0 -0
  2. package/.jsii.tabl.json.gz +0 -0
  3. package/.warnings.jsii.js +114 -218
  4. package/lib/services/aws-appmesh/events.generated.js +1 -1
  5. package/lib/services/aws-athena/events.generated.js +2 -2
  6. package/lib/services/aws-autoscaling/events.generated.js +8 -8
  7. package/lib/services/aws-b2bi/events.generated.js +4 -4
  8. package/lib/services/aws-b2bi/index.d.ts +0 -1
  9. package/lib/services/aws-b2bi/index.js +1 -2
  10. package/lib/services/aws-batch/events.generated.js +2 -2
  11. package/lib/services/aws-bedrock/logs-delivery-mixins.generated.d.ts +95 -376
  12. package/lib/services/aws-bedrock/logs-delivery-mixins.generated.js +118 -519
  13. package/lib/services/aws-bedrockagentcore/logs-delivery-mixins.generated.d.ts +295 -519
  14. package/lib/services/aws-bedrockagentcore/logs-delivery-mixins.generated.js +421 -727
  15. package/lib/services/aws-chime/events.generated.js +1 -1
  16. package/lib/services/aws-cloudformation/events.generated.js +1 -1
  17. package/lib/services/aws-cloudfront/logs-delivery-mixins.generated.d.ts +47 -11
  18. package/lib/services/aws-cloudfront/logs-delivery-mixins.generated.js +50 -14
  19. package/lib/services/aws-cloudwatch/events.generated.js +3 -3
  20. package/lib/services/aws-codebuild/events.generated.js +5 -5
  21. package/lib/services/aws-codecommit/events.generated.js +7 -7
  22. package/lib/services/aws-codedeploy/events.generated.js +2 -2
  23. package/lib/services/aws-codeguruprofiler/events.generated.js +1 -1
  24. package/lib/services/aws-codepipeline/events.generated.js +3 -3
  25. package/lib/services/aws-connect/events.generated.js +4 -4
  26. package/lib/services/aws-connect/index.d.ts +0 -1
  27. package/lib/services/aws-connect/index.js +1 -2
  28. package/lib/services/aws-dataexchange/.events.jsiirc.json +16 -0
  29. package/lib/services/aws-dataexchange/.jsiirc.json +16 -0
  30. package/lib/services/aws-dataexchange/events.generated.d.ts +1223 -0
  31. package/lib/services/aws-dataexchange/events.generated.js +739 -0
  32. package/lib/services/aws-datasync/events.generated.js +4 -4
  33. package/lib/services/aws-deadline/events.generated.js +1 -1
  34. package/lib/services/aws-devopsagent/logs-delivery-mixins.generated.d.ts +6 -4
  35. package/lib/services/aws-devopsagent/logs-delivery-mixins.generated.js +7 -5
  36. package/lib/services/aws-devopsguru/events.generated.js +5 -5
  37. package/lib/services/aws-dlm/events.generated.js +2 -2
  38. package/lib/services/aws-ec2/events.generated.js +8 -8
  39. package/lib/services/aws-ec2/logs-delivery-mixins.generated.d.ts +6 -606
  40. package/lib/services/aws-ec2/logs-delivery-mixins.generated.js +8 -901
  41. package/lib/services/aws-ecr/events.generated.js +7 -7
  42. package/lib/services/aws-ecs/.mixins.jsiirc.json +16 -0
  43. package/lib/services/aws-ecs/events.generated.js +5 -5
  44. package/lib/services/aws-ecs/index.d.ts +1 -0
  45. package/lib/services/aws-ecs/index.js +2 -1
  46. package/lib/services/aws-ecs/logs-delivery-mixins.generated.d.ts +134 -0
  47. package/lib/services/{aws-logs → aws-ecs}/logs-delivery-mixins.generated.js +49 -63
  48. package/lib/services/aws-eks/logs-delivery-mixins.generated.d.ts +366 -276
  49. package/lib/services/aws-eks/logs-delivery-mixins.generated.js +354 -264
  50. package/lib/services/aws-elasticache/events.generated.js +10 -10
  51. package/lib/services/aws-elasticloadbalancing/events.generated.js +1 -1
  52. package/lib/services/aws-elasticloadbalancingv2/logs-delivery-mixins.generated.d.ts +139 -139
  53. package/lib/services/aws-elasticloadbalancingv2/logs-delivery-mixins.generated.js +144 -144
  54. package/lib/services/aws-elementalinference/.jsiirc.json +16 -0
  55. package/lib/services/aws-elementalinference/.mixins.jsiirc.json +16 -0
  56. package/lib/services/{aws-cognito → aws-elementalinference}/logs-delivery-mixins.generated.d.ts +58 -32
  57. package/lib/services/{aws-cognito → aws-elementalinference}/logs-delivery-mixins.generated.js +68 -50
  58. package/lib/services/aws-emr/events.generated.js +7 -7
  59. package/lib/services/aws-entityresolution/logs-delivery-mixins.generated.d.ts +26 -10
  60. package/lib/services/aws-entityresolution/logs-delivery-mixins.generated.js +26 -10
  61. package/lib/services/aws-events/events.generated.js +1 -1
  62. package/lib/services/aws-events/logs-delivery-mixins.generated.d.ts +15 -12
  63. package/lib/services/aws-events/logs-delivery-mixins.generated.js +16 -13
  64. package/lib/services/aws-fis/events.generated.js +1 -1
  65. package/lib/services/aws-gamelift/events.generated.js +2 -2
  66. package/lib/services/aws-glue/events.generated.js +7 -7
  67. package/lib/services/aws-guardduty/events.generated.js +7 -7
  68. package/lib/services/aws-healthimaging/events.generated.js +20 -20
  69. package/lib/services/aws-healthlake/events.generated.js +14 -14
  70. package/lib/services/aws-imagebuilder/events.generated.js +3 -3
  71. package/lib/services/aws-iotanalytics/events.generated.js +3 -3
  72. package/lib/services/aws-ivs/events.generated.js +4 -4
  73. package/lib/services/aws-kms/events.generated.js +5 -5
  74. package/lib/services/aws-logs/events.generated.js +2 -2
  75. package/lib/services/aws-logs/index.d.ts +0 -1
  76. package/lib/services/aws-logs/index.js +1 -2
  77. package/lib/services/aws-logs/logs-delivery.js +5 -5
  78. package/lib/services/aws-logs/logs-destination.js +4 -4
  79. package/lib/services/aws-managedblockchain/events.generated.js +2 -2
  80. package/lib/services/aws-medialive/events.generated.js +6 -6
  81. package/lib/services/aws-mediapackage/events.generated.js +4 -4
  82. package/lib/services/aws-mediapackagev2/logs-delivery-mixins.generated.d.ts +65 -62
  83. package/lib/services/aws-mediapackagev2/logs-delivery-mixins.generated.js +84 -81
  84. package/lib/services/aws-mediatailor/logs-delivery-mixins.generated.d.ts +38 -14
  85. package/lib/services/aws-mediatailor/logs-delivery-mixins.generated.js +42 -18
  86. package/lib/services/aws-mgn/.events.jsiirc.json +16 -0
  87. package/lib/services/{aws-msk → aws-mgn}/.jsiirc.json +4 -4
  88. package/lib/services/aws-mgn/events.d.ts +1 -0
  89. package/lib/services/aws-mgn/events.generated.d.ts +100 -0
  90. package/lib/services/aws-mgn/events.generated.js +135 -0
  91. package/lib/services/aws-mgn/events.js +17 -0
  92. package/lib/services/aws-mgn/index.d.ts +1 -0
  93. package/lib/services/{aws-cleanrooms → aws-mgn}/index.js +2 -2
  94. package/lib/services/aws-networkfirewall/events.generated.js +3 -3
  95. package/lib/services/aws-networkfirewall/logs-delivery-mixins.generated.d.ts +197 -62
  96. package/lib/services/aws-networkfirewall/logs-delivery-mixins.generated.js +214 -103
  97. package/lib/services/aws-networkmanager/events.generated.js +3 -3
  98. package/lib/services/aws-omics/events.generated.js +18 -18
  99. package/lib/services/aws-opsworks/events.generated.js +4 -4
  100. package/lib/services/aws-organizations/events.generated.js +2 -2
  101. package/lib/services/aws-pcs/logs-delivery-mixins.generated.d.ts +89 -86
  102. package/lib/services/aws-pcs/logs-delivery-mixins.generated.js +104 -101
  103. package/lib/services/aws-qbusiness/logs-delivery-mixins.generated.d.ts +110 -97
  104. package/lib/services/aws-qbusiness/logs-delivery-mixins.generated.js +97 -84
  105. package/lib/services/aws-qldb/events.generated.js +1 -1
  106. package/lib/services/aws-rds/events.generated.js +7 -7
  107. package/lib/services/aws-route53recoveryreadiness/events.generated.js +6 -6
  108. package/lib/services/aws-route53resolver/events.generated.js +3 -3
  109. package/lib/services/{aws-cognito → aws-rtbfabric}/.jsiirc.json +4 -4
  110. package/lib/services/aws-rtbfabric/.mixins.jsiirc.json +16 -0
  111. package/lib/services/{aws-logs → aws-rtbfabric}/logs-delivery-mixins.generated.d.ts +48 -48
  112. package/lib/services/{aws-kafkaconnect → aws-rtbfabric}/logs-delivery-mixins.generated.js +74 -46
  113. package/lib/services/aws-s3/events.generated.js +12 -12
  114. package/lib/services/aws-s3/logs-delivery-mixins.generated.d.ts +1 -1
  115. package/lib/services/aws-s3/logs-delivery-mixins.generated.js +8 -8
  116. package/lib/services/aws-sagemaker/events.generated.d.ts +132 -151
  117. package/lib/services/aws-sagemaker/events.generated.js +94 -136
  118. package/lib/services/aws-sagemaker/index.d.ts +0 -1
  119. package/lib/services/aws-sagemaker/index.js +1 -2
  120. package/lib/services/aws-securityhub/.mixins.jsiirc.json +16 -0
  121. package/lib/services/aws-securityhub/events.generated.js +3 -3
  122. package/lib/services/aws-securityhub/index.d.ts +1 -0
  123. package/lib/services/aws-securityhub/index.js +2 -1
  124. package/lib/services/aws-securityhub/logs-delivery-mixins.generated.d.ts +177 -0
  125. package/lib/services/aws-securityhub/logs-delivery-mixins.generated.js +306 -0
  126. package/lib/services/aws-ses/events.generated.js +2 -2
  127. package/lib/services/aws-ses/logs-delivery-mixins.generated.d.ts +19 -14
  128. package/lib/services/aws-ses/logs-delivery-mixins.generated.js +21 -16
  129. package/lib/services/aws-shield/logs-delivery-mixins.generated.d.ts +5 -4
  130. package/lib/services/aws-shield/logs-delivery-mixins.generated.js +6 -5
  131. package/lib/services/aws-ssm/events.generated.js +1 -1
  132. package/lib/services/aws-storagegateway/events.generated.js +3 -3
  133. package/lib/services/aws-synthetics/events.generated.js +3 -3
  134. package/lib/services/aws-transcribe/events.generated.js +3 -3
  135. package/lib/services/aws-transfer/events.generated.js +56 -56
  136. package/lib/services/aws-transfer/index.d.ts +0 -1
  137. package/lib/services/aws-transfer/index.js +1 -2
  138. package/lib/services/aws-translate/.events.jsiirc.json +16 -0
  139. package/lib/services/{aws-ivschat → aws-translate}/.jsiirc.json +4 -4
  140. package/lib/services/aws-translate/events.d.ts +1 -0
  141. package/lib/services/aws-translate/events.generated.d.ts +102 -0
  142. package/lib/services/aws-translate/events.generated.js +96 -0
  143. package/lib/services/aws-translate/events.js +17 -0
  144. package/lib/services/aws-translate/index.d.ts +1 -0
  145. package/lib/services/aws-translate/index.js +37 -0
  146. package/lib/services/aws-voiceid/events.generated.js +9 -9
  147. package/lib/services/aws-wellarchitected/events.generated.js +1 -1
  148. package/lib/services/aws-wisdom/logs-delivery-mixins.generated.d.ts +7 -5
  149. package/lib/services/aws-wisdom/logs-delivery-mixins.generated.js +7 -5
  150. package/lib/services/aws-workspaces/events.generated.js +2 -2
  151. package/lib/services/aws-xray/events.generated.js +1 -1
  152. package/lib/services/index.d.ts +5 -19
  153. package/lib/services/index.js +7 -21
  154. package/package.json +22 -48
  155. package/lib/services/aws-apigateway/.jsiirc.json +0 -16
  156. package/lib/services/aws-apigateway/.mixins.jsiirc.json +0 -16
  157. package/lib/services/aws-apigateway/logs-delivery-mixins.generated.d.ts +0 -248
  158. package/lib/services/aws-apigateway/logs-delivery-mixins.generated.js +0 -382
  159. package/lib/services/aws-aps/.jsiirc.json +0 -16
  160. package/lib/services/aws-aps/.mixins.jsiirc.json +0 -16
  161. package/lib/services/aws-aps/logs-delivery-mixins.generated.d.ts +0 -227
  162. package/lib/services/aws-aps/logs-delivery-mixins.generated.js +0 -400
  163. package/lib/services/aws-b2bi/.mixins.jsiirc.json +0 -16
  164. package/lib/services/aws-b2bi/logs-delivery-mixins.generated.d.ts +0 -121
  165. package/lib/services/aws-b2bi/logs-delivery-mixins.generated.js +0 -226
  166. package/lib/services/aws-backupgateway/.jsiirc.json +0 -16
  167. package/lib/services/aws-backupgateway/.mixins.jsiirc.json +0 -16
  168. package/lib/services/aws-backupgateway/index.d.ts +0 -1
  169. package/lib/services/aws-backupgateway/index.js +0 -37
  170. package/lib/services/aws-backupgateway/logs-delivery-mixins.generated.d.ts +0 -194
  171. package/lib/services/aws-backupgateway/logs-delivery-mixins.generated.js +0 -344
  172. package/lib/services/aws-cleanrooms/.jsiirc.json +0 -16
  173. package/lib/services/aws-cleanrooms/.mixins.jsiirc.json +0 -16
  174. package/lib/services/aws-cleanrooms/index.d.ts +0 -1
  175. package/lib/services/aws-cleanrooms/logs-delivery-mixins.generated.d.ts +0 -112
  176. package/lib/services/aws-cleanrooms/logs-delivery-mixins.generated.js +0 -217
  177. package/lib/services/aws-cleanrooms/mixins.d.ts +0 -1
  178. package/lib/services/aws-cleanrooms/mixins.js +0 -17
  179. package/lib/services/aws-cognito/.mixins.jsiirc.json +0 -16
  180. package/lib/services/aws-cognito/index.d.ts +0 -1
  181. package/lib/services/aws-cognito/index.js +0 -37
  182. package/lib/services/aws-cognito/mixins.d.ts +0 -1
  183. package/lib/services/aws-cognito/mixins.js +0 -17
  184. package/lib/services/aws-connect/.mixins.jsiirc.json +0 -16
  185. package/lib/services/aws-connect/logs-delivery-mixins.generated.d.ts +0 -156
  186. package/lib/services/aws-connect/logs-delivery-mixins.generated.js +0 -253
  187. package/lib/services/aws-connect/mixins.d.ts +0 -1
  188. package/lib/services/aws-connect/mixins.js +0 -17
  189. package/lib/services/aws-iotfleetwise/.jsiirc.json +0 -16
  190. package/lib/services/aws-iotfleetwise/.mixins.jsiirc.json +0 -16
  191. package/lib/services/aws-iotfleetwise/index.d.ts +0 -1
  192. package/lib/services/aws-iotfleetwise/index.js +0 -37
  193. package/lib/services/aws-iotfleetwise/logs-delivery-mixins.generated.d.ts +0 -231
  194. package/lib/services/aws-iotfleetwise/logs-delivery-mixins.generated.js +0 -404
  195. package/lib/services/aws-iotfleetwise/mixins.d.ts +0 -1
  196. package/lib/services/aws-iotfleetwise/mixins.js +0 -17
  197. package/lib/services/aws-ivschat/.mixins.jsiirc.json +0 -16
  198. package/lib/services/aws-ivschat/index.d.ts +0 -1
  199. package/lib/services/aws-ivschat/index.js +0 -37
  200. package/lib/services/aws-ivschat/logs-delivery-mixins.generated.d.ts +0 -114
  201. package/lib/services/aws-ivschat/logs-delivery-mixins.generated.js +0 -219
  202. package/lib/services/aws-ivschat/mixins.d.ts +0 -1
  203. package/lib/services/aws-ivschat/mixins.js +0 -17
  204. package/lib/services/aws-kafkaconnect/.jsiirc.json +0 -16
  205. package/lib/services/aws-kafkaconnect/.mixins.jsiirc.json +0 -16
  206. package/lib/services/aws-kafkaconnect/index.d.ts +0 -1
  207. package/lib/services/aws-kafkaconnect/index.js +0 -37
  208. package/lib/services/aws-kafkaconnect/logs-delivery-mixins.generated.d.ts +0 -112
  209. package/lib/services/aws-kafkaconnect/mixins.d.ts +0 -1
  210. package/lib/services/aws-kafkaconnect/mixins.js +0 -17
  211. package/lib/services/aws-logs/.mixins.jsiirc.json +0 -16
  212. package/lib/services/aws-logs/mixins.d.ts +0 -1
  213. package/lib/services/aws-logs/mixins.js +0 -17
  214. package/lib/services/aws-m2/.jsiirc.json +0 -16
  215. package/lib/services/aws-m2/.mixins.jsiirc.json +0 -16
  216. package/lib/services/aws-m2/index.d.ts +0 -1
  217. package/lib/services/aws-m2/index.js +0 -37
  218. package/lib/services/aws-m2/logs-delivery-mixins.generated.d.ts +0 -354
  219. package/lib/services/aws-m2/logs-delivery-mixins.generated.js +0 -594
  220. package/lib/services/aws-m2/mixins.d.ts +0 -1
  221. package/lib/services/aws-m2/mixins.js +0 -17
  222. package/lib/services/aws-msk/.mixins.jsiirc.json +0 -16
  223. package/lib/services/aws-msk/index.d.ts +0 -1
  224. package/lib/services/aws-msk/index.js +0 -37
  225. package/lib/services/aws-msk/logs-delivery-mixins.generated.d.ts +0 -245
  226. package/lib/services/aws-msk/logs-delivery-mixins.generated.js +0 -410
  227. package/lib/services/aws-msk/mixins.d.ts +0 -1
  228. package/lib/services/aws-msk/mixins.js +0 -17
  229. package/lib/services/aws-osis/.jsiirc.json +0 -16
  230. package/lib/services/aws-osis/.mixins.jsiirc.json +0 -16
  231. package/lib/services/aws-osis/index.d.ts +0 -1
  232. package/lib/services/aws-osis/index.js +0 -37
  233. package/lib/services/aws-osis/logs-delivery-mixins.generated.d.ts +0 -112
  234. package/lib/services/aws-osis/logs-delivery-mixins.generated.js +0 -217
  235. package/lib/services/aws-osis/mixins.d.ts +0 -1
  236. package/lib/services/aws-osis/mixins.js +0 -17
  237. package/lib/services/aws-pipes/.jsiirc.json +0 -16
  238. package/lib/services/aws-pipes/.mixins.jsiirc.json +0 -16
  239. package/lib/services/aws-pipes/index.d.ts +0 -1
  240. package/lib/services/aws-pipes/index.js +0 -37
  241. package/lib/services/aws-pipes/logs-delivery-mixins.generated.d.ts +0 -116
  242. package/lib/services/aws-pipes/logs-delivery-mixins.generated.js +0 -221
  243. package/lib/services/aws-pipes/mixins.d.ts +0 -1
  244. package/lib/services/aws-pipes/mixins.js +0 -17
  245. package/lib/services/aws-route53globalresolver/.jsiirc.json +0 -16
  246. package/lib/services/aws-route53globalresolver/.mixins.jsiirc.json +0 -16
  247. package/lib/services/aws-route53globalresolver/index.d.ts +0 -1
  248. package/lib/services/aws-route53globalresolver/index.js +0 -37
  249. package/lib/services/aws-route53globalresolver/logs-delivery-mixins.generated.d.ts +0 -166
  250. package/lib/services/aws-route53globalresolver/logs-delivery-mixins.generated.js +0 -263
  251. package/lib/services/aws-route53globalresolver/mixins.d.ts +0 -1
  252. package/lib/services/aws-route53globalresolver/mixins.js +0 -17
  253. package/lib/services/aws-route53profiles/.jsiirc.json +0 -16
  254. package/lib/services/aws-route53profiles/.mixins.jsiirc.json +0 -16
  255. package/lib/services/aws-route53profiles/index.d.ts +0 -1
  256. package/lib/services/aws-route53profiles/index.js +0 -37
  257. package/lib/services/aws-route53profiles/logs-delivery-mixins.generated.d.ts +0 -112
  258. package/lib/services/aws-route53profiles/logs-delivery-mixins.generated.js +0 -217
  259. package/lib/services/aws-route53profiles/mixins.d.ts +0 -1
  260. package/lib/services/aws-route53profiles/mixins.js +0 -17
  261. package/lib/services/aws-rum/.jsiirc.json +0 -16
  262. package/lib/services/aws-rum/.mixins.jsiirc.json +0 -16
  263. package/lib/services/aws-rum/index.d.ts +0 -1
  264. package/lib/services/aws-rum/index.js +0 -37
  265. package/lib/services/aws-rum/logs-delivery-mixins.generated.d.ts +0 -276
  266. package/lib/services/aws-rum/logs-delivery-mixins.generated.js +0 -471
  267. package/lib/services/aws-rum/mixins.d.ts +0 -1
  268. package/lib/services/aws-rum/mixins.js +0 -17
  269. package/lib/services/aws-sagemaker/.mixins.jsiirc.json +0 -16
  270. package/lib/services/aws-sagemaker/logs-delivery-mixins.generated.d.ts +0 -99
  271. package/lib/services/aws-sagemaker/logs-delivery-mixins.generated.js +0 -192
  272. package/lib/services/aws-sagemaker/mixins.d.ts +0 -1
  273. package/lib/services/aws-sagemaker/mixins.js +0 -17
  274. package/lib/services/aws-states/.events.jsiirc.json +0 -16
  275. package/lib/services/aws-states/.jsiirc.json +0 -16
  276. package/lib/services/aws-states/events.generated.d.ts +0 -555
  277. package/lib/services/aws-states/events.generated.js +0 -265
  278. package/lib/services/aws-stepfunctions/.jsiirc.json +0 -16
  279. package/lib/services/aws-stepfunctions/.mixins.jsiirc.json +0 -16
  280. package/lib/services/aws-stepfunctions/index.d.ts +0 -1
  281. package/lib/services/aws-stepfunctions/index.js +0 -37
  282. package/lib/services/aws-stepfunctions/logs-delivery-mixins.generated.d.ts +0 -162
  283. package/lib/services/aws-stepfunctions/logs-delivery-mixins.generated.js +0 -268
  284. package/lib/services/aws-stepfunctions/mixins.d.ts +0 -1
  285. package/lib/services/aws-stepfunctions/mixins.js +0 -17
  286. package/lib/services/aws-transfer/.mixins.jsiirc.json +0 -16
  287. package/lib/services/aws-transfer/logs-delivery-mixins.generated.d.ts +0 -114
  288. package/lib/services/aws-transfer/logs-delivery-mixins.generated.js +0 -219
  289. package/lib/services/aws-transfer/mixins.d.ts +0 -1
  290. package/lib/services/aws-transfer/mixins.js +0 -17
  291. package/lib/services/aws-vpclattice/.jsiirc.json +0 -16
  292. package/lib/services/aws-vpclattice/.mixins.jsiirc.json +0 -16
  293. package/lib/services/aws-vpclattice/index.d.ts +0 -1
  294. package/lib/services/aws-vpclattice/index.js +0 -37
  295. package/lib/services/aws-vpclattice/logs-delivery-mixins.generated.d.ts +0 -225
  296. package/lib/services/aws-vpclattice/logs-delivery-mixins.generated.js +0 -398
  297. package/lib/services/aws-vpclattice/mixins.d.ts +0 -1
  298. package/lib/services/aws-vpclattice/mixins.js +0 -17
  299. package/lib/services/aws-wafv2/.jsiirc.json +0 -16
  300. package/lib/services/aws-wafv2/.mixins.jsiirc.json +0 -16
  301. package/lib/services/aws-wafv2/index.d.ts +0 -1
  302. package/lib/services/aws-wafv2/index.js +0 -37
  303. package/lib/services/aws-wafv2/logs-delivery-mixins.generated.d.ts +0 -212
  304. package/lib/services/aws-wafv2/logs-delivery-mixins.generated.js +0 -362
  305. package/lib/services/aws-wafv2/mixins.d.ts +0 -1
  306. package/lib/services/aws-wafv2/mixins.js +0 -17
  307. /package/lib/services/{aws-states → aws-dataexchange}/events.d.ts +0 -0
  308. /package/lib/services/{aws-states → aws-dataexchange}/events.js +0 -0
  309. /package/lib/services/{aws-states → aws-dataexchange}/index.d.ts +0 -0
  310. /package/lib/services/{aws-states → aws-dataexchange}/index.js +0 -0
  311. /package/lib/services/{aws-apigateway → aws-ecs}/mixins.d.ts +0 -0
  312. /package/lib/services/{aws-apigateway → aws-ecs}/mixins.js +0 -0
  313. /package/lib/services/{aws-apigateway → aws-elementalinference}/index.d.ts +0 -0
  314. /package/lib/services/{aws-apigateway → aws-elementalinference}/index.js +0 -0
  315. /package/lib/services/{aws-aps → aws-elementalinference}/mixins.d.ts +0 -0
  316. /package/lib/services/{aws-aps → aws-elementalinference}/mixins.js +0 -0
  317. /package/lib/services/{aws-aps → aws-rtbfabric}/index.d.ts +0 -0
  318. /package/lib/services/{aws-aps → aws-rtbfabric}/index.js +0 -0
  319. /package/lib/services/{aws-b2bi → aws-rtbfabric}/mixins.d.ts +0 -0
  320. /package/lib/services/{aws-b2bi → aws-rtbfabric}/mixins.js +0 -0
  321. /package/lib/services/{aws-backupgateway → aws-securityhub}/mixins.d.ts +0 -0
  322. /package/lib/services/{aws-backupgateway → aws-securityhub}/mixins.js +0 -0
@@ -7,7 +7,7 @@ const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
7
7
  * EventBridge event pattern for aws.securityhub@SecurityHubFindingsCustomAction
8
8
  */
9
9
  class SecurityHubFindingsCustomAction {
10
- static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_securityhub.events.SecurityHubFindingsCustomAction", version: "2.267.0-alpha.0" };
10
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_securityhub.events.SecurityHubFindingsCustomAction", version: "2.269.0-alpha.0" };
11
11
  /**
12
12
  * EventBridge event pattern for Security Hub Findings - Custom Action
13
13
  */
@@ -50,7 +50,7 @@ function convertSecurityHubFindingsCustomActionDetailToEventPattern(obj) {
50
50
  * EventBridge event pattern for aws.securityhub@SecurityHubFindingsImported
51
51
  */
52
52
  class SecurityHubFindingsImported {
53
- static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_securityhub.events.SecurityHubFindingsImported", version: "2.267.0-alpha.0" };
53
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_securityhub.events.SecurityHubFindingsImported", version: "2.269.0-alpha.0" };
54
54
  /**
55
55
  * EventBridge event pattern for Security Hub Findings - Imported
56
56
  */
@@ -93,7 +93,7 @@ function convertSecurityHubFindingsImportedDetailToEventPattern(obj) {
93
93
  * EventBridge event pattern for aws.securityhub@SecurityHubInsightResults
94
94
  */
95
95
  class SecurityHubInsightResults {
96
- static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_securityhub.events.SecurityHubInsightResults", version: "2.267.0-alpha.0" };
96
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_securityhub.events.SecurityHubInsightResults", version: "2.269.0-alpha.0" };
97
97
  /**
98
98
  * EventBridge event pattern for Security Hub Insight Results
99
99
  */
@@ -1 +1,2 @@
1
1
  export * as events from './events';
2
+ export * as mixins from './mixins';
@@ -33,5 +33,6 @@ var __importStar = (this && this.__importStar) || (function () {
33
33
  };
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.events = void 0;
36
+ exports.mixins = exports.events = void 0;
37
37
  exports.events = __importStar(require("./events"));
38
+ exports.mixins = __importStar(require("./mixins"));
@@ -0,0 +1,177 @@
1
+ import * as cdk from "aws-cdk-lib/core";
2
+ import * as interfaces from "aws-cdk-lib/interfaces";
3
+ import * as constructs from "constructs";
4
+ import * as logsDelivery from "../aws-logs/logs-delivery";
5
+ import * as service from "aws-cdk-lib/aws-securityhub";
6
+ /**
7
+ * Builder for CfnHubLogsMixin to generate SECURITY_FINDING_LOGS for CfnHub
8
+ *
9
+ * @cloudformationResource AWS::SecurityHub::Hub
10
+ * @logType SECURITY_FINDING_LOGS
11
+ * @stability external
12
+ */
13
+ export declare class CfnHubSecurityFindingLogs {
14
+ /**
15
+ * Send logs to a CloudWatch Log Group
16
+ *
17
+ * @param props Additional properties that are optionally used in log delivery for Log Group destinations
18
+ */
19
+ toLogGroup(logGroup: interfaces.aws_logs.ILogGroupRef, props?: CfnHubSecurityFindingLogsLogGroupProps): CfnHubLogsMixin;
20
+ /**
21
+ * Delivers logs to a pre-created delivery destination
22
+ *
23
+ * Supported destinations are CWL
24
+ * You are responsible for setting up the correct permissions for your delivery destination, toDestination() does not set up any permissions for you.
25
+ * Delivery destinations that are imported from another stack using CfnDeliveryDestination.fromDeliveryDestinationArn() or CfnDeliveryDestination.fromDeliveryDestinationName() are supported by toDestination().
26
+ *
27
+ * @param props Additional properties that are optionally used in log delivery for destinations
28
+ */
29
+ toDestination(destination: interfaces.aws_logs.IDeliveryDestinationRef, props?: CfnHubSecurityFindingLogsDestProps): CfnHubLogsMixin;
30
+ }
31
+ /**
32
+ * The `AWS::SecurityHub::Hub` resource specifies the enablement of the AWS Security Hub CSPM service in your AWS account .
33
+ *
34
+ * The service is enabled in the current AWS Region or the specified Region. You create a separate `Hub` resource in each Region in which you want to enable Security Hub CSPM .
35
+ *
36
+ * When you use this resource to enable Security Hub CSPM , default security standards are enabled. To disable default standards, set the `EnableDefaultStandards` property to `false` . You can use the [`AWS::SecurityHub::Standard`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-standard.html) resource to enable additional standards.
37
+ *
38
+ * When you use this resource to enable Security Hub CSPM , new controls are automatically enabled for your enabled standards. To disable automatic enablement of new controls, set the `AutoEnableControls` property to `false` .
39
+ *
40
+ * You must create an `AWS::SecurityHub::Hub` resource for an account before you can create other types of Security Hub CSPM resources for the account through CloudFormation . Use a [DependsOn attribute](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-dependson.html) , such as `"DependsOn": "Hub"` , to ensure that you've created an `AWS::SecurityHub::Hub` resource before creating other Security Hub CSPM resources for an account.
41
+ *
42
+ * @cloudformationResource AWS::SecurityHub::Hub
43
+ * @mixin true
44
+ * @stability external
45
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-hub.html
46
+ */
47
+ export declare class CfnHubLogsMixin extends cdk.Mixin implements constructs.IMixin {
48
+ static readonly SECURITY_FINDING_LOGS: CfnHubSecurityFindingLogs;
49
+ protected readonly logType: string;
50
+ protected readonly logDelivery: logsDelivery.ILogsDelivery;
51
+ /**
52
+ * Create a mixin to enable vended logs for `AWS::SecurityHub::Hub`.
53
+ *
54
+ * @param logType Type of logs that are getting vended
55
+ * @param logDelivery Object in charge of setting up the delivery source, delivery destination, and delivery connection
56
+ */
57
+ constructor(logType: string, logDelivery: logsDelivery.ILogsDelivery);
58
+ /**
59
+ * Check if this mixin supports the given construct (has vendedLogs property)
60
+ */
61
+ supports(construct: constructs.IConstruct): construct is service.CfnHub;
62
+ /**
63
+ * Apply vended logs configuration to the construct
64
+ */
65
+ applyTo(resource: constructs.IConstruct): void;
66
+ }
67
+ /**
68
+ * Output Format options for each destination of CfnHubSecurityFindingLogs.
69
+ */
70
+ export declare class CfnHubSecurityFindingLogsOutputFormat {
71
+ }
72
+ export declare namespace CfnHubSecurityFindingLogsOutputFormat {
73
+ enum LogGroup {
74
+ PLAIN = "plain"
75
+ }
76
+ }
77
+ export declare enum CfnHubSecurityFindingLogsRecordFields {
78
+ EVENT = "event"
79
+ }
80
+ export interface CfnHubSecurityFindingLogsLogGroupProps {
81
+ /**
82
+ * Format for log output, options are plain
83
+ */
84
+ readonly outputFormat?: CfnHubSecurityFindingLogsOutputFormat.LogGroup;
85
+ /**
86
+ * Record fields that can be provided to a log delivery
87
+ */
88
+ readonly recordFields?: Array<CfnHubSecurityFindingLogsRecordFields>;
89
+ }
90
+ export interface CfnHubSecurityFindingLogsDestProps {
91
+ /**
92
+ * Record fields that can be provided to a log delivery
93
+ */
94
+ readonly recordFields?: Array<CfnHubSecurityFindingLogsRecordFields>;
95
+ }
96
+ /**
97
+ * Builder for CfnHubV2LogsMixin to generate SECURITY_FINDING_LOGS for CfnHubV2
98
+ *
99
+ * @cloudformationResource AWS::SecurityHub::HubV2
100
+ * @logType SECURITY_FINDING_LOGS
101
+ * @stability external
102
+ */
103
+ export declare class CfnHubV2SecurityFindingLogs {
104
+ /**
105
+ * Send logs to a CloudWatch Log Group
106
+ *
107
+ * @param props Additional properties that are optionally used in log delivery for Log Group destinations
108
+ */
109
+ toLogGroup(logGroup: interfaces.aws_logs.ILogGroupRef, props?: CfnHubV2SecurityFindingLogsLogGroupProps): CfnHubV2LogsMixin;
110
+ /**
111
+ * Delivers logs to a pre-created delivery destination
112
+ *
113
+ * Supported destinations are CWL
114
+ * You are responsible for setting up the correct permissions for your delivery destination, toDestination() does not set up any permissions for you.
115
+ * Delivery destinations that are imported from another stack using CfnDeliveryDestination.fromDeliveryDestinationArn() or CfnDeliveryDestination.fromDeliveryDestinationName() are supported by toDestination().
116
+ *
117
+ * @param props Additional properties that are optionally used in log delivery for destinations
118
+ */
119
+ toDestination(destination: interfaces.aws_logs.IDeliveryDestinationRef, props?: CfnHubV2SecurityFindingLogsDestProps): CfnHubV2LogsMixin;
120
+ }
121
+ /**
122
+ * Returns details about the service resource in your account.
123
+ *
124
+ * @cloudformationResource AWS::SecurityHub::HubV2
125
+ * @mixin true
126
+ * @stability external
127
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-hubv2.html
128
+ */
129
+ export declare class CfnHubV2LogsMixin extends cdk.Mixin implements constructs.IMixin {
130
+ static readonly SECURITY_FINDING_LOGS: CfnHubV2SecurityFindingLogs;
131
+ protected readonly logType: string;
132
+ protected readonly logDelivery: logsDelivery.ILogsDelivery;
133
+ /**
134
+ * Create a mixin to enable vended logs for `AWS::SecurityHub::HubV2`.
135
+ *
136
+ * @param logType Type of logs that are getting vended
137
+ * @param logDelivery Object in charge of setting up the delivery source, delivery destination, and delivery connection
138
+ */
139
+ constructor(logType: string, logDelivery: logsDelivery.ILogsDelivery);
140
+ /**
141
+ * Check if this mixin supports the given construct (has vendedLogs property)
142
+ */
143
+ supports(construct: constructs.IConstruct): construct is service.CfnHubV2;
144
+ /**
145
+ * Apply vended logs configuration to the construct
146
+ */
147
+ applyTo(resource: constructs.IConstruct): void;
148
+ }
149
+ /**
150
+ * Output Format options for each destination of CfnHubV2SecurityFindingLogs.
151
+ */
152
+ export declare class CfnHubV2SecurityFindingLogsOutputFormat {
153
+ }
154
+ export declare namespace CfnHubV2SecurityFindingLogsOutputFormat {
155
+ enum LogGroup {
156
+ PLAIN = "plain"
157
+ }
158
+ }
159
+ export declare enum CfnHubV2SecurityFindingLogsRecordFields {
160
+ EVENT = "event"
161
+ }
162
+ export interface CfnHubV2SecurityFindingLogsLogGroupProps {
163
+ /**
164
+ * Format for log output, options are plain
165
+ */
166
+ readonly outputFormat?: CfnHubV2SecurityFindingLogsOutputFormat.LogGroup;
167
+ /**
168
+ * Record fields that can be provided to a log delivery
169
+ */
170
+ readonly recordFields?: Array<CfnHubV2SecurityFindingLogsRecordFields>;
171
+ }
172
+ export interface CfnHubV2SecurityFindingLogsDestProps {
173
+ /**
174
+ * Record fields that can be provided to a log delivery
175
+ */
176
+ readonly recordFields?: Array<CfnHubV2SecurityFindingLogsRecordFields>;
177
+ }
@@ -0,0 +1,306 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.CfnHubV2SecurityFindingLogsRecordFields = exports.CfnHubV2SecurityFindingLogsOutputFormat = exports.CfnHubV2LogsMixin = exports.CfnHubV2SecurityFindingLogs = exports.CfnHubSecurityFindingLogsRecordFields = exports.CfnHubSecurityFindingLogsOutputFormat = exports.CfnHubLogsMixin = exports.CfnHubSecurityFindingLogs = void 0;
37
+ const jsiiDeprecationWarnings = require("../../../.warnings.jsii.js");
38
+ const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
39
+ /* eslint-disable @stylistic/max-len, eol-last */
40
+ const cdk = __importStar(require("aws-cdk-lib/core"));
41
+ const logsDelivery = __importStar(require("../aws-logs/logs-delivery"));
42
+ const service = __importStar(require("aws-cdk-lib/aws-securityhub"));
43
+ /**
44
+ * Builder for CfnHubLogsMixin to generate SECURITY_FINDING_LOGS for CfnHub
45
+ *
46
+ * @cloudformationResource AWS::SecurityHub::Hub
47
+ * @logType SECURITY_FINDING_LOGS
48
+ * @stability external
49
+ */
50
+ class CfnHubSecurityFindingLogs {
51
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_securityhub.mixins.CfnHubSecurityFindingLogs", version: "2.269.0-alpha.0" };
52
+ /**
53
+ * Send logs to a CloudWatch Log Group
54
+ *
55
+ * @param props Additional properties that are optionally used in log delivery for Log Group destinations
56
+ */
57
+ toLogGroup(logGroup, props) {
58
+ try {
59
+ jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_securityhub_mixins_CfnHubSecurityFindingLogsLogGroupProps(props);
60
+ }
61
+ catch (error) {
62
+ if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
63
+ Error.captureStackTrace(error, this.toLogGroup);
64
+ }
65
+ throw error;
66
+ }
67
+ {
68
+ return new CfnHubLogsMixin("SECURITY_FINDING_LOGS", new logsDelivery.LogGroupLogsDelivery(logGroup, {
69
+ outputFormat: props?.outputFormat,
70
+ providedFields: props?.recordFields,
71
+ mandatoryFields: ["event"]
72
+ }));
73
+ }
74
+ }
75
+ /**
76
+ * Delivers logs to a pre-created delivery destination
77
+ *
78
+ * Supported destinations are CWL
79
+ * You are responsible for setting up the correct permissions for your delivery destination, toDestination() does not set up any permissions for you.
80
+ * Delivery destinations that are imported from another stack using CfnDeliveryDestination.fromDeliveryDestinationArn() or CfnDeliveryDestination.fromDeliveryDestinationName() are supported by toDestination().
81
+ *
82
+ * @param props Additional properties that are optionally used in log delivery for destinations
83
+ */
84
+ toDestination(destination, props) {
85
+ try {
86
+ jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_securityhub_mixins_CfnHubSecurityFindingLogsDestProps(props);
87
+ }
88
+ catch (error) {
89
+ if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
90
+ Error.captureStackTrace(error, this.toDestination);
91
+ }
92
+ throw error;
93
+ }
94
+ {
95
+ return new CfnHubLogsMixin("SECURITY_FINDING_LOGS", new logsDelivery.DestinationLogsDelivery(destination, {
96
+ providedFields: props?.recordFields,
97
+ mandatoryFields: ["event"]
98
+ }));
99
+ }
100
+ }
101
+ }
102
+ exports.CfnHubSecurityFindingLogs = CfnHubSecurityFindingLogs;
103
+ /**
104
+ * The `AWS::SecurityHub::Hub` resource specifies the enablement of the AWS Security Hub CSPM service in your AWS account .
105
+ *
106
+ * The service is enabled in the current AWS Region or the specified Region. You create a separate `Hub` resource in each Region in which you want to enable Security Hub CSPM .
107
+ *
108
+ * When you use this resource to enable Security Hub CSPM , default security standards are enabled. To disable default standards, set the `EnableDefaultStandards` property to `false` . You can use the [`AWS::SecurityHub::Standard`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-standard.html) resource to enable additional standards.
109
+ *
110
+ * When you use this resource to enable Security Hub CSPM , new controls are automatically enabled for your enabled standards. To disable automatic enablement of new controls, set the `AutoEnableControls` property to `false` .
111
+ *
112
+ * You must create an `AWS::SecurityHub::Hub` resource for an account before you can create other types of Security Hub CSPM resources for the account through CloudFormation . Use a [DependsOn attribute](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-dependson.html) , such as `"DependsOn": "Hub"` , to ensure that you've created an `AWS::SecurityHub::Hub` resource before creating other Security Hub CSPM resources for an account.
113
+ *
114
+ * @cloudformationResource AWS::SecurityHub::Hub
115
+ * @mixin true
116
+ * @stability external
117
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-hub.html
118
+ */
119
+ class CfnHubLogsMixin extends cdk.Mixin {
120
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_securityhub.mixins.CfnHubLogsMixin", version: "2.269.0-alpha.0" };
121
+ static SECURITY_FINDING_LOGS = new CfnHubSecurityFindingLogs();
122
+ logType;
123
+ logDelivery;
124
+ /**
125
+ * Create a mixin to enable vended logs for `AWS::SecurityHub::Hub`.
126
+ *
127
+ * @param logType Type of logs that are getting vended
128
+ * @param logDelivery Object in charge of setting up the delivery source, delivery destination, and delivery connection
129
+ */
130
+ constructor(logType, logDelivery) {
131
+ super();
132
+ try {
133
+ jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_logs_ILogsDelivery(logDelivery);
134
+ }
135
+ catch (error) {
136
+ if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
137
+ Error.captureStackTrace(error, CfnHubLogsMixin);
138
+ }
139
+ throw error;
140
+ }
141
+ this.logType = logType;
142
+ this.logDelivery = logDelivery;
143
+ }
144
+ /**
145
+ * Check if this mixin supports the given construct (has vendedLogs property)
146
+ */
147
+ supports(construct) {
148
+ return (cdk.CfnResource.isCfnResource(construct) && service.CfnHub.isCfnHub(construct));
149
+ }
150
+ /**
151
+ * Apply vended logs configuration to the construct
152
+ */
153
+ applyTo(resource) {
154
+ if (!this.supports(resource)) {
155
+ return;
156
+ }
157
+ const sourceArn = service.CfnHub.arnForHub(resource);
158
+ this.logDelivery.bind(resource, this.logType, sourceArn);
159
+ }
160
+ }
161
+ exports.CfnHubLogsMixin = CfnHubLogsMixin;
162
+ /**
163
+ * Output Format options for each destination of CfnHubSecurityFindingLogs.
164
+ */
165
+ class CfnHubSecurityFindingLogsOutputFormat {
166
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_securityhub.mixins.CfnHubSecurityFindingLogsOutputFormat", version: "2.269.0-alpha.0" };
167
+ }
168
+ exports.CfnHubSecurityFindingLogsOutputFormat = CfnHubSecurityFindingLogsOutputFormat;
169
+ (function (CfnHubSecurityFindingLogsOutputFormat) {
170
+ let LogGroup;
171
+ (function (LogGroup) {
172
+ LogGroup["PLAIN"] = "plain";
173
+ })(LogGroup = CfnHubSecurityFindingLogsOutputFormat.LogGroup || (CfnHubSecurityFindingLogsOutputFormat.LogGroup = {}));
174
+ })(CfnHubSecurityFindingLogsOutputFormat || (exports.CfnHubSecurityFindingLogsOutputFormat = CfnHubSecurityFindingLogsOutputFormat = {}));
175
+ var CfnHubSecurityFindingLogsRecordFields;
176
+ (function (CfnHubSecurityFindingLogsRecordFields) {
177
+ CfnHubSecurityFindingLogsRecordFields["EVENT"] = "event";
178
+ })(CfnHubSecurityFindingLogsRecordFields || (exports.CfnHubSecurityFindingLogsRecordFields = CfnHubSecurityFindingLogsRecordFields = {}));
179
+ /**
180
+ * Builder for CfnHubV2LogsMixin to generate SECURITY_FINDING_LOGS for CfnHubV2
181
+ *
182
+ * @cloudformationResource AWS::SecurityHub::HubV2
183
+ * @logType SECURITY_FINDING_LOGS
184
+ * @stability external
185
+ */
186
+ class CfnHubV2SecurityFindingLogs {
187
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_securityhub.mixins.CfnHubV2SecurityFindingLogs", version: "2.269.0-alpha.0" };
188
+ /**
189
+ * Send logs to a CloudWatch Log Group
190
+ *
191
+ * @param props Additional properties that are optionally used in log delivery for Log Group destinations
192
+ */
193
+ toLogGroup(logGroup, props) {
194
+ try {
195
+ jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_securityhub_mixins_CfnHubV2SecurityFindingLogsLogGroupProps(props);
196
+ }
197
+ catch (error) {
198
+ if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
199
+ Error.captureStackTrace(error, this.toLogGroup);
200
+ }
201
+ throw error;
202
+ }
203
+ {
204
+ return new CfnHubV2LogsMixin("SECURITY_FINDING_LOGS", new logsDelivery.LogGroupLogsDelivery(logGroup, {
205
+ outputFormat: props?.outputFormat,
206
+ providedFields: props?.recordFields,
207
+ mandatoryFields: ["event"]
208
+ }));
209
+ }
210
+ }
211
+ /**
212
+ * Delivers logs to a pre-created delivery destination
213
+ *
214
+ * Supported destinations are CWL
215
+ * You are responsible for setting up the correct permissions for your delivery destination, toDestination() does not set up any permissions for you.
216
+ * Delivery destinations that are imported from another stack using CfnDeliveryDestination.fromDeliveryDestinationArn() or CfnDeliveryDestination.fromDeliveryDestinationName() are supported by toDestination().
217
+ *
218
+ * @param props Additional properties that are optionally used in log delivery for destinations
219
+ */
220
+ toDestination(destination, props) {
221
+ try {
222
+ jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_securityhub_mixins_CfnHubV2SecurityFindingLogsDestProps(props);
223
+ }
224
+ catch (error) {
225
+ if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
226
+ Error.captureStackTrace(error, this.toDestination);
227
+ }
228
+ throw error;
229
+ }
230
+ {
231
+ return new CfnHubV2LogsMixin("SECURITY_FINDING_LOGS", new logsDelivery.DestinationLogsDelivery(destination, {
232
+ providedFields: props?.recordFields,
233
+ mandatoryFields: ["event"]
234
+ }));
235
+ }
236
+ }
237
+ }
238
+ exports.CfnHubV2SecurityFindingLogs = CfnHubV2SecurityFindingLogs;
239
+ /**
240
+ * Returns details about the service resource in your account.
241
+ *
242
+ * @cloudformationResource AWS::SecurityHub::HubV2
243
+ * @mixin true
244
+ * @stability external
245
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-hubv2.html
246
+ */
247
+ class CfnHubV2LogsMixin extends cdk.Mixin {
248
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_securityhub.mixins.CfnHubV2LogsMixin", version: "2.269.0-alpha.0" };
249
+ static SECURITY_FINDING_LOGS = new CfnHubV2SecurityFindingLogs();
250
+ logType;
251
+ logDelivery;
252
+ /**
253
+ * Create a mixin to enable vended logs for `AWS::SecurityHub::HubV2`.
254
+ *
255
+ * @param logType Type of logs that are getting vended
256
+ * @param logDelivery Object in charge of setting up the delivery source, delivery destination, and delivery connection
257
+ */
258
+ constructor(logType, logDelivery) {
259
+ super();
260
+ try {
261
+ jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_logs_ILogsDelivery(logDelivery);
262
+ }
263
+ catch (error) {
264
+ if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
265
+ Error.captureStackTrace(error, CfnHubV2LogsMixin);
266
+ }
267
+ throw error;
268
+ }
269
+ this.logType = logType;
270
+ this.logDelivery = logDelivery;
271
+ }
272
+ /**
273
+ * Check if this mixin supports the given construct (has vendedLogs property)
274
+ */
275
+ supports(construct) {
276
+ return (cdk.CfnResource.isCfnResource(construct) && service.CfnHubV2.isCfnHubV2(construct));
277
+ }
278
+ /**
279
+ * Apply vended logs configuration to the construct
280
+ */
281
+ applyTo(resource) {
282
+ if (!this.supports(resource)) {
283
+ return;
284
+ }
285
+ const sourceArn = service.CfnHubV2.arnForHubV2(resource);
286
+ this.logDelivery.bind(resource, this.logType, sourceArn);
287
+ }
288
+ }
289
+ exports.CfnHubV2LogsMixin = CfnHubV2LogsMixin;
290
+ /**
291
+ * Output Format options for each destination of CfnHubV2SecurityFindingLogs.
292
+ */
293
+ class CfnHubV2SecurityFindingLogsOutputFormat {
294
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_securityhub.mixins.CfnHubV2SecurityFindingLogsOutputFormat", version: "2.269.0-alpha.0" };
295
+ }
296
+ exports.CfnHubV2SecurityFindingLogsOutputFormat = CfnHubV2SecurityFindingLogsOutputFormat;
297
+ (function (CfnHubV2SecurityFindingLogsOutputFormat) {
298
+ let LogGroup;
299
+ (function (LogGroup) {
300
+ LogGroup["PLAIN"] = "plain";
301
+ })(LogGroup = CfnHubV2SecurityFindingLogsOutputFormat.LogGroup || (CfnHubV2SecurityFindingLogsOutputFormat.LogGroup = {}));
302
+ })(CfnHubV2SecurityFindingLogsOutputFormat || (exports.CfnHubV2SecurityFindingLogsOutputFormat = CfnHubV2SecurityFindingLogsOutputFormat = {}));
303
+ var CfnHubV2SecurityFindingLogsRecordFields;
304
+ (function (CfnHubV2SecurityFindingLogsRecordFields) {
305
+ CfnHubV2SecurityFindingLogsRecordFields["EVENT"] = "event";
306
+ })(CfnHubV2SecurityFindingLogsRecordFields || (exports.CfnHubV2SecurityFindingLogsRecordFields = CfnHubV2SecurityFindingLogsRecordFields = {}));
@@ -7,7 +7,7 @@ const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
7
7
  * EventBridge event pattern for aws.ses@AdvisorRecommendationStatusOpen
8
8
  */
9
9
  class AdvisorRecommendationStatusOpen {
10
- static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ses.events.AdvisorRecommendationStatusOpen", version: "2.267.0-alpha.0" };
10
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ses.events.AdvisorRecommendationStatusOpen", version: "2.269.0-alpha.0" };
11
11
  /**
12
12
  * EventBridge event pattern for Advisor Recommendation Status Open
13
13
  */
@@ -51,7 +51,7 @@ function convertAdvisorRecommendationStatusOpenDetailToEventPattern(obj) {
51
51
  * EventBridge event pattern for aws.ses@AdvisorRecommendationStatusResolved
52
52
  */
53
53
  class AdvisorRecommendationStatusResolved {
54
- static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ses.events.AdvisorRecommendationStatusResolved", version: "2.267.0-alpha.0" };
54
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_ses.events.AdvisorRecommendationStatusResolved", version: "2.269.0-alpha.0" };
55
55
  /**
56
56
  * EventBridge event pattern for Advisor Recommendation Status Resolved
57
57
  */