@monorise/sst 1.0.0-dev.2 → 3.1.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 (462) hide show
  1. package/dist/.sst/platform/src/components/aws/apigatewayv2.d.ts +1 -3
  2. package/dist/.sst/platform/src/components/aws/apigatewayv2.d.ts.map +1 -1
  3. package/dist/.sst/platform/src/components/aws/aurora.d.ts +4 -4
  4. package/dist/.sst/platform/src/components/aws/aurora.d.ts.map +1 -1
  5. package/dist/.sst/platform/src/components/aws/auth.d.ts +38 -3
  6. package/dist/.sst/platform/src/components/aws/auth.d.ts.map +1 -1
  7. package/dist/.sst/platform/src/components/aws/bucket.d.ts +102 -1
  8. package/dist/.sst/platform/src/components/aws/bucket.d.ts.map +1 -1
  9. package/dist/.sst/platform/src/components/aws/cluster.d.ts +1 -3
  10. package/dist/.sst/platform/src/components/aws/cluster.d.ts.map +1 -1
  11. package/dist/.sst/platform/src/components/aws/cognito-user-pool-client.d.ts.map +1 -1
  12. package/dist/.sst/platform/src/components/aws/cognito-user-pool.d.ts +4 -0
  13. package/dist/.sst/platform/src/components/aws/cognito-user-pool.d.ts.map +1 -1
  14. package/dist/.sst/platform/src/components/aws/dynamo.d.ts +0 -1
  15. package/dist/.sst/platform/src/components/aws/dynamo.d.ts.map +1 -1
  16. package/dist/.sst/platform/src/components/aws/email.d.ts +1 -1
  17. package/dist/.sst/platform/src/components/aws/fargate.d.ts +34 -0
  18. package/dist/.sst/platform/src/components/aws/fargate.d.ts.map +1 -1
  19. package/dist/.sst/platform/src/components/aws/function.d.ts +1 -3
  20. package/dist/.sst/platform/src/components/aws/function.d.ts.map +1 -1
  21. package/dist/.sst/platform/src/components/aws/helpers/arn.d.ts +5 -0
  22. package/dist/.sst/platform/src/components/aws/helpers/arn.d.ts.map +1 -1
  23. package/dist/.sst/platform/src/components/aws/open-search.d.ts +4 -4
  24. package/dist/.sst/platform/src/components/aws/open-search.d.ts.map +1 -1
  25. package/dist/.sst/platform/src/components/aws/opencontrol.d.ts.map +1 -1
  26. package/dist/.sst/platform/src/components/aws/permission.d.ts +13 -0
  27. package/dist/.sst/platform/src/components/aws/permission.d.ts.map +1 -1
  28. package/dist/.sst/platform/src/components/aws/postgres.d.ts +3 -3
  29. package/dist/.sst/platform/src/components/aws/postgres.d.ts.map +1 -1
  30. package/dist/.sst/platform/src/components/aws/realtime.d.ts +6 -0
  31. package/dist/.sst/platform/src/components/aws/realtime.d.ts.map +1 -1
  32. package/dist/.sst/platform/src/components/aws/redis.d.ts.map +1 -1
  33. package/dist/.sst/platform/src/components/aws/remix.d.ts.map +1 -1
  34. package/dist/.sst/platform/src/components/aws/router.d.ts +20 -14
  35. package/dist/.sst/platform/src/components/aws/router.d.ts.map +1 -1
  36. package/dist/.sst/platform/src/components/aws/service.d.ts +26 -0
  37. package/dist/.sst/platform/src/components/aws/service.d.ts.map +1 -1
  38. package/dist/.sst/platform/src/components/aws/solid-start.d.ts.map +1 -1
  39. package/dist/.sst/platform/src/components/aws/ssr-site.d.ts +197 -6
  40. package/dist/.sst/platform/src/components/aws/ssr-site.d.ts.map +1 -1
  41. package/dist/.sst/platform/src/components/aws/static-site.d.ts +5 -5
  42. package/dist/.sst/platform/src/components/aws/static-site.d.ts.map +1 -1
  43. package/dist/.sst/platform/src/components/aws/step-functions/state.d.ts +34 -0
  44. package/dist/.sst/platform/src/components/aws/step-functions/state.d.ts.map +1 -1
  45. package/dist/.sst/platform/src/components/aws/step-functions.d.ts.map +1 -1
  46. package/dist/.sst/platform/src/components/aws/svelte-kit.d.ts.map +1 -1
  47. package/dist/.sst/platform/src/components/aws/tan-stack-start.d.ts +1 -1
  48. package/dist/.sst/platform/src/components/aws/task.d.ts.map +1 -1
  49. package/dist/.sst/platform/src/components/aws/vpc.d.ts.map +1 -1
  50. package/dist/.sst/platform/src/components/base/base-ssr-site.d.ts +1 -99
  51. package/dist/.sst/platform/src/components/base/base-ssr-site.d.ts.map +1 -1
  52. package/dist/.sst/platform/src/components/base/base-static-site.d.ts.map +1 -1
  53. package/dist/.sst/platform/src/components/cloudflare/binding.d.ts +1 -1
  54. package/dist/.sst/platform/src/components/cloudflare/binding.d.ts.map +1 -1
  55. package/dist/.sst/platform/src/components/cloudflare/bucket.d.ts +4 -2
  56. package/dist/.sst/platform/src/components/cloudflare/bucket.d.ts.map +1 -1
  57. package/dist/.sst/platform/src/components/cloudflare/cron.d.ts.map +1 -1
  58. package/dist/.sst/platform/src/components/cloudflare/d1.d.ts +1 -1
  59. package/dist/.sst/platform/src/components/cloudflare/experimental/astro.d.ts +186 -0
  60. package/dist/.sst/platform/src/components/cloudflare/experimental/astro.d.ts.map +1 -0
  61. package/dist/.sst/platform/src/components/cloudflare/experimental/index.d.ts +4 -0
  62. package/dist/.sst/platform/src/components/cloudflare/experimental/index.d.ts.map +1 -0
  63. package/dist/.sst/platform/src/components/cloudflare/experimental/solid-start.d.ts +171 -0
  64. package/dist/.sst/platform/src/components/cloudflare/experimental/solid-start.d.ts.map +1 -0
  65. package/dist/.sst/platform/src/components/cloudflare/experimental/static-site.d.ts +222 -0
  66. package/dist/.sst/platform/src/components/cloudflare/experimental/static-site.d.ts.map +1 -0
  67. package/dist/.sst/platform/src/components/cloudflare/helpers/fetch.d.ts.map +1 -1
  68. package/dist/.sst/platform/src/components/cloudflare/helpers/worker-builder.d.ts +1 -1
  69. package/dist/.sst/platform/src/components/cloudflare/helpers/worker-builder.d.ts.map +1 -1
  70. package/dist/.sst/platform/src/components/cloudflare/index.d.ts +4 -1
  71. package/dist/.sst/platform/src/components/cloudflare/index.d.ts.map +1 -1
  72. package/dist/.sst/platform/src/components/cloudflare/kv.d.ts +8 -2
  73. package/dist/.sst/platform/src/components/cloudflare/kv.d.ts.map +1 -1
  74. package/dist/.sst/platform/src/components/cloudflare/providers/kv-data.d.ts.map +1 -1
  75. package/dist/.sst/platform/src/components/cloudflare/providers/worker-assets.d.ts +18 -0
  76. package/dist/.sst/platform/src/components/cloudflare/providers/worker-assets.d.ts.map +1 -0
  77. package/dist/.sst/platform/src/components/cloudflare/queue.d.ts +1 -1
  78. package/dist/.sst/platform/src/components/cloudflare/ssr-site.d.ts +34 -42
  79. package/dist/.sst/platform/src/components/cloudflare/ssr-site.d.ts.map +1 -1
  80. package/dist/.sst/platform/src/components/cloudflare/worker.d.ts +28 -6
  81. package/dist/.sst/platform/src/components/cloudflare/worker.d.ts.map +1 -1
  82. package/dist/.sst/platform/src/components/component.d.ts.map +1 -1
  83. package/dist/.sst/platform/src/components/duration.d.ts +2 -1
  84. package/dist/.sst/platform/src/components/duration.d.ts.map +1 -1
  85. package/dist/.sst/platform/src/components/rpc/rpc.d.ts +1 -0
  86. package/dist/.sst/platform/src/components/rpc/rpc.d.ts.map +1 -1
  87. package/dist/.sst/platform/src/components/secret.d.ts +1 -1
  88. package/dist/.sst/platform/src/config.d.ts +15 -0
  89. package/dist/.sst/platform/src/config.d.ts.map +1 -1
  90. package/dist/.sst/platform/src/util/fs.d.ts +5 -0
  91. package/dist/.sst/platform/src/util/fs.d.ts.map +1 -0
  92. package/dist/components/dashboard.d.ts +2 -0
  93. package/dist/components/dashboard.d.ts.map +1 -0
  94. package/dist/components/monorise-core.d.ts.map +1 -1
  95. package/dist/components/q-function.d.ts +1 -1
  96. package/dist/components/q-function.d.ts.map +1 -1
  97. package/dist/components/single-table.d.ts +2 -1
  98. package/dist/components/single-table.d.ts.map +1 -1
  99. package/dist/index.js +605 -7
  100. package/dist/index.js.map +1 -1
  101. package/dist/tsup.config.d.ts +3 -0
  102. package/dist/tsup.config.d.ts.map +1 -0
  103. package/package.json +3 -3
  104. package/dist/.sst/platform/src/components/aws/analog.js +0 -118
  105. package/dist/.sst/platform/src/components/aws/analog.js.map +0 -1
  106. package/dist/.sst/platform/src/components/aws/apigateway-websocket-route.js +0 -110
  107. package/dist/.sst/platform/src/components/aws/apigateway-websocket-route.js.map +0 -1
  108. package/dist/.sst/platform/src/components/aws/apigateway-websocket.js +0 -409
  109. package/dist/.sst/platform/src/components/aws/apigateway-websocket.js.map +0 -1
  110. package/dist/.sst/platform/src/components/aws/apigatewayv1-api-key.js +0 -55
  111. package/dist/.sst/platform/src/components/aws/apigatewayv1-api-key.js.map +0 -1
  112. package/dist/.sst/platform/src/components/aws/apigatewayv1-authorizer.js +0 -110
  113. package/dist/.sst/platform/src/components/aws/apigatewayv1-authorizer.js.map +0 -1
  114. package/dist/.sst/platform/src/components/aws/apigatewayv1-base-route.js +0 -34
  115. package/dist/.sst/platform/src/components/aws/apigatewayv1-base-route.js.map +0 -1
  116. package/dist/.sst/platform/src/components/aws/apigatewayv1-integration-route.js +0 -49
  117. package/dist/.sst/platform/src/components/aws/apigatewayv1-integration-route.js.map +0 -1
  118. package/dist/.sst/platform/src/components/aws/apigatewayv1-lambda-route.js +0 -85
  119. package/dist/.sst/platform/src/components/aws/apigatewayv1-lambda-route.js.map +0 -1
  120. package/dist/.sst/platform/src/components/aws/apigatewayv1-usage-plan.js +0 -66
  121. package/dist/.sst/platform/src/components/aws/apigatewayv1-usage-plan.js.map +0 -1
  122. package/dist/.sst/platform/src/components/aws/apigatewayv1.js +0 -749
  123. package/dist/.sst/platform/src/components/aws/apigatewayv1.js.map +0 -1
  124. package/dist/.sst/platform/src/components/aws/apigatewayv2-authorizer.js +0 -98
  125. package/dist/.sst/platform/src/components/aws/apigatewayv2-authorizer.js.map +0 -1
  126. package/dist/.sst/platform/src/components/aws/apigatewayv2-base-route.js +0 -28
  127. package/dist/.sst/platform/src/components/aws/apigatewayv2-base-route.js.map +0 -1
  128. package/dist/.sst/platform/src/components/aws/apigatewayv2-lambda-route.js +0 -84
  129. package/dist/.sst/platform/src/components/aws/apigatewayv2-lambda-route.js.map +0 -1
  130. package/dist/.sst/platform/src/components/aws/apigatewayv2-private-route.js +0 -55
  131. package/dist/.sst/platform/src/components/aws/apigatewayv2-private-route.js.map +0 -1
  132. package/dist/.sst/platform/src/components/aws/apigatewayv2-url-route.js +0 -53
  133. package/dist/.sst/platform/src/components/aws/apigatewayv2-url-route.js.map +0 -1
  134. package/dist/.sst/platform/src/components/aws/apigatewayv2.js +0 -648
  135. package/dist/.sst/platform/src/components/aws/apigatewayv2.js.map +0 -1
  136. package/dist/.sst/platform/src/components/aws/app-sync-data-source.js +0 -208
  137. package/dist/.sst/platform/src/components/aws/app-sync-data-source.js.map +0 -1
  138. package/dist/.sst/platform/src/components/aws/app-sync-function.js +0 -52
  139. package/dist/.sst/platform/src/components/aws/app-sync-function.js.map +0 -1
  140. package/dist/.sst/platform/src/components/aws/app-sync-resolver.js +0 -70
  141. package/dist/.sst/platform/src/components/aws/app-sync-resolver.js.map +0 -1
  142. package/dist/.sst/platform/src/components/aws/app-sync.js +0 -330
  143. package/dist/.sst/platform/src/components/aws/app-sync.js.map +0 -1
  144. package/dist/.sst/platform/src/components/aws/astro.js +0 -156
  145. package/dist/.sst/platform/src/components/aws/astro.js.map +0 -1
  146. package/dist/.sst/platform/src/components/aws/aurora.js +0 -678
  147. package/dist/.sst/platform/src/components/aws/aurora.js.map +0 -1
  148. package/dist/.sst/platform/src/components/aws/auth-v1.js +0 -36
  149. package/dist/.sst/platform/src/components/aws/auth-v1.js.map +0 -1
  150. package/dist/.sst/platform/src/components/aws/auth.js +0 -209
  151. package/dist/.sst/platform/src/components/aws/auth.js.map +0 -1
  152. package/dist/.sst/platform/src/components/aws/bucket-lambda-subscriber.js +0 -99
  153. package/dist/.sst/platform/src/components/aws/bucket-lambda-subscriber.js.map +0 -1
  154. package/dist/.sst/platform/src/components/aws/bucket-notification.js +0 -170
  155. package/dist/.sst/platform/src/components/aws/bucket-notification.js.map +0 -1
  156. package/dist/.sst/platform/src/components/aws/bucket-queue-subscriber.js +0 -77
  157. package/dist/.sst/platform/src/components/aws/bucket-queue-subscriber.js.map +0 -1
  158. package/dist/.sst/platform/src/components/aws/bucket-topic-subscriber.js +0 -99
  159. package/dist/.sst/platform/src/components/aws/bucket-topic-subscriber.js.map +0 -1
  160. package/dist/.sst/platform/src/components/aws/bucket.js +0 -754
  161. package/dist/.sst/platform/src/components/aws/bucket.js.map +0 -1
  162. package/dist/.sst/platform/src/components/aws/bus-base-subscriber.js +0 -19
  163. package/dist/.sst/platform/src/components/aws/bus-base-subscriber.js.map +0 -1
  164. package/dist/.sst/platform/src/components/aws/bus-lambda-subscriber.js +0 -81
  165. package/dist/.sst/platform/src/components/aws/bus-lambda-subscriber.js.map +0 -1
  166. package/dist/.sst/platform/src/components/aws/bus-queue-subscriber.js +0 -63
  167. package/dist/.sst/platform/src/components/aws/bus-queue-subscriber.js.map +0 -1
  168. package/dist/.sst/platform/src/components/aws/bus.js +0 -350
  169. package/dist/.sst/platform/src/components/aws/bus.js.map +0 -1
  170. package/dist/.sst/platform/src/components/aws/cdn.js +0 -234
  171. package/dist/.sst/platform/src/components/aws/cdn.js.map +0 -1
  172. package/dist/.sst/platform/src/components/aws/cluster-v1.js +0 -245
  173. package/dist/.sst/platform/src/components/aws/cluster-v1.js.map +0 -1
  174. package/dist/.sst/platform/src/components/aws/cluster.js +0 -321
  175. package/dist/.sst/platform/src/components/aws/cluster.js.map +0 -1
  176. package/dist/.sst/platform/src/components/aws/cognito-identity-pool.js +0 -263
  177. package/dist/.sst/platform/src/components/aws/cognito-identity-pool.js.map +0 -1
  178. package/dist/.sst/platform/src/components/aws/cognito-identity-provider.js +0 -67
  179. package/dist/.sst/platform/src/components/aws/cognito-identity-provider.js.map +0 -1
  180. package/dist/.sst/platform/src/components/aws/cognito-user-pool-client.js +0 -81
  181. package/dist/.sst/platform/src/components/aws/cognito-user-pool-client.js.map +0 -1
  182. package/dist/.sst/platform/src/components/aws/cognito-user-pool.js +0 -368
  183. package/dist/.sst/platform/src/components/aws/cognito-user-pool.js.map +0 -1
  184. package/dist/.sst/platform/src/components/aws/cron.js +0 -200
  185. package/dist/.sst/platform/src/components/aws/cron.js.map +0 -1
  186. package/dist/.sst/platform/src/components/aws/dns-validated-certificate.js +0 -55
  187. package/dist/.sst/platform/src/components/aws/dns-validated-certificate.js.map +0 -1
  188. package/dist/.sst/platform/src/components/aws/dns.js +0 -121
  189. package/dist/.sst/platform/src/components/aws/dns.js.map +0 -1
  190. package/dist/.sst/platform/src/components/aws/dynamo-lambda-subscriber.js +0 -79
  191. package/dist/.sst/platform/src/components/aws/dynamo-lambda-subscriber.js.map +0 -1
  192. package/dist/.sst/platform/src/components/aws/dynamo.js +0 -291
  193. package/dist/.sst/platform/src/components/aws/dynamo.js.map +0 -1
  194. package/dist/.sst/platform/src/components/aws/efs.js +0 -241
  195. package/dist/.sst/platform/src/components/aws/efs.js.map +0 -1
  196. package/dist/.sst/platform/src/components/aws/email.js +0 -276
  197. package/dist/.sst/platform/src/components/aws/email.js.map +0 -1
  198. package/dist/.sst/platform/src/components/aws/fargate.js +0 -434
  199. package/dist/.sst/platform/src/components/aws/fargate.js.map +0 -1
  200. package/dist/.sst/platform/src/components/aws/function.js +0 -1041
  201. package/dist/.sst/platform/src/components/aws/function.js.map +0 -1
  202. package/dist/.sst/platform/src/components/aws/helpers/apigateway-account.js +0 -31
  203. package/dist/.sst/platform/src/components/aws/helpers/apigateway-account.js.map +0 -1
  204. package/dist/.sst/platform/src/components/aws/helpers/apigatewayv2-domain.js +0 -2
  205. package/dist/.sst/platform/src/components/aws/helpers/apigatewayv2-domain.js.map +0 -1
  206. package/dist/.sst/platform/src/components/aws/helpers/arn.js +0 -86
  207. package/dist/.sst/platform/src/components/aws/helpers/arn.js.map +0 -1
  208. package/dist/.sst/platform/src/components/aws/helpers/bootstrap.js +0 -7
  209. package/dist/.sst/platform/src/components/aws/helpers/bootstrap.js.map +0 -1
  210. package/dist/.sst/platform/src/components/aws/helpers/container-builder.js +0 -27
  211. package/dist/.sst/platform/src/components/aws/helpers/container-builder.js.map +0 -1
  212. package/dist/.sst/platform/src/components/aws/helpers/function-builder.js +0 -51
  213. package/dist/.sst/platform/src/components/aws/helpers/function-builder.js.map +0 -1
  214. package/dist/.sst/platform/src/components/aws/helpers/provider.js +0 -34
  215. package/dist/.sst/platform/src/components/aws/helpers/provider.js.map +0 -1
  216. package/dist/.sst/platform/src/components/aws/helpers/quota.js +0 -20
  217. package/dist/.sst/platform/src/components/aws/helpers/quota.js.map +0 -1
  218. package/dist/.sst/platform/src/components/aws/helpers/site-builder.js +0 -36
  219. package/dist/.sst/platform/src/components/aws/helpers/site-builder.js.map +0 -1
  220. package/dist/.sst/platform/src/components/aws/helpers/subscriber.js +0 -13
  221. package/dist/.sst/platform/src/components/aws/helpers/subscriber.js.map +0 -1
  222. package/dist/.sst/platform/src/components/aws/https-redirect.js +0 -124
  223. package/dist/.sst/platform/src/components/aws/https-redirect.js.map +0 -1
  224. package/dist/.sst/platform/src/components/aws/iam-edit.js +0 -40
  225. package/dist/.sst/platform/src/components/aws/iam-edit.js.map +0 -1
  226. package/dist/.sst/platform/src/components/aws/index.js +0 -49
  227. package/dist/.sst/platform/src/components/aws/index.js.map +0 -1
  228. package/dist/.sst/platform/src/components/aws/kinesis-stream-lambda-subscriber.js +0 -82
  229. package/dist/.sst/platform/src/components/aws/kinesis-stream-lambda-subscriber.js.map +0 -1
  230. package/dist/.sst/platform/src/components/aws/kinesis-stream.js +0 -134
  231. package/dist/.sst/platform/src/components/aws/kinesis-stream.js.map +0 -1
  232. package/dist/.sst/platform/src/components/aws/linkable.js +0 -25
  233. package/dist/.sst/platform/src/components/aws/linkable.js.map +0 -1
  234. package/dist/.sst/platform/src/components/aws/logging.js +0 -26
  235. package/dist/.sst/platform/src/components/aws/logging.js.map +0 -1
  236. package/dist/.sst/platform/src/components/aws/mysql.js +0 -514
  237. package/dist/.sst/platform/src/components/aws/mysql.js.map +0 -1
  238. package/dist/.sst/platform/src/components/aws/nextjs.js +0 -444
  239. package/dist/.sst/platform/src/components/aws/nextjs.js.map +0 -1
  240. package/dist/.sst/platform/src/components/aws/nuxt.js +0 -113
  241. package/dist/.sst/platform/src/components/aws/nuxt.js.map +0 -1
  242. package/dist/.sst/platform/src/components/aws/open-search.js +0 -365
  243. package/dist/.sst/platform/src/components/aws/open-search.js.map +0 -1
  244. package/dist/.sst/platform/src/components/aws/opencontrol.js +0 -164
  245. package/dist/.sst/platform/src/components/aws/opencontrol.js.map +0 -1
  246. package/dist/.sst/platform/src/components/aws/permission.js +0 -19
  247. package/dist/.sst/platform/src/components/aws/permission.js.map +0 -1
  248. package/dist/.sst/platform/src/components/aws/postgres-v1.js +0 -304
  249. package/dist/.sst/platform/src/components/aws/postgres-v1.js.map +0 -1
  250. package/dist/.sst/platform/src/components/aws/postgres.js +0 -532
  251. package/dist/.sst/platform/src/components/aws/postgres.js.map +0 -1
  252. package/dist/.sst/platform/src/components/aws/providers/bucket-files.js +0 -8
  253. package/dist/.sst/platform/src/components/aws/providers/bucket-files.js.map +0 -1
  254. package/dist/.sst/platform/src/components/aws/providers/distribution-deployment-waiter.js +0 -8
  255. package/dist/.sst/platform/src/components/aws/providers/distribution-deployment-waiter.js.map +0 -1
  256. package/dist/.sst/platform/src/components/aws/providers/distribution-invalidation.js +0 -8
  257. package/dist/.sst/platform/src/components/aws/providers/distribution-invalidation.js.map +0 -1
  258. package/dist/.sst/platform/src/components/aws/providers/function-environment-update.js +0 -18
  259. package/dist/.sst/platform/src/components/aws/providers/function-environment-update.js.map +0 -1
  260. package/dist/.sst/platform/src/components/aws/providers/hosted-zone-lookup.js +0 -8
  261. package/dist/.sst/platform/src/components/aws/providers/hosted-zone-lookup.js.map +0 -1
  262. package/dist/.sst/platform/src/components/aws/providers/kv-keys.js +0 -8
  263. package/dist/.sst/platform/src/components/aws/providers/kv-keys.js.map +0 -1
  264. package/dist/.sst/platform/src/components/aws/providers/kv-routes-update.js +0 -8
  265. package/dist/.sst/platform/src/components/aws/providers/kv-routes-update.js.map +0 -1
  266. package/dist/.sst/platform/src/components/aws/providers/origin-access-control.js +0 -8
  267. package/dist/.sst/platform/src/components/aws/providers/origin-access-control.js.map +0 -1
  268. package/dist/.sst/platform/src/components/aws/providers/rds-role-lookup.js +0 -8
  269. package/dist/.sst/platform/src/components/aws/providers/rds-role-lookup.js.map +0 -1
  270. package/dist/.sst/platform/src/components/aws/providers/vector-table.js +0 -8
  271. package/dist/.sst/platform/src/components/aws/providers/vector-table.js.map +0 -1
  272. package/dist/.sst/platform/src/components/aws/queue-lambda-subscriber.js +0 -81
  273. package/dist/.sst/platform/src/components/aws/queue-lambda-subscriber.js.map +0 -1
  274. package/dist/.sst/platform/src/components/aws/queue.js +0 -322
  275. package/dist/.sst/platform/src/components/aws/queue.js.map +0 -1
  276. package/dist/.sst/platform/src/components/aws/react.js +0 -157
  277. package/dist/.sst/platform/src/components/aws/react.js.map +0 -1
  278. package/dist/.sst/platform/src/components/aws/realtime-lambda-subscriber.js +0 -78
  279. package/dist/.sst/platform/src/components/aws/realtime-lambda-subscriber.js.map +0 -1
  280. package/dist/.sst/platform/src/components/aws/realtime.js +0 -221
  281. package/dist/.sst/platform/src/components/aws/realtime.js.map +0 -1
  282. package/dist/.sst/platform/src/components/aws/redis-v1.js +0 -335
  283. package/dist/.sst/platform/src/components/aws/redis-v1.js.map +0 -1
  284. package/dist/.sst/platform/src/components/aws/redis.js +0 -382
  285. package/dist/.sst/platform/src/components/aws/redis.js.map +0 -1
  286. package/dist/.sst/platform/src/components/aws/remix.js +0 -212
  287. package/dist/.sst/platform/src/components/aws/remix.js.map +0 -1
  288. package/dist/.sst/platform/src/components/aws/router-base-route.js +0 -40
  289. package/dist/.sst/platform/src/components/aws/router-base-route.js.map +0 -1
  290. package/dist/.sst/platform/src/components/aws/router-bucket-route.js +0 -40
  291. package/dist/.sst/platform/src/components/aws/router-bucket-route.js.map +0 -1
  292. package/dist/.sst/platform/src/components/aws/router-url-route.js +0 -51
  293. package/dist/.sst/platform/src/components/aws/router-url-route.js.map +0 -1
  294. package/dist/.sst/platform/src/components/aws/router.js +0 -1156
  295. package/dist/.sst/platform/src/components/aws/router.js.map +0 -1
  296. package/dist/.sst/platform/src/components/aws/service-v1.js +0 -606
  297. package/dist/.sst/platform/src/components/aws/service-v1.js.map +0 -1
  298. package/dist/.sst/platform/src/components/aws/service.js +0 -924
  299. package/dist/.sst/platform/src/components/aws/service.js.map +0 -1
  300. package/dist/.sst/platform/src/components/aws/sns-topic-lambda-subscriber.js +0 -75
  301. package/dist/.sst/platform/src/components/aws/sns-topic-lambda-subscriber.js.map +0 -1
  302. package/dist/.sst/platform/src/components/aws/sns-topic-queue-subscriber.js +0 -59
  303. package/dist/.sst/platform/src/components/aws/sns-topic-queue-subscriber.js.map +0 -1
  304. package/dist/.sst/platform/src/components/aws/sns-topic.js +0 -233
  305. package/dist/.sst/platform/src/components/aws/sns-topic.js.map +0 -1
  306. package/dist/.sst/platform/src/components/aws/solid-start.js +0 -120
  307. package/dist/.sst/platform/src/components/aws/solid-start.js.map +0 -1
  308. package/dist/.sst/platform/src/components/aws/ssr-site.js +0 -792
  309. package/dist/.sst/platform/src/components/aws/ssr-site.js.map +0 -1
  310. package/dist/.sst/platform/src/components/aws/static-site.js +0 -583
  311. package/dist/.sst/platform/src/components/aws/static-site.js.map +0 -1
  312. package/dist/.sst/platform/src/components/aws/step-functions/choice.js +0 -98
  313. package/dist/.sst/platform/src/components/aws/step-functions/choice.js.map +0 -1
  314. package/dist/.sst/platform/src/components/aws/step-functions/fail.js +0 -25
  315. package/dist/.sst/platform/src/components/aws/step-functions/fail.js.map +0 -1
  316. package/dist/.sst/platform/src/components/aws/step-functions/map.js +0 -108
  317. package/dist/.sst/platform/src/components/aws/step-functions/map.js.map +0 -1
  318. package/dist/.sst/platform/src/components/aws/step-functions/parallel.js +0 -129
  319. package/dist/.sst/platform/src/components/aws/step-functions/parallel.js.map +0 -1
  320. package/dist/.sst/platform/src/components/aws/step-functions/pass.js +0 -41
  321. package/dist/.sst/platform/src/components/aws/step-functions/pass.js.map +0 -1
  322. package/dist/.sst/platform/src/components/aws/step-functions/state.js +0 -134
  323. package/dist/.sst/platform/src/components/aws/step-functions/state.js.map +0 -1
  324. package/dist/.sst/platform/src/components/aws/step-functions/succeed.js +0 -25
  325. package/dist/.sst/platform/src/components/aws/step-functions/succeed.js.map +0 -1
  326. package/dist/.sst/platform/src/components/aws/step-functions/task.js +0 -116
  327. package/dist/.sst/platform/src/components/aws/step-functions/task.js.map +0 -1
  328. package/dist/.sst/platform/src/components/aws/step-functions/wait.js +0 -46
  329. package/dist/.sst/platform/src/components/aws/step-functions/wait.js.map +0 -1
  330. package/dist/.sst/platform/src/components/aws/step-functions.js +0 -576
  331. package/dist/.sst/platform/src/components/aws/step-functions.js.map +0 -1
  332. package/dist/.sst/platform/src/components/aws/svelte-kit.js +0 -144
  333. package/dist/.sst/platform/src/components/aws/svelte-kit.js.map +0 -1
  334. package/dist/.sst/platform/src/components/aws/tan-stack-start.js +0 -143
  335. package/dist/.sst/platform/src/components/aws/tan-stack-start.js.map +0 -1
  336. package/dist/.sst/platform/src/components/aws/task.js +0 -311
  337. package/dist/.sst/platform/src/components/aws/task.js.map +0 -1
  338. package/dist/.sst/platform/src/components/aws/vector.js +0 -224
  339. package/dist/.sst/platform/src/components/aws/vector.js.map +0 -1
  340. package/dist/.sst/platform/src/components/aws/vpc-v1.js +0 -355
  341. package/dist/.sst/platform/src/components/aws/vpc-v1.js.map +0 -1
  342. package/dist/.sst/platform/src/components/aws/vpc.js +0 -834
  343. package/dist/.sst/platform/src/components/aws/vpc.js.map +0 -1
  344. package/dist/.sst/platform/src/components/base/base-site.js +0 -47
  345. package/dist/.sst/platform/src/components/base/base-site.js.map +0 -1
  346. package/dist/.sst/platform/src/components/base/base-ssr-site.js +0 -72
  347. package/dist/.sst/platform/src/components/base/base-ssr-site.js.map +0 -1
  348. package/dist/.sst/platform/src/components/base/base-static-site.js +0 -87
  349. package/dist/.sst/platform/src/components/base/base-static-site.js.map +0 -1
  350. package/dist/.sst/platform/src/components/cloudflare/account-id.js +0 -2
  351. package/dist/.sst/platform/src/components/cloudflare/account-id.js.map +0 -1
  352. package/dist/.sst/platform/src/components/cloudflare/auth.js +0 -37
  353. package/dist/.sst/platform/src/components/cloudflare/auth.js.map +0 -1
  354. package/dist/.sst/platform/src/components/cloudflare/binding.js +0 -25
  355. package/dist/.sst/platform/src/components/cloudflare/binding.js.map +0 -1
  356. package/dist/.sst/platform/src/components/cloudflare/bucket.js +0 -98
  357. package/dist/.sst/platform/src/components/cloudflare/bucket.js.map +0 -1
  358. package/dist/.sst/platform/src/components/cloudflare/cron.js +0 -86
  359. package/dist/.sst/platform/src/components/cloudflare/cron.js.map +0 -1
  360. package/dist/.sst/platform/src/components/cloudflare/d1.js +0 -104
  361. package/dist/.sst/platform/src/components/cloudflare/d1.js.map +0 -1
  362. package/dist/.sst/platform/src/components/cloudflare/dns.js +0 -138
  363. package/dist/.sst/platform/src/components/cloudflare/dns.js.map +0 -1
  364. package/dist/.sst/platform/src/components/cloudflare/helpers/fetch.js +0 -39
  365. package/dist/.sst/platform/src/components/cloudflare/helpers/fetch.js.map +0 -1
  366. package/dist/.sst/platform/src/components/cloudflare/helpers/worker-builder.js +0 -25
  367. package/dist/.sst/platform/src/components/cloudflare/helpers/worker-builder.js.map +0 -1
  368. package/dist/.sst/platform/src/components/cloudflare/index.js +0 -13
  369. package/dist/.sst/platform/src/components/cloudflare/index.js.map +0 -1
  370. package/dist/.sst/platform/src/components/cloudflare/kv.js +0 -98
  371. package/dist/.sst/platform/src/components/cloudflare/kv.js.map +0 -1
  372. package/dist/.sst/platform/src/components/cloudflare/providers/dns-record.js +0 -11
  373. package/dist/.sst/platform/src/components/cloudflare/providers/dns-record.js.map +0 -1
  374. package/dist/.sst/platform/src/components/cloudflare/providers/kv-data.js +0 -63
  375. package/dist/.sst/platform/src/components/cloudflare/providers/kv-data.js.map +0 -1
  376. package/dist/.sst/platform/src/components/cloudflare/providers/worker-url.js +0 -83
  377. package/dist/.sst/platform/src/components/cloudflare/providers/worker-url.js.map +0 -1
  378. package/dist/.sst/platform/src/components/cloudflare/providers/zone-lookup.js +0 -54
  379. package/dist/.sst/platform/src/components/cloudflare/providers/zone-lookup.js.map +0 -1
  380. package/dist/.sst/platform/src/components/cloudflare/queue.js +0 -57
  381. package/dist/.sst/platform/src/components/cloudflare/queue.js.map +0 -1
  382. package/dist/.sst/platform/src/components/cloudflare/remix.d.ts +0 -223
  383. package/dist/.sst/platform/src/components/cloudflare/remix.d.ts.map +0 -1
  384. package/dist/.sst/platform/src/components/cloudflare/remix.js +0 -291
  385. package/dist/.sst/platform/src/components/cloudflare/remix.js.map +0 -1
  386. package/dist/.sst/platform/src/components/cloudflare/ssr-site.js +0 -177
  387. package/dist/.sst/platform/src/components/cloudflare/ssr-site.js.map +0 -1
  388. package/dist/.sst/platform/src/components/cloudflare/static-site.js +0 -315
  389. package/dist/.sst/platform/src/components/cloudflare/static-site.js.map +0 -1
  390. package/dist/.sst/platform/src/components/cloudflare/worker.js +0 -326
  391. package/dist/.sst/platform/src/components/cloudflare/worker.js.map +0 -1
  392. package/dist/.sst/platform/src/components/component.js +0 -395
  393. package/dist/.sst/platform/src/components/component.js.map +0 -1
  394. package/dist/.sst/platform/src/components/cpu.js +0 -9
  395. package/dist/.sst/platform/src/components/cpu.js.map +0 -1
  396. package/dist/.sst/platform/src/components/dns.js +0 -7
  397. package/dist/.sst/platform/src/components/dns.js.map +0 -1
  398. package/dist/.sst/platform/src/components/duration.js +0 -19
  399. package/dist/.sst/platform/src/components/duration.js.map +0 -1
  400. package/dist/.sst/platform/src/components/error.js +0 -6
  401. package/dist/.sst/platform/src/components/error.js.map +0 -1
  402. package/dist/.sst/platform/src/components/experimental/dev-command.js +0 -59
  403. package/dist/.sst/platform/src/components/experimental/dev-command.js.map +0 -1
  404. package/dist/.sst/platform/src/components/experimental/index.js +0 -2
  405. package/dist/.sst/platform/src/components/experimental/index.js.map +0 -1
  406. package/dist/.sst/platform/src/components/hint.d.ts +0 -7
  407. package/dist/.sst/platform/src/components/hint.d.ts.map +0 -1
  408. package/dist/.sst/platform/src/components/hint.js +0 -20
  409. package/dist/.sst/platform/src/components/hint.js.map +0 -1
  410. package/dist/.sst/platform/src/components/index.js +0 -16
  411. package/dist/.sst/platform/src/components/index.js.map +0 -1
  412. package/dist/.sst/platform/src/components/input.js +0 -2
  413. package/dist/.sst/platform/src/components/input.js.map +0 -1
  414. package/dist/.sst/platform/src/components/link.js +0 -138
  415. package/dist/.sst/platform/src/components/link.js.map +0 -1
  416. package/dist/.sst/platform/src/components/linkable.js +0 -244
  417. package/dist/.sst/platform/src/components/linkable.js.map +0 -1
  418. package/dist/.sst/platform/src/components/naming.js +0 -58
  419. package/dist/.sst/platform/src/components/naming.js.map +0 -1
  420. package/dist/.sst/platform/src/components/path.js +0 -5
  421. package/dist/.sst/platform/src/components/path.js.map +0 -1
  422. package/dist/.sst/platform/src/components/rpc/rpc.js +0 -120
  423. package/dist/.sst/platform/src/components/rpc/rpc.js.map +0 -1
  424. package/dist/.sst/platform/src/components/secret.js +0 -143
  425. package/dist/.sst/platform/src/components/secret.js.map +0 -1
  426. package/dist/.sst/platform/src/components/size.js +0 -29
  427. package/dist/.sst/platform/src/components/size.js.map +0 -1
  428. package/dist/.sst/platform/src/components/vercel/account-id.js +0 -2
  429. package/dist/.sst/platform/src/components/vercel/account-id.js.map +0 -1
  430. package/dist/.sst/platform/src/components/vercel/dns.js +0 -104
  431. package/dist/.sst/platform/src/components/vercel/dns.js.map +0 -1
  432. package/dist/.sst/platform/src/components/vercel/index.js +0 -3
  433. package/dist/.sst/platform/src/components/vercel/index.js.map +0 -1
  434. package/dist/.sst/platform/src/components/vercel/providers/dns-record.js +0 -8
  435. package/dist/.sst/platform/src/components/vercel/providers/dns-record.js.map +0 -1
  436. package/dist/.sst/platform/src/config.js +0 -5
  437. package/dist/.sst/platform/src/config.js.map +0 -1
  438. package/dist/.sst/platform/src/util/compare-semver.js +0 -24
  439. package/dist/.sst/platform/src/util/compare-semver.js.map +0 -1
  440. package/dist/.sst/platform/src/util/lazy.js +0 -12
  441. package/dist/.sst/platform/src/util/lazy.js.map +0 -1
  442. package/dist/.sst/platform/src/util/path-to-regex.d.ts +0 -128
  443. package/dist/.sst/platform/src/util/path-to-regex.d.ts.map +0 -1
  444. package/dist/.sst/platform/src/util/path-to-regex.js +0 -392
  445. package/dist/.sst/platform/src/util/path-to-regex.js.map +0 -1
  446. package/dist/.sst/platform/src/util/semaphore.js +0 -36
  447. package/dist/.sst/platform/src/util/semaphore.js.map +0 -1
  448. package/dist/.sst/platform/src/util/warn.js +0 -8
  449. package/dist/.sst/platform/src/util/warn.js.map +0 -1
  450. package/dist/components/monorise-core.js +0 -147
  451. package/dist/components/monorise-core.js.map +0 -1
  452. package/dist/components/q-function.js +0 -53
  453. package/dist/components/q-function.js.map +0 -1
  454. package/dist/components/single-table.js +0 -73
  455. package/dist/components/single-table.js.map +0 -1
  456. package/dist/constants/event.js +0 -74
  457. package/dist/constants/event.js.map +0 -1
  458. package/dist/constants/table.js +0 -3
  459. package/dist/constants/table.js.map +0 -1
  460. package/dist/sst.config.js +0 -24
  461. package/dist/sst.config.js.map +0 -1
  462. package/dist/tsconfig.tsbuildinfo +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"bucket.js","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/bucket.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,MAAM,EACN,WAAW,EACX,GAAG,GAEJ,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,wBAAwB,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAClE,OAAO,EAAE,SAAS,EAAuB,SAAS,EAAE,MAAM,cAAc,CAAC;AAIzE,OAAO,EAAY,SAAS,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAE,GAAG,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO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AC,SAAiB,EAAE,cAAsB;QACxE,OAAO,WAAW,CAChB,wBAAwB,CACtB;YACE,SAAS;YACT,qEAAqE;YACrE,qEAAqE;YACrE,8BAA8B;YAC9B,EAAE;YACF,kEAAkE;YAClE,sEAAsE;YACtE,2CAA2C;YAC3C,EAAE;YACF,iEAAiE;YACjE,EAAE;YACF,iEAAiE;YACjE,kEAAkE;YAClE,mEAAmE;YACnE,gBAAgB;YAEhB,YAAY;YACZ,0BAA0B;YAC1B,0BAA0B;YAC1B,gBAAgB;SACjB,CAAC,IAAI,CAAC,EAAE,CAAC,EACV,CAAC,CACF,CACF,CAAC;IACJ,CAAC;IAEO,mBAAmB;QACzB,IAAI,IAAI,CAAC,YAAY;YACnB,MAAM,IAAI,YAAY,CACpB,4BAA4B,IAAI,CAAC,eAAe,qEAAqE,CACtH,CAAC;QACJ,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC;IAC3B,CAAC;IAED,gBAAgB;IACT,UAAU;QACf,OAAO;YACL,UAAU,EAAE;gBACV,IAAI,EAAE,IAAI,CAAC,IAAI;aAChB;YACD,OAAO,EAAE;gBACP,UAAU,CAAC;oBACT,OAAO,EAAE,CAAC,MAAM,CAAC;oBACjB,SAAS,EAAE,CAAC,IAAI,CAAC,GAAG,EAAE,WAAW,CAAA,GAAG,IAAI,CAAC,GAAG,IAAI,CAAC;iBAClD,CAAC;aACH;SACF,CAAC;IACJ,CAAC;CACF;AAED,MAAM,YAAY,GAAG,gBAAgB,CAAC;AACtC,mBAAmB;AACnB,MAAM,CAAC,YAAY,GAAG,YAAY,CAAC"}
