monorise 0.0.1
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 +254 -0
- package/dist/base/index.js +44 -0
- package/dist/base/index.js.map +1 -0
- package/dist/cli/cli.d.ts +1 -0
- package/dist/cli/cli.js +461 -0
- package/dist/cli/cli.js.map +1 -0
- package/dist/core/index.d.ts +4767 -0
- package/dist/core/index.js +7941 -0
- package/dist/core/index.js.map +1 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.js +11 -0
- package/dist/react/actions/app.action.d.ts +46 -0
- package/dist/react/actions/app.action.d.ts.map +1 -0
- package/dist/react/actions/auth.action.d.ts +24 -0
- package/dist/react/actions/auth.action.d.ts.map +1 -0
- package/dist/react/actions/config.action.d.ts +10 -0
- package/dist/react/actions/config.action.d.ts.map +1 -0
- package/dist/react/actions/core.action.d.ts +219 -0
- package/dist/react/actions/core.action.d.ts.map +1 -0
- package/dist/react/index.d.ts +1093 -0
- package/dist/react/index.d.ts.map +1 -0
- package/dist/react/index.js +2344 -0
- package/dist/react/index.js.map +1 -0
- package/dist/react/lib/api.d.ts +38 -0
- package/dist/react/lib/api.d.ts.map +1 -0
- package/dist/react/lib/constant.d.ts +2 -0
- package/dist/react/lib/constant.d.ts.map +1 -0
- package/dist/react/lib/entity.d.ts +10 -0
- package/dist/react/lib/entity.d.ts.map +1 -0
- package/dist/react/lib/utils.d.ts +10 -0
- package/dist/react/lib/utils.d.ts.map +1 -0
- package/dist/react/services/auth.service.d.ts +21 -0
- package/dist/react/services/auth.service.d.ts.map +1 -0
- package/dist/react/services/core.service.d.ts +76 -0
- package/dist/react/services/core.service.d.ts.map +1 -0
- package/dist/react/services/filestore.service.d.ts +22 -0
- package/dist/react/services/filestore.service.d.ts.map +1 -0
- package/dist/react/store/monorise.store.d.ts +169 -0
- package/dist/react/store/monorise.store.d.ts.map +1 -0
- package/dist/react/tsup.config.d.ts +3 -0
- package/dist/react/tsup.config.d.ts.map +1 -0
- package/dist/react/types/api.type.d.ts +30 -0
- package/dist/react/types/api.type.d.ts.map +1 -0
- package/dist/react/types/axios.type.d.ts +13 -0
- package/dist/react/types/axios.type.d.ts.map +1 -0
- package/dist/react/types/monorise.type.d.ts +8 -0
- package/dist/react/types/monorise.type.d.ts.map +1 -0
- package/dist/react/types/mutual.type.d.ts +21 -0
- package/dist/react/types/mutual.type.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/analog.d.ts +423 -0
- package/dist/sst/.sst/platform/src/components/aws/analog.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/apigateway-websocket-route.d.ts +74 -0
- package/dist/sst/.sst/platform/src/components/aws/apigateway-websocket-route.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/apigateway-websocket.d.ts +542 -0
- package/dist/sst/.sst/platform/src/components/aws/apigateway-websocket.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv1-api-key.d.ts +48 -0
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv1-api-key.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv1-authorizer.d.ts +55 -0
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv1-authorizer.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv1-base-route.d.ts +36 -0
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv1-base-route.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv1-integration-route.d.ts +39 -0
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv1-integration-route.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv1-lambda-route.d.ts +53 -0
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv1-lambda-route.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv1-usage-plan.d.ts +53 -0
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv1-usage-plan.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv1.d.ts +1002 -0
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv1.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv2-authorizer.d.ts +54 -0
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv2-authorizer.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv2-base-route.d.ts +28 -0
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv2-base-route.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv2-lambda-route.d.ts +59 -0
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv2-lambda-route.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv2-private-route.d.ts +54 -0
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv2-private-route.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv2-url-route.d.ts +44 -0
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv2-url-route.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv2.d.ts +931 -0
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv2.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/app-sync-data-source.d.ts +52 -0
- package/dist/sst/.sst/platform/src/components/aws/app-sync-data-source.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/app-sync-function.d.ts +33 -0
- package/dist/sst/.sst/platform/src/components/aws/app-sync-function.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/app-sync-resolver.d.ts +41 -0
- package/dist/sst/.sst/platform/src/components/aws/app-sync-resolver.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/app-sync.d.ts +638 -0
- package/dist/sst/.sst/platform/src/components/aws/app-sync.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/astro.d.ts +421 -0
- package/dist/sst/.sst/platform/src/components/aws/astro.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/aurora.d.ts +702 -0
- package/dist/sst/.sst/platform/src/components/aws/aurora.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/auth-v1.d.ts +26 -0
- package/dist/sst/.sst/platform/src/components/aws/auth-v1.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/auth.d.ts +295 -0
- package/dist/sst/.sst/platform/src/components/aws/auth.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/bucket-lambda-subscriber.d.ts +61 -0
- package/dist/sst/.sst/platform/src/components/aws/bucket-lambda-subscriber.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/bucket-notification.d.ts +47 -0
- package/dist/sst/.sst/platform/src/components/aws/bucket-notification.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/bucket-queue-subscriber.d.ts +55 -0
- package/dist/sst/.sst/platform/src/components/aws/bucket-queue-subscriber.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/bucket-topic-subscriber.d.ts +55 -0
- package/dist/sst/.sst/platform/src/components/aws/bucket-topic-subscriber.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/bucket.d.ts +1216 -0
- package/dist/sst/.sst/platform/src/components/aws/bucket.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/bus-base-subscriber.d.ts +20 -0
- package/dist/sst/.sst/platform/src/components/aws/bus-base-subscriber.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/bus-lambda-subscriber.d.ts +49 -0
- package/dist/sst/.sst/platform/src/components/aws/bus-lambda-subscriber.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/bus-queue-subscriber.d.ts +44 -0
- package/dist/sst/.sst/platform/src/components/aws/bus-queue-subscriber.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/bus.d.ts +403 -0
- package/dist/sst/.sst/platform/src/components/aws/bus.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/cdn.d.ts +299 -0
- package/dist/sst/.sst/platform/src/components/aws/cdn.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/cluster-v1.d.ts +882 -0
- package/dist/sst/.sst/platform/src/components/aws/cluster-v1.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/cluster.d.ts +306 -0
- package/dist/sst/.sst/platform/src/components/aws/cluster.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/cognito-identity-pool.d.ts +194 -0
- package/dist/sst/.sst/platform/src/components/aws/cognito-identity-pool.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/cognito-identity-provider.d.ts +38 -0
- package/dist/sst/.sst/platform/src/components/aws/cognito-identity-provider.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/cognito-user-pool-client.d.ts +50 -0
- package/dist/sst/.sst/platform/src/components/aws/cognito-user-pool-client.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/cognito-user-pool.d.ts +603 -0
- package/dist/sst/.sst/platform/src/components/aws/cognito-user-pool.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/cron.d.ts +250 -0
- package/dist/sst/.sst/platform/src/components/aws/cron.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/dns-validated-certificate.d.ts +27 -0
- package/dist/sst/.sst/platform/src/components/aws/dns-validated-certificate.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/dns.d.ts +94 -0
- package/dist/sst/.sst/platform/src/components/aws/dns.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/dynamo-lambda-subscriber.d.ts +55 -0
- package/dist/sst/.sst/platform/src/components/aws/dynamo-lambda-subscriber.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/dynamo.d.ts +568 -0
- package/dist/sst/.sst/platform/src/components/aws/dynamo.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/efs.d.ts +217 -0
- package/dist/sst/.sst/platform/src/components/aws/efs.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/email.d.ts +291 -0
- package/dist/sst/.sst/platform/src/components/aws/email.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/fargate.d.ts +803 -0
- package/dist/sst/.sst/platform/src/components/aws/fargate.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/function.d.ts +1629 -0
- package/dist/sst/.sst/platform/src/components/aws/function.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/helpers/apigateway-account.d.ts +3 -0
- package/dist/sst/.sst/platform/src/components/aws/helpers/apigateway-account.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/helpers/apigatewayv2-domain.d.ts +144 -0
- package/dist/sst/.sst/platform/src/components/aws/helpers/apigatewayv2-domain.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/helpers/arn.d.ts +40 -0
- package/dist/sst/.sst/platform/src/components/aws/helpers/arn.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/helpers/bootstrap.d.ts +13 -0
- package/dist/sst/.sst/platform/src/components/aws/helpers/bootstrap.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/helpers/container-builder.d.ts +4 -0
- package/dist/sst/.sst/platform/src/components/aws/helpers/container-builder.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/helpers/function-builder.d.ts +10 -0
- package/dist/sst/.sst/platform/src/components/aws/helpers/function-builder.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/helpers/provider.d.ts +3 -0
- package/dist/sst/.sst/platform/src/components/aws/helpers/provider.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/helpers/quota.d.ts +7 -0
- package/dist/sst/.sst/platform/src/components/aws/helpers/quota.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/helpers/site-builder.d.ts +4 -0
- package/dist/sst/.sst/platform/src/components/aws/helpers/site-builder.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/helpers/subscriber.d.ts +6 -0
- package/dist/sst/.sst/platform/src/components/aws/helpers/subscriber.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/https-redirect.d.ts +38 -0
- package/dist/sst/.sst/platform/src/components/aws/https-redirect.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/iam-edit.d.ts +39 -0
- package/dist/sst/.sst/platform/src/components/aws/iam-edit.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/index.d.ts +48 -0
- package/dist/sst/.sst/platform/src/components/aws/index.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/kinesis-stream-lambda-subscriber.d.ts +48 -0
- package/dist/sst/.sst/platform/src/components/aws/kinesis-stream-lambda-subscriber.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/kinesis-stream.d.ts +249 -0
- package/dist/sst/.sst/platform/src/components/aws/kinesis-stream.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/linkable.d.ts +17 -0
- package/dist/sst/.sst/platform/src/components/aws/linkable.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/logging.d.ts +26 -0
- package/dist/sst/.sst/platform/src/components/aws/logging.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/mysql.d.ts +496 -0
- package/dist/sst/.sst/platform/src/components/aws/mysql.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/nextjs.d.ts +517 -0
- package/dist/sst/.sst/platform/src/components/aws/nextjs.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/nuxt.d.ts +495 -0
- package/dist/sst/.sst/platform/src/components/aws/nuxt.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/open-search.d.ts +295 -0
- package/dist/sst/.sst/platform/src/components/aws/open-search.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/opencontrol.d.ts +165 -0
- package/dist/sst/.sst/platform/src/components/aws/opencontrol.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/permission.d.ts +40 -0
- package/dist/sst/.sst/platform/src/components/aws/permission.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/postgres-v1.d.ts +317 -0
- package/dist/sst/.sst/platform/src/components/aws/postgres-v1.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/postgres.d.ts +500 -0
- package/dist/sst/.sst/platform/src/components/aws/postgres.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/providers/bucket-files.d.ts +18 -0
- package/dist/sst/.sst/platform/src/components/aws/providers/bucket-files.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/providers/distribution-deployment-waiter.d.ts +13 -0
- package/dist/sst/.sst/platform/src/components/aws/providers/distribution-deployment-waiter.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/providers/distribution-invalidation.d.ts +11 -0
- package/dist/sst/.sst/platform/src/components/aws/providers/distribution-invalidation.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/providers/function-environment-update.d.ts +29 -0
- package/dist/sst/.sst/platform/src/components/aws/providers/function-environment-update.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/providers/hosted-zone-lookup.d.ts +11 -0
- package/dist/sst/.sst/platform/src/components/aws/providers/hosted-zone-lookup.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/providers/kv-keys.d.ts +11 -0
- package/dist/sst/.sst/platform/src/components/aws/providers/kv-keys.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/providers/kv-routes-update.d.ts +11 -0
- package/dist/sst/.sst/platform/src/components/aws/providers/kv-routes-update.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/providers/origin-access-control.d.ts +8 -0
- package/dist/sst/.sst/platform/src/components/aws/providers/origin-access-control.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/providers/rds-role-lookup.d.ts +8 -0
- package/dist/sst/.sst/platform/src/components/aws/providers/rds-role-lookup.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/providers/vector-table.d.ts +12 -0
- package/dist/sst/.sst/platform/src/components/aws/providers/vector-table.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/queue-lambda-subscriber.d.ts +48 -0
- package/dist/sst/.sst/platform/src/components/aws/queue-lambda-subscriber.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/queue.d.ts +485 -0
- package/dist/sst/.sst/platform/src/components/aws/queue.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/react.d.ts +416 -0
- package/dist/sst/.sst/platform/src/components/aws/react.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/realtime-lambda-subscriber.d.ts +53 -0
- package/dist/sst/.sst/platform/src/components/aws/realtime-lambda-subscriber.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/realtime.d.ts +232 -0
- package/dist/sst/.sst/platform/src/components/aws/realtime.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/redis-v1.d.ts +338 -0
- package/dist/sst/.sst/platform/src/components/aws/redis-v1.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/redis.d.ts +364 -0
- package/dist/sst/.sst/platform/src/components/aws/redis.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/remix.d.ts +423 -0
- package/dist/sst/.sst/platform/src/components/aws/remix.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/router-base-route.d.ts +28 -0
- package/dist/sst/.sst/platform/src/components/aws/router-base-route.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/router-bucket-route.d.ts +29 -0
- package/dist/sst/.sst/platform/src/components/aws/router-bucket-route.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/router-url-route.d.ts +28 -0
- package/dist/sst/.sst/platform/src/components/aws/router-url-route.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/router.d.ts +1272 -0
- package/dist/sst/.sst/platform/src/components/aws/router.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/service-v1.d.ts +78 -0
- package/dist/sst/.sst/platform/src/components/aws/service-v1.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/service.d.ts +1625 -0
- package/dist/sst/.sst/platform/src/components/aws/service.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/sns-topic-lambda-subscriber.d.ts +53 -0
- package/dist/sst/.sst/platform/src/components/aws/sns-topic-lambda-subscriber.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/sns-topic-queue-subscriber.d.ts +55 -0
- package/dist/sst/.sst/platform/src/components/aws/sns-topic-queue-subscriber.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/sns-topic.d.ts +389 -0
- package/dist/sst/.sst/platform/src/components/aws/sns-topic.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/solid-start.d.ts +414 -0
- package/dist/sst/.sst/platform/src/components/aws/solid-start.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/ssr-site.d.ts +685 -0
- package/dist/sst/.sst/platform/src/components/aws/ssr-site.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/static-site.d.ts +736 -0
- package/dist/sst/.sst/platform/src/components/aws/static-site.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/step-functions/choice.d.ts +73 -0
- package/dist/sst/.sst/platform/src/components/aws/step-functions/choice.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/step-functions/fail.d.ts +63 -0
- package/dist/sst/.sst/platform/src/components/aws/step-functions/fail.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/step-functions/map.d.ts +236 -0
- package/dist/sst/.sst/platform/src/components/aws/step-functions/map.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/step-functions/parallel.d.ts +127 -0
- package/dist/sst/.sst/platform/src/components/aws/step-functions/parallel.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/step-functions/pass.d.ts +39 -0
- package/dist/sst/.sst/platform/src/components/aws/step-functions/pass.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/step-functions/state.d.ts +231 -0
- package/dist/sst/.sst/platform/src/components/aws/step-functions/state.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/step-functions/succeed.d.ts +26 -0
- package/dist/sst/.sst/platform/src/components/aws/step-functions/succeed.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/step-functions/task.d.ts +477 -0
- package/dist/sst/.sst/platform/src/components/aws/step-functions/task.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/step-functions/wait.d.ts +91 -0
- package/dist/sst/.sst/platform/src/components/aws/step-functions/wait.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/step-functions.d.ts +473 -0
- package/dist/sst/.sst/platform/src/components/aws/step-functions.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/svelte-kit.d.ts +417 -0
- package/dist/sst/.sst/platform/src/components/aws/svelte-kit.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/tan-stack-start.d.ts +354 -0
- package/dist/sst/.sst/platform/src/components/aws/tan-stack-start.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/task.d.ts +322 -0
- package/dist/sst/.sst/platform/src/components/aws/task.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/vector.d.ts +150 -0
- package/dist/sst/.sst/platform/src/components/aws/vector.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/vpc-v1.d.ts +208 -0
- package/dist/sst/.sst/platform/src/components/aws/vpc-v1.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/vpc.d.ts +444 -0
- package/dist/sst/.sst/platform/src/components/aws/vpc.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/base/base-site.d.ts +53 -0
- package/dist/sst/.sst/platform/src/components/base/base-site.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/base/base-ssr-site.d.ts +13 -0
- package/dist/sst/.sst/platform/src/components/base/base-ssr-site.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/base/base-static-site.d.ts +199 -0
- package/dist/sst/.sst/platform/src/components/base/base-static-site.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/account-id.d.ts +2 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/account-id.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/auth.d.ts +22 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/auth.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/binding.d.ts +69 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/binding.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/bucket.d.ts +103 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/bucket.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/cron.d.ts +121 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/cron.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/d1.d.ts +107 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/d1.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/dns.d.ts +94 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/dns.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/experimental/astro.d.ts +186 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/experimental/astro.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/experimental/index.d.ts +4 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/experimental/index.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/experimental/solid-start.d.ts +171 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/experimental/solid-start.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/experimental/static-site.d.ts +222 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/experimental/static-site.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/helpers/fetch.d.ts +19 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/helpers/fetch.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/helpers/worker-builder.d.ts +10 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/helpers/worker-builder.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/index.d.ts +16 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/index.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/kv.d.ts +107 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/kv.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/providers/dns-record.d.ts +20 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/providers/dns-record.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/providers/kv-data.d.ts +23 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/providers/kv-data.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/providers/worker-assets.d.ts +18 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/providers/worker-assets.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/providers/worker-url.d.ts +22 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/providers/worker-url.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/providers/zone-lookup.d.ts +22 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/providers/zone-lookup.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/queue.d.ts +60 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/queue.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/ssr-site.d.ts +51 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/ssr-site.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/static-site.d.ts +262 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/static-site.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/worker.d.ts +295 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/worker.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/component.d.ts +37 -0
- package/dist/sst/.sst/platform/src/components/component.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/cpu.d.ts +3 -0
- package/dist/sst/.sst/platform/src/components/cpu.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/dns.d.ts +59 -0
- package/dist/sst/.sst/platform/src/components/dns.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/duration.d.ts +7 -0
- package/dist/sst/.sst/platform/src/components/duration.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/error.d.ts +4 -0
- package/dist/sst/.sst/platform/src/components/error.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/experimental/dev-command.d.ts +99 -0
- package/dist/sst/.sst/platform/src/components/experimental/dev-command.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/experimental/index.d.ts +2 -0
- package/dist/sst/.sst/platform/src/components/experimental/index.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/index.d.ts +16 -0
- package/dist/sst/.sst/platform/src/components/index.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/input.d.ts +3 -0
- package/dist/sst/.sst/platform/src/components/input.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/link.d.ts +41 -0
- package/dist/sst/.sst/platform/src/components/link.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/linkable.d.ts +271 -0
- package/dist/sst/.sst/platform/src/components/linkable.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/naming.d.ts +7 -0
- package/dist/sst/.sst/platform/src/components/naming.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/path.d.ts +2 -0
- package/dist/sst/.sst/platform/src/components/path.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/rpc/rpc.d.ts +19 -0
- package/dist/sst/.sst/platform/src/components/rpc/rpc.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/secret.d.ts +125 -0
- package/dist/sst/.sst/platform/src/components/secret.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/size.d.ts +5 -0
- package/dist/sst/.sst/platform/src/components/size.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/vercel/account-id.d.ts +2 -0
- package/dist/sst/.sst/platform/src/components/vercel/account-id.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/vercel/dns.d.ts +73 -0
- package/dist/sst/.sst/platform/src/components/vercel/dns.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/vercel/index.d.ts +3 -0
- package/dist/sst/.sst/platform/src/components/vercel/index.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/vercel/providers/dns-record.d.ts +14 -0
- package/dist/sst/.sst/platform/src/components/vercel/providers/dns-record.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/config.d.ts +1258 -0
- package/dist/sst/.sst/platform/src/config.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/util/compare-semver.d.ts +4 -0
- package/dist/sst/.sst/platform/src/util/compare-semver.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/util/fs.d.ts +5 -0
- package/dist/sst/.sst/platform/src/util/fs.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/util/lazy.d.ts +2 -0
- package/dist/sst/.sst/platform/src/util/lazy.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/util/semaphore.d.ts +9 -0
- package/dist/sst/.sst/platform/src/util/semaphore.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/util/warn.d.ts +2 -0
- package/dist/sst/.sst/platform/src/util/warn.d.ts.map +1 -0
- package/dist/sst/components/dashboard.d.ts +2 -0
- package/dist/sst/components/dashboard.d.ts.map +1 -0
- package/dist/sst/components/monorise-core.d.ts +18 -0
- package/dist/sst/components/monorise-core.d.ts.map +1 -0
- package/dist/sst/components/q-function.d.ts +17 -0
- package/dist/sst/components/q-function.d.ts.map +1 -0
- package/dist/sst/components/single-table.d.ts +14 -0
- package/dist/sst/components/single-table.d.ts.map +1 -0
- package/dist/sst/constants/event.d.ts +73 -0
- package/dist/sst/constants/event.d.ts.map +1 -0
- package/dist/sst/constants/table.d.ts +3 -0
- package/dist/sst/constants/table.d.ts.map +1 -0
- package/dist/sst/index.d.ts +11 -0
- package/dist/sst/index.d.ts.map +1 -0
- package/dist/sst/index.js +609 -0
- package/dist/sst/index.js.map +1 -0
- package/dist/sst/sst.config.d.ts +3 -0
- package/dist/sst/sst.config.d.ts.map +1 -0
- package/dist/sst/tsup.config.d.ts +3 -0
- package/dist/sst/tsup.config.d.ts.map +1 -0
- package/package.json +83 -0
|
@@ -0,0 +1,500 @@
|
|
|
1
|
+
import { ComponentResourceOptions, Output } from "@pulumi/pulumi";
|
|
2
|
+
import { Component, Transform } from "../component";
|
|
3
|
+
import { Link } from "../link";
|
|
4
|
+
import { Input } from "../input.js";
|
|
5
|
+
import { rds } from "@pulumi/aws";
|
|
6
|
+
import { Vpc } from "./vpc";
|
|
7
|
+
import { Postgres as PostgresV1 } from "./postgres-v1";
|
|
8
|
+
import { SizeGbTb } from "../size";
|
|
9
|
+
export type { PostgresArgs as PostgresV1Args } from "./postgres-v1";
|
|
10
|
+
export interface PostgresArgs {
|
|
11
|
+
/**
|
|
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
|
+
* @default `"17"`
|
|
14
|
+
* @example
|
|
15
|
+
* ```js
|
|
16
|
+
* {
|
|
17
|
+
* version: "17.1"
|
|
18
|
+
* }
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
version?: Input<string>;
|
|
22
|
+
/**
|
|
23
|
+
* The username of the master user.
|
|
24
|
+
*
|
|
25
|
+
* :::caution
|
|
26
|
+
* Changing the username will cause the database to be destroyed and recreated.
|
|
27
|
+
* :::
|
|
28
|
+
*
|
|
29
|
+
* @default `"postgres"`
|
|
30
|
+
* @example
|
|
31
|
+
* ```js
|
|
32
|
+
* {
|
|
33
|
+
* username: "admin"
|
|
34
|
+
* }
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
username?: Input<string>;
|
|
38
|
+
/**
|
|
39
|
+
* The password of the master user.
|
|
40
|
+
* @default A random password is generated.
|
|
41
|
+
* @example
|
|
42
|
+
* ```js
|
|
43
|
+
* {
|
|
44
|
+
* password: "Passw0rd!"
|
|
45
|
+
* }
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* You can use a `Secret` to manage the password.
|
|
49
|
+
*
|
|
50
|
+
* ```js
|
|
51
|
+
* {
|
|
52
|
+
* password: new sst.Secret("MyDBPassword").value
|
|
53
|
+
* }
|
|
54
|
+
* ```
|
|
55
|
+
*/
|
|
56
|
+
password?: Input<string>;
|
|
57
|
+
/**
|
|
58
|
+
* Name of a database that is automatically created.
|
|
59
|
+
*
|
|
60
|
+
* The name must begin with a letter and contain only lowercase letters, numbers, or
|
|
61
|
+
* underscores. By default, it takes the name of the app, and replaces the hyphens with
|
|
62
|
+
* underscores.
|
|
63
|
+
*
|
|
64
|
+
* @default Based on the name of the current app
|
|
65
|
+
* @example
|
|
66
|
+
* ```js
|
|
67
|
+
* {
|
|
68
|
+
* database: "acme"
|
|
69
|
+
* }
|
|
70
|
+
* ```
|
|
71
|
+
*/
|
|
72
|
+
database?: Input<string>;
|
|
73
|
+
/**
|
|
74
|
+
* 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
|
+
*
|
|
76
|
+
* @default `"t4g.micro"`
|
|
77
|
+
* @example
|
|
78
|
+
* ```js
|
|
79
|
+
* {
|
|
80
|
+
* instance: "m7g.xlarge"
|
|
81
|
+
* }
|
|
82
|
+
* ```
|
|
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
|
+
*/
|
|
88
|
+
instance?: Input<string>;
|
|
89
|
+
/**
|
|
90
|
+
* The maximum storage limit for the database.
|
|
91
|
+
*
|
|
92
|
+
* RDS will autoscale your storage to match your usage up to the given limit.
|
|
93
|
+
* You are not billed for the maximum storage limit, You are only billed for the storage you use.
|
|
94
|
+
*
|
|
95
|
+
* :::note
|
|
96
|
+
* You are only billed for the storage you use, not the maximum limit.
|
|
97
|
+
* :::
|
|
98
|
+
*
|
|
99
|
+
* By default, [gp3 storage volumes](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#Concepts.Storage.GeneralSSD)
|
|
100
|
+
* are used without additional provisioned IOPS. This provides good baseline
|
|
101
|
+
* performance for most use cases.
|
|
102
|
+
*
|
|
103
|
+
* The minimum storage size is 20 GB. And the maximum storage size is 64 TB.
|
|
104
|
+
*
|
|
105
|
+
* @default `"20 GB"`
|
|
106
|
+
* @example
|
|
107
|
+
* ```js
|
|
108
|
+
* {
|
|
109
|
+
* storage: "100 GB"
|
|
110
|
+
* }
|
|
111
|
+
* ```
|
|
112
|
+
*/
|
|
113
|
+
storage?: Input<SizeGbTb>;
|
|
114
|
+
/**
|
|
115
|
+
* Enable [RDS Proxy](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-proxy.html) for the database.
|
|
116
|
+
* @default `false`
|
|
117
|
+
* @example
|
|
118
|
+
* ```js
|
|
119
|
+
* {
|
|
120
|
+
* proxy: true
|
|
121
|
+
* }
|
|
122
|
+
* ```
|
|
123
|
+
*/
|
|
124
|
+
proxy?: Input<boolean | {
|
|
125
|
+
/**
|
|
126
|
+
* Additional credentials the proxy can use to connect to the database. You don't
|
|
127
|
+
* need to specify the master user credentials as they are always added by default.
|
|
128
|
+
*
|
|
129
|
+
* :::note
|
|
130
|
+
* This component will not create the Postgres users listed here. You need to
|
|
131
|
+
* create them manually in the database.
|
|
132
|
+
* :::
|
|
133
|
+
*
|
|
134
|
+
* @example
|
|
135
|
+
* ```js
|
|
136
|
+
* {
|
|
137
|
+
* credentials: [
|
|
138
|
+
* {
|
|
139
|
+
* username: "metabase",
|
|
140
|
+
* password: "Passw0rd!"
|
|
141
|
+
* }
|
|
142
|
+
* ]
|
|
143
|
+
* }
|
|
144
|
+
* ```
|
|
145
|
+
*
|
|
146
|
+
* You can use a `Secret` to manage the password.
|
|
147
|
+
*
|
|
148
|
+
* ```js
|
|
149
|
+
* {
|
|
150
|
+
* credentials: [
|
|
151
|
+
* {
|
|
152
|
+
* username: "metabase",
|
|
153
|
+
* password: new sst.Secret("MyDBPassword").value
|
|
154
|
+
* }
|
|
155
|
+
* ]
|
|
156
|
+
* }
|
|
157
|
+
* ```
|
|
158
|
+
*/
|
|
159
|
+
credentials?: Input<Input<{
|
|
160
|
+
/**
|
|
161
|
+
* The username of the user.
|
|
162
|
+
*/
|
|
163
|
+
username: Input<string>;
|
|
164
|
+
/**
|
|
165
|
+
* The password of the user.
|
|
166
|
+
*/
|
|
167
|
+
password: Input<string>;
|
|
168
|
+
}>[]>;
|
|
169
|
+
}>;
|
|
170
|
+
/**
|
|
171
|
+
* Enable [Multi-AZ](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.MultiAZ.html)
|
|
172
|
+
* deployment for the database.
|
|
173
|
+
*
|
|
174
|
+
* This creates a standby replica for the database in another availability zone (AZ). The
|
|
175
|
+
* standby database provides automatic failover in case the primary database fails. However,
|
|
176
|
+
* when the primary database is healthy, the standby database is not used for serving read
|
|
177
|
+
* traffic.
|
|
178
|
+
*
|
|
179
|
+
* :::caution
|
|
180
|
+
* Using Multi-AZ will approximately double the cost of the database since it will be
|
|
181
|
+
* deployed in two AZs.
|
|
182
|
+
* :::
|
|
183
|
+
*
|
|
184
|
+
* @default `false`
|
|
185
|
+
* @example
|
|
186
|
+
* ```js
|
|
187
|
+
* {
|
|
188
|
+
* multiAz: true
|
|
189
|
+
* }
|
|
190
|
+
* ```
|
|
191
|
+
*/
|
|
192
|
+
multiAz?: Input<boolean>;
|
|
193
|
+
/**
|
|
194
|
+
* @internal
|
|
195
|
+
*/
|
|
196
|
+
replicas?: Input<number>;
|
|
197
|
+
/**
|
|
198
|
+
* The VPC subnets to use for the database.
|
|
199
|
+
*
|
|
200
|
+
* @example
|
|
201
|
+
* ```js
|
|
202
|
+
* {
|
|
203
|
+
* vpc: {
|
|
204
|
+
* subnets: ["subnet-0db7376a7ad4db5fd ", "subnet-06fc7ee8319b2c0ce"]
|
|
205
|
+
* }
|
|
206
|
+
* }
|
|
207
|
+
* ```
|
|
208
|
+
*
|
|
209
|
+
* Or create a `Vpc` component.
|
|
210
|
+
*
|
|
211
|
+
* ```ts title="sst.config.ts"
|
|
212
|
+
* const myVpc = new sst.aws.Vpc("MyVpc");
|
|
213
|
+
* ```
|
|
214
|
+
*
|
|
215
|
+
* And pass it in. The database will be placed in the private subnets.
|
|
216
|
+
*
|
|
217
|
+
* ```js
|
|
218
|
+
* {
|
|
219
|
+
* vpc: myVpc
|
|
220
|
+
* }
|
|
221
|
+
* ```
|
|
222
|
+
*/
|
|
223
|
+
vpc: Vpc | Input<{
|
|
224
|
+
/**
|
|
225
|
+
* A list of subnet IDs in the VPC.
|
|
226
|
+
*/
|
|
227
|
+
subnets: Input<Input<string>[]>;
|
|
228
|
+
}>;
|
|
229
|
+
/**
|
|
230
|
+
* Configure how this component works in `sst dev`.
|
|
231
|
+
*
|
|
232
|
+
* By default, your Postgres database is deployed in `sst dev`. But if you want to instead
|
|
233
|
+
* connect to a locally running Postgres database, you can configure the `dev` prop.
|
|
234
|
+
*
|
|
235
|
+
* :::note
|
|
236
|
+
* This will not create an RDS database in `sst dev`.
|
|
237
|
+
* :::
|
|
238
|
+
*
|
|
239
|
+
* This will skip deploying an RDS database and link to the locally running Postgres database
|
|
240
|
+
* instead.
|
|
241
|
+
*
|
|
242
|
+
* @example
|
|
243
|
+
*
|
|
244
|
+
* Setting the `dev` prop also means that any linked resources will connect to the right
|
|
245
|
+
* database both in `sst dev` and `sst deploy`.
|
|
246
|
+
*
|
|
247
|
+
* ```ts
|
|
248
|
+
* {
|
|
249
|
+
* dev: {
|
|
250
|
+
* username: "postgres",
|
|
251
|
+
* password: "password",
|
|
252
|
+
* database: "postgres",
|
|
253
|
+
* host: "localhost",
|
|
254
|
+
* port: 5432
|
|
255
|
+
* }
|
|
256
|
+
* }
|
|
257
|
+
* ```
|
|
258
|
+
*/
|
|
259
|
+
dev?: {
|
|
260
|
+
/**
|
|
261
|
+
* The host of the local Postgres to connect to when running in dev.
|
|
262
|
+
* @default `"localhost"`
|
|
263
|
+
*/
|
|
264
|
+
host?: Input<string>;
|
|
265
|
+
/**
|
|
266
|
+
* The port of the local Postgres to connect to when running in dev.
|
|
267
|
+
* @default `5432`
|
|
268
|
+
*/
|
|
269
|
+
port?: Input<number>;
|
|
270
|
+
/**
|
|
271
|
+
* The database of the local Postgres to connect to when running in dev.
|
|
272
|
+
* @default Inherit from the top-level [`database`](#database).
|
|
273
|
+
*/
|
|
274
|
+
database?: Input<string>;
|
|
275
|
+
/**
|
|
276
|
+
* The username of the local Postgres to connect to when running in dev.
|
|
277
|
+
* @default Inherit from the top-level [`username`](#username).
|
|
278
|
+
*/
|
|
279
|
+
username?: Input<string>;
|
|
280
|
+
/**
|
|
281
|
+
* The password of the local Postgres to connect to when running in dev.
|
|
282
|
+
* @default Inherit from the top-level [`password`](#password).
|
|
283
|
+
*/
|
|
284
|
+
password?: Input<string>;
|
|
285
|
+
};
|
|
286
|
+
/**
|
|
287
|
+
* [Transform](/docs/components#transform) how this component creates its underlying
|
|
288
|
+
* resources.
|
|
289
|
+
*/
|
|
290
|
+
transform?: {
|
|
291
|
+
/**
|
|
292
|
+
* Transform the RDS subnet group.
|
|
293
|
+
*/
|
|
294
|
+
subnetGroup?: Transform<rds.SubnetGroupArgs>;
|
|
295
|
+
/**
|
|
296
|
+
* Transform the RDS parameter group.
|
|
297
|
+
*/
|
|
298
|
+
parameterGroup?: Transform<rds.ParameterGroupArgs>;
|
|
299
|
+
/**
|
|
300
|
+
* Transform the database instance in the RDS Cluster.
|
|
301
|
+
*/
|
|
302
|
+
instance?: Transform<rds.InstanceArgs>;
|
|
303
|
+
/**
|
|
304
|
+
* Transform the RDS Proxy.
|
|
305
|
+
*/
|
|
306
|
+
proxy?: Transform<rds.ProxyArgs>;
|
|
307
|
+
};
|
|
308
|
+
}
|
|
309
|
+
export interface PostgresGetArgs {
|
|
310
|
+
/**
|
|
311
|
+
* The ID of the database.
|
|
312
|
+
*/
|
|
313
|
+
id: Input<string>;
|
|
314
|
+
/**
|
|
315
|
+
* The ID of the proxy.
|
|
316
|
+
*/
|
|
317
|
+
proxyId?: Input<string>;
|
|
318
|
+
}
|
|
319
|
+
/**
|
|
320
|
+
* The `Postgres` component lets you add a Postgres database to your app using
|
|
321
|
+
* [Amazon RDS Postgres](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_PostgreSQL.html).
|
|
322
|
+
*
|
|
323
|
+
* @example
|
|
324
|
+
*
|
|
325
|
+
* #### Create the database
|
|
326
|
+
*
|
|
327
|
+
* ```js title="sst.config.ts"
|
|
328
|
+
* const vpc = new sst.aws.Vpc("MyVpc");
|
|
329
|
+
* const database = new sst.aws.Postgres("MyDatabase", { vpc });
|
|
330
|
+
* ```
|
|
331
|
+
*
|
|
332
|
+
* #### Link to a resource
|
|
333
|
+
*
|
|
334
|
+
* You can link your database to other resources, like a function or your Next.js app.
|
|
335
|
+
*
|
|
336
|
+
* ```ts title="sst.config.ts"
|
|
337
|
+
* new sst.aws.Nextjs("MyWeb", {
|
|
338
|
+
* link: [database],
|
|
339
|
+
* vpc
|
|
340
|
+
* });
|
|
341
|
+
* ```
|
|
342
|
+
*
|
|
343
|
+
* Once linked, you can connect to it from your function code.
|
|
344
|
+
*
|
|
345
|
+
* ```ts title="app/page.tsx" {1,5-9}
|
|
346
|
+
* import { Resource } from "sst";
|
|
347
|
+
* import { Pool } from "pg";
|
|
348
|
+
*
|
|
349
|
+
* const client = new Pool({
|
|
350
|
+
* user: Resource.MyDatabase.username,
|
|
351
|
+
* password: Resource.MyDatabase.password,
|
|
352
|
+
* database: Resource.MyDatabase.database,
|
|
353
|
+
* host: Resource.MyDatabase.host,
|
|
354
|
+
* port: Resource.MyDatabase.port,
|
|
355
|
+
* });
|
|
356
|
+
* await client.connect();
|
|
357
|
+
* ```
|
|
358
|
+
*
|
|
359
|
+
* #### Running locally
|
|
360
|
+
*
|
|
361
|
+
* By default, your RDS Postgres database is deployed in `sst dev`. But let's say you are running
|
|
362
|
+
* Postgres locally.
|
|
363
|
+
*
|
|
364
|
+
* ```bash
|
|
365
|
+
* docker run \
|
|
366
|
+
* --rm \
|
|
367
|
+
* -p 5432:5432 \
|
|
368
|
+
* -v $(pwd)/.sst/storage/postgres:/var/lib/postgresql/data \
|
|
369
|
+
* -e POSTGRES_USER=postgres \
|
|
370
|
+
* -e POSTGRES_PASSWORD=password \
|
|
371
|
+
* -e POSTGRES_DB=local \
|
|
372
|
+
* postgres:18
|
|
373
|
+
* ```
|
|
374
|
+
*
|
|
375
|
+
* You can connect to it in `sst dev` by configuring the `dev` prop.
|
|
376
|
+
*
|
|
377
|
+
* ```ts title="sst.config.ts" {3-8}
|
|
378
|
+
* const postgres = new sst.aws.Postgres("MyPostgres", {
|
|
379
|
+
* vpc,
|
|
380
|
+
* dev: {
|
|
381
|
+
* username: "postgres",
|
|
382
|
+
* password: "password",
|
|
383
|
+
* database: "local",
|
|
384
|
+
* port: 5432
|
|
385
|
+
* }
|
|
386
|
+
* });
|
|
387
|
+
* ```
|
|
388
|
+
*
|
|
389
|
+
* This will skip deploying an RDS database and link to the locally running Postgres database
|
|
390
|
+
* instead. [Check out the full example](/docs/examples/#aws-postgres-local).
|
|
391
|
+
*
|
|
392
|
+
* ---
|
|
393
|
+
*
|
|
394
|
+
* ### Cost
|
|
395
|
+
*
|
|
396
|
+
* By default this component uses a _Single-AZ Deployment_, _On-Demand DB Instances_ of a
|
|
397
|
+
* `db.t4g.micro` at $0.016 per hour. And 20GB of _General Purpose gp3 Storage_
|
|
398
|
+
* at $0.115 per GB per month.
|
|
399
|
+
*
|
|
400
|
+
* That works out to $0.016 x 24 x 30 + $0.115 x 20 or **$14 per month**. Adjust this for the
|
|
401
|
+
* `instance` type and the `storage` you are using.
|
|
402
|
+
*
|
|
403
|
+
* The above are rough estimates for _us-east-1_, check out the
|
|
404
|
+
* [RDS for PostgreSQL pricing](https://aws.amazon.com/rds/postgresql/pricing/#On-Demand_DB_Instances_costs) for more details.
|
|
405
|
+
*
|
|
406
|
+
* #### RDS Proxy
|
|
407
|
+
*
|
|
408
|
+
* If you enable the `proxy`, it uses _Provisioned instances_ with 2 vCPUs at $0.015 per hour.
|
|
409
|
+
*
|
|
410
|
+
* That works out to an **additional** $0.015 x 2 x 24 x 30 or **$22 per month**.
|
|
411
|
+
*
|
|
412
|
+
* This is a rough estimate for _us-east-1_, check out the
|
|
413
|
+
* [RDS Proxy pricing](https://aws.amazon.com/rds/proxy/pricing/) for more details.
|
|
414
|
+
*/
|
|
415
|
+
export declare class Postgres extends Component implements Link.Linkable {
|
|
416
|
+
private instance?;
|
|
417
|
+
private _password?;
|
|
418
|
+
private proxy?;
|
|
419
|
+
private dev?;
|
|
420
|
+
static v1: typeof PostgresV1;
|
|
421
|
+
constructor(name: string, args: PostgresArgs, opts?: ComponentResourceOptions);
|
|
422
|
+
/**
|
|
423
|
+
* The identifier of the Postgres instance.
|
|
424
|
+
*/
|
|
425
|
+
get id(): Output<string>;
|
|
426
|
+
/**
|
|
427
|
+
* The name of the Postgres proxy.
|
|
428
|
+
*/
|
|
429
|
+
get proxyId(): Output<string>;
|
|
430
|
+
/** The username of the master user. */
|
|
431
|
+
get username(): Output<string>;
|
|
432
|
+
/** The password of the master user. */
|
|
433
|
+
get password(): Output<string>;
|
|
434
|
+
/**
|
|
435
|
+
* The name of the database.
|
|
436
|
+
*/
|
|
437
|
+
get database(): Output<string>;
|
|
438
|
+
/**
|
|
439
|
+
* The port of the database.
|
|
440
|
+
*/
|
|
441
|
+
get port(): $util.OutputInstance<number>;
|
|
442
|
+
/**
|
|
443
|
+
* The host of the database.
|
|
444
|
+
*/
|
|
445
|
+
get host(): Output<string>;
|
|
446
|
+
get nodes(): {
|
|
447
|
+
instance: import("@pulumi/aws/rds/instance").Instance | undefined;
|
|
448
|
+
};
|
|
449
|
+
/** @internal */
|
|
450
|
+
getSSTLink(): {
|
|
451
|
+
properties: {
|
|
452
|
+
database: Output<string>;
|
|
453
|
+
username: Output<string>;
|
|
454
|
+
password: Output<string>;
|
|
455
|
+
port: $util.OutputInstance<number>;
|
|
456
|
+
host: Output<string>;
|
|
457
|
+
};
|
|
458
|
+
};
|
|
459
|
+
/**
|
|
460
|
+
* Reference an existing Postgres database with the given name. This is useful when you
|
|
461
|
+
* create a Postgres database in one stage and want to share it in another. It avoids
|
|
462
|
+
* having to create a new Postgres database in the other stage.
|
|
463
|
+
*
|
|
464
|
+
* :::tip
|
|
465
|
+
* You can use the `static get` method to share Postgres databases across stages.
|
|
466
|
+
* :::
|
|
467
|
+
*
|
|
468
|
+
* @param name The name of the component.
|
|
469
|
+
* @param args The arguments to get the Postgres database.
|
|
470
|
+
* @param opts? Resource options.
|
|
471
|
+
*
|
|
472
|
+
* @example
|
|
473
|
+
* Imagine you create a database in the `dev` stage. And in your personal stage `frank`,
|
|
474
|
+
* instead of creating a new database, you want to share the same database from `dev`.
|
|
475
|
+
*
|
|
476
|
+
* ```ts title="sst.config.ts"
|
|
477
|
+
* const database = $app.stage === "frank"
|
|
478
|
+
* ? sst.aws.Postgres.get("MyDatabase", {
|
|
479
|
+
* id: "app-dev-mydatabase",
|
|
480
|
+
* proxyId: "app-dev-mydatabase-proxy"
|
|
481
|
+
* })
|
|
482
|
+
* : new sst.aws.Postgres("MyDatabase", {
|
|
483
|
+
* proxy: true
|
|
484
|
+
* });
|
|
485
|
+
* ```
|
|
486
|
+
*
|
|
487
|
+
* Here `app-dev-mydatabase` is the ID of the database, and `app-dev-mydatabase-proxy`
|
|
488
|
+
* is the ID of the proxy created in the `dev` stage. You can find these by outputting
|
|
489
|
+
* the database ID and proxy ID in the `dev` stage.
|
|
490
|
+
*
|
|
491
|
+
* ```ts title="sst.config.ts"
|
|
492
|
+
* return {
|
|
493
|
+
* id: database.id,
|
|
494
|
+
* proxyId: database.proxyId
|
|
495
|
+
* };
|
|
496
|
+
* ```
|
|
497
|
+
*/
|
|
498
|
+
static get(name: string, args: PostgresGetArgs, opts?: ComponentResourceOptions): Postgres;
|
|
499
|
+
}
|
|
500
|
+
//# sourceMappingURL=postgres.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"postgres.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/postgres.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { CustomResourceOptions, Input, dynamic } from "@pulumi/pulumi";
|
|
2
|
+
export interface BucketFile {
|
|
3
|
+
source: string;
|
|
4
|
+
key: string;
|
|
5
|
+
cacheControl?: string;
|
|
6
|
+
contentType: string;
|
|
7
|
+
hash?: string;
|
|
8
|
+
}
|
|
9
|
+
export interface BucketFilesInputs {
|
|
10
|
+
bucketName: Input<string>;
|
|
11
|
+
files: Input<BucketFile[]>;
|
|
12
|
+
purge: Input<boolean>;
|
|
13
|
+
region: Input<string>;
|
|
14
|
+
}
|
|
15
|
+
export declare class BucketFiles extends dynamic.Resource {
|
|
16
|
+
constructor(name: string, args: BucketFilesInputs, opts?: CustomResourceOptions);
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=bucket-files.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bucket-files.d.ts","sourceRoot":"","sources":["../../../../../../../.sst/platform/src/components/aws/providers/bucket-files.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAGvE,MAAM,WAAW,UAAU;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,iBAAiB;IAChC,UAAU,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC1B,KAAK,EAAE,KAAK,CAAC,UAAU,EAAE,CAAC,CAAC;IAC3B,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;IACtB,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACvB;AAED,qBAAa,WAAY,SAAQ,OAAO,CAAC,QAAQ;gBAE7C,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,iBAAiB,EACvB,IAAI,CAAC,EAAE,qBAAqB;CAS/B"}
|
package/dist/sst/.sst/platform/src/components/aws/providers/distribution-deployment-waiter.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CustomResourceOptions, Input, Output, dynamic } from "@pulumi/pulumi";
|
|
2
|
+
export interface DistributionDeploymentWaiterInputs {
|
|
3
|
+
distributionId: Input<string>;
|
|
4
|
+
etag: Input<string>;
|
|
5
|
+
wait: Input<boolean>;
|
|
6
|
+
}
|
|
7
|
+
export interface DistributionDeploymentWaiter {
|
|
8
|
+
isDone: Output<boolean>;
|
|
9
|
+
}
|
|
10
|
+
export declare class DistributionDeploymentWaiter extends dynamic.Resource {
|
|
11
|
+
constructor(name: string, args: DistributionDeploymentWaiterInputs, opts?: CustomResourceOptions);
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=distribution-deployment-waiter.d.ts.map
|
package/dist/sst/.sst/platform/src/components/aws/providers/distribution-deployment-waiter.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"distribution-deployment-waiter.d.ts","sourceRoot":"","sources":["../../../../../../../.sst/platform/src/components/aws/providers/distribution-deployment-waiter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAG/E,MAAM,WAAW,kCAAkC;IACjD,cAAc,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC9B,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACpB,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;CACtB;AAED,MAAM,WAAW,4BAA4B;IAC3C,MAAM,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC;CACzB;AAED,qBAAa,4BAA6B,SAAQ,OAAO,CAAC,QAAQ;gBAE9D,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,kCAAkC,EACxC,IAAI,CAAC,EAAE,qBAAqB;CAS/B"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CustomResourceOptions, Input, dynamic } from "@pulumi/pulumi";
|
|
2
|
+
export interface DistributionInvalidationInputs {
|
|
3
|
+
distributionId: Input<string>;
|
|
4
|
+
paths: Input<string[]>;
|
|
5
|
+
wait: Input<boolean>;
|
|
6
|
+
version: Input<string>;
|
|
7
|
+
}
|
|
8
|
+
export declare class DistributionInvalidation extends dynamic.Resource {
|
|
9
|
+
constructor(name: string, args: DistributionInvalidationInputs, opts?: CustomResourceOptions);
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=distribution-invalidation.d.ts.map
|
package/dist/sst/.sst/platform/src/components/aws/providers/distribution-invalidation.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"distribution-invalidation.d.ts","sourceRoot":"","sources":["../../../../../../../.sst/platform/src/components/aws/providers/distribution-invalidation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAGvE,MAAM,WAAW,8BAA8B;IAC7C,cAAc,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC9B,KAAK,EAAE,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC;IACvB,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;IACrB,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACxB;AAED,qBAAa,wBAAyB,SAAQ,OAAO,CAAC,QAAQ;gBAE1D,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,8BAA8B,EACpC,IAAI,CAAC,EAAE,qBAAqB;CAS/B"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { CustomResourceOptions, Input, dynamic } from "@pulumi/pulumi";
|
|
2
|
+
export interface FunctionEnvironmentUpdateInputs {
|
|
3
|
+
/**
|
|
4
|
+
* The name of the function to update.
|
|
5
|
+
*/
|
|
6
|
+
functionName: Input<string>;
|
|
7
|
+
/**
|
|
8
|
+
* The environment variables to update.
|
|
9
|
+
*/
|
|
10
|
+
environment: Input<Record<string, Input<string>>>;
|
|
11
|
+
/**
|
|
12
|
+
* The region of the function to update.
|
|
13
|
+
*/
|
|
14
|
+
region: Input<string>;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* The `FunctionEnvironmentUpdate` component is internally used by the `Function` component
|
|
18
|
+
* to update the environment variables of a function.
|
|
19
|
+
*
|
|
20
|
+
* :::note
|
|
21
|
+
* This component is not intended to be created directly.
|
|
22
|
+
* :::
|
|
23
|
+
*
|
|
24
|
+
* You'll find this component returned by the `addEnvironment` method of the `Function` component.
|
|
25
|
+
*/
|
|
26
|
+
export declare class FunctionEnvironmentUpdate extends dynamic.Resource {
|
|
27
|
+
constructor(name: string, args: FunctionEnvironmentUpdateInputs, opts?: CustomResourceOptions);
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=function-environment-update.d.ts.map
|
package/dist/sst/.sst/platform/src/components/aws/providers/function-environment-update.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"function-environment-update.d.ts","sourceRoot":"","sources":["../../../../../../../.sst/platform/src/components/aws/providers/function-environment-update.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAGvE,MAAM,WAAW,+BAA+B;IAC9C;;OAEG;IACH,YAAY,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5B;;OAEG;IACH,WAAW,EAAE,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IAClD;;OAEG;IACH,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACvB;AAED;;;;;;;;;GASG;AACH,qBAAa,yBAA0B,SAAQ,OAAO,CAAC,QAAQ;gBAE3D,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,+BAA+B,EACrC,IAAI,CAAC,EAAE,qBAAqB;CAS/B"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CustomResourceOptions, Input, Output, dynamic } from "@pulumi/pulumi";
|
|
2
|
+
export interface HostedZoneLookupInputs {
|
|
3
|
+
domain: Input<string>;
|
|
4
|
+
}
|
|
5
|
+
export interface HostedZoneLookup {
|
|
6
|
+
zoneId: Output<string>;
|
|
7
|
+
}
|
|
8
|
+
export declare class HostedZoneLookup extends dynamic.Resource {
|
|
9
|
+
constructor(name: string, args: HostedZoneLookupInputs, opts?: CustomResourceOptions);
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=hosted-zone-lookup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hosted-zone-lookup.d.ts","sourceRoot":"","sources":["../../../../../../../.sst/platform/src/components/aws/providers/hosted-zone-lookup.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAG/E,MAAM,WAAW,sBAAsB;IACrC,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACvB;AAED,MAAM,WAAW,gBAAgB;IAC/B,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC;CACxB;AAED,qBAAa,gBAAiB,SAAQ,OAAO,CAAC,QAAQ;gBAElD,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,sBAAsB,EAC5B,IAAI,CAAC,EAAE,qBAAqB;CAS/B"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CustomResourceOptions, Input, dynamic } from "@pulumi/pulumi";
|
|
2
|
+
export interface KvKeysInputs {
|
|
3
|
+
store: Input<string>;
|
|
4
|
+
namespace: Input<string>;
|
|
5
|
+
entries: Input<Record<string, Input<string>>>;
|
|
6
|
+
purge: Input<boolean>;
|
|
7
|
+
}
|
|
8
|
+
export declare class KvKeys extends dynamic.Resource {
|
|
9
|
+
constructor(name: string, args: KvKeysInputs, opts?: CustomResourceOptions);
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=kv-keys.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kv-keys.d.ts","sourceRoot":"","sources":["../../../../../../../.sst/platform/src/components/aws/providers/kv-keys.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAGvE,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACrB,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACzB,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IAC9C,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;CACvB;AAED,qBAAa,MAAO,SAAQ,OAAO,CAAC,QAAQ;gBAC9B,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,CAAC,EAAE,qBAAqB;CAG3E"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CustomResourceOptions, Input, dynamic } from "@pulumi/pulumi";
|
|
2
|
+
export interface KvRoutesUpdateInputs {
|
|
3
|
+
store: Input<string>;
|
|
4
|
+
key: Input<string>;
|
|
5
|
+
entry: Input<string>;
|
|
6
|
+
namespace: Input<string>;
|
|
7
|
+
}
|
|
8
|
+
export declare class KvRoutesUpdate extends dynamic.Resource {
|
|
9
|
+
constructor(name: string, args: KvRoutesUpdateInputs, opts?: CustomResourceOptions);
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=kv-routes-update.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kv-routes-update.d.ts","sourceRoot":"","sources":["../../../../../../../.sst/platform/src/components/aws/providers/kv-routes-update.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAGvE,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACrB,GAAG,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACnB,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACrB,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC1B;AAED,qBAAa,cAAe,SAAQ,OAAO,CAAC,QAAQ;gBAEhD,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,oBAAoB,EAC1B,IAAI,CAAC,EAAE,qBAAqB;CAS/B"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { CustomResourceOptions, dynamic, Input } from "@pulumi/pulumi";
|
|
2
|
+
export interface OriginAccessControlInputs {
|
|
3
|
+
name: Input<string>;
|
|
4
|
+
}
|
|
5
|
+
export declare class OriginAccessControl extends dynamic.Resource {
|
|
6
|
+
constructor(name: string, args: OriginAccessControlInputs, opts?: CustomResourceOptions);
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=origin-access-control.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"origin-access-control.d.ts","sourceRoot":"","sources":["../../../../../../../.sst/platform/src/components/aws/providers/origin-access-control.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAGvE,MAAM,WAAW,yBAAyB;IACxC,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACrB;AAED,qBAAa,mBAAoB,SAAQ,OAAO,CAAC,QAAQ;gBAErD,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,yBAAyB,EAC/B,IAAI,CAAC,EAAE,qBAAqB;CAS/B"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { CustomResourceOptions, Input, dynamic } from "@pulumi/pulumi";
|
|
2
|
+
export interface RdsRoleLookupInputs {
|
|
3
|
+
name: Input<string>;
|
|
4
|
+
}
|
|
5
|
+
export declare class RdsRoleLookup extends dynamic.Resource {
|
|
6
|
+
constructor(name: string, args: RdsRoleLookupInputs, opts?: CustomResourceOptions);
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=rds-role-lookup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rds-role-lookup.d.ts","sourceRoot":"","sources":["../../../../../../../.sst/platform/src/components/aws/providers/rds-role-lookup.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,KAAK,EAAU,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAG/E,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACrB;AAED,qBAAa,aAAc,SAAQ,OAAO,CAAC,QAAQ;gBAE/C,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,mBAAmB,EACzB,IAAI,CAAC,EAAE,qBAAqB;CAS/B"}
|