monorise 0.1.0 → 1.1.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.
- package/dist/base/index.d.ts +90 -5
- package/dist/base/index.js.map +1 -1
- package/dist/cli/cli.js +6 -0
- package/dist/cli/cli.js.map +1 -1
- package/dist/core/chunk-QV4Q5377.js +76 -0
- package/dist/core/chunk-QV4Q5377.js.map +1 -0
- package/dist/core/index.d.ts +187 -19
- package/dist/core/index.js +1583 -85
- package/dist/core/index.js.map +1 -1
- package/dist/core/service.config-ZJEZ6EKA.js +13 -0
- package/dist/core/service.config-ZJEZ6EKA.js.map +1 -0
- package/dist/proxy/index.d.ts +35 -0
- package/dist/proxy/index.js +75 -0
- package/dist/proxy/index.js.map +1 -0
- package/dist/react/actions/websocket.action.d.ts +71 -0
- package/dist/react/actions/websocket.action.d.ts.map +1 -0
- package/dist/react/chunk-4D22OCZG.js +65 -0
- package/dist/react/chunk-4D22OCZG.js.map +1 -0
- package/dist/react/chunk-4N3P4ONH.js +588 -0
- package/dist/react/chunk-4N3P4ONH.js.map +1 -0
- package/dist/react/chunk-4Y4KWGJD.js +182 -0
- package/dist/react/chunk-4Y4KWGJD.js.map +1 -0
- package/dist/react/chunk-757E5UYA.js +893 -0
- package/dist/react/chunk-757E5UYA.js.map +1 -0
- package/dist/react/chunk-A5TI2FW3.js +13 -0
- package/dist/react/chunk-A5TI2FW3.js.map +1 -0
- package/dist/react/chunk-B3XDGUFO.js +489 -0
- package/dist/react/chunk-B3XDGUFO.js.map +1 -0
- package/dist/react/chunk-BPBCUO2Z.js +248 -0
- package/dist/react/chunk-BPBCUO2Z.js.map +1 -0
- package/dist/react/chunk-CQBOIXWK.js +142 -0
- package/dist/react/chunk-CQBOIXWK.js.map +1 -0
- package/dist/react/chunk-DRH2BB7I.js +383 -0
- package/dist/react/chunk-DRH2BB7I.js.map +1 -0
- package/dist/react/chunk-EQ3PKQ2S.js +402 -0
- package/dist/react/chunk-EQ3PKQ2S.js.map +1 -0
- package/dist/react/chunk-H64MMAL7.js +245 -0
- package/dist/react/chunk-H64MMAL7.js.map +1 -0
- package/dist/react/chunk-KJX5LOMN.js +43 -0
- package/dist/react/chunk-KJX5LOMN.js.map +1 -0
- package/dist/react/chunk-MO35V2Y7.js +172 -0
- package/dist/react/chunk-MO35V2Y7.js.map +1 -0
- package/dist/react/chunk-UC3E72G7.js +73 -0
- package/dist/react/chunk-UC3E72G7.js.map +1 -0
- package/dist/react/chunk-UHMKB3OR.js +5568 -0
- package/dist/react/chunk-UHMKB3OR.js.map +1 -0
- package/dist/react/chunk-UQPQBWEQ.js +54 -0
- package/dist/react/chunk-UQPQBWEQ.js.map +1 -0
- package/dist/react/chunk-XCDCVRJR.js +43 -0
- package/dist/react/chunk-XCDCVRJR.js.map +1 -0
- package/dist/react/chunk-XOYAZDIH.js +47 -0
- package/dist/react/chunk-XOYAZDIH.js.map +1 -0
- package/dist/react/chunk-YNFQEPO5.js +29 -0
- package/dist/react/chunk-YNFQEPO5.js.map +1 -0
- package/dist/react/dist-es-35AO47NO.js +90 -0
- package/dist/react/dist-es-35AO47NO.js.map +1 -0
- package/dist/react/dist-es-5GDBXNKQ.js +333 -0
- package/dist/react/dist-es-5GDBXNKQ.js.map +1 -0
- package/dist/react/dist-es-B3JDGWY6.js +71 -0
- package/dist/react/dist-es-B3JDGWY6.js.map +1 -0
- package/dist/react/dist-es-IWIE5JLA.js +169 -0
- package/dist/react/dist-es-IWIE5JLA.js.map +1 -0
- package/dist/react/dist-es-NRIS3TYJ.js +494 -0
- package/dist/react/dist-es-NRIS3TYJ.js.map +1 -0
- package/dist/react/dist-es-VCXAEYYN.js +22 -0
- package/dist/react/dist-es-VCXAEYYN.js.map +1 -0
- package/dist/react/dist-es-VU33JFTZ.js +379 -0
- package/dist/react/dist-es-VU33JFTZ.js.map +1 -0
- package/dist/react/event-streams-OSOTOTTP.js +277 -0
- package/dist/react/event-streams-OSOTOTTP.js.map +1 -0
- package/dist/react/index.d.ts +53 -4
- package/dist/react/index.d.ts.map +1 -1
- package/dist/react/index.js +10948 -190
- package/dist/react/index.js.map +1 -1
- package/dist/react/loadSso-ME7MKAM3.js +556 -0
- package/dist/react/loadSso-ME7MKAM3.js.map +1 -0
- package/dist/react/service.config-ZJEZ6EKA-FC2TR3GH.js +14 -0
- package/dist/react/service.config-ZJEZ6EKA-FC2TR3GH.js.map +1 -0
- package/dist/react/services/core.service.d.ts +11 -1
- package/dist/react/services/core.service.d.ts.map +1 -1
- package/dist/react/signin-LOXYIE5I.js +653 -0
- package/dist/react/signin-LOXYIE5I.js.map +1 -0
- package/dist/react/sso-oidc-X63KRRLO.js +786 -0
- package/dist/react/sso-oidc-X63KRRLO.js.map +1 -0
- package/dist/react/sts-OXBEY7HY.js +3948 -0
- package/dist/react/sts-OXBEY7HY.js.map +1 -0
- package/dist/react/websocket/WebSocketManager.d.ts +68 -0
- package/dist/react/websocket/WebSocketManager.d.ts.map +1 -0
- package/dist/react/websocket/index.d.ts +3 -0
- package/dist/react/websocket/index.d.ts.map +1 -0
- package/dist/react/websocket/optimistic.d.ts +51 -0
- package/dist/react/websocket/optimistic.d.ts.map +1 -0
- package/dist/react/websocket-QHA7SQXG.js +10 -0
- package/dist/react/websocket-QHA7SQXG.js.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/alb.d.ts +280 -0
- package/dist/sst/.sst/platform/src/components/aws/alb.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/apigateway-websocket-route.d.ts +1 -1
- package/dist/sst/.sst/platform/src/components/aws/apigateway-websocket-route.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/apigateway-websocket.d.ts +13 -2
- package/dist/sst/.sst/platform/src/components/aws/apigateway-websocket.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv1-authorizer.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv1-lambda-route.d.ts +1 -1
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv1-lambda-route.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv1.d.ts +93 -83
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv1.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv2-authorizer.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv2-lambda-route.d.ts +1 -1
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv2-lambda-route.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv2.d.ts +8 -2
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv2.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/app-sync-data-source.d.ts +1 -1
- package/dist/sst/.sst/platform/src/components/aws/app-sync-data-source.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/app-sync.d.ts +1 -1
- package/dist/sst/.sst/platform/src/components/aws/app-sync.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/aurora.d.ts +18 -0
- package/dist/sst/.sst/platform/src/components/aws/aurora.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/auth-v1.d.ts +1 -1
- package/dist/sst/.sst/platform/src/components/aws/auth-v1.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/auth.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/bucket-lambda-subscriber.d.ts +1 -1
- package/dist/sst/.sst/platform/src/components/aws/bucket-lambda-subscriber.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/bucket-notification.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/bucket.d.ts +13 -8
- package/dist/sst/.sst/platform/src/components/aws/bucket.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/bus-lambda-subscriber.d.ts +3 -2
- package/dist/sst/.sst/platform/src/components/aws/bus-lambda-subscriber.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/bus.d.ts +34 -3
- package/dist/sst/.sst/platform/src/components/aws/bus.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/cdn.d.ts +11 -0
- package/dist/sst/.sst/platform/src/components/aws/cdn.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/cluster.d.ts +59 -1
- package/dist/sst/.sst/platform/src/components/aws/cluster.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/cognito-identity-pool.d.ts +5 -0
- package/dist/sst/.sst/platform/src/components/aws/cognito-identity-pool.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/cognito-user-pool.d.ts +100 -0
- package/dist/sst/.sst/platform/src/components/aws/cognito-user-pool.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/cron-v2.d.ts +325 -0
- package/dist/sst/.sst/platform/src/components/aws/cron-v2.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/cron.d.ts +15 -6
- package/dist/sst/.sst/platform/src/components/aws/cron.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/dsql.d.ts +369 -0
- package/dist/sst/.sst/platform/src/components/aws/dsql.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/dynamo-lambda-subscriber.d.ts +1 -1
- package/dist/sst/.sst/platform/src/components/aws/dynamo-lambda-subscriber.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/dynamo.d.ts +63 -3
- package/dist/sst/.sst/platform/src/components/aws/dynamo.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/email.d.ts +5 -0
- package/dist/sst/.sst/platform/src/components/aws/email.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/fargate.d.ts +95 -4
- package/dist/sst/.sst/platform/src/components/aws/fargate.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/function.d.ts +121 -21
- package/dist/sst/.sst/platform/src/components/aws/function.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/helpers/arn.d.ts +11 -0
- package/dist/sst/.sst/platform/src/components/aws/helpers/arn.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/helpers/container-builder.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/helpers/function-builder.d.ts +7 -3
- package/dist/sst/.sst/platform/src/components/aws/helpers/function-builder.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/helpers/load-balancer.d.ts +9 -0
- package/dist/sst/.sst/platform/src/components/aws/helpers/load-balancer.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/helpers/provider.d.ts +2 -2
- package/dist/sst/.sst/platform/src/components/aws/helpers/provider.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/helpers/site-builder.d.ts +1 -1
- package/dist/sst/.sst/platform/src/components/aws/helpers/site-builder.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/helpers/subscriber.d.ts +1 -1
- package/dist/sst/.sst/platform/src/components/aws/helpers/subscriber.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/https-redirect.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/index.d.ts +4 -0
- package/dist/sst/.sst/platform/src/components/aws/index.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/kinesis-stream-lambda-subscriber.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/kinesis-stream.d.ts +8 -3
- package/dist/sst/.sst/platform/src/components/aws/kinesis-stream.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/linkable.d.ts +1 -1
- package/dist/sst/.sst/platform/src/components/aws/linkable.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/mysql.d.ts +34 -5
- package/dist/sst/.sst/platform/src/components/aws/mysql.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/nextjs.d.ts +39 -5
- package/dist/sst/.sst/platform/src/components/aws/nextjs.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/nuxt.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/open-search.d.ts +12 -1
- package/dist/sst/.sst/platform/src/components/aws/open-search.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/opencontrol.d.ts +7 -3
- package/dist/sst/.sst/platform/src/components/aws/opencontrol.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/permission.d.ts +5 -0
- package/dist/sst/.sst/platform/src/components/aws/permission.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/postgres-v1.d.ts +13 -2
- package/dist/sst/.sst/platform/src/components/aws/postgres-v1.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/postgres.d.ts +34 -5
- package/dist/sst/.sst/platform/src/components/aws/postgres.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/queue-lambda-subscriber.d.ts +6 -1
- package/dist/sst/.sst/platform/src/components/aws/queue-lambda-subscriber.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/queue.d.ts +10 -1
- package/dist/sst/.sst/platform/src/components/aws/queue.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/realtime-lambda-subscriber.d.ts +1 -1
- package/dist/sst/.sst/platform/src/components/aws/realtime-lambda-subscriber.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/realtime.d.ts +6 -1
- package/dist/sst/.sst/platform/src/components/aws/realtime.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/redis-v1.d.ts +10 -0
- package/dist/sst/.sst/platform/src/components/aws/redis-v1.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/redis.d.ts +14 -0
- package/dist/sst/.sst/platform/src/components/aws/redis.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/router.d.ts +482 -2
- package/dist/sst/.sst/platform/src/components/aws/router.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/service-v1.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/service.d.ts +125 -0
- package/dist/sst/.sst/platform/src/components/aws/service.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/sns-topic-lambda-subscriber.d.ts +1 -1
- package/dist/sst/.sst/platform/src/components/aws/sns-topic-lambda-subscriber.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/sns-topic.d.ts +6 -1
- package/dist/sst/.sst/platform/src/components/aws/sns-topic.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/ssr-site.d.ts +7 -7
- package/dist/sst/.sst/platform/src/components/aws/ssr-site.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/static-site.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/step-functions/state.d.ts +1 -1
- package/dist/sst/.sst/platform/src/components/aws/step-functions/state.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/step-functions/task.d.ts +10 -2
- package/dist/sst/.sst/platform/src/components/aws/step-functions/task.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/step-functions.d.ts +5 -0
- package/dist/sst/.sst/platform/src/components/aws/step-functions.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/tan-stack-start.d.ts +20 -6
- package/dist/sst/.sst/platform/src/components/aws/tan-stack-start.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/task.d.ts +35 -15
- package/dist/sst/.sst/platform/src/components/aws/task.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/vector.d.ts +5 -0
- package/dist/sst/.sst/platform/src/components/aws/vector.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/vpc.d.ts +51 -4
- package/dist/sst/.sst/platform/src/components/aws/vpc.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/aws/workflow.d.ts +331 -0
- package/dist/sst/.sst/platform/src/components/aws/workflow.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/ai.d.ts +82 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/ai.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/binding.d.ts +15 -1
- package/dist/sst/.sst/platform/src/components/cloudflare/binding.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/cloudflare/bucket.d.ts +4 -2
- package/dist/sst/.sst/platform/src/components/cloudflare/bucket.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/cloudflare/cron.d.ts +29 -5
- package/dist/sst/.sst/platform/src/components/cloudflare/cron.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/cloudflare/d1.d.ts +37 -2
- package/dist/sst/.sst/platform/src/components/cloudflare/d1.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/cloudflare/index.d.ts +1 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/index.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/cloudflare/kv.d.ts +36 -2
- package/dist/sst/.sst/platform/src/components/cloudflare/kv.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/cloudflare/providers/worker-placement.d.ts +27 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/providers/worker-placement.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/providers/zone-lookup.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/cloudflare/queue-worker-subscriber.d.ts +116 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/queue-worker-subscriber.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/queue.d.ts +186 -3
- package/dist/sst/.sst/platform/src/components/cloudflare/queue.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/cloudflare/static-site.d.ts +2 -2
- package/dist/sst/.sst/platform/src/components/cloudflare/static-site.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/cloudflare/worker.d.ts +39 -5
- package/dist/sst/.sst/platform/src/components/cloudflare/worker.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/component.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/duration.d.ts +2 -0
- package/dist/sst/.sst/platform/src/components/duration.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/esbuild.d.ts +3 -0
- package/dist/sst/.sst/platform/src/components/esbuild.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/link.d.ts +2 -2
- package/dist/sst/.sst/platform/src/components/link.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/linkable.d.ts +32 -2
- package/dist/sst/.sst/platform/src/components/linkable.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/rpc/rpc.d.ts.map +1 -1
- package/dist/sst/.sst/platform/src/components/vercel/dns.d.ts +2 -2
- package/dist/sst/.sst/platform/src/util/minify.d.ts +2 -0
- package/dist/sst/.sst/platform/src/util/minify.d.ts.map +1 -0
- package/dist/sst/components/monorise-core.d.ts +10 -0
- package/dist/sst/components/monorise-core.d.ts.map +1 -1
- package/dist/sst/components/q-function.d.ts +2 -3
- package/dist/sst/components/q-function.d.ts.map +1 -1
- package/dist/sst/index.js +75 -12
- package/dist/sst/index.js.map +1 -1
- package/package.json +10 -2
- package/dist/sst/.sst/platform/src/components/aws/helpers/quota.d.ts +0 -7
- package/dist/sst/.sst/platform/src/components/aws/helpers/quota.d.ts.map +0 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from "./alb.js";
|
|
1
2
|
export * from "./analog.js";
|
|
2
3
|
export * from "./apigatewayv1.js";
|
|
3
4
|
export * from "./apigatewayv2.js";
|
|
@@ -12,7 +13,9 @@ export * from "./cluster.js";
|
|
|
12
13
|
export * from "./cognito-identity-pool.js";
|
|
13
14
|
export * from "./cognito-user-pool.js";
|
|
14
15
|
export * from "./cron.js";
|
|
16
|
+
export * from "./cron-v2.js";
|
|
15
17
|
export * from "./dns.js";
|
|
18
|
+
export * from "./dsql.js";
|
|
16
19
|
export * from "./dynamo.js";
|
|
17
20
|
export * from "./efs.js";
|
|
18
21
|
export * from "./email.js";
|
|
@@ -40,6 +43,7 @@ export * from "./static-site.js";
|
|
|
40
43
|
export * from "./svelte-kit.js";
|
|
41
44
|
export * from "./vector.js";
|
|
42
45
|
export * from "./vpc.js";
|
|
46
|
+
export * from "./workflow.js";
|
|
43
47
|
export { linkable } from "./linkable.js";
|
|
44
48
|
export { permission } from "./permission.js";
|
|
45
49
|
export { iamEdit } from "./iam-edit.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,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C3B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAGxC,cAAc,UAAU,CAAC;AACzB,cAAc,gCAAgC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kinesis-stream-lambda-subscriber.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/kinesis-stream-lambda-subscriber.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAa,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAE,iCAAiC,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"kinesis-stream-lambda-subscriber.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/kinesis-stream-lambda-subscriber.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAa,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAE,iCAAiC,EAAE,MAAM,qBAAqB,CAAC;AAGxE,MAAM,WAAW,IAAK,SAAQ,iCAAiC;IAC7D;;OAEG;IACH,MAAM,EAAE,KAAK,CAAC;QACZ;;WAEG;QACH,GAAG,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;KACpB,CAAC,CAAC;IACH;;OAEG;IACH,UAAU,EAAE,KAAK,CAAC,MAAM,GAAG,YAAY,CAAC,CAAC;CAC1C;AAED;;;;;;;;;GASG;AACH,qBAAa,6BAA8B,SAAQ,SAAS;IAC1D,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAkB;IACrC,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAA4B;gBACnD,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,EAAE,KAAK,CAAC,wBAAwB;IA8D3E;;OAEG;IACH,IAAW,KAAK;QAGZ;;WAEG;;QAIH;;WAEG;;MAGN;CACF"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as aws from "@pulumi/aws";
|
|
2
1
|
import { Output } from "@pulumi/pulumi";
|
|
2
|
+
import { kinesis, lambda } from "@pulumi/aws";
|
|
3
3
|
import { Component, Transform } from "../component.js";
|
|
4
4
|
import { Input } from "../input.js";
|
|
5
5
|
import { Link } from "../link.js";
|
|
@@ -14,7 +14,7 @@ export interface KinesisStreamArgs {
|
|
|
14
14
|
/**
|
|
15
15
|
* Transform the Kinesis stream resource.
|
|
16
16
|
*/
|
|
17
|
-
stream?: Transform<
|
|
17
|
+
stream?: Transform<kinesis.StreamArgs>;
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
20
|
export interface KinesisStreamLambdaSubscriberArgs {
|
|
@@ -65,7 +65,7 @@ export interface KinesisStreamLambdaSubscriberArgs {
|
|
|
65
65
|
/**
|
|
66
66
|
* Transform the Lambda Event Source Mapping resource.
|
|
67
67
|
*/
|
|
68
|
-
eventSourceMapping?: Transform<
|
|
68
|
+
eventSourceMapping?: Transform<lambda.EventSourceMappingArgs>;
|
|
69
69
|
};
|
|
70
70
|
}
|
|
71
71
|
/**
|
|
@@ -242,6 +242,11 @@ export declare class KinesisStream extends Component implements Link.Linkable {
|
|
|
242
242
|
effect?: "allow" | "deny" | undefined;
|
|
243
243
|
actions: string[];
|
|
244
244
|
resources: Input<Input<string>[]>;
|
|
245
|
+
conditions?: Input<Input<{
|
|
246
|
+
test: Input<string>;
|
|
247
|
+
variable: Input<string>;
|
|
248
|
+
values: Input<Input<string>[]>;
|
|
249
|
+
}>[]> | undefined;
|
|
245
250
|
type: "aws.permission";
|
|
246
251
|
}[];
|
|
247
252
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kinesis-stream.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/kinesis-stream.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"kinesis-stream.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/kinesis-stream.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,MAAM,EAAe,MAAM,gBAAgB,CAAC;AAC/E,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,SAAS,EAAa,MAAM,iBAAiB,CAAC;AAClE,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAElC,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC1D,OAAO,EAAE,6BAA6B,EAAE,MAAM,uCAAuC,CAAC;AAKtF,MAAM,WAAW,iBAAiB;IAChC;;;OAGG;IACH,SAAS,CAAC,EAAE;QACV;;WAEG;QACH,MAAM,CAAC,EAAE,SAAS,CAAC,OAAO,CAAC,U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,GAAG,YAAY,GAAG,WAAW,CAAC,EACtD,IAAI,CAAC,EAAE,iCAAiC,GACvC,MAAM,CAAC,6BAA6B,CAAC;IACxC;;;;OAIG;WACW,SAAS,CACrB,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,EACxB,UAAU,EAAE,KAAK,CAAC,MAAM,GAAG,YAAY,GAAG,WAAW,CAAC,EACtD,IAAI,CAAC,EAAE,iCAAiC,GACvC,MAAM,CAAC,6BAA6B,CAAC;IA6BxC,OAAO,CAAC,MAAM,CAAC,UAAU;IAsBzB,OAAO,CAAC,MAAM,CAAC,YAAY;IAgC3B,IAAW,IAAI,mBAEd;IAED,IAAW,GAAG,mBAEb;IAED;;OAEG;IACH,IAAW,KAAK;QAEZ;;WAEG;;MAGN;IAED,gBAAgB;IAChB,UAAU;;;;;;;;;;;;;;;;CAaX"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"linkable.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/linkable.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"linkable.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/linkable.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAEvD,eAAO,MAAM,eAAe,uCAAuC,CAAC;AAEpE;;;;;;;;;;GAUG;AACH,wBAAgB,QAAQ,CAAC,CAAC,EACxB,GAAG,EAAE;IAAE,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,CAAC,CAAA;CAAE,EAChC,EAAE,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,sBAAsB,EAAE,QAa9C"}
|
|
@@ -8,6 +8,12 @@ import { SizeGbTb } from "../size";
|
|
|
8
8
|
export interface MysqlArgs {
|
|
9
9
|
/**
|
|
10
10
|
* The MySQL engine version. Check out the [available versions in your region](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/MySQL.Concepts.VersionMgmt.html).
|
|
11
|
+
*
|
|
12
|
+
* :::caution
|
|
13
|
+
* Changing the version will cause the database to restart on the next `sst deploy`,
|
|
14
|
+
* causing downtime. Learn more about [upgrading databases](/docs/upgrade-aws-databases/).
|
|
15
|
+
* :::
|
|
16
|
+
*
|
|
11
17
|
* @default `"8.0.40"`
|
|
12
18
|
* @example
|
|
13
19
|
* ```js
|
|
@@ -20,7 +26,7 @@ export interface MysqlArgs {
|
|
|
20
26
|
/**
|
|
21
27
|
* The username of the master user.
|
|
22
28
|
*
|
|
23
|
-
* :::
|
|
29
|
+
* :::danger
|
|
24
30
|
* Changing the username will cause the database to be destroyed and recreated.
|
|
25
31
|
* :::
|
|
26
32
|
*
|
|
@@ -59,6 +65,10 @@ export interface MysqlArgs {
|
|
|
59
65
|
* underscores. By default, it takes the name of the app, and replaces the hyphens with
|
|
60
66
|
* underscores.
|
|
61
67
|
*
|
|
68
|
+
* :::danger
|
|
69
|
+
* Changing the database name will cause the database to be destroyed and recreated.
|
|
70
|
+
* :::
|
|
71
|
+
*
|
|
62
72
|
* @default Based on the name of the current app
|
|
63
73
|
* @example
|
|
64
74
|
* ```js
|
|
@@ -71,6 +81,11 @@ export interface MysqlArgs {
|
|
|
71
81
|
/**
|
|
72
82
|
* The type of instance to use for the database. Check out the [supported instance types](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.Types.html).
|
|
73
83
|
*
|
|
84
|
+
* :::caution
|
|
85
|
+
* Changing the instance type will cause the database to restart on the next `sst deploy`,
|
|
86
|
+
* causing downtime. Learn more about [upgrading databases](/docs/upgrade-aws-databases/).
|
|
87
|
+
* :::
|
|
88
|
+
*
|
|
74
89
|
* @default `"t4g.micro"`
|
|
75
90
|
* @example
|
|
76
91
|
* ```js
|
|
@@ -78,10 +93,6 @@ export interface MysqlArgs {
|
|
|
78
93
|
* instance: "m7g.xlarge"
|
|
79
94
|
* }
|
|
80
95
|
* ```
|
|
81
|
-
*
|
|
82
|
-
* By default, these changes are not applied immediately by RDS. Instead, they are
|
|
83
|
-
* applied in the next maintenance window. Check out the [full list](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_ModifyInstance.Settings.html)
|
|
84
|
-
* of props that are not applied immediately.
|
|
85
96
|
*/
|
|
86
97
|
instance?: Input<string>;
|
|
87
98
|
/**
|
|
@@ -188,6 +199,24 @@ export interface MysqlArgs {
|
|
|
188
199
|
* ```
|
|
189
200
|
*/
|
|
190
201
|
multiAz?: Input<boolean>;
|
|
202
|
+
/**
|
|
203
|
+
* Enable [Blue/Green deployments](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/blue-green-deployments.html)
|
|
204
|
+
* for version, instance type, and parameter group upgrades.
|
|
205
|
+
* Learn more about [upgrading databases](/docs/upgrade-aws-databases/).
|
|
206
|
+
*
|
|
207
|
+
* When enabled, a staging (green) instance is created, updated,
|
|
208
|
+
* verified, then promoted to replace the production (blue) instance.
|
|
209
|
+
* This minimizes downtime during upgrades.
|
|
210
|
+
*
|
|
211
|
+
* @default `false`
|
|
212
|
+
* @example
|
|
213
|
+
* ```js
|
|
214
|
+
* {
|
|
215
|
+
* blueGreen: true
|
|
216
|
+
* }
|
|
217
|
+
* ```
|
|
218
|
+
*/
|
|
219
|
+
blueGreen?: Input<boolean>;
|
|
191
220
|
/**
|
|
192
221
|
* @internal
|
|
193
222
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mysql.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/mysql.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,wBAAwB,EAGxB,MAAM,EAEP,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,SAAS,EAAE,SAAS,EAAa,MAAM,cAAc,CAAC;AAC/D,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAC/B,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACp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W,GAAG,CACf,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,YAAY,EAClB,IAAI,CAAC,EAAE,wBAAwB;CAYlC"}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { ComponentResourceOptions, Output } from "@pulumi/pulumi";
|
|
2
2
|
import { Size } from "../size.js";
|
|
3
|
-
import { Function } from "./function.js";
|
|
3
|
+
import { Function, FunctionArgs } from "./function.js";
|
|
4
4
|
import type { Input } from "../input.js";
|
|
5
5
|
import { Queue } from "./queue.js";
|
|
6
6
|
import { Plan, SsrSite, SsrSiteArgs } from "./ssr-site.js";
|
|
7
|
-
import { Bucket } from "./bucket.js";
|
|
7
|
+
import { Bucket, BucketArgs } from "./bucket.js";
|
|
8
|
+
import { CdnArgs } from "./cdn.js";
|
|
9
|
+
import { Transform } from "../component.js";
|
|
8
10
|
export interface NextjsArgs extends SsrSiteArgs {
|
|
9
11
|
/**
|
|
10
12
|
* Configure how this component works in `sst dev`.
|
|
@@ -331,13 +333,15 @@ export interface NextjsArgs extends SsrSiteArgs {
|
|
|
331
333
|
* Configure the [OpenNext](https://opennext.js.org) version used to build the Next.js app.
|
|
332
334
|
*
|
|
333
335
|
* :::note
|
|
334
|
-
*
|
|
336
|
+
* The default OpenNext version is auto-detected based on your Next.js version and pinned to the version of SST you have.
|
|
335
337
|
* :::
|
|
336
338
|
*
|
|
337
|
-
* By default,
|
|
339
|
+
* By default, SST auto-detects the Next.js version from your `package.json` and picks a compatible OpenNext version. For Next.js 15+, it uses `3.9.14`. For Next.js 14, it uses `3.6.6` since newer versions of OpenNext dropped Next.js 14 support. If set, this overrides the auto-detection.
|
|
340
|
+
*
|
|
341
|
+
* You can [find the defaults in the source](https://github.com/sst/sst/blob/dev/platform/src/components/aws/nextjs.ts#L30) under `DEFAULT_OPEN_NEXT_VERSION`.
|
|
338
342
|
* OpenNext changed its package name from `open-next` to `@opennextjs/aws` in version `3.1.4`. SST will choose the correct one based on the version you provide.
|
|
339
343
|
*
|
|
340
|
-
* @default
|
|
344
|
+
* @default Auto-detected based on your Next.js version.
|
|
341
345
|
* @example
|
|
342
346
|
* ```js
|
|
343
347
|
* {
|
|
@@ -406,6 +410,36 @@ export interface NextjsArgs extends SsrSiteArgs {
|
|
|
406
410
|
* ```
|
|
407
411
|
*/
|
|
408
412
|
cachePolicy?: SsrSiteArgs["cachePolicy"];
|
|
413
|
+
/**
|
|
414
|
+
* [Transform](/docs/components#transform) how this component creates its underlying
|
|
415
|
+
* resources.
|
|
416
|
+
*/
|
|
417
|
+
transform?: {
|
|
418
|
+
/**
|
|
419
|
+
* Transform the Bucket resource used for uploading the assets.
|
|
420
|
+
*/
|
|
421
|
+
assets?: Transform<BucketArgs>;
|
|
422
|
+
/**
|
|
423
|
+
* Transform the server Function resource.
|
|
424
|
+
*/
|
|
425
|
+
server?: Transform<FunctionArgs>;
|
|
426
|
+
/**
|
|
427
|
+
* Transform the image optimizer Function resource.
|
|
428
|
+
*/
|
|
429
|
+
imageOptimizer?: Transform<FunctionArgs>;
|
|
430
|
+
/**
|
|
431
|
+
* Transform the CloudFront CDN resource.
|
|
432
|
+
*/
|
|
433
|
+
cdn?: Transform<CdnArgs>;
|
|
434
|
+
/**
|
|
435
|
+
* Transform the revalidation seeder Function resource used for ISR.
|
|
436
|
+
*/
|
|
437
|
+
revalidationSeeder?: Transform<FunctionArgs>;
|
|
438
|
+
/**
|
|
439
|
+
* Transform the revalidation events subscriber Function resource used for ISR.
|
|
440
|
+
*/
|
|
441
|
+
revalidationEventsSubscriber?: Transform<FunctionArgs>;
|
|
442
|
+
};
|
|
409
443
|
}
|
|
410
444
|
/**
|
|
411
445
|
* The `Nextjs` component lets you deploy [Next.js](https://nextjs.org) apps on AWS. It uses
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nextjs.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/nextjs.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,EAAe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;;;;;;;OAwEG;IACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAoGG;IACH,MAAM,CAAC,EAAE,WAAW,CAAC,QAAQ,CAAC,CAAC;IAC/B;;;;;;;;;;;;;OAaG;IACH,YAAY,CAAC,EAAE,WAAW,CAAC,cAAc,CAAC,CAAC;IAC3C;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,EAAE,WAAW,CAAC,QAAQ,CAAC,CAAC;IAC/B;;;;;;;;;;;;;;;;;;;OAmBG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC,aAAa,CAAC,CAAC;CAC1C;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmEG;AACH,qBAAa,IAAK,SAAQ,OAAO;gBAE7B,IAAI,EAAE,MAAM,EACZ,IAAI,GAAE,QAAa,EACnB,IAAI,GAAE,wBAA6B;IAKrC,SAAS,CAAC,qBAAqB;IAE/B,SAAS,CAAC,SAAS,CAAC,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,IAAI,CAAC;IA+B7D;;;;;OAKG;IACH,IAAW,GAAG,mBAEb;CACF"}
|
|
@@ -7,6 +7,12 @@ import { SizeGbTb } from "../size";
|
|
|
7
7
|
export interface OpenSearchArgs {
|
|
8
8
|
/**
|
|
9
9
|
* The OpenSearch engine version. Check out the [available versions](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/what-is.html#choosing-version).
|
|
10
|
+
*
|
|
11
|
+
* :::caution
|
|
12
|
+
* Changing the version will cause the domain to restart on the next `sst deploy`,
|
|
13
|
+
* causing downtime. Learn more about [upgrading databases](/docs/upgrade-aws-databases/).
|
|
14
|
+
* :::
|
|
15
|
+
*
|
|
10
16
|
* @default `"OpenSearch_2.17"`
|
|
11
17
|
* @example
|
|
12
18
|
* ```js
|
|
@@ -19,7 +25,7 @@ export interface OpenSearchArgs {
|
|
|
19
25
|
/**
|
|
20
26
|
* The username of the master user.
|
|
21
27
|
*
|
|
22
|
-
* :::
|
|
28
|
+
* :::danger
|
|
23
29
|
* Changing the username will cause the domain to be destroyed and recreated.
|
|
24
30
|
* :::
|
|
25
31
|
*
|
|
@@ -53,6 +59,11 @@ export interface OpenSearchArgs {
|
|
|
53
59
|
/**
|
|
54
60
|
* The type of instance to use for the domain. Check out the [supported instance types](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/supported-instance-types.html).
|
|
55
61
|
*
|
|
62
|
+
* :::caution
|
|
63
|
+
* Changing the instance type will cause the domain to restart on the next `sst deploy`,
|
|
64
|
+
* causing downtime. Learn more about [upgrading databases](/docs/upgrade-aws-databases/).
|
|
65
|
+
* :::
|
|
66
|
+
*
|
|
56
67
|
* @default `"t3.small"`
|
|
57
68
|
* @example
|
|
58
69
|
* ```js
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"open-search.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/open-search.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EAGxB,MAAM,EAEP,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAU,SAAS,EAAE,SAAS,EAAa,MAAM,cAAc,CAAC;AACvE,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAC/B,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAO,UAAU,EAAkB,MAAM,aAAa,CAAC;AAG9D,OAAO,EAAE,QAAQ,EAAS,MAAM,SAAS,CAAC;AAG1C,MAAM,WAAW,cAAc;IAC7B
|
|
1
|
+
{"version":3,"file":"open-search.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/open-search.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EAGxB,MAAM,EAEP,MAAM,gBAAgB,CAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6FG;AACH,qBAAa,UAAW,SAAQ,SAAU,YAAW,IAAI,CAAC,QAAQ;IAChE,OAAO,CAAC,MAAM,CAAC,CAAoB;IACnC,OAAO,CAAC,SAAS,CAAC,CAAiB;IACnC,OAAO,CAAC,SAAS,CAAC,CAAiB;IACnC,OAAO,CAAC,GAAG,CAAC,CAKV;gBAGA,IAAI,EAAE,MAAM,EACZ,IAAI,GAAE,cAAmB,EACzB,IAAI,GAAE,wBAA6B;IA2OrC;;OAEG;IACH,IAAW,EAAE,mBAGZ;IAED,uCAAuC;IACvC,IAAW,QAAQ,mBAGlB;IAED,uCAAuC;IACvC,IAAW,QAAQ,mBAGlB;IAED;;OAEG;IACH,IAAW,GAAG,mBAGb;IAED,IAAW,KAAK;;MAIf;IAED,gBAAgB;IACT,UAAU;;;;;;;IAUjB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAgCG;WACW,GAAG,CACf,IAAI,EAAE,MAAM,EACZ,EAAE,EAAE,KAAK,CAAC,MAAM,CAAC,EACjB,IAAI,CAAC,EAAE,wBAAwB;CAWlC"}
|
|
@@ -43,13 +43,17 @@ export interface OpenControlArgs {
|
|
|
43
43
|
server: Input<string | FunctionArgs>;
|
|
44
44
|
}
|
|
45
45
|
/**
|
|
46
|
+
* The `OpenControl` component has been deprecated. It should not be used for new projects.
|
|
47
|
+
*
|
|
48
|
+
* :::caution
|
|
49
|
+
* This component has been deprecated.
|
|
50
|
+
* :::
|
|
51
|
+
*
|
|
46
52
|
* The `OpenControl` component lets you deploy your
|
|
47
53
|
* [OpenControl](https://opencontrol.ai) server to
|
|
48
54
|
* [AWS Lambda](https://aws.amazon.com/lambda/).
|
|
49
55
|
*
|
|
50
|
-
*
|
|
51
|
-
* OpenControl is currently in beta.
|
|
52
|
-
* :::
|
|
56
|
+
* @deprecated Use OpenControl outside of SST instead.
|
|
53
57
|
*
|
|
54
58
|
* @example
|
|
55
59
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"opencontrol.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/opencontrol.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,wBAAwB,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAEvE,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,GAAG,CAAC;AAE3C,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEjC,MAAM,WAAW,eAAe;IAC9B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAoCG;IACH,MAAM,EAAE,KAAK,CAAC,MAAM,GAAG,YAAY,CAAC,CAAC;CACtC;
|
|
1
|
+
{"version":3,"file":"opencontrol.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/opencontrol.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,wBAAwB,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAEvE,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,GAAG,CAAC;AAE3C,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEjC,MAAM,WAAW,eAAe;IAC9B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAoCG;IACH,MAAM,EAAE,KAAK,CAAC,MAAM,GAAG,YAAY,CAAC,CAAC;CACtC;AACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqGG;AACH,qBAAa,WAAY,SAAQ,SAAS;IACxC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAmB;IAC3C,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAiB;gBAGpC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,eAAe,EACrB,IAAI,CAAC,EAAE,wBAAwB;IAiDjC;;OAEG;IACH,IAAW,GAAG,mBAEb;IAED;;OAEG;IACH,IAAW,QAAQ,mBAElB;IAED;;OAEG;IACH,IAAW,KAAK;QAEZ;;WAEG;;MAGN;CACF"}
|
|
@@ -34,6 +34,11 @@ export declare function permission(input: InputArgs): {
|
|
|
34
34
|
effect?: "allow" | "deny" | undefined;
|
|
35
35
|
actions: string[];
|
|
36
36
|
resources: import("../input.js").Input<import("../input.js").Input<string>[]>;
|
|
37
|
+
conditions?: import("../input.js").Input<import("../input.js").Input<{
|
|
38
|
+
test: import("../input.js").Input<string>;
|
|
39
|
+
variable: import("../input.js").Input<string>;
|
|
40
|
+
values: import("../input.js").Input<import("../input.js").Input<string>[]>;
|
|
41
|
+
}>[]> | undefined;
|
|
37
42
|
type: "aws.permission";
|
|
38
43
|
};
|
|
39
44
|
export type Permission = ReturnType<typeof permission>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"permission.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/permission.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAEvD,MAAM,WAAW,SAAU,SAAQ,QAAQ,CAAC,sBAAsB,CAAC;CAAG;AAEtE;;;;;;;;;;;;GAYG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,SAAS
|
|
1
|
+
{"version":3,"file":"permission.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/permission.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAEvD,MAAM,WAAW,SAAU,SAAQ,QAAQ,CAAC,sBAAsB,CAAC;CAAG;AAEtE;;;;;;;;;;;;GAYG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,SAAS;;;;;;;;;;EAK1C;AAED,MAAM,MAAM,UAAU,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC"}
|
|
@@ -7,11 +7,17 @@ type ACU = `${number} ACU`;
|
|
|
7
7
|
export interface PostgresArgs {
|
|
8
8
|
/**
|
|
9
9
|
* The Postgres engine version. Check out the [available versions in your region](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.Aurora_Fea_Regions_DB-eng.Feature.ServerlessV2.html#Concepts.Aurora_Fea_Regions_DB-eng.Feature.ServerlessV2.apg).
|
|
10
|
-
*
|
|
10
|
+
*
|
|
11
|
+
* :::caution
|
|
12
|
+
* Changing the version will cause the database to restart on the next `sst deploy`,
|
|
13
|
+
* causing downtime. Learn more about [upgrading databases](/docs/upgrade-aws-databases/).
|
|
14
|
+
* :::
|
|
15
|
+
*
|
|
16
|
+
* @default `"17"`
|
|
11
17
|
* @example
|
|
12
18
|
* ```js
|
|
13
19
|
* {
|
|
14
|
-
* version: "
|
|
20
|
+
* version: "15.5"
|
|
15
21
|
* }
|
|
16
22
|
* ```
|
|
17
23
|
*/
|
|
@@ -277,6 +283,11 @@ export declare class Postgres extends Component implements Link.Linkable {
|
|
|
277
283
|
effect?: "allow" | "deny" | undefined;
|
|
278
284
|
actions: string[];
|
|
279
285
|
resources: Input<Input<string>[]>;
|
|
286
|
+
conditions?: Input<Input<{
|
|
287
|
+
test: Input<string>;
|
|
288
|
+
variable: Input<string>;
|
|
289
|
+
values: Input<Input<string>[]>;
|
|
290
|
+
}>[]> | undefined;
|
|
280
291
|
type: "aws.permission";
|
|
281
292
|
}[];
|
|
282
293
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postgres-v1.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/postgres-v1.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EAGxB,MAAM,EACP,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,SAAS,EAAE,SAAS,EAAa,MAAM,iBAAiB,CAAC;AAClE,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAClC,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,GAAG,EAAkB,MAAM,aAAa,CAAC;AAGlD,KAAK,GAAG,GAAG,GAAG,MAAM,MAAM,CAAC;AAO3B,MAAM,WAAW,YAAY;IAC3B
|
|
1
|
+
{"version":3,"file":"postgres-v1.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/postgres-v1.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EAGxB,MAAM,EACP,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,SAAS,EAAE,SAAS,EAAa,MAAM,iBAAiB,CAAC;AAClE,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAClC,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,GAAG,EAAkB,MAAM,aAAa,CAAC;AAGlD,KAAK,GAAG,GAAG,GAAG,MAAM,MAAM,CAAC;AAO3B,MAAM,WAAW,YAAY;IAC3B;;;;;;;;;;;;;;;OAeG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACxB;;;;;;;;;;;;OAYG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC7B;;;;;;;;;;;;;;;;;;OAkBG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC;QACd;;;;;;;;;;;;;;;;;;;WAmBG;QACH,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC;QACjB;;;;;;;;;;;;WAYG;QACH,GAAG,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B;IAED;;OAEG;IACH,IAAW,IAAI,iCAEd;IAED;;OAEG;IACH,IAAW,IAAI,mBAEd;IAED,IAAW,KAAK;;;MAKf;IAED,gBAAgB;IACT,UAAU;;;;;;;;;;;;;;;;;;;;;;IAkCjB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8BG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC;CAmBzD"}
|
|
@@ -10,6 +10,12 @@ export type { PostgresArgs as PostgresV1Args } from "./postgres-v1";
|
|
|
10
10
|
export interface PostgresArgs {
|
|
11
11
|
/**
|
|
12
12
|
* The Postgres engine version. Check out the [available versions in your region](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/PostgreSQL.Concepts.General.DBVersions.html).
|
|
13
|
+
*
|
|
14
|
+
* :::caution
|
|
15
|
+
* Changing the version will cause the database to restart on the next `sst deploy`,
|
|
16
|
+
* causing downtime. Learn more about [upgrading databases](/docs/upgrade-aws-databases/).
|
|
17
|
+
* :::
|
|
18
|
+
*
|
|
13
19
|
* @default `"17"`
|
|
14
20
|
* @example
|
|
15
21
|
* ```js
|
|
@@ -22,7 +28,7 @@ export interface PostgresArgs {
|
|
|
22
28
|
/**
|
|
23
29
|
* The username of the master user.
|
|
24
30
|
*
|
|
25
|
-
* :::
|
|
31
|
+
* :::danger
|
|
26
32
|
* Changing the username will cause the database to be destroyed and recreated.
|
|
27
33
|
* :::
|
|
28
34
|
*
|
|
@@ -61,6 +67,10 @@ export interface PostgresArgs {
|
|
|
61
67
|
* underscores. By default, it takes the name of the app, and replaces the hyphens with
|
|
62
68
|
* underscores.
|
|
63
69
|
*
|
|
70
|
+
* :::danger
|
|
71
|
+
* Changing the database name will cause the database to be destroyed and recreated.
|
|
72
|
+
* :::
|
|
73
|
+
*
|
|
64
74
|
* @default Based on the name of the current app
|
|
65
75
|
* @example
|
|
66
76
|
* ```js
|
|
@@ -73,6 +83,11 @@ export interface PostgresArgs {
|
|
|
73
83
|
/**
|
|
74
84
|
* The type of instance to use for the database. Check out the [supported instance types](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.Types.html).
|
|
75
85
|
*
|
|
86
|
+
* :::caution
|
|
87
|
+
* Changing the instance type will cause the database to restart on the next `sst deploy`,
|
|
88
|
+
* causing downtime. Learn more about [upgrading databases](/docs/upgrade-aws-databases/).
|
|
89
|
+
* :::
|
|
90
|
+
*
|
|
76
91
|
* @default `"t4g.micro"`
|
|
77
92
|
* @example
|
|
78
93
|
* ```js
|
|
@@ -80,10 +95,6 @@ export interface PostgresArgs {
|
|
|
80
95
|
* instance: "m7g.xlarge"
|
|
81
96
|
* }
|
|
82
97
|
* ```
|
|
83
|
-
*
|
|
84
|
-
* By default, these changes are not applied immediately by RDS. Instead, they are
|
|
85
|
-
* applied in the next maintenance window. Check out the [full list](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_ModifyInstance.Settings.html)
|
|
86
|
-
* of props that are not applied immediately.
|
|
87
98
|
*/
|
|
88
99
|
instance?: Input<string>;
|
|
89
100
|
/**
|
|
@@ -190,6 +201,24 @@ export interface PostgresArgs {
|
|
|
190
201
|
* ```
|
|
191
202
|
*/
|
|
192
203
|
multiAz?: Input<boolean>;
|
|
204
|
+
/**
|
|
205
|
+
* Enable [Blue/Green deployments](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/blue-green-deployments.html)
|
|
206
|
+
* for version, instance type, and parameter group upgrades.
|
|
207
|
+
* Learn more about [upgrading databases](/docs/upgrade-aws-databases/).
|
|
208
|
+
*
|
|
209
|
+
* When enabled, a staging (green) instance is created, updated,
|
|
210
|
+
* verified, then promoted to replace the production (blue) instance.
|
|
211
|
+
* This minimizes downtime during upgrades.
|
|
212
|
+
*
|
|
213
|
+
* @default `false`
|
|
214
|
+
* @example
|
|
215
|
+
* ```js
|
|
216
|
+
* {
|
|
217
|
+
* blueGreen: true
|
|
218
|
+
* }
|
|
219
|
+
* ```
|
|
220
|
+
*/
|
|
221
|
+
blueGreen?: Input<boolean>;
|
|
193
222
|
/**
|
|
194
223
|
* @internal
|
|
195
224
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postgres.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/postgres.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,wBAAwB,EAGxB,MAAM,EAEP,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,SAAS,EAAE,SAAS,EAAa,MAAM,cAAc,CAAC;AAC/D,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAC/B,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAO,GAAG,EAAkB,MAAM,aAAa,CAAC;AAEvD,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAG5B,OAAO,EAAE,QAAQ,IAAI,UAAU,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAS,MAAM,SAAS,CAAC;AAG1C,YAAY,EAAE,YAAY,IAAI,cAAc,EAAE,MAAM,eAAe,CAAC;AAEpE,MAAM,WAAW,YAAY;IAC3B
|
|
1
|
+
{"version":3,"file":"postgres.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/postgres.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,wBAAwB,EAGxB,MAAM,EAEP,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,SAAS,EAAE,SAAS,EAAa,MAAM,cAAc,CAAC;AAC/D,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAC/B,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAO,GAAG,EAAkB,MAAM,aAAa,CAAC;AAEvD,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAG5B,OAAO,EAAE,QAAQ,IAAI,UAAU,EAAE,MAAM,eAAe,CA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;;;;;;;;;;;;;GA+FG;AACH,qBAAa,QAAS,SAAQ,SAAU,YAAW,IAAI,CAAC,QAAQ;IAC9D,OAAO,CAAC,QAAQ,CAAC,CAAe;IAChC,OAAO,CAAC,SAAS,CAAC,CAAiB;IACnC,OAAO,CAAC,KAAK,CAAC,CAAgC;IAC9C,OAAO,CAAC,GAAG,CAAC,CAOV;IACF,OAAc,EAAE,oBAAc;gBAG5B,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,YAAY,EAClB,IAAI,CAAC,EAAE,wBAAwB;IA6bjC;;OAEG;IACH,IAAW,EAAE,mBAGZ;IAED;;OAEG;IACH,IAAW,OAAO,mBAWjB;IAED,uCAAuC;IACvC,IAAW,QAAQ,mBAGlB;IAED,uCAAuC;IACvC,IAAW,QAAQ,mBAGlB;IAED;;OAEG;IACH,IAAW,QAAQ,mBAGlB;IAED;;OAEG;IACH,IAAW,IAAI,iCAGd;IAED;;OAEG;IACH,IAAW,IAAI,mBAMd;IAED,IAAW,KAAK;;MAIf;IAED,gBAAgB;IACT,UAAU;;;;;;;;;IAYjB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAsCG;WACW,GAAG,CACf,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,eAAe,EACrB,IAAI,CAAC,EAAE,wBAAwB;CAYlC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentResourceOptions, Input, Output } from "@pulumi/pulumi";
|
|
2
2
|
import { Component } from "../component";
|
|
3
|
-
import { Function, FunctionArgs } from "./function";
|
|
3
|
+
import { Function, FunctionArgs } from "./function.js";
|
|
4
4
|
import { QueueSubscriberArgs } from "./queue";
|
|
5
5
|
export interface Args extends QueueSubscriberArgs {
|
|
6
6
|
/**
|
|
@@ -16,6 +16,11 @@ export interface Args extends QueueSubscriberArgs {
|
|
|
16
16
|
* The subscriber function.
|
|
17
17
|
*/
|
|
18
18
|
subscriber: Input<string | FunctionArgs>;
|
|
19
|
+
/**
|
|
20
|
+
* [Transform](/docs/components#transform) how this component creates its underlying
|
|
21
|
+
* resources.
|
|
22
|
+
*/
|
|
23
|
+
transform?: QueueSubscriberArgs["transform"];
|
|
19
24
|
}
|
|
20
25
|
/**
|
|
21
26
|
* The `QueueLambdaSubscriber` component is internally used by the `Queue` component to
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"queue-lambda-subscriber.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/queue-lambda-subscriber.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EACxB,KAAK,EACL,MAAM,EAEP,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"queue-lambda-subscriber.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/queue-lambda-subscriber.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EACxB,KAAK,EACL,MAAM,EAEP,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,SAAS,EAAwB,MAAM,cAAc,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAK9C,MAAM,WAAW,IAAK,SAAQ,mBAAmB;IAC/C;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC;QACX;;WAEG;QACH,GAAG,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;KACpB,CAAC,CAAC;IACH;;OAEG;IACH,UAAU,EAAE,KAAK,CAAC,MAAM,GAAG,YAAY,CAAC,CAAC;IACzC;;;OAGG;IACH,SAAS,CAAC,EAAE,mBAAmB,CAAC,WAAW,CAAC,CAAC;CAC9C;AAED;;;;;;;;;GASG;AACH,qBAAa,qBAAsB,SAAQ,SAAS;IAClD,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAkB;IACrC,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAA4B;gBAEnD,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,EAAE,wBAAwB;IAgErE;;OAEG;IACH,IAAW,KAAK;QAGZ;;WAEG;;QAIH;;WAEG;;MAGN;CACF"}
|
|
@@ -2,7 +2,7 @@ import { ComponentResourceOptions, Output } from "@pulumi/pulumi";
|
|
|
2
2
|
import { Component, Transform } from "../component";
|
|
3
3
|
import { Link } from "../link";
|
|
4
4
|
import type { Input } from "../input";
|
|
5
|
-
import { FunctionArgs, FunctionArn } from "./function";
|
|
5
|
+
import { FunctionArgs, FunctionArn } from "./function.js";
|
|
6
6
|
import { QueueLambdaSubscriber } from "./queue-lambda-subscriber";
|
|
7
7
|
import { lambda, sqs } from "@pulumi/aws";
|
|
8
8
|
import { DurationHours, DurationMinutes } from "../duration";
|
|
@@ -271,6 +271,10 @@ export interface QueueSubscriberArgs {
|
|
|
271
271
|
* Transform the Lambda Event Source Mapping resource.
|
|
272
272
|
*/
|
|
273
273
|
eventSourceMapping?: Transform<lambda.EventSourceMappingArgs>;
|
|
274
|
+
/**
|
|
275
|
+
* Transform the subscriber Function resource.
|
|
276
|
+
*/
|
|
277
|
+
function?: Transform<FunctionArgs>;
|
|
274
278
|
};
|
|
275
279
|
}
|
|
276
280
|
/**
|
|
@@ -476,6 +480,11 @@ export declare class Queue extends Component implements Link.Linkable {
|
|
|
476
480
|
effect?: "allow" | "deny" | undefined;
|
|
477
481
|
actions: string[];
|
|
478
482
|
resources: Input<Input<string>[]>;
|
|
483
|
+
conditions?: Input<Input<{
|
|
484
|
+
test: Input<string>;
|
|
485
|
+
variable: Input<string>;
|
|
486
|
+
values: Input<Input<string>[]>;
|
|
487
|
+
}>[]> | undefined;
|
|
479
488
|
type: "aws.permission";
|
|
480
489
|
}[];
|
|
481
490
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"queue.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/queue.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EAIxB,MAAM,EACP,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,SAAS,EAAE,SAAS,EAAa,MAAM,cAAc,CAAC;AAC/D,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAC/B,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"queue.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/queue.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EAIxB,MAAM,EACP,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,SAAS,EAAE,SAAS,EAAa,MAAM,cAAc,CAAC;AAC/D,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAC/B,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI1D,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,EAAO,MAAM,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,EAAE,aAAa,EAAE,eAAe,EAAa,MAAM,aAAa,CAAC;AAGxE,MAAM,WAAW,SAAS;IACxB;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;IACH,IAAI,CAAC,EAAE,KAAK,CACR,OAAO,GACP;QACA;;;;;WAKG;QACH,yBAAyB,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;KAC5C,CACF,CAAC;IACF;;;;;;;;;;;;OAYG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC;IAC/B;;;;;;;;;;;;;;;OAeG;IACH,iBAAiB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;IACzC;;;;;;;;;;;;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@pulumi/pulumi";
|
|
2
2
|
import { Component } from "../component";
|
|
3
|
-
import { Function, FunctionArgs } from "./function";
|
|
3
|
+
import { Function, FunctionArgs } from "./function.js";
|
|
4
4
|
import { RealtimeSubscriberArgs } from "./realtime";
|
|
5
5
|
export interface Args extends RealtimeSubscriberArgs {
|
|
6
6
|
/**
|