@@ -1,19 +0,0 @@
1
- import { output } from "@pulumi/pulumi";
2
- import { transform } from "../component";
3
- import { cloudwatch } from "@pulumi/aws";
4
- export function createRule(name, eventBusName, args, parent) {
5
- var _a;
6
- return new cloudwatch.EventRule(...transform((_a = args === null || args === void 0 ? void 0 : args.transform) === null || _a === void 0 ? void 0 : _a.rule, `${name}Rule`, {
7
- eventBusName,
8
- eventPattern: args.pattern
9
- ? output(args.pattern).apply((pattern) => JSON.stringify({
10
- "detail-type": pattern.detailType,
11
- source: pattern.source,
12
- detail: pattern.detail,
13
- }))
14
- : JSON.stringify({
15
- source: [{ prefix: "" }],
16
- }),
17
- }, { parent }));
18
- }
19
- //# sourceMappingURL=bus-base-subscriber.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"bus-base-subscriber.js","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/bus-base-subscriber.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAa,SAAS,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAmBzC,MAAM,UAAU,UAAU,CACxB,IAAY,EACZ,YAA2B,EAC3B,IAA2B,EAC3B,MAAiB;;IAEjB,OAAO,IAAI,UAAU,CAAC,SAAS,CAC7B,GAAG,SAAS,CACV,MAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,SAAS,0CAAE,IAAI,EACrB,GAAG,IAAI,MAAM,EACb;QACE,YAAY;QACZ,YAAY,EAAE,IAAI,CAAC,OAAO;YACxB,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,KAAK,CAAC,CAAC,OAAO,EAAE,EAAE,CACrC,IAAI,CAAC,SAAS,CAAC;gBACb,aAAa,EAAE,OAAO,CAAC,UAAU;gBACjC,MAAM,EAAE,OAAO,CAAC,MAAM;gBACtB,MAAM,EAAE,OAAO,CAAC,MAAM;aACvB,CAAC,CACH;YACH,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC;gBACb,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC;aACzB,CAAC;KACP,EACD,EAAE,MAAM,EAAE,CACX,CACF,CAAC;AACJ,CAAC"}
@@ -1,81 +0,0 @@
1
- import { interpolate, output, } from "@pulumi/pulumi";
2
- import { Component, transform } from "../component";
3
- import { createRule } from "./bus-base-subscriber";
4
- import { cloudwatch, lambda } from "@pulumi/aws";
5
- import { functionBuilder } from "./helpers/function-builder";
6
- /**
7
- * The `BusLambdaSubscriber` component is internally used by the `Bus` component
8
- * to add subscriptions to [Amazon EventBridge Event Bus](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-event-bus.html).
9
- *
10
- * :::note
11
- * This component is not intended to be created directly.
12
- * :::
13
- *
14
- * You'll find this component returned by the `subscribe` method of the `Bus` component.
15
- */
16
- export class BusLambdaSubscriber extends Component {
17
- constructor(name, args, opts) {
18
- super(__pulumiType, name, args, opts);
19
- const self = this;
20
- const bus = output(args.bus);
21
- const rule = createRule(name, bus.name, args, self);
22
- const fn = createFunction();
23
- const permission = createPermission();
24
- const target = createTarget();
25
- this.fn = fn;
26
- this.permission = permission;
27
- this.rule = rule;
28
- this.target = target;
29
- function createFunction() {
30
- return functionBuilder(`${name}Function`, args.subscriber, {
31
- description: interpolate `Subscribed to ${bus.name}`,
32
- }, undefined, { parent: self });
33
- }
34
- function createPermission() {
35
- return new lambda.Permission(`${name}Permission`, {
36
- action: "lambda:InvokeFunction",
37
- function: fn.arn,
38
- principal: "events.amazonaws.com",
39
- sourceArn: rule.arn,
40
- }, { parent: self });
41
- }
42
- function createTarget() {
43
- var _a;
44
- return new cloudwatch.EventTarget(...transform((_a = args === null || args === void 0 ? void 0 : args.transform) === null || _a === void 0 ? void 0 : _a.target, `${name}Target`, {
45
- arn: fn.arn,
46
- rule: rule.name,
47
- eventBusName: bus.name,
48
- }, { parent: self, dependsOn: [permission] }));
49
- }
50
- }
51
- /**
52
- * The underlying [resources](/docs/components/#nodes) this component creates.
53
- */
54
- get nodes() {
55
- const self = this;
56
- return {
57
- /**
58
- * The Lambda function that'll be notified.
59
- */
60
- get function() {
61
- return self.fn.apply((fn) => fn.getFunction());
62
- },
63
- /**
64
- * The Lambda permission.
65
- */
66
- permission: this.permission,
67
- /**
68
- * The EventBus rule.
69
- */
70
- rule: this.rule,
71
- /**
72
- * The EventBus target.
73
- */
74
- target: this.target,
75
- };
76
- }
77
- }
78
- const __pulumiType = "sst:aws:BusLambdaSubscriber";
79
- // @ts-expect-error
80
- BusLambdaSubscriber.__pulumiType = __pulumiType;
81
- //# sourceMappingURL=bus-lambda-subscriber.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"bus-lambda-subscriber.js","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/bus-lambda-subscriber.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,WAAW,EACX,MAAM,GACP,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEpD,OAAO,EAAyB,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAC1E,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,EAAmB,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAS9E;;;;;;;;;GASG;AACH,MAAM,OAAO,mBAAoB,SAAQ,SAAS;IAMhD,YAAY,IAAY,EAAE,IAAU,EAAE,IAA+B;QACnE,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;QAEtC,MAAM,IAAI,GAAG,IAAI,CAAC;QAClB,MAAM,GAAG,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QAC7B,MAAM,IAAI,GAAG,UAAU,CAAC,IAAI,EAAE,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;QACpD,MAAM,EAAE,GAAG,cAAc,EAAE,CAAC;QAC5B,MAAM,UAAU,GAAG,gBAAgB,EAAE,CAAC;QACtC,MAAM,MAAM,GAAG,YAAY,EAAE,CAAC;QAE9B,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;QACb,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,IAAI,GAAG,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AAC,UAAU;YAC3B;;eAEG;YACH,IAAI,EAAE,IAAI,CAAC,IAAI;YACf;;eAEG;YACH,MAAM,EAAE,IAAI,CAAC,MAAM;SACpB,CAAC;IACJ,CAAC;CACF;AAED,MAAM,YAAY,GAAG,6BAA6B,CAAC;AACnD,mBAAmB;AACnB,mBAAmB,CAAC,YAAY,GAAG,YAAY,CAAC"}
@@ -1,63 +0,0 @@
1
- import { output } from "@pulumi/pulumi";
2
- import { Component, transform } from "../component";
3
- import { createRule } from "./bus-base-subscriber";
4
- import { cloudwatch } from "@pulumi/aws";
5
- import { Queue } from "./queue";
6
- /**
7
- * The `BusQueueSubscriber` component is internally used by the `Bus` component
8
- * to add subscriptions to [Amazon EventBridge Event Bus](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-event-bus.html).
9
- *
10
- * :::note
11
- * This component is not intended to be created directly.
12
- * :::
13
- *
14
- * You'll find this component returned by the `subscribeQueue` method of the `Bus` component.
15
- */
16
- export class BusQueueSubscriber extends Component {
17
- constructor(name, args, opts) {
18
- super(__pulumiType, name, args, opts);
19
- const self = this;
20
- const bus = output(args.bus);
21
- const queueArn = output(args.queue).apply((queue) => queue instanceof Queue ? queue.arn : output(queue));
22
- const policy = createPolicy();
23
- const rule = createRule(name, bus.name, args, self);
24
- const target = createTarget();
25
- this.policy = policy;
26
- this.rule = rule;
27
- this.target = target;
28
- function createPolicy() {
29
- return Queue.createPolicy(`${name}Policy`, queueArn, { parent: self });
30
- }
31
- function createTarget() {
32
- var _a;
33
- return new cloudwatch.EventTarget(...transform((_a = args === null || args === void 0 ? void 0 : args.transform) === null || _a === void 0 ? void 0 : _a.target, `${name}Target`, {
34
- arn: queueArn,
35
- rule: rule.name,
36
- eventBusName: bus.name,
37
- }, { parent: self }));
38
- }
39
- }
40
- /**
41
- * The underlying [resources](/docs/components/#nodes) this component creates.
42
- */
43
- get nodes() {
44
- return {
45
- /**
46
- * The SQS Queue policy.
47
- */
48
- policy: this.policy,
49
- /**
50
- * The EventBus rule.
51
- */
52
- rule: this.rule,
53
- /**
54
- * The EventBus target.
55
- */
56
- target: this.target,
57
- };
58
- }
59
- }
60
- const __pulumiType = "sst:aws:BusQueueSubscriber";
61
- // @ts-expect-error
62
- BusQueueSubscriber.__pulumiType = __pulumiType;
63
- //# sourceMappingURL=bus-queue-subscriber.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"bus-queue-subscriber.js","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/bus-queue-subscriber.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmC,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACzE,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAyB,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAC1E,OAAO,EAAE,UAAU,EAAO,MAAM,aAAa,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAShC;;;;;;;;;GASG;AACH,MAAM,OAAO,kBAAmB,SAAQ,SAAS;IAK/C,YAAY,IAAY,EAAE,IAAU,EAAE,IAA+B;QACnE,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;QAEtC,MAAM,IAAI,GAAG,IAAI,CAAC;QAClB,MAAM,GAAG,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QAC7B,MAAM,QAAQ,GAAG,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,EAAE,CAClD,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CACnD,CAAC;QACF,MAAM,MAAM,GAAG,YAAY,EAAE,CAAC;QAC9B,MAAM,IAAI,GAAG,UAAU,CAAC,IAAI,EAAE,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;QACpD,MAAM,MAAM,GAAG,YAAY,EAAE,CAAC;QAE9B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QAErB,SAAS,YAAY;YACnB,OAAO,KAAK,CAAC,YAAY,CAAC,GAAG,IAAI,QAAQ,EAAE,QAAQ,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;QACzE,CAAC;QAED,SAAS,YAAY;;YACnB,OAAO,IAAI,UAAU,CAAC,WAAW,CAC/B,GAAG,SAAS,CACV,MAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,SAAS,0CAAE,MAAM,EACvB,GAAG,IAAI,QAAQ,EACf;gBACE,GAAG,EAAE,QAAQ;gBACb,IAAI,EAAE,IAAI,CAAC,IAAI;gBACf,YAAY,EAAE,GAAG,CAAC,IAAI;aACvB,EACD,EAAE,MAAM,EAAE,IAAI,EAAE,CACjB,CACF,CAAC;QACJ,CAAC;IACH,CAAC;IAED;;OAEG;IACH,IAAW,KAAK;QACd,OAAO;YACL;;eAEG;YACH,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB;;eAEG;YACH,IAAI,EAAE,IAAI,CAAC,IAAI;YACf;;eAEG;YACH,MAAM,EAAE,IAAI,CAAC,MAAM;SACpB,CAAC;IACJ,CAAC;CACF;AAED,MAAM,YAAY,GAAG,4BAA4B,CAAC;AAClD,mBAAmB;AACnB,kBAAkB,CAAC,YAAY,GAAG,YAAY,CAAC"}
@@ -1,350 +0,0 @@
1
- import { output } from "@pulumi/pulumi";
2
- import { Component, transform } from "../component";
3
- import { parseEventBusArn } from "./helpers/arn";
4
- import { BusLambdaSubscriber } from "./bus-lambda-subscriber";
5
- import { cloudwatch } from "@pulumi/aws";
6
- import { permission } from "./permission";
7
- import { BusQueueSubscriber } from "./bus-queue-subscriber";
8
- /**
9
- * The `Bus` component lets you add an [Amazon EventBridge Event Bus](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-event-bus.html) to your app.
10
- *
11
- * @example
12
- *
13
- * #### Create a bus
14
- *
15
- * ```ts
16
- * const bus = new sst.aws.Bus("MyBus");
17
- * ```
18
- *
19
- * #### Add a subscriber
20
- *
21
- * ```ts
22
- * bus.subscribe("MySubscriber", "src/subscriber.handler");
23
- * ```
24
- *
25
- * #### Customize the subscriber
26
- *
27
- * ```ts
28
- * bus.subscribe("MySubscriber", {
29
- * handler: "src/subscriber.handler",
30
- * timeout: "60 seconds"
31
- * });
32
- * ```
33
- *
34
- * #### Link the bus to a resource
35
- *
36
- * You can link the bus to other resources, like a function or your Next.js app.
37
- *
38
- * ```ts
39
- * new sst.aws.Nextjs("MyWeb", {
40
- * link: [bus]
41
- * });
42
- * ```
43
- *
44
- * Once linked, you can publish messages to the bus from your app.
45
- *
46
- * ```ts title="app/page.tsx" {1,9}
47
- * import { Resource } from "sst";
48
- * import { EventBridgeClient, PutEventsCommand } from "@aws-sdk/client-eventbridge";
49
- *
50
- * const eb = new EventBridgeClient({});
51
- *
52
- * await eb.send(new PutEventsCommand({
53
- * Entries: [
54
- * {
55
- * EventBusName: Resource.MyBus.name,
56
- * Source: "my.source",
57
- * Detail: JSON.stringify({ foo: "bar" })
58
- * }
59
- * ]
60
- * }));
61
- * ```
62
- */
63
- export class Bus extends Component {
64
- constructor(name, args = {}, opts = {}) {
65
- super(__pulumiType, name, args, opts);
66
- const self = this;
67
- this.constructorName = name;
68
- this.constructorOpts = opts;
69
- if (args && "ref" in args) {
70
- const ref = reference();
71
- this.bus = ref.bus;
72
- return;
73
- }
74
- const bus = createBus();
75
- this.bus = bus;
76
- function reference() {
77
- const ref = args;
78
- const bus = cloudwatch.EventBus.get(`${name}Bus`, ref.busName, undefined, {
79
- parent: self,
80
- });
81
- return { bus };
82
- }
83
- function createBus() {
84
- var _a;
85
- return new cloudwatch.EventBus(...transform((_a = args.transform) === null || _a === void 0 ? void 0 : _a.bus, `${name}Bus`, {}, { parent: self }));
86
- }
87
- }
88
- /**
89
- * The ARN of the EventBus.
90
- */
91
- get arn() {
92
- return this.bus.arn;
93
- }
94
- /**
95
- * The name of the EventBus.
96
- */
97
- get name() {
98
- return this.bus.name;
99
- }
100
- /**
101
- * The underlying [resources](/docs/components/#nodes) this component creates.
102
- */
103
- get nodes() {
104
- return {
105
- /**
106
- * The Amazon EventBus resource.
107
- */
108
- bus: this.bus,
109
- };
110
- }
111
- /**
112
- * Subscribe to this EventBus with a function.
113
- *
114
- * @param name The name of the subscription.
115
- * @param subscriber The function that'll be notified.
116
- * @param args Configure the subscription.
117
- *
118
- * @example
119
- *
120
- * ```js title="sst.config.ts"
121
- * bus.subscribe("MySubscription", "src/subscriber.handler");
122
- * ```
123
- *
124
- * You can add a pattern to the subscription.
125
- *
126
- * ```js
127
- * bus.subscribe("MySubscription", "src/subscriber.handler", {
128
- * pattern: {
129
- * source: ["my.source", "my.source2"],
130
- * price_usd: [{numeric: [">=", 100]}]
131
- * }
132
- * });
133
- * ```
134
- *
135
- * To customize the subscriber function:
136
- *
137
- * ```js
138
- * bus.subscribe("MySubscription", {
139
- * handler: "src/subscriber.handler",
140
- * timeout: "60 seconds"
141
- * });
142
- * ```
143
- *
144
- * Or pass in the ARN of an existing Lambda function.
145
- *
146
- * ```js title="sst.config.ts"
147
- * bus.subscribe("MySubscription", "arn:aws:lambda:us-east-1:123456789012:function:my-function");
148
- * ```
149
- */
150
- subscribe(name, subscriber, args = {}) {
151
- return Bus._subscribeFunction(this.constructorName, name, this.nodes.bus.name, this.nodes.bus.arn, subscriber, args, { provider: this.constructorOpts.provider });
152
- }
153
- /**
154
- * Subscribe to an EventBus that was not created in your app with a function.
155
- *
156
- * @param name The name of the subscription.
157
- * @param busArn The ARN of the EventBus to subscribe to.
158
- * @param subscriber The function that'll be notified.
159
- * @param args Configure the subscription.
160
- *
161
- * @example
162
- *
163
- * For example, let's say you have an existing EventBus with the following ARN.
164
- *
165
- * ```js title="sst.config.ts"
166
- * const busArn = "arn:aws:events:us-east-1:123456789012:event-bus/my-bus";
167
- * ```
168
- *
169
- * You can subscribe to it by passing in the ARN.
170
- *
171
- * ```js title="sst.config.ts"
172
- * sst.aws.Bus.subscribe("MySubscription", busArn, "src/subscriber.handler");
173
- * ```
174
- *
175
- * To add a pattern to the subscription.
176
- *
177
- * ```js
178
- * sst.aws.Bus.subscribe("MySubscription", busArn, "src/subscriber.handler", {
179
- * pattern: {
180
- * price_usd: [{numeric: [">=", 100]}]
181
- * }
182
- * });
183
- * ```
184
- *
185
- * Or customize the subscriber function.
186
- *
187
- * ```js
188
- * sst.aws.Bus.subscribe("MySubscription", busArn, {
189
- * handler: "src/subscriber.handler",
190
- * timeout: "60 seconds"
191
- * });
192
- * ```
193
- */
194
- static subscribe(name, busArn, subscriber, args) {
195
- return output(busArn).apply((busArn) => {
196
- const busName = parseEventBusArn(busArn).busName;
197
- return this._subscribeFunction(busName, name, busName, busArn, subscriber, args);
198
- });
199
- }
200
- static _subscribeFunction(name, subscriberName, busName, busArn, subscriber, args = {}, opts = {}) {
201
- return output(args).apply((args) => {
202
- return new BusLambdaSubscriber(`${name}Subscriber${subscriberName}`, Object.assign({ bus: { name: busName, arn: busArn }, subscriber }, args), opts);
203
- });
204
- }
205
- /**
206
- * Subscribe to this EventBus with an SQS Queue.
207
- *
208
- * @param name The name of the subscription.
209
- * @param queue The queue that'll be notified.
210
- * @param args Configure the subscription.
211
- *
212
- * @example
213
- *
214
- * For example, let's say you have a queue.
215
- *
216
- * ```js title="sst.config.ts"
217
- * const queue = new sst.aws.Queue("MyQueue");
218
- * ```
219
- *
220
- * You can subscribe to this bus with it.
221
- *
222
- * ```js title="sst.config.ts"
223
- * bus.subscribeQueue("MySubscription", queue);
224
- * ```
225
- *
226
- * You can also add a filter to the subscription.
227
- *
228
- * ```js
229
- * bus.subscribeQueue("MySubscription", queue, {
230
- * filter: {
231
- * price_usd: [{numeric: [">=", 100]}]
232
- * }
233
- * });
234
- * ```
235
- *
236
- * Or pass in the ARN of an existing SQS queue.
237
- *
238
- * ```js
239
- * bus.subscribeQueue("MySubscription", "arn:aws:sqs:us-east-1:123456789012:my-queue");
240
- * ```
241
- */
242
- subscribeQueue(name, queue, args = {}) {
243
- return Bus._subscribeQueue(this.constructorName, name, this.nodes.bus.arn, this.nodes.bus.name, queue, args);
244
- }
245
- /**
246
- * Subscribe to an existing EventBus with an SQS Queue.
247
- *
248
- * @param name The name of the subscription.
249
- * @param busArn The ARN of the EventBus to subscribe to.
250
- * @param queue The queue that'll be notified.
251
- * @param args Configure the subscription.
252
- *
253
- * @example
254
- *
255
- * For example, let's say you have an existing EventBus and an SQS Queue.
256
- *
257
- * ```js title="sst.config.ts"
258
- * const busArn = "arn:aws:events:us-east-1:123456789012:event-bus/MyBus";
259
- * const queue = new sst.aws.Queue("MyQueue");
260
- * ```
261
- *
262
- * You can subscribe to the bus with the queue.
263
- *
264
- * ```js title="sst.config.ts"
265
- * sst.aws.Bus.subscribeQueue("MySubscription", busArn, queue);
266
- * ```
267
- *
268
- * Add a filter to the subscription.
269
- *
270
- * ```js title="sst.config.ts"
271
- * sst.aws.Bus.subscribeQueue(MySubscription, busArn, queue, {
272
- * filter: {
273
- * price_usd: [{numeric: [">=", 100]}]
274
- * }
275
- * });
276
- * ```
277
- *
278
- * Or pass in the ARN of an existing SQS queue.
279
- *
280
- * ```js
281
- * sst.aws.Bus.subscribeQueue("MySubscription", busArn, "arn:aws:sqs:us-east-1:123456789012:my-queue");
282
- * ```
283
- */
284
- static subscribeQueue(name, busArn, queue, args) {
285
- return output(busArn).apply((busArn) => {
286
- const busName = parseEventBusArn(busArn).busName;
287
- return this._subscribeQueue(busName, name, busArn, busName, queue, args);
288
- });
289
- }
290
- static _subscribeQueue(name, subscriberName, busArn, busName, queue, args = {}) {
291
- return output(args).apply((args) => {
292
- return new BusQueueSubscriber(`${name}Subscriber${subscriberName}`, Object.assign({ bus: { name: busName, arn: busArn }, queue }, args));
293
- });
294
- }
295
- /** @internal */
296
- getSSTLink() {
297
- return {
298
- properties: {
299
- name: this.name,
300
- arn: this.arn,
301
- },
302
- include: [
303
- permission({
304
- actions: ["events:*"],
305
- resources: [this.nodes.bus.arn],
306
- }),
307
- ],
308
- };
309
- }
310
- /**
311
- * Reference an existing EventBus with its ARN. This is useful when you create a
312
- * bus in one stage and want to share it in another stage. It avoids having to create
313
- * a new bus in the other stage.
314
- *
315
- * :::tip
316
- * You can use the `static get` method to share EventBus across stages.
317
- * :::
318
- *
319
- * @param name The name of the component.
320
- * @param busName The name of the existing EventBus.
321
- * @param opts? Resource options.
322
- *
323
- * @example
324
- * Imagine you create a bus in the `dev` stage. And in your personal stage `frank`,
325
- * instead of creating a new bus, you want to share the bus from `dev`.
326
- *
327
- * ```ts title="sst.config.ts"
328
- * const bus = $app.stage === "frank"
329
- * ? sst.aws.Bus.get("MyBus", "app-dev-MyBus")
330
- * : new sst.aws.Bus("MyBus");
331
- * ```
332
- *
333
- * Here `app-dev-MyBus` is the name of the bus created in the `dev` stage. You can find
334
- * this by outputting the bus name in the `dev` stage.
335
- *
336
- * ```ts title="sst.config.ts"
337
- * return bus.name;
338
- * ```
339
- */
340
- static get(name, busName, opts) {
341
- return new Bus(name, {
342
- ref: true,
343
- busName,
344
- }, opts);
345
- }
346
- }
347
- const __pulumiType = "sst:aws:Bus";
348
- // @ts-expect-error
349
- Bus.__pulumiType = __pulumiType;
350
- //# sourceMappingURL=bus.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"bus.js","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/bus.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoC,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAC1E,OAAO,EAAE,SAAS,EAAa,SAAS,EAAE,MAAM,cAAc,CAAC;AAI/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAA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