@monorise/sst 1.0.0-dev.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 (710) hide show
  1. package/dist/.sst/platform/src/components/aws/analog.d.ts +423 -0
  2. package/dist/.sst/platform/src/components/aws/analog.d.ts.map +1 -0
  3. package/dist/.sst/platform/src/components/aws/analog.js +118 -0
  4. package/dist/.sst/platform/src/components/aws/analog.js.map +1 -0
  5. package/dist/.sst/platform/src/components/aws/apigateway-websocket-route.d.ts +74 -0
  6. package/dist/.sst/platform/src/components/aws/apigateway-websocket-route.d.ts.map +1 -0
  7. package/dist/.sst/platform/src/components/aws/apigateway-websocket-route.js +110 -0
  8. package/dist/.sst/platform/src/components/aws/apigateway-websocket-route.js.map +1 -0
  9. package/dist/.sst/platform/src/components/aws/apigateway-websocket.d.ts +542 -0
  10. package/dist/.sst/platform/src/components/aws/apigateway-websocket.d.ts.map +1 -0
  11. package/dist/.sst/platform/src/components/aws/apigateway-websocket.js +409 -0
  12. package/dist/.sst/platform/src/components/aws/apigateway-websocket.js.map +1 -0
  13. package/dist/.sst/platform/src/components/aws/apigatewayv1-api-key.d.ts +48 -0
  14. package/dist/.sst/platform/src/components/aws/apigatewayv1-api-key.d.ts.map +1 -0
  15. package/dist/.sst/platform/src/components/aws/apigatewayv1-api-key.js +55 -0
  16. package/dist/.sst/platform/src/components/aws/apigatewayv1-api-key.js.map +1 -0
  17. package/dist/.sst/platform/src/components/aws/apigatewayv1-authorizer.d.ts +55 -0
  18. package/dist/.sst/platform/src/components/aws/apigatewayv1-authorizer.d.ts.map +1 -0
  19. package/dist/.sst/platform/src/components/aws/apigatewayv1-authorizer.js +110 -0
  20. package/dist/.sst/platform/src/components/aws/apigatewayv1-authorizer.js.map +1 -0
  21. package/dist/.sst/platform/src/components/aws/apigatewayv1-base-route.d.ts +36 -0
  22. package/dist/.sst/platform/src/components/aws/apigatewayv1-base-route.d.ts.map +1 -0
  23. package/dist/.sst/platform/src/components/aws/apigatewayv1-base-route.js +34 -0
  24. package/dist/.sst/platform/src/components/aws/apigatewayv1-base-route.js.map +1 -0
  25. package/dist/.sst/platform/src/components/aws/apigatewayv1-integration-route.d.ts +39 -0
  26. package/dist/.sst/platform/src/components/aws/apigatewayv1-integration-route.d.ts.map +1 -0
  27. package/dist/.sst/platform/src/components/aws/apigatewayv1-integration-route.js +49 -0
  28. package/dist/.sst/platform/src/components/aws/apigatewayv1-integration-route.js.map +1 -0
  29. package/dist/.sst/platform/src/components/aws/apigatewayv1-lambda-route.d.ts +53 -0
  30. package/dist/.sst/platform/src/components/aws/apigatewayv1-lambda-route.d.ts.map +1 -0
  31. package/dist/.sst/platform/src/components/aws/apigatewayv1-lambda-route.js +85 -0
  32. package/dist/.sst/platform/src/components/aws/apigatewayv1-lambda-route.js.map +1 -0
  33. package/dist/.sst/platform/src/components/aws/apigatewayv1-usage-plan.d.ts +53 -0
  34. package/dist/.sst/platform/src/components/aws/apigatewayv1-usage-plan.d.ts.map +1 -0
  35. package/dist/.sst/platform/src/components/aws/apigatewayv1-usage-plan.js +66 -0
  36. package/dist/.sst/platform/src/components/aws/apigatewayv1-usage-plan.js.map +1 -0
  37. package/dist/.sst/platform/src/components/aws/apigatewayv1.d.ts +1002 -0
  38. package/dist/.sst/platform/src/components/aws/apigatewayv1.d.ts.map +1 -0
  39. package/dist/.sst/platform/src/components/aws/apigatewayv1.js +749 -0
  40. package/dist/.sst/platform/src/components/aws/apigatewayv1.js.map +1 -0
  41. package/dist/.sst/platform/src/components/aws/apigatewayv2-authorizer.d.ts +54 -0
  42. package/dist/.sst/platform/src/components/aws/apigatewayv2-authorizer.d.ts.map +1 -0
  43. package/dist/.sst/platform/src/components/aws/apigatewayv2-authorizer.js +98 -0
  44. package/dist/.sst/platform/src/components/aws/apigatewayv2-authorizer.js.map +1 -0
  45. package/dist/.sst/platform/src/components/aws/apigatewayv2-base-route.d.ts +28 -0
  46. package/dist/.sst/platform/src/components/aws/apigatewayv2-base-route.d.ts.map +1 -0
  47. package/dist/.sst/platform/src/components/aws/apigatewayv2-base-route.js +28 -0
  48. package/dist/.sst/platform/src/components/aws/apigatewayv2-base-route.js.map +1 -0
  49. package/dist/.sst/platform/src/components/aws/apigatewayv2-lambda-route.d.ts +59 -0
  50. package/dist/.sst/platform/src/components/aws/apigatewayv2-lambda-route.d.ts.map +1 -0
  51. package/dist/.sst/platform/src/components/aws/apigatewayv2-lambda-route.js +84 -0
  52. package/dist/.sst/platform/src/components/aws/apigatewayv2-lambda-route.js.map +1 -0
  53. package/dist/.sst/platform/src/components/aws/apigatewayv2-private-route.d.ts +54 -0
  54. package/dist/.sst/platform/src/components/aws/apigatewayv2-private-route.d.ts.map +1 -0
  55. package/dist/.sst/platform/src/components/aws/apigatewayv2-private-route.js +55 -0
  56. package/dist/.sst/platform/src/components/aws/apigatewayv2-private-route.js.map +1 -0
  57. package/dist/.sst/platform/src/components/aws/apigatewayv2-url-route.d.ts +44 -0
  58. package/dist/.sst/platform/src/components/aws/apigatewayv2-url-route.d.ts.map +1 -0
  59. package/dist/.sst/platform/src/components/aws/apigatewayv2-url-route.js +53 -0
  60. package/dist/.sst/platform/src/components/aws/apigatewayv2-url-route.js.map +1 -0
  61. package/dist/.sst/platform/src/components/aws/apigatewayv2.d.ts +933 -0
  62. package/dist/.sst/platform/src/components/aws/apigatewayv2.d.ts.map +1 -0
  63. package/dist/.sst/platform/src/components/aws/apigatewayv2.js +648 -0
  64. package/dist/.sst/platform/src/components/aws/apigatewayv2.js.map +1 -0
  65. package/dist/.sst/platform/src/components/aws/app-sync-data-source.d.ts +52 -0
  66. package/dist/.sst/platform/src/components/aws/app-sync-data-source.d.ts.map +1 -0
  67. package/dist/.sst/platform/src/components/aws/app-sync-data-source.js +208 -0
  68. package/dist/.sst/platform/src/components/aws/app-sync-data-source.js.map +1 -0
  69. package/dist/.sst/platform/src/components/aws/app-sync-function.d.ts +33 -0
  70. package/dist/.sst/platform/src/components/aws/app-sync-function.d.ts.map +1 -0
  71. package/dist/.sst/platform/src/components/aws/app-sync-function.js +52 -0
  72. package/dist/.sst/platform/src/components/aws/app-sync-function.js.map +1 -0
  73. package/dist/.sst/platform/src/components/aws/app-sync-resolver.d.ts +41 -0
  74. package/dist/.sst/platform/src/components/aws/app-sync-resolver.d.ts.map +1 -0
  75. package/dist/.sst/platform/src/components/aws/app-sync-resolver.js +70 -0
  76. package/dist/.sst/platform/src/components/aws/app-sync-resolver.js.map +1 -0
  77. package/dist/.sst/platform/src/components/aws/app-sync.d.ts +638 -0
  78. package/dist/.sst/platform/src/components/aws/app-sync.d.ts.map +1 -0
  79. package/dist/.sst/platform/src/components/aws/app-sync.js +330 -0
  80. package/dist/.sst/platform/src/components/aws/app-sync.js.map +1 -0
  81. package/dist/.sst/platform/src/components/aws/astro.d.ts +421 -0
  82. package/dist/.sst/platform/src/components/aws/astro.d.ts.map +1 -0
  83. package/dist/.sst/platform/src/components/aws/astro.js +156 -0
  84. package/dist/.sst/platform/src/components/aws/astro.js.map +1 -0
  85. package/dist/.sst/platform/src/components/aws/aurora.d.ts +702 -0
  86. package/dist/.sst/platform/src/components/aws/aurora.d.ts.map +1 -0
  87. package/dist/.sst/platform/src/components/aws/aurora.js +678 -0
  88. package/dist/.sst/platform/src/components/aws/aurora.js.map +1 -0
  89. package/dist/.sst/platform/src/components/aws/auth-v1.d.ts +26 -0
  90. package/dist/.sst/platform/src/components/aws/auth-v1.d.ts.map +1 -0
  91. package/dist/.sst/platform/src/components/aws/auth-v1.js +36 -0
  92. package/dist/.sst/platform/src/components/aws/auth-v1.js.map +1 -0
  93. package/dist/.sst/platform/src/components/aws/auth.d.ts +260 -0
  94. package/dist/.sst/platform/src/components/aws/auth.d.ts.map +1 -0
  95. package/dist/.sst/platform/src/components/aws/auth.js +209 -0
  96. package/dist/.sst/platform/src/components/aws/auth.js.map +1 -0
  97. package/dist/.sst/platform/src/components/aws/bucket-lambda-subscriber.d.ts +61 -0
  98. package/dist/.sst/platform/src/components/aws/bucket-lambda-subscriber.d.ts.map +1 -0
  99. package/dist/.sst/platform/src/components/aws/bucket-lambda-subscriber.js +99 -0
  100. package/dist/.sst/platform/src/components/aws/bucket-lambda-subscriber.js.map +1 -0
  101. package/dist/.sst/platform/src/components/aws/bucket-notification.d.ts +47 -0
  102. package/dist/.sst/platform/src/components/aws/bucket-notification.d.ts.map +1 -0
  103. package/dist/.sst/platform/src/components/aws/bucket-notification.js +170 -0
  104. package/dist/.sst/platform/src/components/aws/bucket-notification.js.map +1 -0
  105. package/dist/.sst/platform/src/components/aws/bucket-queue-subscriber.d.ts +55 -0
  106. package/dist/.sst/platform/src/components/aws/bucket-queue-subscriber.d.ts.map +1 -0
  107. package/dist/.sst/platform/src/components/aws/bucket-queue-subscriber.js +77 -0
  108. package/dist/.sst/platform/src/components/aws/bucket-queue-subscriber.js.map +1 -0
  109. package/dist/.sst/platform/src/components/aws/bucket-topic-subscriber.d.ts +55 -0
  110. package/dist/.sst/platform/src/components/aws/bucket-topic-subscriber.d.ts.map +1 -0
  111. package/dist/.sst/platform/src/components/aws/bucket-topic-subscriber.js +99 -0
  112. package/dist/.sst/platform/src/components/aws/bucket-topic-subscriber.js.map +1 -0
  113. package/dist/.sst/platform/src/components/aws/bucket.d.ts +1115 -0
  114. package/dist/.sst/platform/src/components/aws/bucket.d.ts.map +1 -0
  115. package/dist/.sst/platform/src/components/aws/bucket.js +754 -0
  116. package/dist/.sst/platform/src/components/aws/bucket.js.map +1 -0
  117. package/dist/.sst/platform/src/components/aws/bus-base-subscriber.d.ts +20 -0
  118. package/dist/.sst/platform/src/components/aws/bus-base-subscriber.d.ts.map +1 -0
  119. package/dist/.sst/platform/src/components/aws/bus-base-subscriber.js +19 -0
  120. package/dist/.sst/platform/src/components/aws/bus-base-subscriber.js.map +1 -0
  121. package/dist/.sst/platform/src/components/aws/bus-lambda-subscriber.d.ts +49 -0
  122. package/dist/.sst/platform/src/components/aws/bus-lambda-subscriber.d.ts.map +1 -0
  123. package/dist/.sst/platform/src/components/aws/bus-lambda-subscriber.js +81 -0
  124. package/dist/.sst/platform/src/components/aws/bus-lambda-subscriber.js.map +1 -0
  125. package/dist/.sst/platform/src/components/aws/bus-queue-subscriber.d.ts +44 -0
  126. package/dist/.sst/platform/src/components/aws/bus-queue-subscriber.d.ts.map +1 -0
  127. package/dist/.sst/platform/src/components/aws/bus-queue-subscriber.js +63 -0
  128. package/dist/.sst/platform/src/components/aws/bus-queue-subscriber.js.map +1 -0
  129. package/dist/.sst/platform/src/components/aws/bus.d.ts +403 -0
  130. package/dist/.sst/platform/src/components/aws/bus.d.ts.map +1 -0
  131. package/dist/.sst/platform/src/components/aws/bus.js +350 -0
  132. package/dist/.sst/platform/src/components/aws/bus.js.map +1 -0
  133. package/dist/.sst/platform/src/components/aws/cdn.d.ts +299 -0
  134. package/dist/.sst/platform/src/components/aws/cdn.d.ts.map +1 -0
  135. package/dist/.sst/platform/src/components/aws/cdn.js +234 -0
  136. package/dist/.sst/platform/src/components/aws/cdn.js.map +1 -0
  137. package/dist/.sst/platform/src/components/aws/cluster-v1.d.ts +882 -0
  138. package/dist/.sst/platform/src/components/aws/cluster-v1.d.ts.map +1 -0
  139. package/dist/.sst/platform/src/components/aws/cluster-v1.js +245 -0
  140. package/dist/.sst/platform/src/components/aws/cluster-v1.js.map +1 -0
  141. package/dist/.sst/platform/src/components/aws/cluster.d.ts +308 -0
  142. package/dist/.sst/platform/src/components/aws/cluster.d.ts.map +1 -0
  143. package/dist/.sst/platform/src/components/aws/cluster.js +321 -0
  144. package/dist/.sst/platform/src/components/aws/cluster.js.map +1 -0
  145. package/dist/.sst/platform/src/components/aws/cognito-identity-pool.d.ts +194 -0
  146. package/dist/.sst/platform/src/components/aws/cognito-identity-pool.d.ts.map +1 -0
  147. package/dist/.sst/platform/src/components/aws/cognito-identity-pool.js +263 -0
  148. package/dist/.sst/platform/src/components/aws/cognito-identity-pool.js.map +1 -0
  149. package/dist/.sst/platform/src/components/aws/cognito-identity-provider.d.ts +38 -0
  150. package/dist/.sst/platform/src/components/aws/cognito-identity-provider.d.ts.map +1 -0
  151. package/dist/.sst/platform/src/components/aws/cognito-identity-provider.js +67 -0
  152. package/dist/.sst/platform/src/components/aws/cognito-identity-provider.js.map +1 -0
  153. package/dist/.sst/platform/src/components/aws/cognito-user-pool-client.d.ts +50 -0
  154. package/dist/.sst/platform/src/components/aws/cognito-user-pool-client.d.ts.map +1 -0
  155. package/dist/.sst/platform/src/components/aws/cognito-user-pool-client.js +81 -0
  156. package/dist/.sst/platform/src/components/aws/cognito-user-pool-client.js.map +1 -0
  157. package/dist/.sst/platform/src/components/aws/cognito-user-pool.d.ts +599 -0
  158. package/dist/.sst/platform/src/components/aws/cognito-user-pool.d.ts.map +1 -0
  159. package/dist/.sst/platform/src/components/aws/cognito-user-pool.js +368 -0
  160. package/dist/.sst/platform/src/components/aws/cognito-user-pool.js.map +1 -0
  161. package/dist/.sst/platform/src/components/aws/cron.d.ts +250 -0
  162. package/dist/.sst/platform/src/components/aws/cron.d.ts.map +1 -0
  163. package/dist/.sst/platform/src/components/aws/cron.js +200 -0
  164. package/dist/.sst/platform/src/components/aws/cron.js.map +1 -0
  165. package/dist/.sst/platform/src/components/aws/dns-validated-certificate.d.ts +27 -0
  166. package/dist/.sst/platform/src/components/aws/dns-validated-certificate.d.ts.map +1 -0
  167. package/dist/.sst/platform/src/components/aws/dns-validated-certificate.js +55 -0
  168. package/dist/.sst/platform/src/components/aws/dns-validated-certificate.js.map +1 -0
  169. package/dist/.sst/platform/src/components/aws/dns.d.ts +94 -0
  170. package/dist/.sst/platform/src/components/aws/dns.d.ts.map +1 -0
  171. package/dist/.sst/platform/src/components/aws/dns.js +121 -0
  172. package/dist/.sst/platform/src/components/aws/dns.js.map +1 -0
  173. package/dist/.sst/platform/src/components/aws/dynamo-lambda-subscriber.d.ts +55 -0
  174. package/dist/.sst/platform/src/components/aws/dynamo-lambda-subscriber.d.ts.map +1 -0
  175. package/dist/.sst/platform/src/components/aws/dynamo-lambda-subscriber.js +79 -0
  176. package/dist/.sst/platform/src/components/aws/dynamo-lambda-subscriber.js.map +1 -0
  177. package/dist/.sst/platform/src/components/aws/dynamo.d.ts +569 -0
  178. package/dist/.sst/platform/src/components/aws/dynamo.d.ts.map +1 -0
  179. package/dist/.sst/platform/src/components/aws/dynamo.js +291 -0
  180. package/dist/.sst/platform/src/components/aws/dynamo.js.map +1 -0
  181. package/dist/.sst/platform/src/components/aws/efs.d.ts +217 -0
  182. package/dist/.sst/platform/src/components/aws/efs.d.ts.map +1 -0
  183. package/dist/.sst/platform/src/components/aws/efs.js +241 -0
  184. package/dist/.sst/platform/src/components/aws/efs.js.map +1 -0
  185. package/dist/.sst/platform/src/components/aws/email.d.ts +291 -0
  186. package/dist/.sst/platform/src/components/aws/email.d.ts.map +1 -0
  187. package/dist/.sst/platform/src/components/aws/email.js +276 -0
  188. package/dist/.sst/platform/src/components/aws/email.js.map +1 -0
  189. package/dist/.sst/platform/src/components/aws/fargate.d.ts +769 -0
  190. package/dist/.sst/platform/src/components/aws/fargate.d.ts.map +1 -0
  191. package/dist/.sst/platform/src/components/aws/fargate.js +434 -0
  192. package/dist/.sst/platform/src/components/aws/fargate.js.map +1 -0
  193. package/dist/.sst/platform/src/components/aws/function.d.ts +1631 -0
  194. package/dist/.sst/platform/src/components/aws/function.d.ts.map +1 -0
  195. package/dist/.sst/platform/src/components/aws/function.js +1041 -0
  196. package/dist/.sst/platform/src/components/aws/function.js.map +1 -0
  197. package/dist/.sst/platform/src/components/aws/helpers/apigateway-account.d.ts +3 -0
  198. package/dist/.sst/platform/src/components/aws/helpers/apigateway-account.d.ts.map +1 -0
  199. package/dist/.sst/platform/src/components/aws/helpers/apigateway-account.js +31 -0
  200. package/dist/.sst/platform/src/components/aws/helpers/apigateway-account.js.map +1 -0
  201. package/dist/.sst/platform/src/components/aws/helpers/apigatewayv2-domain.d.ts +144 -0
  202. package/dist/.sst/platform/src/components/aws/helpers/apigatewayv2-domain.d.ts.map +1 -0
  203. package/dist/.sst/platform/src/components/aws/helpers/apigatewayv2-domain.js +2 -0
  204. package/dist/.sst/platform/src/components/aws/helpers/apigatewayv2-domain.js.map +1 -0
  205. package/dist/.sst/platform/src/components/aws/helpers/arn.d.ts +35 -0
  206. package/dist/.sst/platform/src/components/aws/helpers/arn.d.ts.map +1 -0
  207. package/dist/.sst/platform/src/components/aws/helpers/arn.js +86 -0
  208. package/dist/.sst/platform/src/components/aws/helpers/arn.js.map +1 -0
  209. package/dist/.sst/platform/src/components/aws/helpers/bootstrap.d.ts +13 -0
  210. package/dist/.sst/platform/src/components/aws/helpers/bootstrap.d.ts.map +1 -0
  211. package/dist/.sst/platform/src/components/aws/helpers/bootstrap.js +7 -0
  212. package/dist/.sst/platform/src/components/aws/helpers/bootstrap.js.map +1 -0
  213. package/dist/.sst/platform/src/components/aws/helpers/container-builder.d.ts +4 -0
  214. package/dist/.sst/platform/src/components/aws/helpers/container-builder.d.ts.map +1 -0
  215. package/dist/.sst/platform/src/components/aws/helpers/container-builder.js +27 -0
  216. package/dist/.sst/platform/src/components/aws/helpers/container-builder.js.map +1 -0
  217. package/dist/.sst/platform/src/components/aws/helpers/function-builder.d.ts +10 -0
  218. package/dist/.sst/platform/src/components/aws/helpers/function-builder.d.ts.map +1 -0
  219. package/dist/.sst/platform/src/components/aws/helpers/function-builder.js +51 -0
  220. package/dist/.sst/platform/src/components/aws/helpers/function-builder.js.map +1 -0
  221. package/dist/.sst/platform/src/components/aws/helpers/provider.d.ts +3 -0
  222. package/dist/.sst/platform/src/components/aws/helpers/provider.d.ts.map +1 -0
  223. package/dist/.sst/platform/src/components/aws/helpers/provider.js +34 -0
  224. package/dist/.sst/platform/src/components/aws/helpers/provider.js.map +1 -0
  225. package/dist/.sst/platform/src/components/aws/helpers/quota.d.ts +7 -0
  226. package/dist/.sst/platform/src/components/aws/helpers/quota.d.ts.map +1 -0
  227. package/dist/.sst/platform/src/components/aws/helpers/quota.js +20 -0
  228. package/dist/.sst/platform/src/components/aws/helpers/quota.js.map +1 -0
  229. package/dist/.sst/platform/src/components/aws/helpers/site-builder.d.ts +4 -0
  230. package/dist/.sst/platform/src/components/aws/helpers/site-builder.d.ts.map +1 -0
  231. package/dist/.sst/platform/src/components/aws/helpers/site-builder.js +36 -0
  232. package/dist/.sst/platform/src/components/aws/helpers/site-builder.js.map +1 -0
  233. package/dist/.sst/platform/src/components/aws/helpers/subscriber.d.ts +6 -0
  234. package/dist/.sst/platform/src/components/aws/helpers/subscriber.d.ts.map +1 -0
  235. package/dist/.sst/platform/src/components/aws/helpers/subscriber.js +13 -0
  236. package/dist/.sst/platform/src/components/aws/helpers/subscriber.js.map +1 -0
  237. package/dist/.sst/platform/src/components/aws/https-redirect.d.ts +38 -0
  238. package/dist/.sst/platform/src/components/aws/https-redirect.d.ts.map +1 -0
  239. package/dist/.sst/platform/src/components/aws/https-redirect.js +124 -0
  240. package/dist/.sst/platform/src/components/aws/https-redirect.js.map +1 -0
  241. package/dist/.sst/platform/src/components/aws/iam-edit.d.ts +39 -0
  242. package/dist/.sst/platform/src/components/aws/iam-edit.d.ts.map +1 -0
  243. package/dist/.sst/platform/src/components/aws/iam-edit.js +40 -0
  244. package/dist/.sst/platform/src/components/aws/iam-edit.js.map +1 -0
  245. package/dist/.sst/platform/src/components/aws/index.d.ts +48 -0
  246. package/dist/.sst/platform/src/components/aws/index.d.ts.map +1 -0
  247. package/dist/.sst/platform/src/components/aws/index.js +49 -0
  248. package/dist/.sst/platform/src/components/aws/index.js.map +1 -0
  249. package/dist/.sst/platform/src/components/aws/kinesis-stream-lambda-subscriber.d.ts +48 -0
  250. package/dist/.sst/platform/src/components/aws/kinesis-stream-lambda-subscriber.d.ts.map +1 -0
  251. package/dist/.sst/platform/src/components/aws/kinesis-stream-lambda-subscriber.js +82 -0
  252. package/dist/.sst/platform/src/components/aws/kinesis-stream-lambda-subscriber.js.map +1 -0
  253. package/dist/.sst/platform/src/components/aws/kinesis-stream.d.ts +249 -0
  254. package/dist/.sst/platform/src/components/aws/kinesis-stream.d.ts.map +1 -0
  255. package/dist/.sst/platform/src/components/aws/kinesis-stream.js +134 -0
  256. package/dist/.sst/platform/src/components/aws/kinesis-stream.js.map +1 -0
  257. package/dist/.sst/platform/src/components/aws/linkable.d.ts +17 -0
  258. package/dist/.sst/platform/src/components/aws/linkable.d.ts.map +1 -0
  259. package/dist/.sst/platform/src/components/aws/linkable.js +25 -0
  260. package/dist/.sst/platform/src/components/aws/linkable.js.map +1 -0
  261. package/dist/.sst/platform/src/components/aws/logging.d.ts +26 -0
  262. package/dist/.sst/platform/src/components/aws/logging.d.ts.map +1 -0
  263. package/dist/.sst/platform/src/components/aws/logging.js +26 -0
  264. package/dist/.sst/platform/src/components/aws/logging.js.map +1 -0
  265. package/dist/.sst/platform/src/components/aws/mysql.d.ts +496 -0
  266. package/dist/.sst/platform/src/components/aws/mysql.d.ts.map +1 -0
  267. package/dist/.sst/platform/src/components/aws/mysql.js +514 -0
  268. package/dist/.sst/platform/src/components/aws/mysql.js.map +1 -0
  269. package/dist/.sst/platform/src/components/aws/nextjs.d.ts +517 -0
  270. package/dist/.sst/platform/src/components/aws/nextjs.d.ts.map +1 -0
  271. package/dist/.sst/platform/src/components/aws/nextjs.js +444 -0
  272. package/dist/.sst/platform/src/components/aws/nextjs.js.map +1 -0
  273. package/dist/.sst/platform/src/components/aws/nuxt.d.ts +495 -0
  274. package/dist/.sst/platform/src/components/aws/nuxt.d.ts.map +1 -0
  275. package/dist/.sst/platform/src/components/aws/nuxt.js +113 -0
  276. package/dist/.sst/platform/src/components/aws/nuxt.js.map +1 -0
  277. package/dist/.sst/platform/src/components/aws/open-search.d.ts +295 -0
  278. package/dist/.sst/platform/src/components/aws/open-search.d.ts.map +1 -0
  279. package/dist/.sst/platform/src/components/aws/open-search.js +365 -0
  280. package/dist/.sst/platform/src/components/aws/open-search.js.map +1 -0
  281. package/dist/.sst/platform/src/components/aws/opencontrol.d.ts +165 -0
  282. package/dist/.sst/platform/src/components/aws/opencontrol.d.ts.map +1 -0
  283. package/dist/.sst/platform/src/components/aws/opencontrol.js +164 -0
  284. package/dist/.sst/platform/src/components/aws/opencontrol.js.map +1 -0
  285. package/dist/.sst/platform/src/components/aws/permission.d.ts +27 -0
  286. package/dist/.sst/platform/src/components/aws/permission.d.ts.map +1 -0
  287. package/dist/.sst/platform/src/components/aws/permission.js +19 -0
  288. package/dist/.sst/platform/src/components/aws/permission.js.map +1 -0
  289. package/dist/.sst/platform/src/components/aws/postgres-v1.d.ts +317 -0
  290. package/dist/.sst/platform/src/components/aws/postgres-v1.d.ts.map +1 -0
  291. package/dist/.sst/platform/src/components/aws/postgres-v1.js +304 -0
  292. package/dist/.sst/platform/src/components/aws/postgres-v1.js.map +1 -0
  293. package/dist/.sst/platform/src/components/aws/postgres.d.ts +500 -0
  294. package/dist/.sst/platform/src/components/aws/postgres.d.ts.map +1 -0
  295. package/dist/.sst/platform/src/components/aws/postgres.js +532 -0
  296. package/dist/.sst/platform/src/components/aws/postgres.js.map +1 -0
  297. package/dist/.sst/platform/src/components/aws/providers/bucket-files.d.ts +18 -0
  298. package/dist/.sst/platform/src/components/aws/providers/bucket-files.d.ts.map +1 -0
  299. package/dist/.sst/platform/src/components/aws/providers/bucket-files.js +8 -0
  300. package/dist/.sst/platform/src/components/aws/providers/bucket-files.js.map +1 -0
  301. package/dist/.sst/platform/src/components/aws/providers/distribution-deployment-waiter.d.ts +13 -0
  302. package/dist/.sst/platform/src/components/aws/providers/distribution-deployment-waiter.d.ts.map +1 -0
  303. package/dist/.sst/platform/src/components/aws/providers/distribution-deployment-waiter.js +8 -0
  304. package/dist/.sst/platform/src/components/aws/providers/distribution-deployment-waiter.js.map +1 -0
  305. package/dist/.sst/platform/src/components/aws/providers/distribution-invalidation.d.ts +11 -0
  306. package/dist/.sst/platform/src/components/aws/providers/distribution-invalidation.d.ts.map +1 -0
  307. package/dist/.sst/platform/src/components/aws/providers/distribution-invalidation.js +8 -0
  308. package/dist/.sst/platform/src/components/aws/providers/distribution-invalidation.js.map +1 -0
  309. package/dist/.sst/platform/src/components/aws/providers/function-environment-update.d.ts +29 -0
  310. package/dist/.sst/platform/src/components/aws/providers/function-environment-update.d.ts.map +1 -0
  311. package/dist/.sst/platform/src/components/aws/providers/function-environment-update.js +18 -0
  312. package/dist/.sst/platform/src/components/aws/providers/function-environment-update.js.map +1 -0
  313. package/dist/.sst/platform/src/components/aws/providers/hosted-zone-lookup.d.ts +11 -0
  314. package/dist/.sst/platform/src/components/aws/providers/hosted-zone-lookup.d.ts.map +1 -0
  315. package/dist/.sst/platform/src/components/aws/providers/hosted-zone-lookup.js +8 -0
  316. package/dist/.sst/platform/src/components/aws/providers/hosted-zone-lookup.js.map +1 -0
  317. package/dist/.sst/platform/src/components/aws/providers/kv-keys.d.ts +11 -0
  318. package/dist/.sst/platform/src/components/aws/providers/kv-keys.d.ts.map +1 -0
  319. package/dist/.sst/platform/src/components/aws/providers/kv-keys.js +8 -0
  320. package/dist/.sst/platform/src/components/aws/providers/kv-keys.js.map +1 -0
  321. package/dist/.sst/platform/src/components/aws/providers/kv-routes-update.d.ts +11 -0
  322. package/dist/.sst/platform/src/components/aws/providers/kv-routes-update.d.ts.map +1 -0
  323. package/dist/.sst/platform/src/components/aws/providers/kv-routes-update.js +8 -0
  324. package/dist/.sst/platform/src/components/aws/providers/kv-routes-update.js.map +1 -0
  325. package/dist/.sst/platform/src/components/aws/providers/origin-access-control.d.ts +8 -0
  326. package/dist/.sst/platform/src/components/aws/providers/origin-access-control.d.ts.map +1 -0
  327. package/dist/.sst/platform/src/components/aws/providers/origin-access-control.js +8 -0
  328. package/dist/.sst/platform/src/components/aws/providers/origin-access-control.js.map +1 -0
  329. package/dist/.sst/platform/src/components/aws/providers/rds-role-lookup.d.ts +8 -0
  330. package/dist/.sst/platform/src/components/aws/providers/rds-role-lookup.d.ts.map +1 -0
  331. package/dist/.sst/platform/src/components/aws/providers/rds-role-lookup.js +8 -0
  332. package/dist/.sst/platform/src/components/aws/providers/rds-role-lookup.js.map +1 -0
  333. package/dist/.sst/platform/src/components/aws/providers/vector-table.d.ts +12 -0
  334. package/dist/.sst/platform/src/components/aws/providers/vector-table.d.ts.map +1 -0
  335. package/dist/.sst/platform/src/components/aws/providers/vector-table.js +8 -0
  336. package/dist/.sst/platform/src/components/aws/providers/vector-table.js.map +1 -0
  337. package/dist/.sst/platform/src/components/aws/queue-lambda-subscriber.d.ts +48 -0
  338. package/dist/.sst/platform/src/components/aws/queue-lambda-subscriber.d.ts.map +1 -0
  339. package/dist/.sst/platform/src/components/aws/queue-lambda-subscriber.js +81 -0
  340. package/dist/.sst/platform/src/components/aws/queue-lambda-subscriber.js.map +1 -0
  341. package/dist/.sst/platform/src/components/aws/queue.d.ts +485 -0
  342. package/dist/.sst/platform/src/components/aws/queue.d.ts.map +1 -0
  343. package/dist/.sst/platform/src/components/aws/queue.js +322 -0
  344. package/dist/.sst/platform/src/components/aws/queue.js.map +1 -0
  345. package/dist/.sst/platform/src/components/aws/react.d.ts +416 -0
  346. package/dist/.sst/platform/src/components/aws/react.d.ts.map +1 -0
  347. package/dist/.sst/platform/src/components/aws/react.js +157 -0
  348. package/dist/.sst/platform/src/components/aws/react.js.map +1 -0
  349. package/dist/.sst/platform/src/components/aws/realtime-lambda-subscriber.d.ts +53 -0
  350. package/dist/.sst/platform/src/components/aws/realtime-lambda-subscriber.d.ts.map +1 -0
  351. package/dist/.sst/platform/src/components/aws/realtime-lambda-subscriber.js +78 -0
  352. package/dist/.sst/platform/src/components/aws/realtime-lambda-subscriber.js.map +1 -0
  353. package/dist/.sst/platform/src/components/aws/realtime.d.ts +226 -0
  354. package/dist/.sst/platform/src/components/aws/realtime.d.ts.map +1 -0
  355. package/dist/.sst/platform/src/components/aws/realtime.js +221 -0
  356. package/dist/.sst/platform/src/components/aws/realtime.js.map +1 -0
  357. package/dist/.sst/platform/src/components/aws/redis-v1.d.ts +338 -0
  358. package/dist/.sst/platform/src/components/aws/redis-v1.d.ts.map +1 -0
  359. package/dist/.sst/platform/src/components/aws/redis-v1.js +335 -0
  360. package/dist/.sst/platform/src/components/aws/redis-v1.js.map +1 -0
  361. package/dist/.sst/platform/src/components/aws/redis.d.ts +364 -0
  362. package/dist/.sst/platform/src/components/aws/redis.d.ts.map +1 -0
  363. package/dist/.sst/platform/src/components/aws/redis.js +382 -0
  364. package/dist/.sst/platform/src/components/aws/redis.js.map +1 -0
  365. package/dist/.sst/platform/src/components/aws/remix.d.ts +423 -0
  366. package/dist/.sst/platform/src/components/aws/remix.d.ts.map +1 -0
  367. package/dist/.sst/platform/src/components/aws/remix.js +212 -0
  368. package/dist/.sst/platform/src/components/aws/remix.js.map +1 -0
  369. package/dist/.sst/platform/src/components/aws/router-base-route.d.ts +28 -0
  370. package/dist/.sst/platform/src/components/aws/router-base-route.d.ts.map +1 -0
  371. package/dist/.sst/platform/src/components/aws/router-base-route.js +40 -0
  372. package/dist/.sst/platform/src/components/aws/router-base-route.js.map +1 -0
  373. package/dist/.sst/platform/src/components/aws/router-bucket-route.d.ts +29 -0
  374. package/dist/.sst/platform/src/components/aws/router-bucket-route.d.ts.map +1 -0
  375. package/dist/.sst/platform/src/components/aws/router-bucket-route.js +40 -0
  376. package/dist/.sst/platform/src/components/aws/router-bucket-route.js.map +1 -0
  377. package/dist/.sst/platform/src/components/aws/router-url-route.d.ts +28 -0
  378. package/dist/.sst/platform/src/components/aws/router-url-route.d.ts.map +1 -0
  379. package/dist/.sst/platform/src/components/aws/router-url-route.js +51 -0
  380. package/dist/.sst/platform/src/components/aws/router-url-route.js.map +1 -0
  381. package/dist/.sst/platform/src/components/aws/router.d.ts +1266 -0
  382. package/dist/.sst/platform/src/components/aws/router.d.ts.map +1 -0
  383. package/dist/.sst/platform/src/components/aws/router.js +1156 -0
  384. package/dist/.sst/platform/src/components/aws/router.js.map +1 -0
  385. package/dist/.sst/platform/src/components/aws/service-v1.d.ts +78 -0
  386. package/dist/.sst/platform/src/components/aws/service-v1.d.ts.map +1 -0
  387. package/dist/.sst/platform/src/components/aws/service-v1.js +606 -0
  388. package/dist/.sst/platform/src/components/aws/service-v1.js.map +1 -0
  389. package/dist/.sst/platform/src/components/aws/service.d.ts +1599 -0
  390. package/dist/.sst/platform/src/components/aws/service.d.ts.map +1 -0
  391. package/dist/.sst/platform/src/components/aws/service.js +924 -0
  392. package/dist/.sst/platform/src/components/aws/service.js.map +1 -0
  393. package/dist/.sst/platform/src/components/aws/sns-topic-lambda-subscriber.d.ts +53 -0
  394. package/dist/.sst/platform/src/components/aws/sns-topic-lambda-subscriber.d.ts.map +1 -0
  395. package/dist/.sst/platform/src/components/aws/sns-topic-lambda-subscriber.js +75 -0
  396. package/dist/.sst/platform/src/components/aws/sns-topic-lambda-subscriber.js.map +1 -0
  397. package/dist/.sst/platform/src/components/aws/sns-topic-queue-subscriber.d.ts +55 -0
  398. package/dist/.sst/platform/src/components/aws/sns-topic-queue-subscriber.d.ts.map +1 -0
  399. package/dist/.sst/platform/src/components/aws/sns-topic-queue-subscriber.js +59 -0
  400. package/dist/.sst/platform/src/components/aws/sns-topic-queue-subscriber.js.map +1 -0
  401. package/dist/.sst/platform/src/components/aws/sns-topic.d.ts +389 -0
  402. package/dist/.sst/platform/src/components/aws/sns-topic.d.ts.map +1 -0
  403. package/dist/.sst/platform/src/components/aws/sns-topic.js +233 -0
  404. package/dist/.sst/platform/src/components/aws/sns-topic.js.map +1 -0
  405. package/dist/.sst/platform/src/components/aws/solid-start.d.ts +414 -0
  406. package/dist/.sst/platform/src/components/aws/solid-start.d.ts.map +1 -0
  407. package/dist/.sst/platform/src/components/aws/solid-start.js +120 -0
  408. package/dist/.sst/platform/src/components/aws/solid-start.js.map +1 -0
  409. package/dist/.sst/platform/src/components/aws/ssr-site.d.ts +494 -0
  410. package/dist/.sst/platform/src/components/aws/ssr-site.d.ts.map +1 -0
  411. package/dist/.sst/platform/src/components/aws/ssr-site.js +792 -0
  412. package/dist/.sst/platform/src/components/aws/ssr-site.js.map +1 -0
  413. package/dist/.sst/platform/src/components/aws/static-site.d.ts +736 -0
  414. package/dist/.sst/platform/src/components/aws/static-site.d.ts.map +1 -0
  415. package/dist/.sst/platform/src/components/aws/static-site.js +583 -0
  416. package/dist/.sst/platform/src/components/aws/static-site.js.map +1 -0
  417. package/dist/.sst/platform/src/components/aws/step-functions/choice.d.ts +73 -0
  418. package/dist/.sst/platform/src/components/aws/step-functions/choice.d.ts.map +1 -0
  419. package/dist/.sst/platform/src/components/aws/step-functions/choice.js +98 -0
  420. package/dist/.sst/platform/src/components/aws/step-functions/choice.js.map +1 -0
  421. package/dist/.sst/platform/src/components/aws/step-functions/fail.d.ts +63 -0
  422. package/dist/.sst/platform/src/components/aws/step-functions/fail.d.ts.map +1 -0
  423. package/dist/.sst/platform/src/components/aws/step-functions/fail.js +25 -0
  424. package/dist/.sst/platform/src/components/aws/step-functions/fail.js.map +1 -0
  425. package/dist/.sst/platform/src/components/aws/step-functions/map.d.ts +236 -0
  426. package/dist/.sst/platform/src/components/aws/step-functions/map.d.ts.map +1 -0
  427. package/dist/.sst/platform/src/components/aws/step-functions/map.js +108 -0
  428. package/dist/.sst/platform/src/components/aws/step-functions/map.js.map +1 -0
  429. package/dist/.sst/platform/src/components/aws/step-functions/parallel.d.ts +127 -0
  430. package/dist/.sst/platform/src/components/aws/step-functions/parallel.d.ts.map +1 -0
  431. package/dist/.sst/platform/src/components/aws/step-functions/parallel.js +129 -0
  432. package/dist/.sst/platform/src/components/aws/step-functions/parallel.js.map +1 -0
  433. package/dist/.sst/platform/src/components/aws/step-functions/pass.d.ts +39 -0
  434. package/dist/.sst/platform/src/components/aws/step-functions/pass.d.ts.map +1 -0
  435. package/dist/.sst/platform/src/components/aws/step-functions/pass.js +41 -0
  436. package/dist/.sst/platform/src/components/aws/step-functions/pass.js.map +1 -0
  437. package/dist/.sst/platform/src/components/aws/step-functions/state.d.ts +197 -0
  438. package/dist/.sst/platform/src/components/aws/step-functions/state.d.ts.map +1 -0
  439. package/dist/.sst/platform/src/components/aws/step-functions/state.js +134 -0
  440. package/dist/.sst/platform/src/components/aws/step-functions/state.js.map +1 -0
  441. package/dist/.sst/platform/src/components/aws/step-functions/succeed.d.ts +26 -0
  442. package/dist/.sst/platform/src/components/aws/step-functions/succeed.d.ts.map +1 -0
  443. package/dist/.sst/platform/src/components/aws/step-functions/succeed.js +25 -0
  444. package/dist/.sst/platform/src/components/aws/step-functions/succeed.js.map +1 -0
  445. package/dist/.sst/platform/src/components/aws/step-functions/task.d.ts +477 -0
  446. package/dist/.sst/platform/src/components/aws/step-functions/task.d.ts.map +1 -0
  447. package/dist/.sst/platform/src/components/aws/step-functions/task.js +116 -0
  448. package/dist/.sst/platform/src/components/aws/step-functions/task.js.map +1 -0
  449. package/dist/.sst/platform/src/components/aws/step-functions/wait.d.ts +91 -0
  450. package/dist/.sst/platform/src/components/aws/step-functions/wait.d.ts.map +1 -0
  451. package/dist/.sst/platform/src/components/aws/step-functions/wait.js +46 -0
  452. package/dist/.sst/platform/src/components/aws/step-functions/wait.js.map +1 -0
  453. package/dist/.sst/platform/src/components/aws/step-functions.d.ts +473 -0
  454. package/dist/.sst/platform/src/components/aws/step-functions.d.ts.map +1 -0
  455. package/dist/.sst/platform/src/components/aws/step-functions.js +576 -0
  456. package/dist/.sst/platform/src/components/aws/step-functions.js.map +1 -0
  457. package/dist/.sst/platform/src/components/aws/svelte-kit.d.ts +417 -0
  458. package/dist/.sst/platform/src/components/aws/svelte-kit.d.ts.map +1 -0
  459. package/dist/.sst/platform/src/components/aws/svelte-kit.js +144 -0
  460. package/dist/.sst/platform/src/components/aws/svelte-kit.js.map +1 -0
  461. package/dist/.sst/platform/src/components/aws/tan-stack-start.d.ts +354 -0
  462. package/dist/.sst/platform/src/components/aws/tan-stack-start.d.ts.map +1 -0
  463. package/dist/.sst/platform/src/components/aws/tan-stack-start.js +143 -0
  464. package/dist/.sst/platform/src/components/aws/tan-stack-start.js.map +1 -0
  465. package/dist/.sst/platform/src/components/aws/task.d.ts +322 -0
  466. package/dist/.sst/platform/src/components/aws/task.d.ts.map +1 -0
  467. package/dist/.sst/platform/src/components/aws/task.js +311 -0
  468. package/dist/.sst/platform/src/components/aws/task.js.map +1 -0
  469. package/dist/.sst/platform/src/components/aws/vector.d.ts +150 -0
  470. package/dist/.sst/platform/src/components/aws/vector.d.ts.map +1 -0
  471. package/dist/.sst/platform/src/components/aws/vector.js +224 -0
  472. package/dist/.sst/platform/src/components/aws/vector.js.map +1 -0
  473. package/dist/.sst/platform/src/components/aws/vpc-v1.d.ts +208 -0
  474. package/dist/.sst/platform/src/components/aws/vpc-v1.d.ts.map +1 -0
  475. package/dist/.sst/platform/src/components/aws/vpc-v1.js +355 -0
  476. package/dist/.sst/platform/src/components/aws/vpc-v1.js.map +1 -0
  477. package/dist/.sst/platform/src/components/aws/vpc.d.ts +444 -0
  478. package/dist/.sst/platform/src/components/aws/vpc.d.ts.map +1 -0
  479. package/dist/.sst/platform/src/components/aws/vpc.js +834 -0
  480. package/dist/.sst/platform/src/components/aws/vpc.js.map +1 -0
  481. package/dist/.sst/platform/src/components/base/base-site.d.ts +53 -0
  482. package/dist/.sst/platform/src/components/base/base-site.d.ts.map +1 -0
  483. package/dist/.sst/platform/src/components/base/base-site.js +47 -0
  484. package/dist/.sst/platform/src/components/base/base-site.js.map +1 -0
  485. package/dist/.sst/platform/src/components/base/base-ssr-site.d.ts +111 -0
  486. package/dist/.sst/platform/src/components/base/base-ssr-site.d.ts.map +1 -0
  487. package/dist/.sst/platform/src/components/base/base-ssr-site.js +72 -0
  488. package/dist/.sst/platform/src/components/base/base-ssr-site.js.map +1 -0
  489. package/dist/.sst/platform/src/components/base/base-static-site.d.ts +199 -0
  490. package/dist/.sst/platform/src/components/base/base-static-site.d.ts.map +1 -0
  491. package/dist/.sst/platform/src/components/base/base-static-site.js +87 -0
  492. package/dist/.sst/platform/src/components/base/base-static-site.js.map +1 -0
  493. package/dist/.sst/platform/src/components/cloudflare/account-id.d.ts +2 -0
  494. package/dist/.sst/platform/src/components/cloudflare/account-id.d.ts.map +1 -0
  495. package/dist/.sst/platform/src/components/cloudflare/account-id.js +2 -0
  496. package/dist/.sst/platform/src/components/cloudflare/account-id.js.map +1 -0
  497. package/dist/.sst/platform/src/components/cloudflare/auth.d.ts +22 -0
  498. package/dist/.sst/platform/src/components/cloudflare/auth.d.ts.map +1 -0
  499. package/dist/.sst/platform/src/components/cloudflare/auth.js +37 -0
  500. package/dist/.sst/platform/src/components/cloudflare/auth.js.map +1 -0
  501. package/dist/.sst/platform/src/components/cloudflare/binding.d.ts +69 -0
  502. package/dist/.sst/platform/src/components/cloudflare/binding.d.ts.map +1 -0
  503. package/dist/.sst/platform/src/components/cloudflare/binding.js +25 -0
  504. package/dist/.sst/platform/src/components/cloudflare/binding.js.map +1 -0
  505. package/dist/.sst/platform/src/components/cloudflare/bucket.d.ts +101 -0
  506. package/dist/.sst/platform/src/components/cloudflare/bucket.d.ts.map +1 -0
  507. package/dist/.sst/platform/src/components/cloudflare/bucket.js +98 -0
  508. package/dist/.sst/platform/src/components/cloudflare/bucket.js.map +1 -0
  509. package/dist/.sst/platform/src/components/cloudflare/cron.d.ts +121 -0
  510. package/dist/.sst/platform/src/components/cloudflare/cron.d.ts.map +1 -0
  511. package/dist/.sst/platform/src/components/cloudflare/cron.js +86 -0
  512. package/dist/.sst/platform/src/components/cloudflare/cron.js.map +1 -0
  513. package/dist/.sst/platform/src/components/cloudflare/d1.d.ts +107 -0
  514. package/dist/.sst/platform/src/components/cloudflare/d1.d.ts.map +1 -0
  515. package/dist/.sst/platform/src/components/cloudflare/d1.js +104 -0
  516. package/dist/.sst/platform/src/components/cloudflare/d1.js.map +1 -0
  517. package/dist/.sst/platform/src/components/cloudflare/dns.d.ts +94 -0
  518. package/dist/.sst/platform/src/components/cloudflare/dns.d.ts.map +1 -0
  519. package/dist/.sst/platform/src/components/cloudflare/dns.js +138 -0
  520. package/dist/.sst/platform/src/components/cloudflare/dns.js.map +1 -0
  521. package/dist/.sst/platform/src/components/cloudflare/helpers/fetch.d.ts +19 -0
  522. package/dist/.sst/platform/src/components/cloudflare/helpers/fetch.d.ts.map +1 -0
  523. package/dist/.sst/platform/src/components/cloudflare/helpers/fetch.js +39 -0
  524. package/dist/.sst/platform/src/components/cloudflare/helpers/fetch.js.map +1 -0
  525. package/dist/.sst/platform/src/components/cloudflare/helpers/worker-builder.d.ts +10 -0
  526. package/dist/.sst/platform/src/components/cloudflare/helpers/worker-builder.d.ts.map +1 -0
  527. package/dist/.sst/platform/src/components/cloudflare/helpers/worker-builder.js +25 -0
  528. package/dist/.sst/platform/src/components/cloudflare/helpers/worker-builder.js.map +1 -0
  529. package/dist/.sst/platform/src/components/cloudflare/index.d.ts +13 -0
  530. package/dist/.sst/platform/src/components/cloudflare/index.d.ts.map +1 -0
  531. package/dist/.sst/platform/src/components/cloudflare/index.js +13 -0
  532. package/dist/.sst/platform/src/components/cloudflare/index.js.map +1 -0
  533. package/dist/.sst/platform/src/components/cloudflare/kv.d.ts +101 -0
  534. package/dist/.sst/platform/src/components/cloudflare/kv.d.ts.map +1 -0
  535. package/dist/.sst/platform/src/components/cloudflare/kv.js +98 -0
  536. package/dist/.sst/platform/src/components/cloudflare/kv.js.map +1 -0
  537. package/dist/.sst/platform/src/components/cloudflare/providers/dns-record.d.ts +20 -0
  538. package/dist/.sst/platform/src/components/cloudflare/providers/dns-record.d.ts.map +1 -0
  539. package/dist/.sst/platform/src/components/cloudflare/providers/dns-record.js +11 -0
  540. package/dist/.sst/platform/src/components/cloudflare/providers/dns-record.js.map +1 -0
  541. package/dist/.sst/platform/src/components/cloudflare/providers/kv-data.d.ts +23 -0
  542. package/dist/.sst/platform/src/components/cloudflare/providers/kv-data.d.ts.map +1 -0
  543. package/dist/.sst/platform/src/components/cloudflare/providers/kv-data.js +63 -0
  544. package/dist/.sst/platform/src/components/cloudflare/providers/kv-data.js.map +1 -0
  545. package/dist/.sst/platform/src/components/cloudflare/providers/worker-url.d.ts +22 -0
  546. package/dist/.sst/platform/src/components/cloudflare/providers/worker-url.d.ts.map +1 -0
  547. package/dist/.sst/platform/src/components/cloudflare/providers/worker-url.js +83 -0
  548. package/dist/.sst/platform/src/components/cloudflare/providers/worker-url.js.map +1 -0
  549. package/dist/.sst/platform/src/components/cloudflare/providers/zone-lookup.d.ts +22 -0
  550. package/dist/.sst/platform/src/components/cloudflare/providers/zone-lookup.d.ts.map +1 -0
  551. package/dist/.sst/platform/src/components/cloudflare/providers/zone-lookup.js +54 -0
  552. package/dist/.sst/platform/src/components/cloudflare/providers/zone-lookup.js.map +1 -0
  553. package/dist/.sst/platform/src/components/cloudflare/queue.d.ts +60 -0
  554. package/dist/.sst/platform/src/components/cloudflare/queue.d.ts.map +1 -0
  555. package/dist/.sst/platform/src/components/cloudflare/queue.js +57 -0
  556. package/dist/.sst/platform/src/components/cloudflare/queue.js.map +1 -0
  557. package/dist/.sst/platform/src/components/cloudflare/remix.d.ts +223 -0
  558. package/dist/.sst/platform/src/components/cloudflare/remix.d.ts.map +1 -0
  559. package/dist/.sst/platform/src/components/cloudflare/remix.js +291 -0
  560. package/dist/.sst/platform/src/components/cloudflare/remix.js.map +1 -0
  561. package/dist/.sst/platform/src/components/cloudflare/ssr-site.d.ts +59 -0
  562. package/dist/.sst/platform/src/components/cloudflare/ssr-site.d.ts.map +1 -0
  563. package/dist/.sst/platform/src/components/cloudflare/ssr-site.js +177 -0
  564. package/dist/.sst/platform/src/components/cloudflare/ssr-site.js.map +1 -0
  565. package/dist/.sst/platform/src/components/cloudflare/static-site.d.ts +262 -0
  566. package/dist/.sst/platform/src/components/cloudflare/static-site.d.ts.map +1 -0
  567. package/dist/.sst/platform/src/components/cloudflare/static-site.js +315 -0
  568. package/dist/.sst/platform/src/components/cloudflare/static-site.js.map +1 -0
  569. package/dist/.sst/platform/src/components/cloudflare/worker.d.ts +273 -0
  570. package/dist/.sst/platform/src/components/cloudflare/worker.d.ts.map +1 -0
  571. package/dist/.sst/platform/src/components/cloudflare/worker.js +326 -0
  572. package/dist/.sst/platform/src/components/cloudflare/worker.js.map +1 -0
  573. package/dist/.sst/platform/src/components/component.d.ts +37 -0
  574. package/dist/.sst/platform/src/components/component.d.ts.map +1 -0
  575. package/dist/.sst/platform/src/components/component.js +395 -0
  576. package/dist/.sst/platform/src/components/component.js.map +1 -0
  577. package/dist/.sst/platform/src/components/cpu.d.ts +3 -0
  578. package/dist/.sst/platform/src/components/cpu.d.ts.map +1 -0
  579. package/dist/.sst/platform/src/components/cpu.js +9 -0
  580. package/dist/.sst/platform/src/components/cpu.js.map +1 -0
  581. package/dist/.sst/platform/src/components/dns.d.ts +59 -0
  582. package/dist/.sst/platform/src/components/dns.d.ts.map +1 -0
  583. package/dist/.sst/platform/src/components/dns.js +7 -0
  584. package/dist/.sst/platform/src/components/dns.js.map +1 -0
  585. package/dist/.sst/platform/src/components/duration.d.ts +6 -0
  586. package/dist/.sst/platform/src/components/duration.d.ts.map +1 -0
  587. package/dist/.sst/platform/src/components/duration.js +19 -0
  588. package/dist/.sst/platform/src/components/duration.js.map +1 -0
  589. package/dist/.sst/platform/src/components/error.d.ts +4 -0
  590. package/dist/.sst/platform/src/components/error.d.ts.map +1 -0
  591. package/dist/.sst/platform/src/components/error.js +6 -0
  592. package/dist/.sst/platform/src/components/error.js.map +1 -0
  593. package/dist/.sst/platform/src/components/experimental/dev-command.d.ts +99 -0
  594. package/dist/.sst/platform/src/components/experimental/dev-command.d.ts.map +1 -0
  595. package/dist/.sst/platform/src/components/experimental/dev-command.js +59 -0
  596. package/dist/.sst/platform/src/components/experimental/dev-command.js.map +1 -0
  597. package/dist/.sst/platform/src/components/experimental/index.d.ts +2 -0
  598. package/dist/.sst/platform/src/components/experimental/index.d.ts.map +1 -0
  599. package/dist/.sst/platform/src/components/experimental/index.js +2 -0
  600. package/dist/.sst/platform/src/components/experimental/index.js.map +1 -0
  601. package/dist/.sst/platform/src/components/hint.d.ts +7 -0
  602. package/dist/.sst/platform/src/components/hint.d.ts.map +1 -0
  603. package/dist/.sst/platform/src/components/hint.js +20 -0
  604. package/dist/.sst/platform/src/components/hint.js.map +1 -0
  605. package/dist/.sst/platform/src/components/index.d.ts +16 -0
  606. package/dist/.sst/platform/src/components/index.d.ts.map +1 -0
  607. package/dist/.sst/platform/src/components/index.js +16 -0
  608. package/dist/.sst/platform/src/components/index.js.map +1 -0
  609. package/dist/.sst/platform/src/components/input.d.ts +3 -0
  610. package/dist/.sst/platform/src/components/input.d.ts.map +1 -0
  611. package/dist/.sst/platform/src/components/input.js +2 -0
  612. package/dist/.sst/platform/src/components/input.js.map +1 -0
  613. package/dist/.sst/platform/src/components/link.d.ts +41 -0
  614. package/dist/.sst/platform/src/components/link.d.ts.map +1 -0
  615. package/dist/.sst/platform/src/components/link.js +138 -0
  616. package/dist/.sst/platform/src/components/link.js.map +1 -0
  617. package/dist/.sst/platform/src/components/linkable.d.ts +271 -0
  618. package/dist/.sst/platform/src/components/linkable.d.ts.map +1 -0
  619. package/dist/.sst/platform/src/components/linkable.js +244 -0
  620. package/dist/.sst/platform/src/components/linkable.js.map +1 -0
  621. package/dist/.sst/platform/src/components/naming.d.ts +7 -0
  622. package/dist/.sst/platform/src/components/naming.d.ts.map +1 -0
  623. package/dist/.sst/platform/src/components/naming.js +58 -0
  624. package/dist/.sst/platform/src/components/naming.js.map +1 -0
  625. package/dist/.sst/platform/src/components/path.d.ts +2 -0
  626. package/dist/.sst/platform/src/components/path.d.ts.map +1 -0
  627. package/dist/.sst/platform/src/components/path.js +5 -0
  628. package/dist/.sst/platform/src/components/path.js.map +1 -0
  629. package/dist/.sst/platform/src/components/rpc/rpc.d.ts +18 -0
  630. package/dist/.sst/platform/src/components/rpc/rpc.d.ts.map +1 -0
  631. package/dist/.sst/platform/src/components/rpc/rpc.js +120 -0
  632. package/dist/.sst/platform/src/components/rpc/rpc.js.map +1 -0
  633. package/dist/.sst/platform/src/components/secret.d.ts +125 -0
  634. package/dist/.sst/platform/src/components/secret.d.ts.map +1 -0
  635. package/dist/.sst/platform/src/components/secret.js +143 -0
  636. package/dist/.sst/platform/src/components/secret.js.map +1 -0
  637. package/dist/.sst/platform/src/components/size.d.ts +5 -0
  638. package/dist/.sst/platform/src/components/size.d.ts.map +1 -0
  639. package/dist/.sst/platform/src/components/size.js +29 -0
  640. package/dist/.sst/platform/src/components/size.js.map +1 -0
  641. package/dist/.sst/platform/src/components/vercel/account-id.d.ts +2 -0
  642. package/dist/.sst/platform/src/components/vercel/account-id.d.ts.map +1 -0
  643. package/dist/.sst/platform/src/components/vercel/account-id.js +2 -0
  644. package/dist/.sst/platform/src/components/vercel/account-id.js.map +1 -0
  645. package/dist/.sst/platform/src/components/vercel/dns.d.ts +73 -0
  646. package/dist/.sst/platform/src/components/vercel/dns.d.ts.map +1 -0
  647. package/dist/.sst/platform/src/components/vercel/dns.js +104 -0
  648. package/dist/.sst/platform/src/components/vercel/dns.js.map +1 -0
  649. package/dist/.sst/platform/src/components/vercel/index.d.ts +3 -0
  650. package/dist/.sst/platform/src/components/vercel/index.d.ts.map +1 -0
  651. package/dist/.sst/platform/src/components/vercel/index.js +3 -0
  652. package/dist/.sst/platform/src/components/vercel/index.js.map +1 -0
  653. package/dist/.sst/platform/src/components/vercel/providers/dns-record.d.ts +14 -0
  654. package/dist/.sst/platform/src/components/vercel/providers/dns-record.d.ts.map +1 -0
  655. package/dist/.sst/platform/src/components/vercel/providers/dns-record.js +8 -0
  656. package/dist/.sst/platform/src/components/vercel/providers/dns-record.js.map +1 -0
  657. package/dist/.sst/platform/src/config.d.ts +1243 -0
  658. package/dist/.sst/platform/src/config.d.ts.map +1 -0
  659. package/dist/.sst/platform/src/config.js +5 -0
  660. package/dist/.sst/platform/src/config.js.map +1 -0
  661. package/dist/.sst/platform/src/util/compare-semver.d.ts +4 -0
  662. package/dist/.sst/platform/src/util/compare-semver.d.ts.map +1 -0
  663. package/dist/.sst/platform/src/util/compare-semver.js +24 -0
  664. package/dist/.sst/platform/src/util/compare-semver.js.map +1 -0
  665. package/dist/.sst/platform/src/util/lazy.d.ts +2 -0
  666. package/dist/.sst/platform/src/util/lazy.d.ts.map +1 -0
  667. package/dist/.sst/platform/src/util/lazy.js +12 -0
  668. package/dist/.sst/platform/src/util/lazy.js.map +1 -0
  669. package/dist/.sst/platform/src/util/path-to-regex.d.ts +128 -0
  670. package/dist/.sst/platform/src/util/path-to-regex.d.ts.map +1 -0
  671. package/dist/.sst/platform/src/util/path-to-regex.js +392 -0
  672. package/dist/.sst/platform/src/util/path-to-regex.js.map +1 -0
  673. package/dist/.sst/platform/src/util/semaphore.d.ts +9 -0
  674. package/dist/.sst/platform/src/util/semaphore.d.ts.map +1 -0
  675. package/dist/.sst/platform/src/util/semaphore.js +36 -0
  676. package/dist/.sst/platform/src/util/semaphore.js.map +1 -0
  677. package/dist/.sst/platform/src/util/warn.d.ts +2 -0
  678. package/dist/.sst/platform/src/util/warn.d.ts.map +1 -0
  679. package/dist/.sst/platform/src/util/warn.js +8 -0
  680. package/dist/.sst/platform/src/util/warn.js.map +1 -0
  681. package/dist/components/monorise-core.d.ts +17 -0
  682. package/dist/components/monorise-core.d.ts.map +1 -0
  683. package/dist/components/monorise-core.js +134 -0
  684. package/dist/components/monorise-core.js.map +1 -0
  685. package/dist/components/q-function.d.ts +17 -0
  686. package/dist/components/q-function.d.ts.map +1 -0
  687. package/dist/components/q-function.js +53 -0
  688. package/dist/components/q-function.js.map +1 -0
  689. package/dist/components/single-table.d.ts +12 -0
  690. package/dist/components/single-table.d.ts.map +1 -0
  691. package/dist/components/single-table.js +71 -0
  692. package/dist/components/single-table.js.map +1 -0
  693. package/dist/constants/event.d.ts +73 -0
  694. package/dist/constants/event.d.ts.map +1 -0
  695. package/dist/constants/event.js +74 -0
  696. package/dist/constants/event.js.map +1 -0
  697. package/dist/constants/table.d.ts +3 -0
  698. package/dist/constants/table.d.ts.map +1 -0
  699. package/dist/constants/table.js +3 -0
  700. package/dist/constants/table.js.map +1 -0
  701. package/dist/index.d.ts +11 -0
  702. package/dist/index.d.ts.map +1 -0
  703. package/dist/index.js +11 -0
  704. package/dist/index.js.map +1 -0
  705. package/dist/sst.config.d.ts +3 -0
  706. package/dist/sst.config.d.ts.map +1 -0
  707. package/dist/sst.config.js +24 -0
  708. package/dist/sst.config.js.map +1 -0
  709. package/dist/tsconfig.tsbuildinfo +1 -0
  710. package/package.json +25 -0
