@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
@@ -1,17 +0,0 @@
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./logs-delivery-mixins.generated"), exports);
@@ -1,16 +0,0 @@
1
- {
2
- "targets": {
3
- "java": {
4
- "package": "software.amazon.awscdk.mixins.preview.services.wafv2"
5
- },
6
- "dotnet": {
7
- "namespace": "Amazon.CDK.Mixins.Preview.AWS.WAFv2"
8
- },
9
- "python": {
10
- "module": "aws_cdk.mixins_preview.aws_wafv2"
11
- },
12
- "go": {
13
- "packageName": "previewawswafv2"
14
- }
15
- }
16
- }
@@ -1,16 +0,0 @@
1
- {
2
- "targets": {
3
- "java": {
4
- "package": "software.amazon.awscdk.mixins.preview.services.wafv2.mixins"
5
- },
6
- "dotnet": {
7
- "namespace": "Amazon.CDK.Mixins.Preview.AWS.WAFv2.Mixins"
8
- },
9
- "python": {
10
- "module": "aws_cdk.mixins_preview.aws_wafv2.mixins"
11
- },
12
- "go": {
13
- "packageName": "previewawswafv2mixins"
14
- }
15
- }
16
- }
@@ -1 +0,0 @@
1
- export * as mixins from './mixins';
@@ -1,37 +0,0 @@
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.mixins = void 0;
37
- exports.mixins = __importStar(require("./mixins"));
@@ -1,212 +0,0 @@
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-wafv2";
6
- /**
7
- * Builder for CfnWebACLLogsMixin to generate ACCESS_LOGS for CfnWebACL
8
- *
9
- * @cloudformationResource AWS::WAFv2::WebACL
10
- * @logType ACCESS_LOGS
11
- * @stability external
12
- */
13
- export declare class CfnWebACLAccessLogs {
14
- /**
15
- * Send logs to an S3 Bucket
16
- *
17
- * @param props Additional properties that are optionally used in log delivery for S3 destinations
18
- */
19
- toS3(bucket: interfaces.aws_s3.IBucketRef, props?: CfnWebACLAccessLogsS3Props): CfnWebACLLogsMixin;
20
- /**
21
- * Send logs to a CloudWatch Log Group
22
- *
23
- * @param props Additional properties that are optionally used in log delivery for Log Group destinations
24
- */
25
- toLogGroup(logGroup: interfaces.aws_logs.ILogGroupRef, props?: CfnWebACLAccessLogsLogGroupProps): CfnWebACLLogsMixin;
26
- /**
27
- * Send logs to a Firehose Delivery Stream
28
- *
29
- * @param props Additional properties that are optionally used in log delivery for Firehose destinations
30
- */
31
- toFirehose(deliveryStream: interfaces.aws_kinesisfirehose.IDeliveryStreamRef, props?: CfnWebACLAccessLogsFirehoseProps): CfnWebACLLogsMixin;
32
- /**
33
- * Delivers logs to a pre-created delivery destination
34
- *
35
- * Supported destinations are S3, CWL, FH
36
- * You are responsible for setting up the correct permissions for your delivery destination, toDestination() does not set up any permissions for you.
37
- * Delivery destinations that are imported from another stack using CfnDeliveryDestination.fromDeliveryDestinationArn() or CfnDeliveryDestination.fromDeliveryDestinationName() are supported by toDestination().
38
- */
39
- toDestination(destination: interfaces.aws_logs.IDeliveryDestinationRef): CfnWebACLLogsMixin;
40
- }
41
- /**
42
- * Builder for CfnWebACLLogsMixin to generate TOKEN_LOGS for CfnWebACL
43
- *
44
- * @cloudformationResource AWS::WAFv2::WebACL
45
- * @logType TOKEN_LOGS
46
- * @stability external
47
- */
48
- export declare class CfnWebACLTokenLogs {
49
- /**
50
- * Send logs to an S3 Bucket
51
- *
52
- * @param props Additional properties that are optionally used in log delivery for S3 destinations
53
- */
54
- toS3(bucket: interfaces.aws_s3.IBucketRef, props?: CfnWebACLTokenLogsS3Props): CfnWebACLLogsMixin;
55
- /**
56
- * Send logs to a CloudWatch Log Group
57
- *
58
- * @param props Additional properties that are optionally used in log delivery for Log Group destinations
59
- */
60
- toLogGroup(logGroup: interfaces.aws_logs.ILogGroupRef, props?: CfnWebACLTokenLogsLogGroupProps): CfnWebACLLogsMixin;
61
- /**
62
- * Send logs to a Firehose Delivery Stream
63
- *
64
- * @param props Additional properties that are optionally used in log delivery for Firehose destinations
65
- */
66
- toFirehose(deliveryStream: interfaces.aws_kinesisfirehose.IDeliveryStreamRef, props?: CfnWebACLTokenLogsFirehoseProps): CfnWebACLLogsMixin;
67
- /**
68
- * Delivers logs to a pre-created delivery destination
69
- *
70
- * Supported destinations are S3, CWL, FH
71
- * You are responsible for setting up the correct permissions for your delivery destination, toDestination() does not set up any permissions for you.
72
- * Delivery destinations that are imported from another stack using CfnDeliveryDestination.fromDeliveryDestinationArn() or CfnDeliveryDestination.fromDeliveryDestinationName() are supported by toDestination().
73
- */
74
- toDestination(destination: interfaces.aws_logs.IDeliveryDestinationRef): CfnWebACLLogsMixin;
75
- }
76
- /**
77
- * > This is the latest version of *AWS WAF* , named AWS WAF V2, released in November, 2019.
78
- *
79
- * For information, including how to migrate your AWS WAF resources from the prior release, see the [AWS WAF developer guide](https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html) .
80
- *
81
- * Use an `WebACL` to define a collection of rules to use to inspect and control web requests. Each rule in a web ACL has a statement that defines what to look for in web requests and an action that AWS WAF applies to requests that match the statement. In the web ACL, you assign a default action to take (allow, block) for any request that doesn't match any of the rules.
82
- *
83
- * The rules in a web ACL can be a combination of explicitly defined rules and rule groups that you reference from the web ACL. The rule groups can be rule groups that you manage or rule groups that are managed by others.
84
- *
85
- * You can associate a web ACL with one or more AWS resources to protect. The resources can be an Amazon CloudFront distribution, an REST API, an Application Load Balancer , an AWS AppSync GraphQL API , an Amazon Cognito user pool, an AWS App Runner service, an AWS Amplify application, or an AWS Verified Access instance.
86
- *
87
- * For more information, see [Web access control lists (web ACLs)](https://docs.aws.amazon.com/waf/latest/developerguide/web-acl.html) in the *AWS WAF developer guide* .
88
- *
89
- * *Web ACLs used in AWS Shield Advanced automatic application layer DDoS mitigation*
90
- *
91
- * If you use Shield Advanced automatic application layer DDoS mitigation, the web ACLs that you use with automatic mitigation have a rule group rule whose name starts with `ShieldMitigationRuleGroup` . This rule is used for automatic mitigations and it's managed for you in the web ACL by Shield Advanced and AWS WAF . You'll see the rule listed among the web ACL rules when you view the web ACL through the AWS WAF interfaces.
92
- *
93
- * When you manage the web ACL through CloudFormation interfaces, you won't see the Shield Advanced rule. CloudFormation doesn't include this type of rule in the stack drift status between the actual configuration of the web ACL and your web ACL template.
94
- *
95
- * Don't add the Shield Advanced rule group rule to your web ACL template. The rule shouldn't be in your template. When you update the web ACL template in a stack, the Shield Advanced rule is maintained for you by AWS WAF in the resulting web ACL.
96
- *
97
- * For more information, see [Shield Advanced automatic application layer DDoS mitigation](https://docs.aws.amazon.com/waf/latest/developerguide/ddos-automatic-app-layer-response.html) in the *AWS Shield Advanced developer guide* .
98
- *
99
- * @cloudformationResource AWS::WAFv2::WebACL
100
- * @mixin true
101
- * @stability external
102
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-webacl.html
103
- */
104
- export declare class CfnWebACLLogsMixin extends cdk.Mixin implements constructs.IMixin {
105
- static readonly ACCESS_LOGS: CfnWebACLAccessLogs;
106
- static readonly TOKEN_LOGS: CfnWebACLTokenLogs;
107
- protected readonly logType: string;
108
- protected readonly logDelivery: logsDelivery.ILogsDelivery;
109
- /**
110
- * Create a mixin to enable vended logs for `AWS::WAFv2::WebACL`.
111
- *
112
- * @param logType Type of logs that are getting vended
113
- * @param logDelivery Object in charge of setting up the delivery source, delivery destination, and delivery connection
114
- */
115
- constructor(logType: string, logDelivery: logsDelivery.ILogsDelivery);
116
- /**
117
- * Check if this mixin supports the given construct (has vendedLogs property)
118
- */
119
- supports(construct: constructs.IConstruct): construct is service.CfnWebACL;
120
- /**
121
- * Apply vended logs configuration to the construct
122
- */
123
- applyTo(resource: constructs.IConstruct): void;
124
- }
125
- /**
126
- * Output Format options for each destination of CfnWebACLAccessLogs.
127
- */
128
- export declare class CfnWebACLAccessLogsOutputFormat {
129
- }
130
- export declare namespace CfnWebACLAccessLogsOutputFormat {
131
- enum S3 {
132
- JSON = "json",
133
- PLAIN = "plain",
134
- W3C = "w3c",
135
- PARQUET = "parquet"
136
- }
137
- enum LogGroup {
138
- PLAIN = "plain",
139
- JSON = "json"
140
- }
141
- enum Firehose {
142
- JSON = "json",
143
- PLAIN = "plain",
144
- RAW = "raw"
145
- }
146
- }
147
- export interface CfnWebACLAccessLogsS3Props {
148
- /**
149
- * Encrpytion key for your delivery bucket
150
- */
151
- readonly encryptionKey?: interfaces.aws_kms.IKeyRef;
152
- /**
153
- * Format for log output, options are json,plain,w3c,parquet
154
- */
155
- readonly outputFormat?: CfnWebACLAccessLogsOutputFormat.S3;
156
- }
157
- export interface CfnWebACLAccessLogsLogGroupProps {
158
- /**
159
- * Format for log output, options are plain,json
160
- */
161
- readonly outputFormat?: CfnWebACLAccessLogsOutputFormat.LogGroup;
162
- }
163
- export interface CfnWebACLAccessLogsFirehoseProps {
164
- /**
165
- * Format for log output, options are json,plain,raw
166
- */
167
- readonly outputFormat?: CfnWebACLAccessLogsOutputFormat.Firehose;
168
- }
169
- /**
170
- * Output Format options for each destination of CfnWebACLTokenLogs.
171
- */
172
- export declare class CfnWebACLTokenLogsOutputFormat {
173
- }
174
- export declare namespace CfnWebACLTokenLogsOutputFormat {
175
- enum S3 {
176
- JSON = "json",
177
- PLAIN = "plain",
178
- W3C = "w3c",
179
- PARQUET = "parquet"
180
- }
181
- enum LogGroup {
182
- PLAIN = "plain",
183
- JSON = "json"
184
- }
185
- enum Firehose {
186
- JSON = "json",
187
- PLAIN = "plain",
188
- RAW = "raw"
189
- }
190
- }
191
- export interface CfnWebACLTokenLogsS3Props {
192
- /**
193
- * Encrpytion key for your delivery bucket
194
- */
195
- readonly encryptionKey?: interfaces.aws_kms.IKeyRef;
196
- /**
197
- * Format for log output, options are json,plain,w3c,parquet
198
- */
199
- readonly outputFormat?: CfnWebACLTokenLogsOutputFormat.S3;
200
- }
201
- export interface CfnWebACLTokenLogsLogGroupProps {
202
- /**
203
- * Format for log output, options are plain,json
204
- */
205
- readonly outputFormat?: CfnWebACLTokenLogsOutputFormat.LogGroup;
206
- }
207
- export interface CfnWebACLTokenLogsFirehoseProps {
208
- /**
209
- * Format for log output, options are json,plain,raw
210
- */
211
- readonly outputFormat?: CfnWebACLTokenLogsOutputFormat.Firehose;
212
- }
@@ -1,362 +0,0 @@
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.CfnWebACLTokenLogsOutputFormat = exports.CfnWebACLAccessLogsOutputFormat = exports.CfnWebACLLogsMixin = exports.CfnWebACLTokenLogs = exports.CfnWebACLAccessLogs = 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-wafv2"));
43
- /**
44
- * Builder for CfnWebACLLogsMixin to generate ACCESS_LOGS for CfnWebACL
45
- *
46
- * @cloudformationResource AWS::WAFv2::WebACL
47
- * @logType ACCESS_LOGS
48
- * @stability external
49
- */
50
- class CfnWebACLAccessLogs {
51
- static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_wafv2.mixins.CfnWebACLAccessLogs", version: "2.267.0-alpha.0" };
52
- /**
53
- * Send logs to an S3 Bucket
54
- *
55
- * @param props Additional properties that are optionally used in log delivery for S3 destinations
56
- */
57
- toS3(bucket, props) {
58
- try {
59
- jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_wafv2_mixins_CfnWebACLAccessLogsS3Props(props);
60
- }
61
- catch (error) {
62
- if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
63
- Error.captureStackTrace(error, this.toS3);
64
- }
65
- throw error;
66
- }
67
- {
68
- return new CfnWebACLLogsMixin("ACCESS_LOGS", new logsDelivery.S3LogsDelivery(bucket, {
69
- permissionsVersion: logsDelivery.S3LogsDeliveryPermissionsVersion.V1,
70
- kmsKey: props?.encryptionKey,
71
- outputFormat: props?.outputFormat,
72
- providedFields: undefined,
73
- mandatoryFields: undefined
74
- }));
75
- }
76
- }
77
- /**
78
- * Send logs to a CloudWatch Log Group
79
- *
80
- * @param props Additional properties that are optionally used in log delivery for Log Group destinations
81
- */
82
- toLogGroup(logGroup, props) {
83
- try {
84
- jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_wafv2_mixins_CfnWebACLAccessLogsLogGroupProps(props);
85
- }
86
- catch (error) {
87
- if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
88
- Error.captureStackTrace(error, this.toLogGroup);
89
- }
90
- throw error;
91
- }
92
- {
93
- return new CfnWebACLLogsMixin("ACCESS_LOGS", new logsDelivery.LogGroupLogsDelivery(logGroup, {
94
- outputFormat: props?.outputFormat,
95
- providedFields: undefined,
96
- mandatoryFields: undefined
97
- }));
98
- }
99
- }
100
- /**
101
- * Send logs to a Firehose Delivery Stream
102
- *
103
- * @param props Additional properties that are optionally used in log delivery for Firehose destinations
104
- */
105
- toFirehose(deliveryStream, props) {
106
- try {
107
- jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_wafv2_mixins_CfnWebACLAccessLogsFirehoseProps(props);
108
- }
109
- catch (error) {
110
- if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
111
- Error.captureStackTrace(error, this.toFirehose);
112
- }
113
- throw error;
114
- }
115
- {
116
- return new CfnWebACLLogsMixin("ACCESS_LOGS", new logsDelivery.FirehoseLogsDelivery(deliveryStream, {
117
- outputFormat: props?.outputFormat,
118
- providedFields: undefined,
119
- mandatoryFields: undefined
120
- }));
121
- }
122
- }
123
- /**
124
- * Delivers logs to a pre-created delivery destination
125
- *
126
- * Supported destinations are S3, CWL, FH
127
- * You are responsible for setting up the correct permissions for your delivery destination, toDestination() does not set up any permissions for you.
128
- * Delivery destinations that are imported from another stack using CfnDeliveryDestination.fromDeliveryDestinationArn() or CfnDeliveryDestination.fromDeliveryDestinationName() are supported by toDestination().
129
- */
130
- toDestination(destination) {
131
- {
132
- return new CfnWebACLLogsMixin("ACCESS_LOGS", new logsDelivery.DestinationLogsDelivery(destination, {
133
- providedFields: undefined,
134
- mandatoryFields: undefined
135
- }));
136
- }
137
- }
138
- }
139
- exports.CfnWebACLAccessLogs = CfnWebACLAccessLogs;
140
- /**
141
- * Builder for CfnWebACLLogsMixin to generate TOKEN_LOGS for CfnWebACL
142
- *
143
- * @cloudformationResource AWS::WAFv2::WebACL
144
- * @logType TOKEN_LOGS
145
- * @stability external
146
- */
147
- class CfnWebACLTokenLogs {
148
- static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_wafv2.mixins.CfnWebACLTokenLogs", version: "2.267.0-alpha.0" };
149
- /**
150
- * Send logs to an S3 Bucket
151
- *
152
- * @param props Additional properties that are optionally used in log delivery for S3 destinations
153
- */
154
- toS3(bucket, props) {
155
- try {
156
- jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_wafv2_mixins_CfnWebACLTokenLogsS3Props(props);
157
- }
158
- catch (error) {
159
- if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
160
- Error.captureStackTrace(error, this.toS3);
161
- }
162
- throw error;
163
- }
164
- {
165
- return new CfnWebACLLogsMixin("TOKEN_LOGS", new logsDelivery.S3LogsDelivery(bucket, {
166
- permissionsVersion: logsDelivery.S3LogsDeliveryPermissionsVersion.V1,
167
- kmsKey: props?.encryptionKey,
168
- outputFormat: props?.outputFormat,
169
- providedFields: undefined,
170
- mandatoryFields: undefined
171
- }));
172
- }
173
- }
174
- /**
175
- * Send logs to a CloudWatch Log Group
176
- *
177
- * @param props Additional properties that are optionally used in log delivery for Log Group destinations
178
- */
179
- toLogGroup(logGroup, props) {
180
- try {
181
- jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_wafv2_mixins_CfnWebACLTokenLogsLogGroupProps(props);
182
- }
183
- catch (error) {
184
- if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
185
- Error.captureStackTrace(error, this.toLogGroup);
186
- }
187
- throw error;
188
- }
189
- {
190
- return new CfnWebACLLogsMixin("TOKEN_LOGS", new logsDelivery.LogGroupLogsDelivery(logGroup, {
191
- outputFormat: props?.outputFormat,
192
- providedFields: undefined,
193
- mandatoryFields: undefined
194
- }));
195
- }
196
- }
197
- /**
198
- * Send logs to a Firehose Delivery Stream
199
- *
200
- * @param props Additional properties that are optionally used in log delivery for Firehose destinations
201
- */
202
- toFirehose(deliveryStream, props) {
203
- try {
204
- jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_wafv2_mixins_CfnWebACLTokenLogsFirehoseProps(props);
205
- }
206
- catch (error) {
207
- if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
208
- Error.captureStackTrace(error, this.toFirehose);
209
- }
210
- throw error;
211
- }
212
- {
213
- return new CfnWebACLLogsMixin("TOKEN_LOGS", new logsDelivery.FirehoseLogsDelivery(deliveryStream, {
214
- outputFormat: props?.outputFormat,
215
- providedFields: undefined,
216
- mandatoryFields: undefined
217
- }));
218
- }
219
- }
220
- /**
221
- * Delivers logs to a pre-created delivery destination
222
- *
223
- * Supported destinations are S3, CWL, FH
224
- * You are responsible for setting up the correct permissions for your delivery destination, toDestination() does not set up any permissions for you.
225
- * Delivery destinations that are imported from another stack using CfnDeliveryDestination.fromDeliveryDestinationArn() or CfnDeliveryDestination.fromDeliveryDestinationName() are supported by toDestination().
226
- */
227
- toDestination(destination) {
228
- {
229
- return new CfnWebACLLogsMixin("TOKEN_LOGS", new logsDelivery.DestinationLogsDelivery(destination, {
230
- providedFields: undefined,
231
- mandatoryFields: undefined
232
- }));
233
- }
234
- }
235
- }
236
- exports.CfnWebACLTokenLogs = CfnWebACLTokenLogs;
237
- /**
238
- * > This is the latest version of *AWS WAF* , named AWS WAF V2, released in November, 2019.
239
- *
240
- * For information, including how to migrate your AWS WAF resources from the prior release, see the [AWS WAF developer guide](https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html) .
241
- *
242
- * Use an `WebACL` to define a collection of rules to use to inspect and control web requests. Each rule in a web ACL has a statement that defines what to look for in web requests and an action that AWS WAF applies to requests that match the statement. In the web ACL, you assign a default action to take (allow, block) for any request that doesn't match any of the rules.
243
- *
244
- * The rules in a web ACL can be a combination of explicitly defined rules and rule groups that you reference from the web ACL. The rule groups can be rule groups that you manage or rule groups that are managed by others.
245
- *
246
- * You can associate a web ACL with one or more AWS resources to protect. The resources can be an Amazon CloudFront distribution, an REST API, an Application Load Balancer , an AWS AppSync GraphQL API , an Amazon Cognito user pool, an AWS App Runner service, an AWS Amplify application, or an AWS Verified Access instance.
247
- *
248
- * For more information, see [Web access control lists (web ACLs)](https://docs.aws.amazon.com/waf/latest/developerguide/web-acl.html) in the *AWS WAF developer guide* .
249
- *
250
- * *Web ACLs used in AWS Shield Advanced automatic application layer DDoS mitigation*
251
- *
252
- * If you use Shield Advanced automatic application layer DDoS mitigation, the web ACLs that you use with automatic mitigation have a rule group rule whose name starts with `ShieldMitigationRuleGroup` . This rule is used for automatic mitigations and it's managed for you in the web ACL by Shield Advanced and AWS WAF . You'll see the rule listed among the web ACL rules when you view the web ACL through the AWS WAF interfaces.
253
- *
254
- * When you manage the web ACL through CloudFormation interfaces, you won't see the Shield Advanced rule. CloudFormation doesn't include this type of rule in the stack drift status between the actual configuration of the web ACL and your web ACL template.
255
- *
256
- * Don't add the Shield Advanced rule group rule to your web ACL template. The rule shouldn't be in your template. When you update the web ACL template in a stack, the Shield Advanced rule is maintained for you by AWS WAF in the resulting web ACL.
257
- *
258
- * For more information, see [Shield Advanced automatic application layer DDoS mitigation](https://docs.aws.amazon.com/waf/latest/developerguide/ddos-automatic-app-layer-response.html) in the *AWS Shield Advanced developer guide* .
259
- *
260
- * @cloudformationResource AWS::WAFv2::WebACL
261
- * @mixin true
262
- * @stability external
263
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-webacl.html
264
- */
265
- class CfnWebACLLogsMixin extends cdk.Mixin {
266
- static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_wafv2.mixins.CfnWebACLLogsMixin", version: "2.267.0-alpha.0" };
267
- static ACCESS_LOGS = new CfnWebACLAccessLogs();
268
- static TOKEN_LOGS = new CfnWebACLTokenLogs();
269
- logType;
270
- logDelivery;
271
- /**
272
- * Create a mixin to enable vended logs for `AWS::WAFv2::WebACL`.
273
- *
274
- * @param logType Type of logs that are getting vended
275
- * @param logDelivery Object in charge of setting up the delivery source, delivery destination, and delivery connection
276
- */
277
- constructor(logType, logDelivery) {
278
- super();
279
- try {
280
- jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_logs_ILogsDelivery(logDelivery);
281
- }
282
- catch (error) {
283
- if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
284
- Error.captureStackTrace(error, CfnWebACLLogsMixin);
285
- }
286
- throw error;
287
- }
288
- this.logType = logType;
289
- this.logDelivery = logDelivery;
290
- }
291
- /**
292
- * Check if this mixin supports the given construct (has vendedLogs property)
293
- */
294
- supports(construct) {
295
- return (cdk.CfnResource.isCfnResource(construct) && service.CfnWebACL.isCfnWebACL(construct));
296
- }
297
- /**
298
- * Apply vended logs configuration to the construct
299
- */
300
- applyTo(resource) {
301
- if (!this.supports(resource)) {
302
- return;
303
- }
304
- const sourceArn = service.CfnWebACL.arnForWebACL(resource);
305
- this.logDelivery.bind(resource, this.logType, sourceArn);
306
- }
307
- }
308
- exports.CfnWebACLLogsMixin = CfnWebACLLogsMixin;
309
- /**
310
- * Output Format options for each destination of CfnWebACLAccessLogs.
311
- */
312
- class CfnWebACLAccessLogsOutputFormat {
313
- static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_wafv2.mixins.CfnWebACLAccessLogsOutputFormat", version: "2.267.0-alpha.0" };
314
- }
315
- exports.CfnWebACLAccessLogsOutputFormat = CfnWebACLAccessLogsOutputFormat;
316
- (function (CfnWebACLAccessLogsOutputFormat) {
317
- let S3;
318
- (function (S3) {
319
- S3["JSON"] = "json";
320
- S3["PLAIN"] = "plain";
321
- S3["W3C"] = "w3c";
322
- S3["PARQUET"] = "parquet";
323
- })(S3 = CfnWebACLAccessLogsOutputFormat.S3 || (CfnWebACLAccessLogsOutputFormat.S3 = {}));
324
- let LogGroup;
325
- (function (LogGroup) {
326
- LogGroup["PLAIN"] = "plain";
327
- LogGroup["JSON"] = "json";
328
- })(LogGroup = CfnWebACLAccessLogsOutputFormat.LogGroup || (CfnWebACLAccessLogsOutputFormat.LogGroup = {}));
329
- let Firehose;
330
- (function (Firehose) {
331
- Firehose["JSON"] = "json";
332
- Firehose["PLAIN"] = "plain";
333
- Firehose["RAW"] = "raw";
334
- })(Firehose = CfnWebACLAccessLogsOutputFormat.Firehose || (CfnWebACLAccessLogsOutputFormat.Firehose = {}));
335
- })(CfnWebACLAccessLogsOutputFormat || (exports.CfnWebACLAccessLogsOutputFormat = CfnWebACLAccessLogsOutputFormat = {}));
336
- /**
337
- * Output Format options for each destination of CfnWebACLTokenLogs.
338
- */
339
- class CfnWebACLTokenLogsOutputFormat {
340
- static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_wafv2.mixins.CfnWebACLTokenLogsOutputFormat", version: "2.267.0-alpha.0" };
341
- }
342
- exports.CfnWebACLTokenLogsOutputFormat = CfnWebACLTokenLogsOutputFormat;
343
- (function (CfnWebACLTokenLogsOutputFormat) {
344
- let S3;
345
- (function (S3) {
346
- S3["JSON"] = "json";
347
- S3["PLAIN"] = "plain";
348
- S3["W3C"] = "w3c";
349
- S3["PARQUET"] = "parquet";
350
- })(S3 = CfnWebACLTokenLogsOutputFormat.S3 || (CfnWebACLTokenLogsOutputFormat.S3 = {}));
351
- let LogGroup;
352
- (function (LogGroup) {
353
- LogGroup["PLAIN"] = "plain";
354
- LogGroup["JSON"] = "json";
355
- })(LogGroup = CfnWebACLTokenLogsOutputFormat.LogGroup || (CfnWebACLTokenLogsOutputFormat.LogGroup = {}));
356
- let Firehose;
357
- (function (Firehose) {
358
- Firehose["JSON"] = "json";
359
- Firehose["PLAIN"] = "plain";
360
- Firehose["RAW"] = "raw";
361
- })(Firehose = CfnWebACLTokenLogsOutputFormat.Firehose || (CfnWebACLTokenLogsOutputFormat.Firehose = {}));
362
- })(CfnWebACLTokenLogsOutputFormat || (exports.CfnWebACLTokenLogsOutputFormat = CfnWebACLTokenLogsOutputFormat = {}));
@@ -1 +0,0 @@
1
- export * from './logs-delivery-mixins.generated';