@aws-cdk/mixins-preview 2.267.0-alpha.0 → 2.268.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 (318) hide show
  1. package/.jsii.gz +0 -0
  2. package/.jsii.tabl.json.gz +0 -0
  3. package/.warnings.jsii.js +103 -220
  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-emr/events.generated.js +7 -7
  55. package/lib/services/aws-entityresolution/logs-delivery-mixins.generated.d.ts +26 -10
  56. package/lib/services/aws-entityresolution/logs-delivery-mixins.generated.js +26 -10
  57. package/lib/services/aws-events/events.generated.js +1 -1
  58. package/lib/services/aws-events/logs-delivery-mixins.generated.d.ts +15 -12
  59. package/lib/services/aws-events/logs-delivery-mixins.generated.js +16 -13
  60. package/lib/services/aws-fis/events.generated.js +1 -1
  61. package/lib/services/aws-gamelift/events.generated.js +2 -2
  62. package/lib/services/aws-glue/events.generated.js +7 -7
  63. package/lib/services/aws-guardduty/events.generated.js +7 -7
  64. package/lib/services/aws-healthimaging/events.generated.js +20 -20
  65. package/lib/services/aws-healthlake/events.generated.js +14 -14
  66. package/lib/services/aws-imagebuilder/events.generated.js +3 -3
  67. package/lib/services/aws-iotanalytics/events.generated.js +3 -3
  68. package/lib/services/aws-ivs/events.generated.js +4 -4
  69. package/lib/services/aws-kms/events.generated.js +5 -5
  70. package/lib/services/aws-logs/events.generated.js +2 -2
  71. package/lib/services/aws-logs/index.d.ts +0 -1
  72. package/lib/services/aws-logs/index.js +1 -2
  73. package/lib/services/aws-logs/logs-delivery.js +5 -5
  74. package/lib/services/aws-logs/logs-destination.js +4 -4
  75. package/lib/services/aws-managedblockchain/events.generated.js +2 -2
  76. package/lib/services/aws-medialive/events.generated.js +6 -6
  77. package/lib/services/aws-mediapackage/events.generated.js +4 -4
  78. package/lib/services/aws-mediapackagev2/logs-delivery-mixins.generated.d.ts +65 -62
  79. package/lib/services/aws-mediapackagev2/logs-delivery-mixins.generated.js +84 -81
  80. package/lib/services/aws-mediatailor/logs-delivery-mixins.generated.d.ts +38 -14
  81. package/lib/services/aws-mediatailor/logs-delivery-mixins.generated.js +42 -18
  82. package/lib/services/aws-mgn/.events.jsiirc.json +16 -0
  83. package/lib/services/{aws-msk → aws-mgn}/.jsiirc.json +4 -4
  84. package/lib/services/aws-mgn/events.d.ts +1 -0
  85. package/lib/services/aws-mgn/events.generated.d.ts +100 -0
  86. package/lib/services/aws-mgn/events.generated.js +135 -0
  87. package/lib/services/{aws-backupgateway/mixins.js → aws-mgn/events.js} +1 -1
  88. package/lib/services/aws-mgn/index.d.ts +1 -0
  89. package/lib/services/{aws-aps → aws-mgn}/index.js +2 -2
  90. package/lib/services/aws-networkfirewall/events.generated.js +3 -3
  91. package/lib/services/aws-networkfirewall/logs-delivery-mixins.generated.d.ts +197 -62
  92. package/lib/services/aws-networkfirewall/logs-delivery-mixins.generated.js +214 -103
  93. package/lib/services/aws-networkmanager/events.generated.js +3 -3
  94. package/lib/services/aws-omics/events.generated.js +18 -18
  95. package/lib/services/aws-opsworks/events.generated.js +4 -4
  96. package/lib/services/aws-organizations/events.generated.js +2 -2
  97. package/lib/services/aws-pcs/logs-delivery-mixins.generated.d.ts +89 -86
  98. package/lib/services/aws-pcs/logs-delivery-mixins.generated.js +104 -101
  99. package/lib/services/aws-qbusiness/logs-delivery-mixins.generated.d.ts +110 -97
  100. package/lib/services/aws-qbusiness/logs-delivery-mixins.generated.js +97 -84
  101. package/lib/services/aws-qldb/events.generated.js +1 -1
  102. package/lib/services/aws-rds/events.generated.js +7 -7
  103. package/lib/services/aws-route53recoveryreadiness/events.generated.js +6 -6
  104. package/lib/services/aws-route53resolver/events.generated.js +3 -3
  105. package/lib/services/{aws-cognito → aws-rtbfabric}/.jsiirc.json +4 -4
  106. package/lib/services/aws-rtbfabric/.mixins.jsiirc.json +16 -0
  107. package/lib/services/{aws-logs → aws-rtbfabric}/logs-delivery-mixins.generated.d.ts +48 -48
  108. package/lib/services/{aws-cognito → aws-rtbfabric}/logs-delivery-mixins.generated.js +73 -49
  109. package/lib/services/aws-s3/events.generated.js +12 -12
  110. package/lib/services/aws-s3/logs-delivery-mixins.generated.d.ts +1 -1
  111. package/lib/services/aws-s3/logs-delivery-mixins.generated.js +8 -8
  112. package/lib/services/aws-sagemaker/events.generated.d.ts +132 -151
  113. package/lib/services/aws-sagemaker/events.generated.js +94 -136
  114. package/lib/services/aws-sagemaker/index.d.ts +0 -1
  115. package/lib/services/aws-sagemaker/index.js +1 -2
  116. package/lib/services/aws-securityhub/.mixins.jsiirc.json +16 -0
  117. package/lib/services/aws-securityhub/events.generated.js +3 -3
  118. package/lib/services/aws-securityhub/index.d.ts +1 -0
  119. package/lib/services/aws-securityhub/index.js +2 -1
  120. package/lib/services/aws-securityhub/logs-delivery-mixins.generated.d.ts +177 -0
  121. package/lib/services/aws-securityhub/logs-delivery-mixins.generated.js +306 -0
  122. package/lib/services/aws-ses/events.generated.js +2 -2
  123. package/lib/services/aws-ses/logs-delivery-mixins.generated.d.ts +19 -14
  124. package/lib/services/aws-ses/logs-delivery-mixins.generated.js +21 -16
  125. package/lib/services/aws-shield/logs-delivery-mixins.generated.d.ts +5 -4
  126. package/lib/services/aws-shield/logs-delivery-mixins.generated.js +6 -5
  127. package/lib/services/aws-ssm/events.generated.js +1 -1
  128. package/lib/services/aws-storagegateway/events.generated.js +3 -3
  129. package/lib/services/aws-synthetics/events.generated.js +3 -3
  130. package/lib/services/aws-transcribe/events.generated.js +3 -3
  131. package/lib/services/aws-transfer/events.generated.js +56 -56
  132. package/lib/services/aws-transfer/index.d.ts +0 -1
  133. package/lib/services/aws-transfer/index.js +1 -2
  134. package/lib/services/aws-translate/.events.jsiirc.json +16 -0
  135. package/lib/services/{aws-ivschat → aws-translate}/.jsiirc.json +4 -4
  136. package/lib/services/aws-translate/events.d.ts +1 -0
  137. package/lib/services/aws-translate/events.generated.d.ts +102 -0
  138. package/lib/services/aws-translate/events.generated.js +96 -0
  139. package/lib/services/aws-translate/events.js +17 -0
  140. package/lib/services/aws-translate/index.d.ts +1 -0
  141. package/lib/services/{aws-cleanrooms → aws-translate}/index.js +2 -2
  142. package/lib/services/aws-voiceid/events.generated.js +9 -9
  143. package/lib/services/aws-wellarchitected/events.generated.js +1 -1
  144. package/lib/services/aws-wisdom/logs-delivery-mixins.generated.d.ts +7 -5
  145. package/lib/services/aws-wisdom/logs-delivery-mixins.generated.js +7 -5
  146. package/lib/services/aws-workspaces/events.generated.js +2 -2
  147. package/lib/services/aws-xray/events.generated.js +1 -1
  148. package/lib/services/index.d.ts +4 -19
  149. package/lib/services/index.js +6 -21
  150. package/package.json +20 -48
  151. package/lib/services/aws-apigateway/.jsiirc.json +0 -16
  152. package/lib/services/aws-apigateway/.mixins.jsiirc.json +0 -16
  153. package/lib/services/aws-apigateway/logs-delivery-mixins.generated.d.ts +0 -248
  154. package/lib/services/aws-apigateway/logs-delivery-mixins.generated.js +0 -382
  155. package/lib/services/aws-aps/.jsiirc.json +0 -16
  156. package/lib/services/aws-aps/.mixins.jsiirc.json +0 -16
  157. package/lib/services/aws-aps/index.d.ts +0 -1
  158. package/lib/services/aws-aps/logs-delivery-mixins.generated.d.ts +0 -227
  159. package/lib/services/aws-aps/logs-delivery-mixins.generated.js +0 -400
  160. package/lib/services/aws-b2bi/.mixins.jsiirc.json +0 -16
  161. package/lib/services/aws-b2bi/logs-delivery-mixins.generated.d.ts +0 -121
  162. package/lib/services/aws-b2bi/logs-delivery-mixins.generated.js +0 -226
  163. package/lib/services/aws-backupgateway/.jsiirc.json +0 -16
  164. package/lib/services/aws-backupgateway/.mixins.jsiirc.json +0 -16
  165. package/lib/services/aws-backupgateway/index.d.ts +0 -1
  166. package/lib/services/aws-backupgateway/index.js +0 -37
  167. package/lib/services/aws-backupgateway/logs-delivery-mixins.generated.d.ts +0 -194
  168. package/lib/services/aws-backupgateway/logs-delivery-mixins.generated.js +0 -344
  169. package/lib/services/aws-backupgateway/mixins.d.ts +0 -1
  170. package/lib/services/aws-cleanrooms/.jsiirc.json +0 -16
  171. package/lib/services/aws-cleanrooms/.mixins.jsiirc.json +0 -16
  172. package/lib/services/aws-cleanrooms/index.d.ts +0 -1
  173. package/lib/services/aws-cleanrooms/logs-delivery-mixins.generated.d.ts +0 -112
  174. package/lib/services/aws-cleanrooms/logs-delivery-mixins.generated.js +0 -217
  175. package/lib/services/aws-cleanrooms/mixins.d.ts +0 -1
  176. package/lib/services/aws-cleanrooms/mixins.js +0 -17
  177. package/lib/services/aws-cognito/.mixins.jsiirc.json +0 -16
  178. package/lib/services/aws-cognito/index.d.ts +0 -1
  179. package/lib/services/aws-cognito/index.js +0 -37
  180. package/lib/services/aws-cognito/logs-delivery-mixins.generated.d.ts +0 -116
  181. package/lib/services/aws-cognito/mixins.d.ts +0 -1
  182. package/lib/services/aws-cognito/mixins.js +0 -17
  183. package/lib/services/aws-connect/.mixins.jsiirc.json +0 -16
  184. package/lib/services/aws-connect/logs-delivery-mixins.generated.d.ts +0 -156
  185. package/lib/services/aws-connect/logs-delivery-mixins.generated.js +0 -253
  186. package/lib/services/aws-connect/mixins.d.ts +0 -1
  187. package/lib/services/aws-connect/mixins.js +0 -17
  188. package/lib/services/aws-iotfleetwise/.jsiirc.json +0 -16
  189. package/lib/services/aws-iotfleetwise/.mixins.jsiirc.json +0 -16
  190. package/lib/services/aws-iotfleetwise/index.d.ts +0 -1
  191. package/lib/services/aws-iotfleetwise/index.js +0 -37
  192. package/lib/services/aws-iotfleetwise/logs-delivery-mixins.generated.d.ts +0 -231
  193. package/lib/services/aws-iotfleetwise/logs-delivery-mixins.generated.js +0 -404
  194. package/lib/services/aws-iotfleetwise/mixins.d.ts +0 -1
  195. package/lib/services/aws-iotfleetwise/mixins.js +0 -17
  196. package/lib/services/aws-ivschat/.mixins.jsiirc.json +0 -16
  197. package/lib/services/aws-ivschat/index.d.ts +0 -1
  198. package/lib/services/aws-ivschat/index.js +0 -37
  199. package/lib/services/aws-ivschat/logs-delivery-mixins.generated.d.ts +0 -114
  200. package/lib/services/aws-ivschat/logs-delivery-mixins.generated.js +0 -219
  201. package/lib/services/aws-ivschat/mixins.d.ts +0 -1
  202. package/lib/services/aws-ivschat/mixins.js +0 -17
  203. package/lib/services/aws-kafkaconnect/.jsiirc.json +0 -16
  204. package/lib/services/aws-kafkaconnect/.mixins.jsiirc.json +0 -16
  205. package/lib/services/aws-kafkaconnect/index.d.ts +0 -1
  206. package/lib/services/aws-kafkaconnect/index.js +0 -37
  207. package/lib/services/aws-kafkaconnect/logs-delivery-mixins.generated.d.ts +0 -112
  208. package/lib/services/aws-kafkaconnect/logs-delivery-mixins.generated.js +0 -217
  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-rtbfabric}/index.d.ts +0 -0
  314. /package/lib/services/{aws-apigateway → aws-rtbfabric}/index.js +0 -0
  315. /package/lib/services/{aws-aps → aws-rtbfabric}/mixins.d.ts +0 -0
  316. /package/lib/services/{aws-aps → aws-rtbfabric}/mixins.js +0 -0
  317. /package/lib/services/{aws-b2bi → aws-securityhub}/mixins.d.ts +0 -0
  318. /package/lib/services/{aws-b2bi → aws-securityhub}/mixins.js +0 -0
