@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,1115 @@
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 { Duration } from "../duration";
7
+ import { BucketLambdaSubscriber } from "./bucket-lambda-subscriber";
8
+ import { s3 } from "@pulumi/aws";
9
+ import { BucketQueueSubscriber } from "./bucket-queue-subscriber";
10
+ import { BucketTopicSubscriber } from "./bucket-topic-subscriber";
11
+ import { Queue } from "./queue";
12
+ import { SnsTopic } from "./sns-topic";
13
+ import { BucketNotification } from "./bucket-notification";
14
+ interface BucketCorsArgs {
15
+ /**
16
+ * The HTTP headers that origins can include in requests to the bucket.
17
+ * @default `["*"]`
18
+ * @example
19
+ * ```js
20
+ * {
21
+ * cors: {
22
+ * allowHeaders: ["date", "keep-alive", "x-custom-header"]
23
+ * }
24
+ * }
25
+ * ```
26
+ */
27
+ allowHeaders?: Input<Input<string>[]>;
28
+ /**
29
+ * The origins that can access the bucket.
30
+ * @default `["*"]`
31
+ * @example
32
+ * ```js
33
+ * {
34
+ * cors: {
35
+ * allowOrigins: ["https://www.example.com", "http://localhost:60905"]
36
+ * }
37
+ * }
38
+ * ```
39
+ * Or the wildcard for all origins.
40
+ * ```js
41
+ * {
42
+ * cors: {
43
+ * allowOrigins: ["*"]
44
+ * }
45
+ * }
46
+ * ```
47
+ */
48
+ allowOrigins?: Input<Input<string>[]>;
49
+ /**
50
+ * The HTTP methods that are allowed when calling the bucket.
51
+ * @default `["DELETE" | "GET" | "HEAD" | "POST" | "PUT"]`
52
+ * @example
53
+ * ```js
54
+ * {
55
+ * cors: {
56
+ * allowMethods: ["GET", "POST", "DELETE"]
57
+ * }
58
+ * }
59
+ * ```
60
+ */
61
+ allowMethods?: Input<Input<"DELETE" | "GET" | "HEAD" | "POST" | "PUT">[]>;
62
+ /**
63
+ * The HTTP headers you want to expose to an origin that calls the bucket.
64
+ * @default `[]`
65
+ * @example
66
+ * ```js
67
+ * {
68
+ * cors: {
69
+ * exposeHeaders: ["date", "keep-alive", "x-custom-header"]
70
+ * }
71
+ * }
72
+ * ```
73
+ */
74
+ exposeHeaders?: Input<Input<string>[]>;
75
+ /**
76
+ * The maximum amount of time the browser can cache results of a preflight request. By
77
+ * default the browser doesn't cache the results. The maximum value is `86400 seconds` or `1 day`.
78
+ * @default `"0 seconds"`
79
+ * @example
80
+ * ```js
81
+ * {
82
+ * cors: {
83
+ * maxAge: "1 day"
84
+ * }
85
+ * }
86
+ * ```
87
+ */
88
+ maxAge?: Input<Duration>;
89
+ }
90
+ export interface BucketArgs {
91
+ /**
92
+ * Enable public read access for all the files in the bucket.
93
+ *
94
+ * :::tip
95
+ * You don't need to enable this if you're using CloudFront to serve files from the bucket.
96
+ * :::
97
+ *
98
+ * Should only be turned on if you want to host public files directly from the bucket.
99
+ * @deprecated Use `access` instead.
100
+ * @default `false`
101
+ * @example
102
+ * ```js
103
+ * {
104
+ * public: true
105
+ * }
106
+ * ```
107
+ */
108
+ public?: Input<boolean>;
109
+ /**
110
+ * Enable public read access for all the files in the bucket. By default, no access is
111
+ * granted.
112
+ *
113
+ * :::tip
114
+ * If you are using the `Router` to serve files from this bucket, you need to allow
115
+ * `cloudfront` access the bucket.
116
+ * :::
117
+ *
118
+ * This adds a statement to the bucket policy that either allows `public` access or just
119
+ * `cloudfront` access.
120
+ *
121
+ * @example
122
+ * ```js
123
+ * {
124
+ * access: "public"
125
+ * }
126
+ * ```
127
+ */
128
+ access?: Input<"public" | "cloudfront">;
129
+ /**
130
+ * Configure the policy for the bucket.
131
+ *
132
+ * @example
133
+ * Restrict Access to Specific IP Addresses
134
+ *
135
+ * ```js
136
+ * {
137
+ * policy: [{
138
+ * actions: ["s3:*"],
139
+ * principals: "*",
140
+ * conditions: [
141
+ * {
142
+ * test: "IpAddress",
143
+ * variable: "aws:SourceIp",
144
+ * values: ["10.0.0.0/16"]
145
+ * }
146
+ * ]
147
+ * }]
148
+ * }
149
+ * ```
150
+ *
151
+ * Allow Specific IAM User Access
152
+ *
153
+ * ```js
154
+ * {
155
+ * policy: [{
156
+ * actions: ["s3:*"],
157
+ * principals: [{
158
+ * type: "aws",
159
+ * identifiers: ["arn:aws:iam::123456789012:user/specific-user"]
160
+ * }],
161
+ * }]
162
+ * }
163
+ * ```
164
+ *
165
+ * Cross-Account Access
166
+ *
167
+ * ```js
168
+ * {
169
+ * policy: [{
170
+ * actions: ["s3:GetObject", "s3:ListBucket"],
171
+ * principals: [{
172
+ * type: "aws",
173
+ * identifiers: ["123456789012"]
174
+ * }],
175
+ * }]
176
+ * }
177
+ * ```
178
+ */
179
+ policy?: Input<Input<{
180
+ /**
181
+ * Configures whether the permission is allowed or denied.
182
+ * @default `"allow"`
183
+ * @example
184
+ * ```ts
185
+ * {
186
+ * effect: "deny"
187
+ * }
188
+ * ```
189
+ */
190
+ effect?: Input<"allow" | "deny">;
191
+ /**
192
+ * The [IAM actions](https://docs.aws.amazon.com/service-authorization/latest/reference/reference_policies_actions-resources-contextkeys.html#actions_table) that can be performed.
193
+ * @example
194
+ * ```js
195
+ * {
196
+ * actions: ["s3:*"]
197
+ * }
198
+ * ```
199
+ */
200
+ actions: Input<Input<string>[]>;
201
+ /**
202
+ * The principals that can perform the actions.
203
+ * @example
204
+ * Allow anyone to perform the actions.
205
+ *
206
+ * ```js
207
+ * {
208
+ * principals: "*"
209
+ * }
210
+ * ```
211
+ *
212
+ * Allow anyone within an AWS account.
213
+ *
214
+ * ```js
215
+ * {
216
+ * principals: [{ type: "aws", identifiers: ["123456789012"] }]
217
+ * }
218
+ * ```
219
+ *
220
+ * Allow specific IAM roles.
221
+ * ```js
222
+ * {
223
+ * principals: [{
224
+ * type: "aws",
225
+ * identifiers: [
226
+ * "arn:aws:iam::123456789012:role/MyRole",
227
+ * "arn:aws:iam::123456789012:role/MyOtherRole"
228
+ * ]
229
+ * }]
230
+ * }
231
+ * ```
232
+ *
233
+ * Allow AWS CloudFront.
234
+ * ```js
235
+ * {
236
+ * principals: [{ type: "service", identifiers: ["cloudfront.amazonaws.com"] }]
237
+ * }
238
+ * ```
239
+ *
240
+ * Allow OIDC federated users.
241
+ * ```js
242
+ * {
243
+ * principals: [{
244
+ * type: "federated",
245
+ * identifiers: ["accounts.google.com"]
246
+ * }]
247
+ * }
248
+ * ```
249
+ *
250
+ * Allow SAML federated users.
251
+ * ```js
252
+ * {
253
+ * principals: [{
254
+ * type: "federated",
255
+ * identifiers: ["arn:aws:iam::123456789012:saml-provider/provider-name"]
256
+ * }]
257
+ * }
258
+ * ```
259
+ *
260
+ * Allow Canonical User IDs.
261
+ * ```js
262
+ * {
263
+ * principals: [{
264
+ * type: "canonical",
265
+ * identifiers: ["79a59df900b949e55d96a1e698fbacedfd6e09d98eacf8f8d5218e7cd47ef2be"]
266
+ * }]
267
+ * }
268
+ * ```
269
+ *
270
+ * Allow specific IAM users.
271
+ *
272
+ */
273
+ principals: Input<"*" | Input<{
274
+ type: Input<"aws" | "service" | "federated" | "canonical">;
275
+ identifiers: Input<Input<string>[]>;
276
+ }>[]>;
277
+ /**
278
+ * Configure specific conditions for when the policy is in effect.
279
+ * @example
280
+ * ```js
281
+ * {
282
+ * conditions: [
283
+ * {
284
+ * test: "StringEquals",
285
+ * variable: "s3:x-amz-server-side-encryption",
286
+ * values: ["AES256"]
287
+ * }
288
+ * ]
289
+ * }
290
+ * ```
291
+ */
292
+ conditions?: Input<Input<{
293
+ /**
294
+ * Name of the [IAM condition operator](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html) to evaluate.
295
+ */
296
+ test: Input<string>;
297
+ /**
298
+ * Name of a [Context Variable](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements.html#AvailableKeys) to apply the condition to. Context variables may either be standard AWS variables starting with `aws:` or service-specific variables prefixed with the service name.
299
+ */
300
+ variable: Input<string>;
301
+ /**
302
+ * The values to evaluate the condition against. If multiple values are provided, the condition matches if at least one of them applies. That is, AWS evaluates multiple values as though using an "OR" boolean operation.
303
+ */
304
+ values: Input<Input<string>[]>;
305
+ }>[]>;
306
+ /**
307
+ * The S3 file paths that the policy is applied to. The paths are specified using
308
+ * the [S3 path format](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-prefixes.html).
309
+ * The bucket arn will be prepended to the paths when constructing the policy.
310
+ * @default `["", "*"]`
311
+ * @example
312
+ * Apply the policy to the bucket itself.
313
+ * ```js
314
+ * {
315
+ * paths: [""]
316
+ * }
317
+ * ```
318
+ *
319
+ * Apply to all files in the bucket.
320
+ * ```js
321
+ * {
322
+ * paths: ["*"]
323
+ * }
324
+ * ```
325
+ *
326
+ * Apply to all files in the `images/` folder.
327
+ * ```js
328
+ * {
329
+ * paths: ["images/*"]
330
+ * }
331
+ * ```
332
+ */
333
+ paths?: Input<Input<string>[]>;
334
+ }>[]>;
335
+ /**
336
+ * Enforce HTTPS for all requests to the bucket.
337
+ *
338
+ * By default, the bucket policy will automatically block any HTTP requests.
339
+ * This is done using the `aws:SecureTransport` condition key.
340
+ *
341
+ * @default true
342
+ * @example
343
+ * ```js
344
+ * {
345
+ * enforceHttps: false
346
+ * }
347
+ * ```
348
+ */
349
+ enforceHttps?: Input<boolean>;
350
+ /**
351
+ * The CORS configuration for the bucket. Defaults to `true`, which is the same as:
352
+ *
353
+ * ```js
354
+ * {
355
+ * cors: {
356
+ * allowHeaders: ["*"],
357
+ * allowOrigins: ["*"],
358
+ * allowMethods: ["DELETE", "GET", "HEAD", "POST", "PUT"],
359
+ * exposeHeaders: [],
360
+ * maxAge: "0 seconds"
361
+ * }
362
+ * }
363
+ * ```
364
+ *
365
+ * @default `true`
366
+ */
367
+ cors?: Input<false | Prettify<BucketCorsArgs>>;
368
+ /**
369
+ * Enable versioning for the bucket.
370
+ *
371
+ * Bucket versioning enables you to store multiple versions of an object, protecting
372
+ * against accidental deletion or overwriting.
373
+ *
374
+ * @default `false`
375
+ * @example
376
+ * ```js
377
+ * {
378
+ * versioning: true
379
+ * }
380
+ * ```
381
+ */
382
+ versioning?: Input<boolean>;
383
+ /**
384
+ * [Transform](/docs/components#transform) how this component creates its underlying
385
+ * resources.
386
+ */
387
+ transform?: {
388
+ /**
389
+ * Transform the S3 Bucket resource.
390
+ */
391
+ bucket?: Transform<s3.BucketV2Args>;
392
+ /**
393
+ * Transform the S3 Bucket CORS configuration resource.
394
+ */
395
+ cors?: Transform<s3.BucketCorsConfigurationV2Args>;
396
+ /**
397
+ * Transform the S3 Bucket Policy resource.
398
+ */
399
+ policy?: Transform<s3.BucketPolicyArgs>;
400
+ /**
401
+ * Transform the S3 Bucket versioning resource.
402
+ */
403
+ versioning?: Transform<s3.BucketVersioningV2Args>;
404
+ /**
405
+ * Transform the public access block resource that's attached to the Bucket.
406
+ *
407
+ * Returns `false` if the public access block resource should not be created.
408
+ */
409
+ publicAccessBlock?: Transform<s3.BucketPublicAccessBlockArgs> | false;
410
+ };
411
+ }
412
+ export interface BucketNotificationsArgs {
413
+ /**
414
+ * A list of subscribers that'll be notified when events happen in the bucket.
415
+ */
416
+ notifications: Input<Input<{
417
+ /**
418
+ * The name of the subscriber.
419
+ */
420
+ name: Input<string>;
421
+ /**
422
+ * The function that'll be notified.
423
+ *
424
+ * @example
425
+ * ```js
426
+ * {
427
+ * name: "MySubscriber",
428
+ * function: "src/subscriber.handler"
429
+ * }
430
+ * ```
431
+ *
432
+ * Customize the subscriber function. The `link` ensures the subscriber can access the
433
+ * bucket through the [SDK](/docs/reference/sdk/).
434
+ *
435
+ * ```js
436
+ * {
437
+ * name: "MySubscriber",
438
+ * function: {
439
+ * handler: "src/subscriber.handler",
440
+ * timeout: "60 seconds",
441
+ * link: [bucket]
442
+ * }
443
+ * }
444
+ * ```
445
+ *
446
+ * Or pass in the ARN of an existing Lambda function.
447
+ *
448
+ * ```js
449
+ * {
450
+ * name: "MySubscriber",
451
+ * function: "arn:aws:lambda:us-east-1:123456789012:function:my-function"
452
+ * }
453
+ * ```
454
+ */
455
+ function?: Input<string | FunctionArgs | FunctionArn>;
456
+ /**
457
+ * The Queue that'll be notified.
458
+ *
459
+ * @example
460
+ * For example, let's say you have a queue.
461
+ *
462
+ * ```js title="sst.config.ts"
463
+ * const myQueue = new sst.aws.Queue("MyQueue");
464
+ * ```
465
+ *
466
+ * You can subscribe to this bucket with it.
467
+ *
468
+ * ```js
469
+ * {
470
+ * name: "MySubscriber",
471
+ * queue: myQueue
472
+ * }
473
+ * ```
474
+ *
475
+ * Or pass in the ARN of an existing SQS queue.
476
+ *
477
+ * ```js
478
+ * {
479
+ * name: "MySubscriber",
480
+ * queue: "arn:aws:sqs:us-east-1:123456789012:my-queue"
481
+ * }
482
+ * ```
483
+ */
484
+ queue?: Input<string | Queue>;
485
+ /**
486
+ * The SNS topic that'll be notified.
487
+ *
488
+ * @example
489
+ * For example, let's say you have a topic.
490
+ *
491
+ * ```js title="sst.config.ts"
492
+ * const myTopic = new sst.aws.SnsTopic("MyTopic");
493
+ * ```
494
+ *
495
+ * You can subscribe to this bucket with it.
496
+ *
497
+ * ```js
498
+ * {
499
+ * name: "MySubscriber",
500
+ * topic: myTopic
501
+ * }
502
+ * ```
503
+ *
504
+ * Or pass in the ARN of an existing SNS topic.
505
+ *
506
+ * ```js
507
+ * {
508
+ * name: "MySubscriber",
509
+ * topic: "arn:aws:sns:us-east-1:123456789012:my-topic"
510
+ * }
511
+ * ```
512
+ */
513
+ topic?: Input<string | SnsTopic>;
514
+ /**
515
+ * A list of S3 event types that'll trigger a notification.
516
+ * @default All S3 events
517
+ * @example
518
+ * ```js
519
+ * {
520
+ * events: ["s3:ObjectCreated:*", "s3:ObjectRemoved:*"]
521
+ * }
522
+ * ```
523
+ */
524
+ events?: Input<Input<"s3:ObjectCreated:*" | "s3:ObjectCreated:Put" | "s3:ObjectCreated:Post" | "s3:ObjectCreated:Copy" | "s3:ObjectCreated:CompleteMultipartUpload" | "s3:ObjectRemoved:*" | "s3:ObjectRemoved:Delete" | "s3:ObjectRemoved:DeleteMarkerCreated" | "s3:ObjectRestore:*" | "s3:ObjectRestore:Post" | "s3:ObjectRestore:Completed" | "s3:ObjectRestore:Delete" | "s3:ReducedRedundancyLostObject" | "s3:Replication:*" | "s3:Replication:OperationFailedReplication" | "s3:Replication:OperationMissedThreshold" | "s3:Replication:OperationReplicatedAfterThreshold" | "s3:Replication:OperationNotTracked" | "s3:LifecycleExpiration:*" | "s3:LifecycleExpiration:Delete" | "s3:LifecycleExpiration:DeleteMarkerCreated" | "s3:LifecycleTransition" | "s3:IntelligentTiering" | "s3:ObjectTagging:*" | "s3:ObjectTagging:Put" | "s3:ObjectTagging:Delete" | "s3:ObjectAcl:Put">[]>;
525
+ /**
526
+ * An S3 object key prefix that will trigger a notification.
527
+ * @example
528
+ * To be notified for all the objects in the `images/` folder.
529
+ * ```js
530
+ * {
531
+ * filterPrefix: "images/"
532
+ * }
533
+ * ```
534
+ */
535
+ filterPrefix?: Input<string>;
536
+ /**
537
+ * An S3 object key suffix that will trigger the notification.
538
+ * @example
539
+ * To be notified for all the objects with the `.jpg` suffix.
540
+ * ```js
541
+ * {
542
+ * filterSuffix: ".jpg"
543
+ * }
544
+ * ```
545
+ */
546
+ filterSuffix?: Input<string>;
547
+ }>[]>;
548
+ /**
549
+ * [Transform](/docs/components#transform) how this notification creates its underlying
550
+ * resources.
551
+ */
552
+ transform?: {
553
+ /**
554
+ * Transform the S3 Bucket Notification resource.
555
+ */
556
+ notification?: Transform<s3.BucketNotificationArgs>;
557
+ };
558
+ }
559
+ /**
560
+ * @internal
561
+ */
562
+ export interface BucketSubscriberArgs {
563
+ /**
564
+ * A list of S3 event types that'll trigger the notification.
565
+ * @default All S3 events
566
+ * @example
567
+ * ```js
568
+ * {
569
+ * events: ["s3:ObjectCreated:*", "s3:ObjectRemoved:*"]
570
+ * }
571
+ * ```
572
+ */
573
+ events?: Input<Input<"s3:ObjectCreated:*" | "s3:ObjectCreated:Put" | "s3:ObjectCreated:Post" | "s3:ObjectCreated:Copy" | "s3:ObjectCreated:CompleteMultipartUpload" | "s3:ObjectRemoved:*" | "s3:ObjectRemoved:Delete" | "s3:ObjectRemoved:DeleteMarkerCreated" | "s3:ObjectRestore:*" | "s3:ObjectRestore:Post" | "s3:ObjectRestore:Completed" | "s3:ObjectRestore:Delete" | "s3:ReducedRedundancyLostObject" | "s3:Replication:*" | "s3:Replication:OperationFailedReplication" | "s3:Replication:OperationMissedThreshold" | "s3:Replication:OperationReplicatedAfterThreshold" | "s3:Replication:OperationNotTracked" | "s3:LifecycleExpiration:*" | "s3:LifecycleExpiration:Delete" | "s3:LifecycleExpiration:DeleteMarkerCreated" | "s3:LifecycleTransition" | "s3:IntelligentTiering" | "s3:ObjectTagging:*" | "s3:ObjectTagging:Put" | "s3:ObjectTagging:Delete" | "s3:ObjectAcl:Put">[]>;
574
+ /**
575
+ * An S3 object key prefix that will trigger the notification.
576
+ * @example
577
+ * To filter for all the objects in the `images/` folder.
578
+ * ```js
579
+ * {
580
+ * filterPrefix: "images/"
581
+ * }
582
+ * ```
583
+ */
584
+ filterPrefix?: Input<string>;
585
+ /**
586
+ * An S3 object key suffix that will trigger the notification.
587
+ * @example
588
+ * To filter for all the objects with the `.jpg` suffix.
589
+ * ```js
590
+ * {
591
+ * filterSuffix: ".jpg"
592
+ * }
593
+ * ```
594
+ */
595
+ filterSuffix?: Input<string>;
596
+ /**
597
+ * [Transform](/docs/components#transform) how this notification creates its underlying
598
+ * resources.
599
+ */
600
+ transform?: {
601
+ /**
602
+ * Transform the S3 Bucket Notification resource.
603
+ */
604
+ notification?: Transform<s3.BucketNotificationArgs>;
605
+ };
606
+ }
607
+ /**
608
+ * The `Bucket` component lets you add an [AWS S3 Bucket](https://aws.amazon.com/s3/) to
609
+ * your app.
610
+ *
611
+ * @example
612
+ *
613
+ * #### Minimal example
614
+ *
615
+ * ```ts title="sst.config.ts"
616
+ * const bucket = new sst.aws.Bucket("MyBucket");
617
+ * ```
618
+ *
619
+ * #### Public read access
620
+ *
621
+ * Enable `public` read access for all the files in the bucket. Useful for hosting public files.
622
+ *
623
+ * ```ts title="sst.config.ts"
624
+ * new sst.aws.Bucket("MyBucket", {
625
+ * access: "public"
626
+ * });
627
+ * ```
628
+ *
629
+ * #### Add a subscriber
630
+ *
631
+ * ```ts title="sst.config.ts"
632
+ * bucket.notify({
633
+ * notifications: [
634
+ * {
635
+ * name: "MySubscriber",
636
+ * function: "src/subscriber.handler"
637
+ * }
638
+ * ]
639
+ * });
640
+ * ```
641
+ *
642
+ * #### Link the bucket to a resource
643
+ *
644
+ * You can link the bucket to other resources, like a function or your Next.js app.
645
+ *
646
+ * ```ts title="sst.config.ts"
647
+ * new sst.aws.Nextjs("MyWeb", {
648
+ * link: [bucket]
649
+ * });
650
+ * ```
651
+ *
652
+ * Once linked, you can generate a pre-signed URL to upload files in your app.
653
+ *
654
+ * ```ts title="app/page.tsx" {1,7}
655
+ * import { Resource } from "sst";
656
+ * import { getSignedUrl } from "@aws-sdk/s3-request-presigner";
657
+ * import { S3Client, PutObjectCommand } from "@aws-sdk/client-s3";
658
+ *
659
+ * const command = new PutObjectCommand({
660
+ * Key: "file.txt",
661
+ * Bucket: Resource.MyBucket.name
662
+ * });
663
+ * await getSignedUrl(new S3Client({}), command);
664
+ * ```
665
+ */
666
+ export declare class Bucket extends Component implements Link.Linkable {
667
+ private constructorName;
668
+ private constructorOpts;
669
+ private isSubscribed;
670
+ private bucket;
671
+ constructor(name: string, args?: BucketArgs, opts?: ComponentResourceOptions);
672
+ /**
673
+ * The generated name of the S3 Bucket.
674
+ */
675
+ get name(): Output<string>;
676
+ /**
677
+ * The domain name of the bucket. Has the format `${bucketName}.s3.amazonaws.com`.
678
+ */
679
+ get domain(): Output<string>;
680
+ /**
681
+ * The ARN of the S3 Bucket.
682
+ */
683
+ get arn(): Output<string>;
684
+ /**
685
+ * The underlying [resources](/docs/components/#nodes) this component creates.
686
+ */
687
+ get nodes(): {
688
+ /**
689
+ * The Amazon S3 bucket.
690
+ */
691
+ bucket: Output<import("@pulumi/aws/s3/bucketV2").BucketV2>;
692
+ };
693
+ /**
694
+ * Reference an existing bucket with the given bucket name. This is useful when you
695
+ * create a bucket in one stage and want to share it in another stage. It avoids having to
696
+ * create a new bucket in the other stage.
697
+ *
698
+ * :::tip
699
+ * You can use the `static get` method to share buckets across stages.
700
+ * :::
701
+ *
702
+ * @param name The name of the component.
703
+ * @param bucketName The name of the existing S3 Bucket.
704
+ * @param opts? Resource options.
705
+ *
706
+ * @example
707
+ * Imagine you create a bucket in the `dev` stage. And in your personal stage `frank`,
708
+ * instead of creating a new bucket, you want to share the bucket from `dev`.
709
+ *
710
+ * ```ts title="sst.config.ts"
711
+ * const bucket = $app.stage === "frank"
712
+ * ? sst.aws.Bucket.get("MyBucket", "app-dev-mybucket-12345678")
713
+ * : new sst.aws.Bucket("MyBucket");
714
+ * ```
715
+ *
716
+ * Here `app-dev-mybucket-12345678` is the auto-generated bucket name for the bucket created
717
+ * in the `dev` stage. You can find this by outputting the bucket name in the `dev` stage.
718
+ *
719
+ * ```ts title="sst.config.ts"
720
+ * return {
721
+ * bucket: bucket.name
722
+ * };
723
+ * ```
724
+ */
725
+ static get(name: string, bucketName: string, opts?: ComponentResourceOptions): Bucket;
726
+ /**
727
+ * Subscribe to event notifications from this bucket. You can subscribe to these
728
+ * notifications with a function, a queue, or a topic.
729
+ *
730
+ * @param args The config for the event notifications.
731
+ *
732
+ * @example
733
+ *
734
+ * For exmaple, to notify a function:
735
+ *
736
+ * ```js title="sst.config.ts" {5}
737
+ * bucket.notify({
738
+ * notifications: [
739
+ * {
740
+ * name: "MySubscriber",
741
+ * function: "src/subscriber.handler"
742
+ * }
743
+ * ]
744
+ * });
745
+ * ```
746
+ *
747
+ * Or let's say you have a queue.
748
+ *
749
+ * ```js title="sst.config.ts"
750
+ * const myQueue = new sst.aws.Queue("MyQueue");
751
+ * ```
752
+ *
753
+ * You can notify it by passing in the queue.
754
+ *
755
+ * ```js title="sst.config.ts" {5}
756
+ * bucket.notify({
757
+ * notifications: [
758
+ * {
759
+ * name: "MySubscriber",
760
+ * queue: myQueue
761
+ * }
762
+ * ]
763
+ * });
764
+ * ```
765
+ *
766
+ * Or let's say you have a topic.
767
+ *
768
+ * ```js title="sst.config.ts"
769
+ * const myTopic = new sst.aws.SnsTopic("MyTopic");
770
+ * ```
771
+ *
772
+ * You can notify it by passing in the topic.
773
+ *
774
+ * ```js title="sst.config.ts" {5}
775
+ * bucket.notify({
776
+ * notifications: [
777
+ * {
778
+ * name: "MySubscriber",
779
+ * topic: myTopic
780
+ * }
781
+ * ]
782
+ * });
783
+ * ```
784
+ *
785
+ * You can also set it to only send notifications for specific S3 events.
786
+ *
787
+ * ```js {6}
788
+ * bucket.notify({
789
+ * notifications: [
790
+ * {
791
+ * name: "MySubscriber",
792
+ * function: "src/subscriber.handler",
793
+ * events: ["s3:ObjectCreated:*", "s3:ObjectRemoved:*"]
794
+ * }
795
+ * ]
796
+ * });
797
+ * ```
798
+ *
799
+ * And you can add filters to be only notified from specific files in the bucket.
800
+ *
801
+ * ```js {6}
802
+ * bucket.notify({
803
+ * notifications: [
804
+ * {
805
+ * name: "MySubscriber",
806
+ * function: "src/subscriber.handler",
807
+ * filterPrefix: "images/"
808
+ * }
809
+ * ]
810
+ * });
811
+ * ```
812
+ */
813
+ notify(args: BucketNotificationsArgs): BucketNotification;
814
+ /**
815
+ * Subscribe to events from this bucket.
816
+ *
817
+ * @deprecated The `notify` function is now the recommended way to subscribe to events
818
+ * from this bucket. It allows you to configure multiple subscribers at once. To migrate,
819
+ * remove the current subscriber, deploy the changes, and then add the subscriber
820
+ * back using the new `notify` function.
821
+ *
822
+ * @param subscriber The function that'll be notified.
823
+ * @param args Configure the subscription.
824
+ *
825
+ * @example
826
+ *
827
+ * ```js title="sst.config.ts"
828
+ * bucket.subscribe("src/subscriber.handler");
829
+ * ```
830
+ *
831
+ * Subscribe to specific S3 events. The `link` ensures the subscriber can access the bucket.
832
+ *
833
+ * ```js title="sst.config.ts" "link: [bucket]"
834
+ * bucket.subscribe({
835
+ * handler: "src/subscriber.handler",
836
+ * link: [bucket]
837
+ * }, {
838
+ * events: ["s3:ObjectCreated:*", "s3:ObjectRemoved:*"]
839
+ * });
840
+ * ```
841
+ *
842
+ * Subscribe to specific S3 events from a specific folder.
843
+ *
844
+ * ```js title="sst.config.ts" {2}
845
+ * bucket.subscribe("src/subscriber.handler", {
846
+ * filterPrefix: "images/",
847
+ * events: ["s3:ObjectCreated:*", "s3:ObjectRemoved:*"]
848
+ * });
849
+ * ```
850
+ *
851
+ * Customize the subscriber function.
852
+ *
853
+ * ```js title="sst.config.ts"
854
+ * bucket.subscribe({
855
+ * handler: "src/subscriber.handler",
856
+ * timeout: "60 seconds",
857
+ * });
858
+ * ```
859
+ *
860
+ * Or pass in the ARN of an existing Lambda function.
861
+ *
862
+ * ```js title="sst.config.ts"
863
+ * bucket.subscribe("arn:aws:lambda:us-east-1:123456789012:function:my-function");
864
+ * ```
865
+ */
866
+ subscribe(subscriber: Input<string | FunctionArgs | FunctionArn>, args?: BucketSubscriberArgs): Output<BucketLambdaSubscriber>;
867
+ /**
868
+ * Subscribe to events of an S3 bucket that was not created in your app.
869
+ *
870
+ * @deprecated The `notify` function is now the recommended way to subscribe to events
871
+ * from this bucket. It allows you to configure multiple subscribers at once. To migrate,
872
+ * remove the current subscriber, deploy the changes, and then add the subscriber
873
+ * back using the new `notify` function.
874
+ *
875
+ * @param bucketArn The ARN of the S3 bucket to subscribe to.
876
+ * @param subscriber The function that'll be notified.
877
+ * @param args Configure the subscription.
878
+ *
879
+ * @example
880
+ *
881
+ * For example, let's say you have an existing S3 bucket with the following ARN.
882
+ *
883
+ * ```js title="sst.config.ts"
884
+ * const bucketArn = "arn:aws:s3:::my-bucket";
885
+ * ```
886
+ *
887
+ * You can subscribe to it by passing in the ARN.
888
+ *
889
+ * ```js title="sst.config.ts"
890
+ * sst.aws.Bucket.subscribe(bucketArn, "src/subscriber.handler");
891
+ * ```
892
+ *
893
+ * Subscribe to specific S3 events.
894
+ *
895
+ * ```js title="sst.config.ts"
896
+ * sst.aws.Bucket.subscribe(bucketArn, "src/subscriber.handler", {
897
+ * events: ["s3:ObjectCreated:*", "s3:ObjectRemoved:*"]
898
+ * });
899
+ * ```
900
+ *
901
+ * Subscribe to specific S3 events from a specific folder.
902
+ *
903
+ * ```js title="sst.config.ts" {2}
904
+ * sst.aws.Bucket.subscribe(bucketArn, "src/subscriber.handler", {
905
+ * filterPrefix: "images/",
906
+ * events: ["s3:ObjectCreated:*", "s3:ObjectRemoved:*"]
907
+ * });
908
+ * ```
909
+ *
910
+ * Customize the subscriber function.
911
+ *
912
+ * ```js title="sst.config.ts"
913
+ * sst.aws.Bucket.subscribe(bucketArn, {
914
+ * handler: "src/subscriber.handler",
915
+ * timeout: "60 seconds",
916
+ * });
917
+ * ```
918
+ */
919
+ static subscribe(bucketArn: Input<string>, subscriber: Input<string | FunctionArgs | FunctionArn>, args?: BucketSubscriberArgs): Output<BucketLambdaSubscriber>;
920
+ private static _subscribeFunction;
921
+ /**
922
+ * Subscribe to events from this bucket with an SQS Queue.
923
+ *
924
+ * @deprecated The `notify` function is now the recommended way to subscribe to events
925
+ * from this bucket. It allows you to configure multiple subscribers at once. To migrate,
926
+ * remove the current subscriber, deploy the changes, and then add the subscriber
927
+ * back using the new `notify` function.
928
+ *
929
+ * @param queueArn The ARN of the queue that'll be notified.
930
+ * @param args Configure the subscription.
931
+ *
932
+ * @example
933
+ *
934
+ * For example, let's say you have a queue.
935
+ *
936
+ * ```js title="sst.config.ts"
937
+ * const queue = new sst.aws.Queue("MyQueue");
938
+ * ```
939
+ *
940
+ * You can subscribe to this bucket with it.
941
+ *
942
+ * ```js title="sst.config.ts"
943
+ * bucket.subscribe(queue.arn);
944
+ * ```
945
+ *
946
+ * Subscribe to specific S3 events.
947
+ *
948
+ * ```js title="sst.config.ts"
949
+ * bucket.subscribe(queue.arn, {
950
+ * events: ["s3:ObjectCreated:*", "s3:ObjectRemoved:*"]
951
+ * });
952
+ * ```
953
+ *
954
+ * Subscribe to specific S3 events from a specific folder.
955
+ *
956
+ * ```js title="sst.config.ts" {2}
957
+ * bucket.subscribe(queue.arn, {
958
+ * filterPrefix: "images/",
959
+ * events: ["s3:ObjectCreated:*", "s3:ObjectRemoved:*"]
960
+ * });
961
+ * ```
962
+ */
963
+ subscribeQueue(queueArn: Input<string>, args?: BucketSubscriberArgs): Output<BucketQueueSubscriber>;
964
+ /**
965
+ * Subscribe to events of an S3 bucket that was not created in your app with an SQS Queue.
966
+ *
967
+ * @deprecated The `notify` function is now the recommended way to subscribe to events
968
+ * from this bucket. It allows you to configure multiple subscribers at once. To migrate,
969
+ * remove the current subscriber, deploy the changes, and then add the subscriber
970
+ * back using the new `notify` function.
971
+ *
972
+ * @param bucketArn The ARN of the S3 bucket to subscribe to.
973
+ * @param queueArn The ARN of the queue that'll be notified.
974
+ * @param args Configure the subscription.
975
+ *
976
+ * @example
977
+ *
978
+ * For example, let's say you have an existing S3 bucket and SQS queue with the following ARNs.
979
+ *
980
+ * ```js title="sst.config.ts"
981
+ * const bucketArn = "arn:aws:s3:::my-bucket";
982
+ * const queueArn = "arn:aws:sqs:us-east-1:123456789012:MyQueue";
983
+ * ```
984
+ *
985
+ * You can subscribe to the bucket with the queue.
986
+ *
987
+ * ```js title="sst.config.ts"
988
+ * sst.aws.Bucket.subscribeQueue(bucketArn, queueArn);
989
+ * ```
990
+ *
991
+ * Subscribe to specific S3 events.
992
+ *
993
+ * ```js title="sst.config.ts"
994
+ * sst.aws.Bucket.subscribeQueue(bucketArn, queueArn, {
995
+ * events: ["s3:ObjectCreated:*", "s3:ObjectRemoved:*"]
996
+ * });
997
+ * ```
998
+ *
999
+ * Subscribe to specific S3 events from a specific folder.
1000
+ *
1001
+ * ```js title="sst.config.ts" {2}
1002
+ * sst.aws.Bucket.subscribeQueue(bucketArn, queueArn, {
1003
+ * filterPrefix: "images/",
1004
+ * events: ["s3:ObjectCreated:*", "s3:ObjectRemoved:*"]
1005
+ * });
1006
+ * ```
1007
+ */
1008
+ static subscribeQueue(bucketArn: Input<string>, queueArn: Input<string>, args?: BucketSubscriberArgs): Output<BucketQueueSubscriber>;
1009
+ private static _subscribeQueue;
1010
+ /**
1011
+ * Subscribe to events from this bucket with an SNS Topic.
1012
+ *
1013
+ * @deprecated The `notify` function is now the recommended way to subscribe to events
1014
+ * from this bucket. It allows you to configure multiple subscribers at once. To migrate,
1015
+ * remove the current subscriber, deploy the changes, and then add the subscriber
1016
+ * back using the new `notify` function.
1017
+ *
1018
+ * @param topicArn The ARN of the topic that'll be notified.
1019
+ * @param args Configure the subscription.
1020
+ *
1021
+ * @example
1022
+ *
1023
+ * For example, let's say you have a topic.
1024
+ *
1025
+ * ```js title="sst.config.ts"
1026
+ * const topic = new sst.aws.SnsTopic("MyTopic");
1027
+ * ```
1028
+ *
1029
+ * You can subscribe to this bucket with it.
1030
+ *
1031
+ * ```js title="sst.config.ts"
1032
+ * bucket.subscribe(topic.arn);
1033
+ * ```
1034
+ *
1035
+ * Subscribe to specific S3 events.
1036
+ *
1037
+ * ```js title="sst.config.ts"
1038
+ * bucket.subscribe(topic.arn, {
1039
+ * events: ["s3:ObjectCreated:*", "s3:ObjectRemoved:*"]
1040
+ * });
1041
+ * ```
1042
+ *
1043
+ * Subscribe to specific S3 events from a specific folder.
1044
+ *
1045
+ * ```js title="sst.config.ts" {2}
1046
+ * bucket.subscribe(topic.arn, {
1047
+ * filterPrefix: "images/",
1048
+ * events: ["s3:ObjectCreated:*", "s3:ObjectRemoved:*"]
1049
+ * });
1050
+ * ```
1051
+ */
1052
+ subscribeTopic(topicArn: Input<string>, args?: BucketSubscriberArgs): Output<BucketTopicSubscriber>;
1053
+ /**
1054
+ * Subscribe to events of an S3 bucket that was not created in your app with an SNS Topic.
1055
+ *
1056
+ * @deprecated The `notify` function is now the recommended way to subscribe to events
1057
+ * from this bucket. It allows you to configure multiple subscribers at once. To migrate,
1058
+ * remove the current subscriber, deploy the changes, and then add the subscriber
1059
+ * back using the new `notify` function.
1060
+ *
1061
+ * @param bucketArn The ARN of the S3 bucket to subscribe to.
1062
+ * @param topicArn The ARN of the topic that'll be notified.
1063
+ * @param args Configure the subscription.
1064
+ *
1065
+ * @example
1066
+ *
1067
+ * For example, let's say you have an existing S3 bucket and SNS topic with the following ARNs.
1068
+ *
1069
+ * ```js title="sst.config.ts"
1070
+ * const bucketArn = "arn:aws:s3:::my-bucket";
1071
+ * const topicArn = "arn:aws:sns:us-east-1:123456789012:MyTopic";
1072
+ * ```
1073
+ *
1074
+ * You can subscribe to the bucket with the topic.
1075
+ *
1076
+ * ```js title="sst.config.ts"
1077
+ * sst.aws.Bucket.subscribe(bucketArn, topicArn);
1078
+ * ```
1079
+ *
1080
+ * Subscribe to specific S3 events.
1081
+ *
1082
+ * ```js title="sst.config.ts"
1083
+ * sst.aws.Bucket.subscribe(bucketArn, topicArn, {
1084
+ * events: ["s3:ObjectCreated:*", "s3:ObjectRemoved:*"]
1085
+ * });
1086
+ * ```
1087
+ *
1088
+ * Subscribe to specific S3 events from a specific folder.
1089
+ *
1090
+ * ```js title="sst.config.ts" {2}
1091
+ * sst.aws.Bucket.subscribe(bucketArn, topicArn, {
1092
+ * filterPrefix: "images/",
1093
+ * events: ["s3:ObjectCreated:*", "s3:ObjectRemoved:*"]
1094
+ * });
1095
+ * ```
1096
+ */
1097
+ static subscribeTopic(bucketArn: Input<string>, topicArn: Input<string>, args?: BucketSubscriberArgs): Output<BucketTopicSubscriber>;
1098
+ private static _subscribeTopic;
1099
+ private static buildSubscriberId;
1100
+ private ensureNotSubscribed;
1101
+ /** @internal */
1102
+ getSSTLink(): {
1103
+ properties: {
1104
+ name: Output<string>;
1105
+ };
1106
+ include: {
1107
+ effect?: "allow" | "deny" | undefined;
1108
+ actions: string[];
1109
+ resources: Input<Input<string>[]>;
1110
+ type: "aws.permission";
1111
+ }[];
1112
+ };
1113
+ }
1114
+ export {};
1115
+ //# sourceMappingURL=bucket.d.ts.map