@@ -0,0 +1,933 @@
1
+ import { ComponentResourceOptions, Output } from "@pulumi/pulumi";
2
+ import { Component, Prettify, Transform } from "../component";
3
+ import { Link } from "../link";
4
+ import type { Input } from "../input";
5
+ import { FunctionArgs, FunctionArn } from "./function";
6
+ import { RETENTION } from "./logging";
7
+ import { ApiGatewayV2DomainArgs } from "./helpers/apigatewayv2-domain";
8
+ import { ApiGatewayV2LambdaRoute } from "./apigatewayv2-lambda-route";
9
+ import { ApiGatewayV2Authorizer } from "./apigatewayv2-authorizer";
10
+ import { apigatewayv2, cloudwatch } from "@pulumi/aws";
11
+ import { ApiGatewayV2UrlRoute } from "./apigatewayv2-url-route";
12
+ import { Duration, DurationHours } from "../duration";
13
+ import { ApiGatewayV2PrivateRoute } from "./apigatewayv2-private-route";
14
+ import { Vpc } from "./vpc";
15
+ interface ApiGatewayV2CorsArgs {
16
+ /**
17
+ * Allow cookies or other credentials in requests to the HTTP API.
18
+ * @default `false`
19
+ * @example
20
+ * ```js
21
+ * {
22
+ * cors: {
23
+ * allowCredentials: true
24
+ * }
25
+ * }
26
+ * ```
27
+ */
28
+ allowCredentials?: Input<boolean>;
29
+ /**
30
+ * The HTTP headers that origins can include in requests to the HTTP API.
31
+ * @default `["*"]`
32
+ * @example
33
+ * ```js
34
+ * {
35
+ * cors: {
36
+ * allowHeaders: ["date", "keep-alive", "x-custom-header"]
37
+ * }
38
+ * }
39
+ * ```
40
+ */
41
+ allowHeaders?: Input<Input<string>[]>;
42
+ /**
43
+ * The origins that can access the HTTP API.
44
+ * @default `["*"]`
45
+ * @example
46
+ * ```js
47
+ * {
48
+ * cors: {
49
+ * allowOrigins: ["https://www.example.com", "http://localhost:60905"]
50
+ * }
51
+ * }
52
+ * ```
53
+ * Or the wildcard for all origins.
54
+ * ```js
55
+ * {
56
+ * cors: {
57
+ * allowOrigins: ["*"]
58
+ * }
59
+ * }
60
+ * ```
61
+ */
62
+ allowOrigins?: Input<Input<string>[]>;
63
+ /**
64
+ * The HTTP methods that are allowed when calling the HTTP API.
65
+ * @default `["*"]`
66
+ * @example
67
+ * ```js
68
+ * {
69
+ * cors: {
70
+ * allowMethods: ["GET", "POST", "DELETE"]
71
+ * }
72
+ * }
73
+ * ```
74
+ * Or the wildcard for all methods.
75
+ * ```js
76
+ * {
77
+ * cors: {
78
+ * allowMethods: ["*"]
79
+ * }
80
+ * }
81
+ * ```
82
+ */
83
+ allowMethods?: Input<Input<"*" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT">[]>;
84
+ /**
85
+ * The HTTP headers you want to expose in your function to an origin that calls the HTTP API.
86
+ * @default `[]`
87
+ * @example
88
+ * ```js
89
+ * {
90
+ * cors: {
91
+ * exposeHeaders: ["date", "keep-alive", "x-custom-header"]
92
+ * }
93
+ * }
94
+ * ```
95
+ */
96
+ exposeHeaders?: Input<Input<string>[]>;
97
+ /**
98
+ * The maximum amount of time the browser can cache results of a preflight request. By
99
+ * default the browser doesn't cache the results. The maximum value is `86400 seconds` or `1 day`.
100
+ * @default `"0 seconds"`
101
+ * @example
102
+ * ```js
103
+ * {
104
+ * cors: {
105
+ * maxAge: "1 day"
106
+ * }
107
+ * }
108
+ * ```
109
+ */
110
+ maxAge?: Input<Duration>;
111
+ }
112
+ export interface ApiGatewayV2Args {
113
+ /**
114
+ * [Link resources](/docs/linking/) to all your API Gateway routes.
115
+ *
116
+ * Linked resources will be merged with the resources linked to each route.
117
+ *
118
+ * @example
119
+ *
120
+ * Takes a list of resources to link to all the routes.
121
+ *
122
+ * ```js
123
+ * {
124
+ * link: [bucket, stripeKey]
125
+ * }
126
+ * ```
127
+ */
128
+ link?: FunctionArgs["link"];
129
+ /**
130
+ * Set a custom domain for your HTTP API.
131
+ *
132
+ * Automatically manages domains hosted on AWS Route 53, Cloudflare, and Vercel. For other
133
+ * providers, you'll need to pass in a `cert` that validates domain ownership and add the
134
+ * DNS records.
135
+ *
136
+ * :::tip
137
+ * Built-in support for AWS Route 53, Cloudflare, and Vercel. And manual setup for other
138
+ * providers.
139
+ * :::
140
+ *
141
+ * @example
142
+ *
143
+ * By default this assumes the domain is hosted on Route 53.
144
+ *
145
+ * ```js
146
+ * {
147
+ * domain: "example.com"
148
+ * }
149
+ * ```
150
+ *
151
+ * For domains hosted on Cloudflare.
152
+ *
153
+ * ```js
154
+ * {
155
+ * domain: {
156
+ * name: "example.com",
157
+ * dns: sst.cloudflare.dns()
158
+ * }
159
+ * }
160
+ * ```
161
+ */
162
+ domain?: Input<string | Prettify<ApiGatewayV2DomainArgs>>;
163
+ /**
164
+ * Customize the CORS (Cross-origin resource sharing) settings for your HTTP API.
165
+ * @default `true`
166
+ * @example
167
+ * Disable CORS.
168
+ * ```js
169
+ * {
170
+ * cors: false
171
+ * }
172
+ * ```
173
+ * Only enable the `GET` and `POST` methods for `https://example.com`.
174
+ * ```js
175
+ * {
176
+ * cors: {
177
+ * allowMethods: ["GET", "POST"],
178
+ * allowOrigins: ["https://example.com"]
179
+ * }
180
+ * }
181
+ * ```
182
+ */
183
+ cors?: Input<boolean | Prettify<ApiGatewayV2CorsArgs>>;
184
+ /**
185
+ * Configure the [API Gateway logs](https://docs.aws.amazon.com/apigateway/latest/developerguide/view-cloudwatch-log-events-in-cloudwatch-console.html) in CloudWatch. By default, access logs are enabled and kept for 1 month.
186
+ * @default `{retention: "1 month"}`
187
+ * @example
188
+ * ```js
189
+ * {
190
+ * accessLog: {
191
+ * retention: "forever"
192
+ * }
193
+ * }
194
+ * ```
195
+ */
196
+ accessLog?: Input<{
197
+ /**
198
+ * The duration the API Gateway logs are kept in CloudWatch.
199
+ * @default `1 month`
200
+ */
201
+ retention?: Input<keyof typeof RETENTION>;
202
+ }>;
203
+ /**
204
+ * Configure the API to connect to private resources in a virtual private cloud or VPC.
205
+ * This creates a VPC link for your HTTP API.
206
+ *
207
+ * @example
208
+ * Create a `Vpc` component.
209
+ *
210
+ * ```js title="sst.config.ts"
211
+ * const myVpc = new sst.aws.Vpc("MyVpc");
212
+ * ```
213
+ *
214
+ * Or reference an existing VPC.
215
+ *
216
+ * ```js title="sst.config.ts"
217
+ * const myVpc = sst.aws.Vpc.get("MyVpc", {
218
+ * id: "vpc-12345678901234567"
219
+ * });
220
+ * ```
221
+ *
222
+ * And pass it in. The VPC link will be placed in the public subnets.
223
+ *
224
+ * ```js
225
+ * {
226
+ * vpc: myVpc
227
+ * }
228
+ * ```
229
+ *
230
+ * The above is equivalent to:
231
+ *
232
+ * ```js
233
+ * {
234
+ * vpc: {
235
+ * securityGroups: myVpc.securityGroups,
236
+ * subnets: myVpc.publicSubnets
237
+ * }
238
+ * }
239
+ * ```
240
+ */
241
+ vpc?: Vpc | Input<{
242
+ /**
243
+ * A list of VPC security group IDs.
244
+ */
245
+ securityGroups: Input<Input<string>[]>;
246
+ /**
247
+ * A list of VPC subnet IDs.
248
+ */
249
+ subnets: Input<Input<string>[]>;
250
+ }>;
251
+ /**
252
+ * [Transform](/docs/components#transform) how this component creates its underlying
253
+ * resources.
254
+ */
255
+ transform?: {
256
+ /**
257
+ * Transform the API Gateway HTTP API resource.
258
+ */
259
+ api?: Transform<apigatewayv2.ApiArgs>;
260
+ /**
261
+ * Transform the API Gateway HTTP API stage resource.
262
+ */
263
+ stage?: Transform<apigatewayv2.StageArgs>;
264
+ /**
265
+ * Transform the API Gateway HTTP API domain name resource.
266
+ */
267
+ domainName?: Transform<apigatewayv2.DomainNameArgs>;
268
+ /**
269
+ * Transform the API Gateway HTTP API VPC link resource.
270
+ */
271
+ vpcLink?: Transform<apigatewayv2.VpcLinkArgs>;
272
+ /**
273
+ * Transform the CloudWatch LogGroup resource used for access logs.
274
+ */
275
+ logGroup?: Transform<cloudwatch.LogGroupArgs>;
276
+ /**
277
+ * Transform the routes. This is called for every route that is added.
278
+ *
279
+ * :::note
280
+ * This is applied right before the resource is created.
281
+ * :::
282
+ *
283
+ * You can use this to set any default props for all the routes and their handler function.
284
+ * Like the other transforms, you can either pass in an object or a callback.
285
+ *
286
+ * @example
287
+ *
288
+ * Here we are setting a default memory of `2048 MB` for our routes.
289
+ *
290
+ * ```js
291
+ * {
292
+ * transform: {
293
+ * route: {
294
+ * handler: (args, opts) => {
295
+ * // Set the default if it's not set by the route
296
+ * args.memory ??= "2048 MB";
297
+ * }
298
+ * }
299
+ * }
300
+ * }
301
+ * ```
302
+ *
303
+ * Defaulting to IAM auth for all our routes.
304
+ *
305
+ * ```js
306
+ * {
307
+ * transform: {
308
+ * route: {
309
+ * args: (props) => {
310
+ * // Set the default if it's not set by the route
311
+ * props.auth ??= { iam: true };
312
+ * }
313
+ * }
314
+ * }
315
+ * }
316
+ * ```
317
+ */
318
+ route?: {
319
+ /**
320
+ * Transform the handler function of the route.
321
+ */
322
+ handler?: Transform<FunctionArgs>;
323
+ /**
324
+ * Transform the arguments for the route.
325
+ */
326
+ args?: Transform<ApiGatewayV2RouteArgs>;
327
+ };
328
+ };
329
+ }
330
+ export interface ApiGatewayV2AuthorizerArgs {
331
+ /**
332
+ * The name of the authorizer.
333
+ * @example
334
+ * ```js
335
+ * {
336
+ * name: "myAuthorizer"
337
+ * }
338
+ * ```
339
+ */
340
+ name: string;
341
+ /**
342
+ * Create a JWT or JSON Web Token authorizer that can be used by the routes.
343
+ *
344
+ * @example
345
+ * Configure JWT auth.
346
+ *
347
+ * ```js
348
+ * {
349
+ * jwt: {
350
+ * issuer: "https://issuer.com/",
351
+ * audiences: ["https://api.example.com"],
352
+ * identitySource: "$request.header.AccessToken"
353
+ * }
354
+ * }
355
+ * ```
356
+ *
357
+ * You can also use Cognito as the identity provider.
358
+ *
359
+ * ```js
360
+ * {
361
+ * jwt: {
362
+ * audiences: [userPoolClient.id],
363
+ * issuer: $interpolate`https://cognito-idp.${aws.getArnOutput(userPool).region}.amazonaws.com/${userPool.id}`,
364
+ * }
365
+ * }
366
+ * ```
367
+ *
368
+ * Where `userPool` and `userPoolClient` are:
369
+ *
370
+ * ```js
371
+ * const userPool = new aws.cognito.UserPool();
372
+ * const userPoolClient = new aws.cognito.UserPoolClient();
373
+ * ```
374
+ */
375
+ jwt?: Input<{
376
+ /**
377
+ * Base domain of the identity provider that issues JSON Web Tokens.
378
+ * @example
379
+ * ```js
380
+ * {
381
+ * issuer: "https://issuer.com/"
382
+ * }
383
+ * ```
384
+ */
385
+ issuer: Input<string>;
386
+ /**
387
+ * List of the intended recipients of the JWT. A valid JWT must provide an `aud` that matches at least one entry in this list.
388
+ */
389
+ audiences: Input<Input<string>[]>;
390
+ /**
391
+ * Specifies where to extract the JWT from the request.
392
+ * @default `"$request.header.Authorization"`
393
+ */
394
+ identitySource?: Input<string>;
395
+ }>;
396
+ /**
397
+ * Create a Lambda authorizer that can be used by the routes.
398
+ *
399
+ * @example
400
+ * Configure Lambda auth.
401
+ *
402
+ * ```js
403
+ * {
404
+ * lambda: {
405
+ * function: "src/authorizer.index"
406
+ * }
407
+ * }
408
+ * ```
409
+ */
410
+ lambda?: Input<{
411
+ /**
412
+ * The Lambda authorizer function. Takes the handler path or the function args.
413
+ * @example
414
+ * Add a simple authorizer.
415
+ *
416
+ * ```js
417
+ * {
418
+ * function: "src/authorizer.index"
419
+ * }
420
+ * ```
421
+ *
422
+ * Customize the authorizer handler.
423
+ *
424
+ * ```js
425
+ * {
426
+ * function: {
427
+ * handler: "src/authorizer.index",
428
+ * memory: "2048 MB"
429
+ * }
430
+ * }
431
+ * ```
432
+ */
433
+ function: Input<string | FunctionArgs | FunctionArn>;
434
+ /**
435
+ * The JWT payload version.
436
+ * @default `"2.0"`
437
+ * @example
438
+ * ```js
439
+ * {
440
+ * payload: "2.0"
441
+ * }
442
+ * ```
443
+ */
444
+ payload?: Input<"1.0" | "2.0">;
445
+ /**
446
+ * The response type.
447
+ * @default `"simple"`
448
+ * @example
449
+ * ```js
450
+ * {
451
+ * response: "iam"
452
+ * }
453
+ * ```
454
+ */
455
+ response?: Input<"simple" | "iam">;
456
+ /**
457
+ * The time to live (TTL) for the authorizer.
458
+ * @default Not cached
459
+ * @example
460
+ * ```js
461
+ * {
462
+ * ttl: "300 seconds"
463
+ * }
464
+ * ```
465
+ */
466
+ ttl?: Input<DurationHours>;
467
+ /**
468
+ * Specifies where to extract the identity from.
469
+ * @default `["$request.header.Authorization"]`
470
+ * @example
471
+ * ```js
472
+ * {
473
+ * identitySources: ["$request.header.RequestToken"]
474
+ * }
475
+ * ```
476
+ */
477
+ identitySources?: Input<Input<string>[]>;
478
+ }>;
479
+ /**
480
+ * [Transform](/docs/components#transform) how this component creates its underlying
481
+ * resources.
482
+ */
483
+ transform?: {
484
+ /**
485
+ * Transform the API Gateway authorizer resource.
486
+ */
487
+ authorizer?: Transform<apigatewayv2.AuthorizerArgs>;
488
+ };
489
+ }
490
+ export interface ApiGatewayV2RouteArgs {
491
+ /**
492
+ * Enable auth for your HTTP API. By default, auth is disabled.
493
+ *
494
+ * @default `false`
495
+ * @example
496
+ * ```js
497
+ * {
498
+ * auth: {
499
+ * iam: true
500
+ * }
501
+ * }
502
+ * ```
503
+ */
504
+ auth?: Input<false | {
505
+ /**
506
+ * Enable IAM authorization for a given API route. When IAM auth is enabled, clients
507
+ * need to use Signature Version 4 to sign their requests with their AWS credentials.
508
+ */
509
+ iam?: Input<boolean>;
510
+ /**
511
+ * Enable JWT or JSON Web Token authorization for a given API route. When JWT auth is enabled, clients need to include a valid JWT in their requests.
512
+ *
513
+ * @example
514
+ * You can configure JWT auth.
515
+ *
516
+ * ```js
517
+ * {
518
+ * auth: {
519
+ * jwt: {
520
+ * authorizer: myAuthorizer.id,
521
+ * scopes: ["read:profile", "write:profile"]
522
+ * }
523
+ * }
524
+ * }
525
+ * ```
526
+ *
527
+ * Where `myAuthorizer` is created by calling the `addAuthorizer` method.
528
+ */
529
+ jwt?: Input<{
530
+ /**
531
+ * Authorizer ID of the JWT authorizer.
532
+ */
533
+ authorizer: Input<string>;
534
+ /**
535
+ * Defines the permissions or access levels that the JWT grants. If the JWT does not have the required scope, the request is rejected. By default it does not require any scopes.
536
+ */
537
+ scopes?: Input<Input<string>[]>;
538
+ }>;
539
+ /**
540
+ * Enable custom Lambda authorization for a given API route. Pass in the authorizer ID.
541
+ *
542
+ * @example
543
+ * ```js
544
+ * {
545
+ * auth: {
546
+ * lambda: myAuthorizer.id
547
+ * }
548
+ * }
549
+ * ```
550
+ *
551
+ * Where `myAuthorizer` is created by calling the `addAuthorizer` method.
552
+ */
553
+ lambda?: Input<string>;
554
+ }>;
555
+ /**
556
+ * [Transform](/docs/components#transform) how this component creates its underlying
557
+ * resources.
558
+ */
559
+ transform?: {
560
+ /**
561
+ * Transform the API Gateway HTTP API integration resource.
562
+ */
563
+ integration?: Transform<apigatewayv2.IntegrationArgs>;
564
+ /**
565
+ * Transform the API Gateway HTTP API route resource.
566
+ */
567
+ route?: Transform<apigatewayv2.RouteArgs>;
568
+ };
569
+ }
570
+ /**
571
+ * The `ApiGatewayV2` component lets you add an [Amazon API Gateway HTTP API](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api.html) to your app.
572
+ *
573
+ * @example
574
+ *
575
+ * #### Create the API
576
+ *
577
+ * ```ts title="sst.config.ts"
578
+ * const api = new sst.aws.ApiGatewayV2("MyApi");
579
+ * ```
580
+ *
581
+ * #### Add a custom domain
582
+ *
583
+ * ```js {2} title="sst.config.ts"
584
+ * new sst.aws.ApiGatewayV2("MyApi", {
585
+ * domain: "api.example.com"
586
+ * });
587
+ * ```
588
+ *
589
+ * #### Add routes
590
+ *
591
+ * ```ts title="sst.config.ts"
592
+ * api.route("GET /", "src/get.handler");
593
+ * api.route("POST /", "src/post.handler");
594
+ * ```
595
+ *
596
+ * #### Configure the routes
597
+ *
598
+ * You can configure the route.
599
+ *
600
+ * ```ts title="sst.config.ts"
601
+ * api.route("GET /", "src/get.handler", {
602
+ * auth: { iam: true }
603
+ * });
604
+ * ```
605
+ *
606
+ * #### Configure the route handler
607
+ *
608
+ * You can configure the route handler function.
609
+ *
610
+ * ```ts title="sst.config.ts"
611
+ * api.route("POST /", {
612
+ * handler: "src/post.handler",
613
+ * memory: "2048 MB"
614
+ * });
615
+ * ```
616
+ *
617
+ * #### Default props for all routes
618
+ *
619
+ * You can use the `transform` to set some default props for all your routes. For example,
620
+ * instead of setting the `memory` for each route.
621
+ *
622
+ * ```ts title="sst.config.ts"
623
+ * api.route("GET /", { handler: "src/get.handler", memory: "2048 MB" });
624
+ * api.route("POST /", { handler: "src/post.handler", memory: "2048 MB" });
625
+ * ```
626
+ *
627
+ * You can set it through the `transform`.
628
+ *
629
+ * ```ts title="sst.config.ts" {6}
630
+ * const api = new sst.aws.ApiGatewayV2("MyApi", {
631
+ * transform: {
632
+ * route: {
633
+ * handler: (args, opts) => {
634
+ * // Set the default if it's not set by the route
635
+ * args.memory ??= "2048 MB";
636
+ * }
637
+ * }
638
+ * }
639
+ * });
640
+ *
641
+ * api.route("GET /", "src/get.handler");
642
+ * api.route("POST /", "src/post.handler");
643
+ * ```
644
+ *
645
+ * With this we set the `memory` if it's not overridden by the route.
646
+ */
647
+ export declare class ApiGatewayV2 extends Component implements Link.Linkable {
648
+ private constructorName;
649
+ private constructorArgs;
650
+ private constructorOpts;
651
+ private api;
652
+ private apigDomain?;
653
+ private apiMapping?;
654
+ private logGroup;
655
+ private vpcLink?;
656
+ constructor(name: string, args?: ApiGatewayV2Args, opts?: ComponentResourceOptions);
657
+ /**
658
+ * The URL of the API.
659
+ *
660
+ * If the `domain` is set, this is the URL with the custom domain.
661
+ * Otherwise, it's the auto-generated API Gateway URL.
662
+ */
663
+ get url(): Output<string>;
664
+ /**
665
+ * The underlying [resources](/docs/components/#nodes) this component creates.
666
+ */
667
+ get nodes(): {
668
+ /**
669
+ * The Amazon API Gateway HTTP API.
670
+ */
671
+ api: import("@pulumi/aws/apigatewayv2/api").Api;
672
+ /**
673
+ * The API Gateway HTTP API domain name.
674
+ */
675
+ readonly domainName: Output<import("@pulumi/aws/apigatewayv2/domainName").DomainName>;
676
+ /**
677
+ * The CloudWatch LogGroup for the access logs.
678
+ */
679
+ logGroup: import("@pulumi/aws/cloudwatch/logGroup").LogGroup;
680
+ /**
681
+ * The API Gateway HTTP API VPC link.
682
+ */
683
+ vpcLink: import("@pulumi/aws/apigatewayv2/vpcLink").VpcLink | undefined;
684
+ };
685
+ /**
686
+ * Add a route to the API Gateway HTTP API. The route is a combination of
687
+ * - An HTTP method and a path, `{METHOD} /{path}`.
688
+ * - Or a `$default` route.
689
+ *
690
+ * :::tip
691
+ * The `$default` route is a default or catch-all route. It'll match if no other route matches.
692
+ * :::
693
+ *
694
+ * A method could be one of `GET`, `POST`, `PUT`, `DELETE`, `PATCH`, `HEAD`, `OPTIONS`, or `ANY`. Here `ANY` matches any HTTP method.
695
+ *
696
+ * The path can be a combination of
697
+ * - Literal segments, `/notes`, `/notes/new`, etc.
698
+ * - Parameter segments, `/notes/{noteId}`, `/notes/{noteId}/attachments/{attachmentId}`, etc.
699
+ * - Greedy segments, `/{proxy+}`, `/notes/{proxy+}`, etc. The `{proxy+}` segment is a greedy segment that matches all child paths. It needs to be at the end of the path.
700
+ *
701
+ * :::tip
702
+ * The `{proxy+}` is a greedy segment, it matches all its child paths.
703
+ * :::
704
+ *
705
+ * The `$default` is a reserved keyword for the default route. It'll be matched
706
+ * if no other route matches. When a request comes in, the API Gateway will look
707
+ * for the most specific match. If no route matches, the `$default` route will
708
+ * be invoked.
709
+ *
710
+ * :::note
711
+ * You cannot have duplicate routes.
712
+ * :::
713
+ *
714
+ * @param rawRoute The path for the route.
715
+ * @param handler The function that'll be invoked.
716
+ * @param args Configure the route.
717
+ *
718
+ * @example
719
+ * Add a simple route.
720
+ *
721
+ * ```js title="sst.config.ts"
722
+ * api.route("GET /", "src/get.handler");
723
+ * ```
724
+ *
725
+ * Match any HTTP method.
726
+ *
727
+ * ```js title="sst.config.ts"
728
+ * api.route("ANY /", "src/route.handler");
729
+ * ```
730
+ *
731
+ * Add a default or fallback route. Here for every request other than `GET /`,
732
+ * the `$default` route will be invoked.
733
+ *
734
+ * ```js title="sst.config.ts"
735
+ * api.route("GET /", "src/get.handler");
736
+ *
737
+ * api.route("$default", "src/default.handler");
738
+ * ```
739
+ *
740
+ * Add a parameterized route.
741
+ *
742
+ * ```js title="sst.config.ts"
743
+ * api.route("GET /notes/{id}", "src/get.handler");
744
+ * ```
745
+ *
746
+ * Add a greedy route.
747
+ *
748
+ * ```js title="sst.config.ts"
749
+ * api.route("GET /notes/{proxy+}", "src/greedy.handler");
750
+ * ```
751
+ *
752
+ * Enable auth for a route.
753
+ *
754
+ * ```js title="sst.config.ts"
755
+ * api.route("GET /", "src/get.handler")
756
+ * api.route("POST /", "src/post.handler", {
757
+ * auth: {
758
+ * iam: true
759
+ * }
760
+ * });
761
+ * ```
762
+ *
763
+ * Customize the route handler.
764
+ *
765
+ * ```js title="sst.config.ts"
766
+ * api.route("GET /", {
767
+ * handler: "src/get.handler",
768
+ * memory: "2048 MB"
769
+ * });
770
+ * ```
771
+ *
772
+ * Or pass in the ARN of an existing Lambda function.
773
+ *
774
+ * ```js title="sst.config.ts"
775
+ * api.route("GET /", "arn:aws:lambda:us-east-1:123456789012:function:my-function");
776
+ * ```
777
+ */
778
+ route(rawRoute: string, handler: Input<string | FunctionArgs | FunctionArn>, args?: ApiGatewayV2RouteArgs): ApiGatewayV2LambdaRoute;
779
+ /**
780
+ * Add a URL route to the API Gateway HTTP API.
781
+ *
782
+ * @param rawRoute The path for the route.
783
+ * @param url The URL to forward to.
784
+ * @param args Configure the route.
785
+ *
786
+ * @example
787
+ * Add a simple route.
788
+ *
789
+ * ```js title="sst.config.ts"
790
+ * api.routeUrl("GET /", "https://google.com");
791
+ * ```
792
+ *
793
+ * Enable auth for a route.
794
+ *
795
+ * ```js title="sst.config.ts"
796
+ * api.routeUrl("POST /", "https://google.com", {
797
+ * auth: {
798
+ * iam: true
799
+ * }
800
+ * });
801
+ * ```
802
+ */
803
+ routeUrl(rawRoute: string, url: Input<string>, args?: ApiGatewayV2RouteArgs): ApiGatewayV2UrlRoute;
804
+ /**
805
+ * Adds a private route to the API Gateway HTTP API.
806
+ *
807
+ * To add private routes, you need to have a VPC link. Make sure to pass in a `vpc`.
808
+ * Learn more about [adding private routes](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-private.html).
809
+ *
810
+ * :::tip
811
+ * You need to pass `vpc` to add a private route.
812
+ * :::
813
+ *
814
+ * A couple of things to note:
815
+ *
816
+ * 1. Your API Gateway HTTP API also needs to be in the **same VPC** as the service.
817
+ *
818
+ * 2. You also need to verify that your VPC's [**availability zones support VPC link**](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-vpc-links.html#http-api-vpc-link-availability).
819
+ *
820
+ * 3. Run `aws ec2 describe-availability-zones` to get a list of AZs for your
821
+ * account.
822
+ *
823
+ * 4. Only list the AZ ID's that support VPC link.
824
+ * ```ts title="sst.config.ts" {4}
825
+ * vpc: {
826
+ * az: ["eu-west-3a", "eu-west-3c"]
827
+ * }
828
+ * ```
829
+ * If the VPC picks an AZ automatically that doesn't support VPC link, you'll get
830
+ * the following error:
831
+ * ```
832
+ * operation error ApiGatewayV2: BadRequestException: Subnet is in Availability
833
+ * Zone 'euw3-az2' where service is not available
834
+ * ```
835
+ *
836
+ * @param rawRoute The path for the route.
837
+ * @param arn The ARN of the AWS Load Balancer or Cloud Map service.
838
+ * @param args Configure the route.
839
+ *
840
+ * @example
841
+ * Here are a few examples using the private route. Add a route to Application Load Balancer.
842
+ *
843
+ * ```js title="sst.config.ts"
844
+ * const loadBalancerArn = "arn:aws:elasticloadbalancing:us-east-1:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188";
845
+ * api.routePrivate("GET /", loadBalancerArn);
846
+ * ```
847
+ *
848
+ * Add a route to AWS Cloud Map service.
849
+ *
850
+ * ```js title="sst.config.ts"
851
+ * const serviceArn = "arn:aws:servicediscovery:us-east-2:123456789012:service/srv-id?stage=prod&deployment=green_deployment";
852
+ * api.routePrivate("GET /", serviceArn);
853
+ * ```
854
+ *
855
+ * Enable IAM authentication for a route.
856
+ *
857
+ * ```js title="sst.config.ts"
858
+ * api.routePrivate("GET /", serviceArn, {
859
+ * auth: {
860
+ * iam: true
861
+ * }
862
+ * });
863
+ * ```
864
+ */
865
+ routePrivate(rawRoute: string, arn: Input<string>, args?: ApiGatewayV2RouteArgs): ApiGatewayV2PrivateRoute;
866
+ private parseRoute;
867
+ private buildRouteId;
868
+ /**
869
+ * Add an authorizer to the API Gateway HTTP API.
870
+ *
871
+ * @param args Configure the authorizer.
872
+ * @example
873
+ * Add a Lambda authorizer.
874
+ *
875
+ * ```js title="sst.config.ts"
876
+ * api.addAuthorizer({
877
+ * name: "myAuthorizer",
878
+ * lambda: {
879
+ * function: "src/authorizer.index"
880
+ * }
881
+ * });
882
+ * ```
883
+ *
884
+ * Add a JWT authorizer.
885
+ *
886
+ * ```js title="sst.config.ts"
887
+ * const authorizer = api.addAuthorizer({
888
+ * name: "myAuthorizer",
889
+ * jwt: {
890
+ * issuer: "https://issuer.com/",
891
+ * audiences: ["https://api.example.com"],
892
+ * identitySource: "$request.header.AccessToken"
893
+ * }
894
+ * });
895
+ * ```
896
+ *
897
+ * Add a Cognito UserPool as a JWT authorizer.
898
+ *
899
+ * ```js title="sst.config.ts"
900
+ * const pool = new sst.aws.CognitoUserPool("MyUserPool");
901
+ * const poolClient = userPool.addClient("Web");
902
+ *
903
+ * const authorizer = api.addAuthorizer({
904
+ * name: "myCognitoAuthorizer",
905
+ * jwt: {
906
+ * issuer: $interpolate`https://cognito-idp.${aws.getRegionOutput().name}.amazonaws.com/${pool.id}`,
907
+ * audiences: [poolClient.id]
908
+ * }
909
+ * });
910
+ * ```
911
+ *
912
+ * Now you can use the authorizer in your routes.
913
+ *
914
+ * ```js title="sst.config.ts"
915
+ * api.route("GET /", "src/get.handler", {
916
+ * auth: {
917
+ * jwt: {
918
+ * authorizer: authorizer.id
919
+ * }
920
+ * }
921
+ * });
922
+ * ```
923
+ */
924
+ addAuthorizer(args: ApiGatewayV2AuthorizerArgs): ApiGatewayV2Authorizer;
925
+ /** @internal */
926
+ getSSTLink(): {
927
+ properties: {
928
+ url: Output<string>;
929
+ };
930
+ };
931
+ }
932
+ export {};
933
+ //# sourceMappingURL=apigatewayv2.d.ts.map