@@ -1,382 +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.CfnRestApiAccessLogsRecordFields = exports.CfnRestApiAccessLogsOutputFormat = exports.CfnRestApiExecutionLogsRecordFields = exports.CfnRestApiExecutionLogsOutputFormat = exports.CfnRestApiLogsMixin = exports.CfnRestApiAccessLogs = exports.CfnRestApiExecutionLogs = 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-apigateway"));
43
- /**
44
- * Builder for CfnRestApiLogsMixin to generate EXECUTION_LOGS for CfnRestApi
45
- *
46
- * @cloudformationResource AWS::ApiGateway::RestApi
47
- * @logType EXECUTION_LOGS
48
- * @stability external
49
- */
50
- class CfnRestApiExecutionLogs {
51
- static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_apigateway.mixins.CfnRestApiExecutionLogs", 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_apigateway_mixins_CfnRestApiExecutionLogsS3Props(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 CfnRestApiLogsMixin("EXECUTION_LOGS", new logsDelivery.S3LogsDelivery(bucket, {
69
- permissionsVersion: logsDelivery.S3LogsDeliveryPermissionsVersion.V2,
70
- kmsKey: props?.encryptionKey,
71
- outputFormat: props?.outputFormat,
72
- providedFields: props?.recordFields,
73
- mandatoryFields: ["resource_arn", "event_timestamp", "stage", "payload"]
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_apigateway_mixins_CfnRestApiExecutionLogsLogGroupProps(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 CfnRestApiLogsMixin("EXECUTION_LOGS", new logsDelivery.LogGroupLogsDelivery(logGroup, {
94
- outputFormat: props?.outputFormat,
95
- providedFields: props?.recordFields,
96
- mandatoryFields: ["resource_arn", "event_timestamp", "stage", "payload"]
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_apigateway_mixins_CfnRestApiExecutionLogsFirehoseProps(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 CfnRestApiLogsMixin("EXECUTION_LOGS", new logsDelivery.FirehoseLogsDelivery(deliveryStream, {
117
- outputFormat: props?.outputFormat,
118
- providedFields: props?.recordFields,
119
- mandatoryFields: ["resource_arn", "event_timestamp", "stage", "payload"]
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
- * @param props Additional properties that are optionally used in log delivery for destinations
131
- */
132
- toDestination(destination, props) {
133
- try {
134
- jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_apigateway_mixins_CfnRestApiExecutionLogsDestProps(props);
135
- }
136
- catch (error) {
137
- if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
138
- Error.captureStackTrace(error, this.toDestination);
139
- }
140
- throw error;
141
- }
142
- {
143
- return new CfnRestApiLogsMixin("EXECUTION_LOGS", new logsDelivery.DestinationLogsDelivery(destination, {
144
- providedFields: props?.recordFields,
145
- mandatoryFields: ["resource_arn", "event_timestamp", "stage", "payload"]
146
- }));
147
- }
148
- }
149
- }
150
- exports.CfnRestApiExecutionLogs = CfnRestApiExecutionLogs;
151
- /**
152
- * Builder for CfnRestApiLogsMixin to generate ACCESS_LOGS for CfnRestApi
153
- *
154
- * @cloudformationResource AWS::ApiGateway::RestApi
155
- * @logType ACCESS_LOGS
156
- * @stability external
157
- */
158
- class CfnRestApiAccessLogs {
159
- static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_apigateway.mixins.CfnRestApiAccessLogs", version: "2.267.0-alpha.0" };
160
- /**
161
- * Send logs to an S3 Bucket
162
- *
163
- * @param props Additional properties that are optionally used in log delivery for S3 destinations
164
- */
165
- toS3(bucket, props) {
166
- try {
167
- jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_apigateway_mixins_CfnRestApiAccessLogsS3Props(props);
168
- }
169
- catch (error) {
170
- if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
171
- Error.captureStackTrace(error, this.toS3);
172
- }
173
- throw error;
174
- }
175
- {
176
- return new CfnRestApiLogsMixin("ACCESS_LOGS", new logsDelivery.S3LogsDelivery(bucket, {
177
- permissionsVersion: logsDelivery.S3LogsDeliveryPermissionsVersion.V2,
178
- kmsKey: props?.encryptionKey,
179
- outputFormat: props?.outputFormat,
180
- providedFields: props?.recordFields,
181
- mandatoryFields: ["resource_arn", "event_timestamp", "stage", "payload"]
182
- }));
183
- }
184
- }
185
- /**
186
- * Send logs to a CloudWatch Log Group
187
- *
188
- * @param props Additional properties that are optionally used in log delivery for Log Group destinations
189
- */
190
- toLogGroup(logGroup, props) {
191
- try {
192
- jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_apigateway_mixins_CfnRestApiAccessLogsLogGroupProps(props);
193
- }
194
- catch (error) {
195
- if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
196
- Error.captureStackTrace(error, this.toLogGroup);
197
- }
198
- throw error;
199
- }
200
- {
201
- return new CfnRestApiLogsMixin("ACCESS_LOGS", new logsDelivery.LogGroupLogsDelivery(logGroup, {
202
- outputFormat: props?.outputFormat,
203
- providedFields: props?.recordFields,
204
- mandatoryFields: ["resource_arn", "event_timestamp", "stage", "payload"]
205
- }));
206
- }
207
- }
208
- /**
209
- * Send logs to a Firehose Delivery Stream
210
- *
211
- * @param props Additional properties that are optionally used in log delivery for Firehose destinations
212
- */
213
- toFirehose(deliveryStream, props) {
214
- try {
215
- jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_apigateway_mixins_CfnRestApiAccessLogsFirehoseProps(props);
216
- }
217
- catch (error) {
218
- if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
219
- Error.captureStackTrace(error, this.toFirehose);
220
- }
221
- throw error;
222
- }
223
- {
224
- return new CfnRestApiLogsMixin("ACCESS_LOGS", new logsDelivery.FirehoseLogsDelivery(deliveryStream, {
225
- outputFormat: props?.outputFormat,
226
- providedFields: props?.recordFields,
227
- mandatoryFields: ["resource_arn", "event_timestamp", "stage", "payload"]
228
- }));
229
- }
230
- }
231
- /**
232
- * Delivers logs to a pre-created delivery destination
233
- *
234
- * Supported destinations are S3, CWL, FH
235
- * You are responsible for setting up the correct permissions for your delivery destination, toDestination() does not set up any permissions for you.
236
- * Delivery destinations that are imported from another stack using CfnDeliveryDestination.fromDeliveryDestinationArn() or CfnDeliveryDestination.fromDeliveryDestinationName() are supported by toDestination().
237
- *
238
- * @param props Additional properties that are optionally used in log delivery for destinations
239
- */
240
- toDestination(destination, props) {
241
- try {
242
- jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_apigateway_mixins_CfnRestApiAccessLogsDestProps(props);
243
- }
244
- catch (error) {
245
- if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
246
- Error.captureStackTrace(error, this.toDestination);
247
- }
248
- throw error;
249
- }
250
- {
251
- return new CfnRestApiLogsMixin("ACCESS_LOGS", new logsDelivery.DestinationLogsDelivery(destination, {
252
- providedFields: props?.recordFields,
253
- mandatoryFields: ["resource_arn", "event_timestamp", "stage", "payload"]
254
- }));
255
- }
256
- }
257
- }
258
- exports.CfnRestApiAccessLogs = CfnRestApiAccessLogs;
259
- /**
260
- * The `AWS::ApiGateway::RestApi` resource creates a REST API.
261
- *
262
- * For more information, see [restapi:create](https://docs.aws.amazon.com/apigateway/latest/api/API_CreateRestApi.html) in the *Amazon API Gateway REST API Reference* .
263
- *
264
- * > On January 1, 2016, the Swagger Specification was donated to the [OpenAPI initiative](https://docs.aws.amazon.com/https://www.openapis.org/) , becoming the foundation of the OpenAPI Specification.
265
- *
266
- * @cloudformationResource AWS::ApiGateway::RestApi
267
- * @mixin true
268
- * @stability external
269
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html
270
- */
271
- class CfnRestApiLogsMixin extends cdk.Mixin {
272
- static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_apigateway.mixins.CfnRestApiLogsMixin", version: "2.267.0-alpha.0" };
273
- static EXECUTION_LOGS = new CfnRestApiExecutionLogs();
274
- static ACCESS_LOGS = new CfnRestApiAccessLogs();
275
- logType;
276
- logDelivery;
277
- /**
278
- * Create a mixin to enable vended logs for `AWS::ApiGateway::RestApi`.
279
- *
280
- * @param logType Type of logs that are getting vended
281
- * @param logDelivery Object in charge of setting up the delivery source, delivery destination, and delivery connection
282
- */
283
- constructor(logType, logDelivery) {
284
- super();
285
- try {
286
- jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_logs_ILogsDelivery(logDelivery);
287
- }
288
- catch (error) {
289
- if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
290
- Error.captureStackTrace(error, CfnRestApiLogsMixin);
291
- }
292
- throw error;
293
- }
294
- this.logType = logType;
295
- this.logDelivery = logDelivery;
296
- }
297
- /**
298
- * Check if this mixin supports the given construct (has vendedLogs property)
299
- */
300
- supports(construct) {
301
- return (cdk.CfnResource.isCfnResource(construct) && service.CfnRestApi.isCfnRestApi(construct));
302
- }
303
- /**
304
- * Apply vended logs configuration to the construct
305
- */
306
- applyTo(resource) {
307
- if (!this.supports(resource)) {
308
- return;
309
- }
310
- const sourceArn = service.CfnRestApi.arnForRestApi(resource);
311
- this.logDelivery.bind(resource, this.logType, sourceArn);
312
- }
313
- }
314
- exports.CfnRestApiLogsMixin = CfnRestApiLogsMixin;
315
- /**
316
- * Output Format options for each destination of CfnRestApiExecutionLogs.
317
- */
318
- class CfnRestApiExecutionLogsOutputFormat {
319
- static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_apigateway.mixins.CfnRestApiExecutionLogsOutputFormat", version: "2.267.0-alpha.0" };
320
- }
321
- exports.CfnRestApiExecutionLogsOutputFormat = CfnRestApiExecutionLogsOutputFormat;
322
- (function (CfnRestApiExecutionLogsOutputFormat) {
323
- let S3;
324
- (function (S3) {
325
- S3["JSON"] = "json";
326
- S3["PLAIN"] = "plain";
327
- S3["W3C"] = "w3c";
328
- S3["PARQUET"] = "parquet";
329
- })(S3 = CfnRestApiExecutionLogsOutputFormat.S3 || (CfnRestApiExecutionLogsOutputFormat.S3 = {}));
330
- let LogGroup;
331
- (function (LogGroup) {
332
- LogGroup["PLAIN"] = "plain";
333
- LogGroup["JSON"] = "json";
334
- })(LogGroup = CfnRestApiExecutionLogsOutputFormat.LogGroup || (CfnRestApiExecutionLogsOutputFormat.LogGroup = {}));
335
- let Firehose;
336
- (function (Firehose) {
337
- Firehose["JSON"] = "json";
338
- Firehose["PLAIN"] = "plain";
339
- Firehose["RAW"] = "raw";
340
- })(Firehose = CfnRestApiExecutionLogsOutputFormat.Firehose || (CfnRestApiExecutionLogsOutputFormat.Firehose = {}));
341
- })(CfnRestApiExecutionLogsOutputFormat || (exports.CfnRestApiExecutionLogsOutputFormat = CfnRestApiExecutionLogsOutputFormat = {}));
342
- var CfnRestApiExecutionLogsRecordFields;
343
- (function (CfnRestApiExecutionLogsRecordFields) {
344
- CfnRestApiExecutionLogsRecordFields["RESOURCE_ARN"] = "resource_arn";
345
- CfnRestApiExecutionLogsRecordFields["EVENT_TIMESTAMP"] = "event_timestamp";
346
- CfnRestApiExecutionLogsRecordFields["STAGE"] = "stage";
347
- CfnRestApiExecutionLogsRecordFields["PAYLOAD"] = "payload";
348
- })(CfnRestApiExecutionLogsRecordFields || (exports.CfnRestApiExecutionLogsRecordFields = CfnRestApiExecutionLogsRecordFields = {}));
349
- /**
350
- * Output Format options for each destination of CfnRestApiAccessLogs.
351
- */
352
- class CfnRestApiAccessLogsOutputFormat {
353
- static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_apigateway.mixins.CfnRestApiAccessLogsOutputFormat", version: "2.267.0-alpha.0" };
354
- }
355
- exports.CfnRestApiAccessLogsOutputFormat = CfnRestApiAccessLogsOutputFormat;
356
- (function (CfnRestApiAccessLogsOutputFormat) {
357
- let S3;
358
- (function (S3) {
359
- S3["JSON"] = "json";
360
- S3["PLAIN"] = "plain";
361
- S3["W3C"] = "w3c";
362
- S3["PARQUET"] = "parquet";
363
- })(S3 = CfnRestApiAccessLogsOutputFormat.S3 || (CfnRestApiAccessLogsOutputFormat.S3 = {}));
364
- let LogGroup;
365
- (function (LogGroup) {
366
- LogGroup["PLAIN"] = "plain";
367
- LogGroup["JSON"] = "json";
368
- })(LogGroup = CfnRestApiAccessLogsOutputFormat.LogGroup || (CfnRestApiAccessLogsOutputFormat.LogGroup = {}));
369
- let Firehose;
370
- (function (Firehose) {
371
- Firehose["JSON"] = "json";
372
- Firehose["PLAIN"] = "plain";
373
- Firehose["RAW"] = "raw";
374
- })(Firehose = CfnRestApiAccessLogsOutputFormat.Firehose || (CfnRestApiAccessLogsOutputFormat.Firehose = {}));
375
- })(CfnRestApiAccessLogsOutputFormat || (exports.CfnRestApiAccessLogsOutputFormat = CfnRestApiAccessLogsOutputFormat = {}));
376
- var CfnRestApiAccessLogsRecordFields;
377
- (function (CfnRestApiAccessLogsRecordFields) {
378
- CfnRestApiAccessLogsRecordFields["RESOURCE_ARN"] = "resource_arn";
379
- CfnRestApiAccessLogsRecordFields["EVENT_TIMESTAMP"] = "event_timestamp";
380
- CfnRestApiAccessLogsRecordFields["STAGE"] = "stage";
381
- CfnRestApiAccessLogsRecordFields["PAYLOAD"] = "payload";
382
- })(CfnRestApiAccessLogsRecordFields || (exports.CfnRestApiAccessLogsRecordFields = CfnRestApiAccessLogsRecordFields = {}));
@@ -1,16 +0,0 @@
1
- {
2
- "targets": {
3
- "java": {
4
- "package": "software.amazon.awscdk.mixins.preview.services.aps"
5
- },
6
- "dotnet": {
7
- "namespace": "Amazon.CDK.Mixins.Preview.AWS.APS"
8
- },
9
- "python": {
10
- "module": "aws_cdk.mixins_preview.aws_aps"
11
- },
12
- "go": {
13
- "packageName": "previewawsaps"
14
- }
15
- }
16
- }
@@ -1,16 +0,0 @@
1
- {
2
- "targets": {
3
- "java": {
4
- "package": "software.amazon.awscdk.mixins.preview.services.aps.mixins"
5
- },
6
- "dotnet": {
7
- "namespace": "Amazon.CDK.Mixins.Preview.AWS.APS.Mixins"
8
- },
9
- "python": {
10
- "module": "aws_cdk.mixins_preview.aws_aps.mixins"
11
- },
12
- "go": {
13
- "packageName": "previewawsapsmixins"
14
- }
15
- }
16
- }
@@ -1 +0,0 @@
1
- export * as mixins from './mixins';
@@ -1,227 +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-aps";
6
- /**
7
- * Builder for CfnWorkspaceLogsMixin to generate MANAGED_PROMETHEUS_LOGS for CfnWorkspace
8
- *
9
- * @cloudformationResource AWS::APS::Workspace
10
- * @logType MANAGED_PROMETHEUS_LOGS
11
- * @stability external
12
- */
13
- export declare class CfnWorkspaceManagedPrometheusLogs {
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?: CfnWorkspaceManagedPrometheusLogsS3Props): CfnWorkspaceLogsMixin;
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?: CfnWorkspaceManagedPrometheusLogsLogGroupProps): CfnWorkspaceLogsMixin;
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?: CfnWorkspaceManagedPrometheusLogsFirehoseProps): CfnWorkspaceLogsMixin;
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): CfnWorkspaceLogsMixin;
40
- }
41
- /**
42
- * An Amazon Managed Service for Prometheus workspace is a logical and isolated Prometheus server dedicated to ingesting, storing, and querying your Prometheus-compatible metrics.
43
- *
44
- * @cloudformationResource AWS::APS::Workspace
45
- * @mixin true
46
- * @stability external
47
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-workspace.html
48
- */
49
- export declare class CfnWorkspaceLogsMixin extends cdk.Mixin implements constructs.IMixin {
50
- static readonly MANAGED_PROMETHEUS_LOGS: CfnWorkspaceManagedPrometheusLogs;
51
- protected readonly logType: string;
52
- protected readonly logDelivery: logsDelivery.ILogsDelivery;
53
- /**
54
- * Create a mixin to enable vended logs for `AWS::APS::Workspace`.
55
- *
56
- * @param logType Type of logs that are getting vended
57
- * @param logDelivery Object in charge of setting up the delivery source, delivery destination, and delivery connection
58
- */
59
- constructor(logType: string, logDelivery: logsDelivery.ILogsDelivery);
60
- /**
61
- * Check if this mixin supports the given construct (has vendedLogs property)
62
- */
63
- supports(construct: constructs.IConstruct): construct is service.CfnWorkspace;
64
- /**
65
- * Apply vended logs configuration to the construct
66
- */
67
- applyTo(resource: constructs.IConstruct): void;
68
- }
69
- /**
70
- * Output Format options for each destination of CfnWorkspaceManagedPrometheusLogs.
71
- */
72
- export declare class CfnWorkspaceManagedPrometheusLogsOutputFormat {
73
- }
74
- export declare namespace CfnWorkspaceManagedPrometheusLogsOutputFormat {
75
- enum S3 {
76
- JSON = "json",
77
- PLAIN = "plain",
78
- W3C = "w3c",
79
- PARQUET = "parquet"
80
- }
81
- enum LogGroup {
82
- PLAIN = "plain",
83
- JSON = "json"
84
- }
85
- enum Firehose {
86
- JSON = "json",
87
- PLAIN = "plain",
88
- RAW = "raw"
89
- }
90
- }
91
- export interface CfnWorkspaceManagedPrometheusLogsS3Props {
92
- /**
93
- * Encrpytion key for your delivery bucket
94
- */
95
- readonly encryptionKey?: interfaces.aws_kms.IKeyRef;
96
- /**
97
- * Format for log output, options are json,plain,w3c,parquet
98
- */
99
- readonly outputFormat?: CfnWorkspaceManagedPrometheusLogsOutputFormat.S3;
100
- }
101
- export interface CfnWorkspaceManagedPrometheusLogsLogGroupProps {
102
- /**
103
- * Format for log output, options are plain,json
104
- */
105
- readonly outputFormat?: CfnWorkspaceManagedPrometheusLogsOutputFormat.LogGroup;
106
- }
107
- export interface CfnWorkspaceManagedPrometheusLogsFirehoseProps {
108
- /**
109
- * Format for log output, options are json,plain,raw
110
- */
111
- readonly outputFormat?: CfnWorkspaceManagedPrometheusLogsOutputFormat.Firehose;
112
- }
113
- /**
114
- * Builder for CfnScraperLogsMixin to generate APPLICATION_LOGS for CfnScraper
115
- *
116
- * @cloudformationResource AWS::APS::Scraper
117
- * @logType APPLICATION_LOGS
118
- * @stability external
119
- */
120
- export declare class CfnScraperApplicationLogs {
121
- /**
122
- * Send logs to an S3 Bucket
123
- *
124
- * @param props Additional properties that are optionally used in log delivery for S3 destinations
125
- */
126
- toS3(bucket: interfaces.aws_s3.IBucketRef, props?: CfnScraperApplicationLogsS3Props): CfnScraperLogsMixin;
127
- /**
128
- * Send logs to a CloudWatch Log Group
129
- *
130
- * @param props Additional properties that are optionally used in log delivery for Log Group destinations
131
- */
132
- toLogGroup(logGroup: interfaces.aws_logs.ILogGroupRef, props?: CfnScraperApplicationLogsLogGroupProps): CfnScraperLogsMixin;
133
- /**
134
- * Send logs to a Firehose Delivery Stream
135
- *
136
- * @param props Additional properties that are optionally used in log delivery for Firehose destinations
137
- */
138
- toFirehose(deliveryStream: interfaces.aws_kinesisfirehose.IDeliveryStreamRef, props?: CfnScraperApplicationLogsFirehoseProps): CfnScraperLogsMixin;
139
- /**
140
- * Delivers logs to a pre-created delivery destination
141
- *
142
- * Supported destinations are S3, CWL, FH
143
- * You are responsible for setting up the correct permissions for your delivery destination, toDestination() does not set up any permissions for you.
144
- * Delivery destinations that are imported from another stack using CfnDeliveryDestination.fromDeliveryDestinationArn() or CfnDeliveryDestination.fromDeliveryDestinationName() are supported by toDestination().
145
- */
146
- toDestination(destination: interfaces.aws_logs.IDeliveryDestinationRef): CfnScraperLogsMixin;
147
- }
148
- /**
149
- * A scraper is a fully-managed agentless collector that discovers and pulls metrics automatically.
150
- *
151
- * A scraper pulls metrics from Prometheus-compatible sources within an Amazon EKS cluster, and sends them to your Amazon Managed Service for Prometheus workspace. Scrapers are flexible. You can configure the scraper to control what metrics are collected, the frequency of collection, what transformations are applied to the metrics, and more.
152
- *
153
- * An IAM role will be created for you that Amazon Managed Service for Prometheus uses to access the metrics in your cluster. You must configure this role with a policy that allows it to scrape metrics from your cluster. For more information, see [Configuring your Amazon EKS cluster](https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-collector-how-to.html#AMP-collector-eks-setup) in the *Amazon Managed Service for Prometheus User Guide* .
154
- *
155
- * The `scrapeConfiguration` parameter contains the YAML configuration for the scraper.
156
- *
157
- * > For more information about collectors, including what metrics are collected, and how to configure the scraper, see [Using an AWS managed collector](https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-collector-how-to.html) in the *Amazon Managed Service for Prometheus User Guide* .
158
- *
159
- * @cloudformationResource AWS::APS::Scraper
160
- * @mixin true
161
- * @stability external
162
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-scraper.html
163
- */
164
- export declare class CfnScraperLogsMixin extends cdk.Mixin implements constructs.IMixin {
165
- static readonly APPLICATION_LOGS: CfnScraperApplicationLogs;
166
- protected readonly logType: string;
167
- protected readonly logDelivery: logsDelivery.ILogsDelivery;
168
- /**
169
- * Create a mixin to enable vended logs for `AWS::APS::Scraper`.
170
- *
171
- * @param logType Type of logs that are getting vended
172
- * @param logDelivery Object in charge of setting up the delivery source, delivery destination, and delivery connection
173
- */
174
- constructor(logType: string, logDelivery: logsDelivery.ILogsDelivery);
175
- /**
176
- * Check if this mixin supports the given construct (has vendedLogs property)
177
- */
178
- supports(construct: constructs.IConstruct): construct is service.CfnScraper;
179
- /**
180
- * Apply vended logs configuration to the construct
181
- */
182
- applyTo(resource: constructs.IConstruct): void;
183
- }
184
- /**
185
- * Output Format options for each destination of CfnScraperApplicationLogs.
186
- */
187
- export declare class CfnScraperApplicationLogsOutputFormat {
188
- }
189
- export declare namespace CfnScraperApplicationLogsOutputFormat {
190
- enum S3 {
191
- JSON = "json",
192
- PLAIN = "plain",
193
- W3C = "w3c",
194
- PARQUET = "parquet"
195
- }
196
- enum LogGroup {
197
- PLAIN = "plain",
198
- JSON = "json"
199
- }
200
- enum Firehose {
201
- JSON = "json",
202
- PLAIN = "plain",
203
- RAW = "raw"
204
- }
205
- }
206
- export interface CfnScraperApplicationLogsS3Props {
207
- /**
208
- * Encrpytion key for your delivery bucket
209
- */
210
- readonly encryptionKey?: interfaces.aws_kms.IKeyRef;
211
- /**
212
- * Format for log output, options are json,plain,w3c,parquet
213
- */
214
- readonly outputFormat?: CfnScraperApplicationLogsOutputFormat.S3;
215
- }
216
- export interface CfnScraperApplicationLogsLogGroupProps {
217
- /**
218
- * Format for log output, options are plain,json
219
- */
220
- readonly outputFormat?: CfnScraperApplicationLogsOutputFormat.LogGroup;
221
- }
222
- export interface CfnScraperApplicationLogsFirehoseProps {
223
- /**
224
- * Format for log output, options are json,plain,raw
225
- */
226
- readonly outputFormat?: CfnScraperApplicationLogsOutputFormat.Firehose;
227
- }