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,702 @@
|
|
|
1
|
+
import { ComponentResourceOptions, Output } from "@pulumi/pulumi";
|
|
2
|
+
import { Component, Transform } from "../component.js";
|
|
3
|
+
import { Link } from "../link.js";
|
|
4
|
+
import { Input } from "../input.js";
|
|
5
|
+
import { rds } from "@pulumi/aws";
|
|
6
|
+
import { Vpc } from "./vpc.js";
|
|
7
|
+
import { DurationHours } from "../duration.js";
|
|
8
|
+
type ACU = `${number} ACU`;
|
|
9
|
+
export interface AuroraArgs {
|
|
10
|
+
/**
|
|
11
|
+
* The Aurora engine to use.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```js
|
|
15
|
+
* {
|
|
16
|
+
* engine: "postgres"
|
|
17
|
+
* }
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
engine: Input<"postgres" | "mysql">;
|
|
21
|
+
/**
|
|
22
|
+
* The version of the Aurora engine.
|
|
23
|
+
*
|
|
24
|
+
* The default is `"17"` for Postgres and `"3.08.0"` for MySQL.
|
|
25
|
+
*
|
|
26
|
+
* Check out the [available Postgres versions](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) and [available MySQL versions](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.amy) in your region.
|
|
27
|
+
*
|
|
28
|
+
* :::tip
|
|
29
|
+
* Not all versions support scaling to 0 with auto-pause and resume.
|
|
30
|
+
* :::
|
|
31
|
+
*
|
|
32
|
+
* Auto-pause and resume is only supported in the following versions:
|
|
33
|
+
* - Aurora PostgresSQL 16.3 and higher
|
|
34
|
+
* - Aurora PostgresSQL 15.7 and higher
|
|
35
|
+
* - Aurora PostgresSQL 14.12 and higher
|
|
36
|
+
* - Aurora PostgresSQL 13.15 and higher
|
|
37
|
+
* - Aurora MySQL 3.08.0 and higher
|
|
38
|
+
*
|
|
39
|
+
* @default `"17"` for Postgres, `"3.08.0"` for MySQL
|
|
40
|
+
* @example
|
|
41
|
+
* ```js
|
|
42
|
+
* {
|
|
43
|
+
* version: "17.3"
|
|
44
|
+
* }
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
version?: Input<string>;
|
|
48
|
+
/**
|
|
49
|
+
* The username of the master user.
|
|
50
|
+
*
|
|
51
|
+
* :::danger
|
|
52
|
+
* Changing the username will cause the database to be destroyed and recreated.
|
|
53
|
+
* :::
|
|
54
|
+
*
|
|
55
|
+
* @default `"postgres"` for Postgres, `"root"` for MySQL
|
|
56
|
+
* @example
|
|
57
|
+
* ```js
|
|
58
|
+
* {
|
|
59
|
+
* username: "admin"
|
|
60
|
+
* }
|
|
61
|
+
* ```
|
|
62
|
+
*/
|
|
63
|
+
username?: Input<string>;
|
|
64
|
+
/**
|
|
65
|
+
* The password of the master user.
|
|
66
|
+
* @default A random password is generated.
|
|
67
|
+
* @example
|
|
68
|
+
* ```js
|
|
69
|
+
* {
|
|
70
|
+
* password: "Passw0rd!"
|
|
71
|
+
* }
|
|
72
|
+
* ```
|
|
73
|
+
*
|
|
74
|
+
* You can use a [`Secret`](/docs/component/secret) to manage the password.
|
|
75
|
+
*
|
|
76
|
+
* ```js
|
|
77
|
+
* {
|
|
78
|
+
* password: (new sst.Secret("MyDBPassword")).value
|
|
79
|
+
* }
|
|
80
|
+
* ```
|
|
81
|
+
*/
|
|
82
|
+
password?: Input<string>;
|
|
83
|
+
/**
|
|
84
|
+
* Name of a database that is automatically created inside the cluster.
|
|
85
|
+
*
|
|
86
|
+
* The name must begin with a letter and contain only lowercase letters, numbers, or
|
|
87
|
+
* underscores.
|
|
88
|
+
*
|
|
89
|
+
* By default, it takes the name of the app, and replaces the hyphens with underscores.
|
|
90
|
+
*
|
|
91
|
+
* @default Based on the name of the current app
|
|
92
|
+
* @example
|
|
93
|
+
* ```js
|
|
94
|
+
* {
|
|
95
|
+
* databaseName: "acme"
|
|
96
|
+
* }
|
|
97
|
+
* ```
|
|
98
|
+
*/
|
|
99
|
+
database?: Input<string>;
|
|
100
|
+
/**
|
|
101
|
+
* The Aurora Serverless v2 scaling config.
|
|
102
|
+
*
|
|
103
|
+
* By default, the cluster has one DB instance that is used for both writes and reads. The
|
|
104
|
+
* instance can scale from a minimum number of ACUs to the maximum number of ACUs.
|
|
105
|
+
*
|
|
106
|
+
* :::tip
|
|
107
|
+
* Pick the `min` and `max` ACUs based on the baseline and peak memory usage of your app.
|
|
108
|
+
* :::
|
|
109
|
+
*
|
|
110
|
+
* An ACU or _Aurora Capacity Unit_ is roughly equivalent to 2 GB of memory and a corresponding
|
|
111
|
+
* amount of CPU and network resources. So pick the minimum and maximum based on the baseline
|
|
112
|
+
* and peak memory usage of your app.
|
|
113
|
+
*
|
|
114
|
+
* If you set a `min` of 0 ACUs, the database will be paused when there are no active
|
|
115
|
+
* connections in the `pauseAfter` specified time period.
|
|
116
|
+
*
|
|
117
|
+
* This is useful for dev environments since you are not charged when the database is paused.
|
|
118
|
+
* But it's not recommended for production environments because it takes around 15 seconds for
|
|
119
|
+
* the database to resume.
|
|
120
|
+
*
|
|
121
|
+
* @default `{min: "0 ACU", max: "4 ACU"}`
|
|
122
|
+
*/
|
|
123
|
+
scaling?: Input<{
|
|
124
|
+
/**
|
|
125
|
+
* The minimum number of ACUs or _Aurora Capacity Units_. Ranges from 0 to 256, in
|
|
126
|
+
* increments of 0.5. Where each ACU is roughly equivalent to 2 GB of memory.
|
|
127
|
+
*
|
|
128
|
+
* If you set this to 0 ACUs, the database will be paused when there are no active
|
|
129
|
+
* connections in the `pauseAfter` specified time period.
|
|
130
|
+
*
|
|
131
|
+
* :::note
|
|
132
|
+
* If you set a `min` ACU to 0, the database will be paused after the `pauseAfter` time
|
|
133
|
+
* period.
|
|
134
|
+
* :::
|
|
135
|
+
*
|
|
136
|
+
* On the next database connection, the database will resume. It takes about 15 seconds for
|
|
137
|
+
* the database to resume.
|
|
138
|
+
*
|
|
139
|
+
* :::tip
|
|
140
|
+
* Avoid setting a low number of `min` ACUs for production workloads.
|
|
141
|
+
* :::
|
|
142
|
+
*
|
|
143
|
+
* For your production workloads, setting a minimum of 0.5 ACUs might not be a great idea
|
|
144
|
+
* because:
|
|
145
|
+
*
|
|
146
|
+
* 1. It takes longer to scale from a low number of ACUs to a much higher number.
|
|
147
|
+
* 2. Query performance depends on the buffer cache. So if frequently accessed data cannot
|
|
148
|
+
* fit into the buffer cache, you might see uneven performance.
|
|
149
|
+
* 3. The max connections for a 0.5 ACU instance is capped at 2000.
|
|
150
|
+
*
|
|
151
|
+
* You can [read more here](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.setting-capacity.html#aurora-serverless-v2.setting-capacity.incompatible_parameters).
|
|
152
|
+
*
|
|
153
|
+
* @default `0.5 ACU`
|
|
154
|
+
* @example
|
|
155
|
+
* ```js
|
|
156
|
+
* {
|
|
157
|
+
* scaling: {
|
|
158
|
+
* min: "2 ACU"
|
|
159
|
+
* }
|
|
160
|
+
* }
|
|
161
|
+
* ```
|
|
162
|
+
*/
|
|
163
|
+
min?: Input<ACU>;
|
|
164
|
+
/**
|
|
165
|
+
* The maximum number of ACUs or _Aurora Capacity Units_. Ranges from 1 to 128, in
|
|
166
|
+
* increments of 0.5. Where each ACU is roughly equivalent to 2 GB of memory.
|
|
167
|
+
*
|
|
168
|
+
* @default `4 ACU`
|
|
169
|
+
* @example
|
|
170
|
+
* ```js
|
|
171
|
+
* {
|
|
172
|
+
* scaling: {
|
|
173
|
+
* max: "128 ACU"
|
|
174
|
+
* }
|
|
175
|
+
* }
|
|
176
|
+
* ```
|
|
177
|
+
*/
|
|
178
|
+
max?: Input<ACU>;
|
|
179
|
+
/**
|
|
180
|
+
* The amount of time before the database is paused when there are no active connections.
|
|
181
|
+
* Only applies when the `min` is set to 0 ACUs.
|
|
182
|
+
*
|
|
183
|
+
* :::note
|
|
184
|
+
* This only applies when the `min` is set to 0 ACUs.
|
|
185
|
+
* :::
|
|
186
|
+
*
|
|
187
|
+
* Must be between `"5 minutes"` and `"60 minutes"` or `"1 hour"`. So if the `min` is set
|
|
188
|
+
* to 0 ACUs, by default, the database will be auto-paused after `"5 minutes"`.
|
|
189
|
+
*
|
|
190
|
+
* When the database is paused, you are not charged for the ACUs. On the next database
|
|
191
|
+
* connection, the database will resume. It takes about 15 seconds for the database to
|
|
192
|
+
* resume.
|
|
193
|
+
*
|
|
194
|
+
* :::tip
|
|
195
|
+
* Auto-pause is not recommended for production environments.
|
|
196
|
+
* :::
|
|
197
|
+
*
|
|
198
|
+
* Auto-pause is useful for minimizing costs in the development environments where the
|
|
199
|
+
* database is not used frequently. It's not recommended for production environments.
|
|
200
|
+
*
|
|
201
|
+
* @default `"5 minutes"`
|
|
202
|
+
* @example
|
|
203
|
+
* ```js
|
|
204
|
+
* {
|
|
205
|
+
* scaling: {
|
|
206
|
+
* pauseAfter: "20 minutes"
|
|
207
|
+
* }
|
|
208
|
+
* }
|
|
209
|
+
* ```
|
|
210
|
+
*/
|
|
211
|
+
pauseAfter?: Input<DurationHours>;
|
|
212
|
+
}>;
|
|
213
|
+
/**
|
|
214
|
+
* The number of read-only Aurora replicas to create.
|
|
215
|
+
*
|
|
216
|
+
* By default, the cluster has one primary DB instance that is used for both writes and
|
|
217
|
+
* reads. You can add up to 15 read-only replicas to offload the read traffic from the
|
|
218
|
+
* primary instance.
|
|
219
|
+
*
|
|
220
|
+
* @default `0`
|
|
221
|
+
* @example
|
|
222
|
+
* ```js
|
|
223
|
+
* {
|
|
224
|
+
* replicas: 2
|
|
225
|
+
* }
|
|
226
|
+
* ```
|
|
227
|
+
*/
|
|
228
|
+
replicas?: Input<number>;
|
|
229
|
+
/**
|
|
230
|
+
* Enable [RDS Data API](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/data-api.html)
|
|
231
|
+
* for the database.
|
|
232
|
+
*
|
|
233
|
+
* The RDS Data API provides a secure HTTP endpoint and does not need a persistent connection.
|
|
234
|
+
* You also doesn't need the `sst tunnel` or a VPN to connect to it from your local machine.
|
|
235
|
+
*
|
|
236
|
+
* RDS Data API is [billed per request](#cost). Check out the [RDS Data API
|
|
237
|
+
* pricing](https://aws.amazon.com/rds/aurora/pricing/#Data_API_costs) for more details.
|
|
238
|
+
*
|
|
239
|
+
* @default `false`
|
|
240
|
+
* @example
|
|
241
|
+
* ```js
|
|
242
|
+
* {
|
|
243
|
+
* dataApi: true
|
|
244
|
+
* }
|
|
245
|
+
* ```
|
|
246
|
+
*/
|
|
247
|
+
dataApi?: Input<boolean>;
|
|
248
|
+
/**
|
|
249
|
+
* Enable [RDS Proxy](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-proxy.html)
|
|
250
|
+
* for the database.
|
|
251
|
+
*
|
|
252
|
+
* Amazon RDS Proxy sits between your application and the database and manages connections to
|
|
253
|
+
* it. It's useful for serverless applications, or Lambda functions where each invocation
|
|
254
|
+
* might create a new connection.
|
|
255
|
+
*
|
|
256
|
+
* There's an [extra cost](#cost) attached to enabling this. Check out the [RDS Proxy
|
|
257
|
+
* pricing](https://aws.amazon.com/rds/proxy/pricing/) for more details.
|
|
258
|
+
*
|
|
259
|
+
* @default `false`
|
|
260
|
+
* @example
|
|
261
|
+
* ```js
|
|
262
|
+
* {
|
|
263
|
+
* proxy: true
|
|
264
|
+
* }
|
|
265
|
+
* ```
|
|
266
|
+
*/
|
|
267
|
+
proxy?: Input<boolean | {
|
|
268
|
+
/**
|
|
269
|
+
* Add extra credentials the proxy can use to connect to the database.
|
|
270
|
+
*
|
|
271
|
+
* Your app will use the master `username` and `password`. So you don't need to specify
|
|
272
|
+
* them here.
|
|
273
|
+
*
|
|
274
|
+
* These credentials are for any other services that need to connect to your database
|
|
275
|
+
* directly.
|
|
276
|
+
*
|
|
277
|
+
* :::tip
|
|
278
|
+
* You need to create these credentials manually in the database.
|
|
279
|
+
* :::
|
|
280
|
+
*
|
|
281
|
+
* These credentials are not automatically created. You'll need to create these
|
|
282
|
+
* credentials manually in the database.
|
|
283
|
+
*
|
|
284
|
+
* @example
|
|
285
|
+
* ```js
|
|
286
|
+
* {
|
|
287
|
+
* credentials: [
|
|
288
|
+
* {
|
|
289
|
+
* username: "metabase",
|
|
290
|
+
* password: "Passw0rd!"
|
|
291
|
+
* }
|
|
292
|
+
* ]
|
|
293
|
+
* }
|
|
294
|
+
* ```
|
|
295
|
+
*
|
|
296
|
+
* You can use a [`Secret`](/docs/component/secret) to manage the password.
|
|
297
|
+
*
|
|
298
|
+
* ```js
|
|
299
|
+
* {
|
|
300
|
+
* credentials: [
|
|
301
|
+
* {
|
|
302
|
+
* username: "metabase",
|
|
303
|
+
* password: (new sst.Secret("MyDBPassword")).value
|
|
304
|
+
* }
|
|
305
|
+
* ]
|
|
306
|
+
* }
|
|
307
|
+
* ```
|
|
308
|
+
*/
|
|
309
|
+
credentials?: Input<Input<{
|
|
310
|
+
/**
|
|
311
|
+
* The username of the user.
|
|
312
|
+
*/
|
|
313
|
+
username: Input<string>;
|
|
314
|
+
/**
|
|
315
|
+
* The password of the user.
|
|
316
|
+
*/
|
|
317
|
+
password: Input<string>;
|
|
318
|
+
}>[]>;
|
|
319
|
+
}>;
|
|
320
|
+
/**
|
|
321
|
+
* The VPC to use for the database cluster.
|
|
322
|
+
*
|
|
323
|
+
* @example
|
|
324
|
+
* Create a VPC component.
|
|
325
|
+
*
|
|
326
|
+
* ```js
|
|
327
|
+
* const myVpc = new sst.aws.Vpc("MyVpc");
|
|
328
|
+
* ```
|
|
329
|
+
*
|
|
330
|
+
* And pass it in.
|
|
331
|
+
*
|
|
332
|
+
* ```js
|
|
333
|
+
* {
|
|
334
|
+
* vpc: myVpc
|
|
335
|
+
* }
|
|
336
|
+
* ```
|
|
337
|
+
*
|
|
338
|
+
* Or pass in a custom VPC configuration.
|
|
339
|
+
*
|
|
340
|
+
* ```js
|
|
341
|
+
* {
|
|
342
|
+
* vpc: {
|
|
343
|
+
* subnets: ["subnet-0db7376a7ad4db5fd ", "subnet-06fc7ee8319b2c0ce"],
|
|
344
|
+
* securityGroups: ["sg-0399348378a4c256c"]
|
|
345
|
+
* }
|
|
346
|
+
* }
|
|
347
|
+
* ```
|
|
348
|
+
*/
|
|
349
|
+
vpc: Vpc | Input<{
|
|
350
|
+
/**
|
|
351
|
+
* A list of subnet IDs in the VPC to deploy the Aurora cluster in.
|
|
352
|
+
*/
|
|
353
|
+
subnets: Input<Input<string>[]>;
|
|
354
|
+
/**
|
|
355
|
+
* A list of VPC security group IDs.
|
|
356
|
+
*/
|
|
357
|
+
securityGroups: Input<Input<string>[]>;
|
|
358
|
+
}>;
|
|
359
|
+
/**
|
|
360
|
+
* Configure how this component works in `sst dev`.
|
|
361
|
+
*
|
|
362
|
+
* By default, your Aurora database is deployed in `sst dev`. But if you want to instead
|
|
363
|
+
* connect to a locally running database, you can configure the `dev` prop.
|
|
364
|
+
*
|
|
365
|
+
* This will skip deploying an Aurora database and link to the locally running database
|
|
366
|
+
* instead.
|
|
367
|
+
*
|
|
368
|
+
* @example
|
|
369
|
+
*
|
|
370
|
+
* Setting the `dev` prop also means that any linked resources will connect to the right
|
|
371
|
+
* database both in `sst dev` and `sst deploy`.
|
|
372
|
+
*
|
|
373
|
+
* ```ts
|
|
374
|
+
* {
|
|
375
|
+
* dev: {
|
|
376
|
+
* username: "postgres",
|
|
377
|
+
* password: "password",
|
|
378
|
+
* database: "postgres",
|
|
379
|
+
* host: "localhost",
|
|
380
|
+
* port: 5432
|
|
381
|
+
* }
|
|
382
|
+
* }
|
|
383
|
+
* ```
|
|
384
|
+
*/
|
|
385
|
+
dev?: {
|
|
386
|
+
/**
|
|
387
|
+
* The host of the local database to connect to when running in dev.
|
|
388
|
+
* @default `"localhost"`
|
|
389
|
+
*/
|
|
390
|
+
host?: Input<string>;
|
|
391
|
+
/**
|
|
392
|
+
* The port of the local database to connect to when running in dev.
|
|
393
|
+
* @default `5432`
|
|
394
|
+
*/
|
|
395
|
+
port?: Input<number>;
|
|
396
|
+
/**
|
|
397
|
+
* The database of the local database to connect to when running in dev.
|
|
398
|
+
* @default Inherit from the top-level [`database`](#database).
|
|
399
|
+
*/
|
|
400
|
+
database?: Input<string>;
|
|
401
|
+
/**
|
|
402
|
+
* The username of the local database to connect to when running in dev.
|
|
403
|
+
* @default Inherit from the top-level [`username`](#username).
|
|
404
|
+
*/
|
|
405
|
+
username?: Input<string>;
|
|
406
|
+
/**
|
|
407
|
+
* The password of the local database to connect to when running in dev.
|
|
408
|
+
* @default Inherit from the top-level [`password`](#password).
|
|
409
|
+
*/
|
|
410
|
+
password?: Input<string>;
|
|
411
|
+
};
|
|
412
|
+
/**
|
|
413
|
+
* [Transform](/docs/components#transform) how this component creates its underlying
|
|
414
|
+
* resources.
|
|
415
|
+
*/
|
|
416
|
+
transform?: {
|
|
417
|
+
/**
|
|
418
|
+
* Transform the RDS subnet group.
|
|
419
|
+
*/
|
|
420
|
+
subnetGroup?: Transform<rds.SubnetGroupArgs>;
|
|
421
|
+
/**
|
|
422
|
+
* Transform the RDS cluster parameter group.
|
|
423
|
+
*/
|
|
424
|
+
clusterParameterGroup?: Transform<rds.ClusterParameterGroupArgs>;
|
|
425
|
+
/**
|
|
426
|
+
* Transform the RDS instance parameter group.
|
|
427
|
+
*/
|
|
428
|
+
instanceParameterGroup?: Transform<rds.ParameterGroupArgs>;
|
|
429
|
+
/**
|
|
430
|
+
* Transform the RDS Cluster.
|
|
431
|
+
*/
|
|
432
|
+
cluster?: Transform<rds.ClusterArgs>;
|
|
433
|
+
/**
|
|
434
|
+
* Transform the database instance in the RDS Cluster.
|
|
435
|
+
*/
|
|
436
|
+
instance?: Transform<rds.ClusterInstanceArgs>;
|
|
437
|
+
/**
|
|
438
|
+
* Transform the RDS Proxy.
|
|
439
|
+
*/
|
|
440
|
+
proxy?: Transform<rds.ProxyArgs>;
|
|
441
|
+
};
|
|
442
|
+
}
|
|
443
|
+
/**
|
|
444
|
+
* The `Aurora` component lets you add a Aurora Postgres or MySQL cluster to your app
|
|
445
|
+
* using [Amazon Aurora Serverless v2](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html).
|
|
446
|
+
*
|
|
447
|
+
* @example
|
|
448
|
+
*
|
|
449
|
+
* #### Create an Aurora Postgres cluster
|
|
450
|
+
*
|
|
451
|
+
* ```js title="sst.config.ts"
|
|
452
|
+
* const vpc = new sst.aws.Vpc("MyVpc");
|
|
453
|
+
* const database = new sst.aws.Aurora("MyDatabase", {
|
|
454
|
+
* engine: "postgres",
|
|
455
|
+
* vpc
|
|
456
|
+
* });
|
|
457
|
+
* ```
|
|
458
|
+
*
|
|
459
|
+
* #### Create an Aurora MySQL cluster
|
|
460
|
+
*
|
|
461
|
+
* ```js title="sst.config.ts"
|
|
462
|
+
* const vpc = new sst.aws.Vpc("MyVpc");
|
|
463
|
+
* const database = new sst.aws.Aurora("MyDatabase", {
|
|
464
|
+
* engine: "mysql",
|
|
465
|
+
* vpc
|
|
466
|
+
* });
|
|
467
|
+
* ```
|
|
468
|
+
*
|
|
469
|
+
* #### Change the scaling config
|
|
470
|
+
*
|
|
471
|
+
* ```js title="sst.config.ts"
|
|
472
|
+
* new sst.aws.Aurora("MyDatabase", {
|
|
473
|
+
* engine: "postgres",
|
|
474
|
+
* scaling: {
|
|
475
|
+
* min: "2 ACU",
|
|
476
|
+
* max: "128 ACU"
|
|
477
|
+
* },
|
|
478
|
+
* vpc
|
|
479
|
+
* });
|
|
480
|
+
* ```
|
|
481
|
+
*
|
|
482
|
+
* #### Link to a resource
|
|
483
|
+
*
|
|
484
|
+
* You can link your database to other resources, like a function or your Next.js app.
|
|
485
|
+
*
|
|
486
|
+
* ```ts title="sst.config.ts"
|
|
487
|
+
* new sst.aws.Nextjs("MyWeb", {
|
|
488
|
+
* link: [database],
|
|
489
|
+
* vpc
|
|
490
|
+
* });
|
|
491
|
+
* ```
|
|
492
|
+
*
|
|
493
|
+
* Once linked, you can connect to it from your function code.
|
|
494
|
+
*
|
|
495
|
+
* ```ts title="app/page.tsx" {1,5-9}
|
|
496
|
+
* import { Resource } from "sst";
|
|
497
|
+
* import postgres from "postgres";
|
|
498
|
+
*
|
|
499
|
+
* const sql = postgres({
|
|
500
|
+
* username: Resource.MyDatabase.username,
|
|
501
|
+
* password: Resource.MyDatabase.password,
|
|
502
|
+
* database: Resource.MyDatabase.database,
|
|
503
|
+
* host: Resource.MyDatabase.host,
|
|
504
|
+
* port: Resource.MyDatabase.port
|
|
505
|
+
* });
|
|
506
|
+
* ```
|
|
507
|
+
*
|
|
508
|
+
* #### Enable the RDS Data API
|
|
509
|
+
*
|
|
510
|
+
* ```ts title="sst.config.ts"
|
|
511
|
+
* new sst.aws.Aurora("MyDatabase", {
|
|
512
|
+
* engine: "postgres",
|
|
513
|
+
* dataApi: true,
|
|
514
|
+
* vpc
|
|
515
|
+
* });
|
|
516
|
+
* ```
|
|
517
|
+
*
|
|
518
|
+
* When using the Data API, connecting to the database does not require a persistent
|
|
519
|
+
* connection, and works over HTTP. You also don't need the `sst tunnel` or a VPN to connect
|
|
520
|
+
* to it from your local machine.
|
|
521
|
+
*
|
|
522
|
+
* ```ts title="app/page.tsx" {1,6,7,8}
|
|
523
|
+
* import { Resource } from "sst";
|
|
524
|
+
* import { drizzle } from "drizzle-orm/aws-data-api/pg";
|
|
525
|
+
* import { RDSDataClient } from "@aws-sdk/client-rds-data";
|
|
526
|
+
*
|
|
527
|
+
* drizzle(new RDSDataClient({}), {
|
|
528
|
+
* database: Resource.MyDatabase.database,
|
|
529
|
+
* secretArn: Resource.MyDatabase.secretArn,
|
|
530
|
+
* resourceArn: Resource.MyDatabase.clusterArn
|
|
531
|
+
* });
|
|
532
|
+
* ```
|
|
533
|
+
*
|
|
534
|
+
* #### Running locally
|
|
535
|
+
*
|
|
536
|
+
* By default, your Aurora database is deployed in `sst dev`. But let's say you are running
|
|
537
|
+
* Postgres locally.
|
|
538
|
+
*
|
|
539
|
+
* ```bash
|
|
540
|
+
* docker run \
|
|
541
|
+
* --rm \
|
|
542
|
+
* -p 5432:5432 \
|
|
543
|
+
* -v $(pwd)/.sst/storage/postgres:/var/lib/postgresql/data \
|
|
544
|
+
* -e POSTGRES_USER=postgres \
|
|
545
|
+
* -e POSTGRES_PASSWORD=password \
|
|
546
|
+
* -e POSTGRES_DB=local \
|
|
547
|
+
* postgres:17
|
|
548
|
+
* ```
|
|
549
|
+
*
|
|
550
|
+
* You can connect to it in `sst dev` by configuring the `dev` prop.
|
|
551
|
+
*
|
|
552
|
+
* ```ts title="sst.config.ts" {4-9}
|
|
553
|
+
* new sst.aws.Aurora("MyDatabase", {
|
|
554
|
+
* engine: "postgres",
|
|
555
|
+
* vpc,
|
|
556
|
+
* dev: {
|
|
557
|
+
* username: "postgres",
|
|
558
|
+
* password: "password",
|
|
559
|
+
* database: "local",
|
|
560
|
+
* port: 5432
|
|
561
|
+
* }
|
|
562
|
+
* });
|
|
563
|
+
* ```
|
|
564
|
+
*
|
|
565
|
+
* This will skip deploying the database and link to the locally running Postgres database
|
|
566
|
+
* instead. [Check out the full example](/docs/examples/#aws-aurora-local).
|
|
567
|
+
*
|
|
568
|
+
* ---
|
|
569
|
+
*
|
|
570
|
+
* ### Cost
|
|
571
|
+
*
|
|
572
|
+
* This component has one DB instance that is used for both writes and reads. The
|
|
573
|
+
* instance can scale from the minimum number of ACUs to the maximum number of ACUs. By default,
|
|
574
|
+
* this uses a `min` of 0 ACUs and a `max` of 4 ACUs.
|
|
575
|
+
*
|
|
576
|
+
* When the database is paused, you are not charged for the ACUs.
|
|
577
|
+
*
|
|
578
|
+
* Each ACU costs $0.12 per hour for both `postgres` and `mysql` engine. The storage costs
|
|
579
|
+
* $0.01 per GB per month for standard storage.
|
|
580
|
+
*
|
|
581
|
+
* So if your database is constantly using 1GB of memory or 0.5 ACUs, then you are charged
|
|
582
|
+
* $0.12 x 0.5 x 24 x 30 or **$43 per month**. And add the storage costs to this as well.
|
|
583
|
+
*
|
|
584
|
+
* The above are rough estimates for _us-east-1_, check out the
|
|
585
|
+
* [Amazon Aurora pricing](https://aws.amazon.com/rds/aurora/pricing) for more details.
|
|
586
|
+
*
|
|
587
|
+
* #### RDS Proxy
|
|
588
|
+
*
|
|
589
|
+
* If you enable the `proxy`, it uses _Aurora Capacity Units_ with a minumum of 8 ACUs at
|
|
590
|
+
* $0.015 per ACU hour.
|
|
591
|
+
*
|
|
592
|
+
* That works out to an **additional** $0.015 x 8 x 24 x 30 or **$86 per month**. Adjust
|
|
593
|
+
* this if you end up using more than 8 ACUs.
|
|
594
|
+
*
|
|
595
|
+
* The above are rough estimates for _us-east-1_, check out the
|
|
596
|
+
* [RDS Proxy pricing](https://aws.amazon.com/rds/proxy/pricing/) for more details.
|
|
597
|
+
*
|
|
598
|
+
* #### RDS Data API
|
|
599
|
+
*
|
|
600
|
+
* If you enable `dataApi`, you get charged an **additional** $0.35 per million requests for
|
|
601
|
+
* the first billion requests. After that, it's $0.20 per million requests.
|
|
602
|
+
*
|
|
603
|
+
* Check out the [RDS Data API pricing](https://aws.amazon.com/rds/aurora/pricing/#Data_API_costs)
|
|
604
|
+
* for more details.
|
|
605
|
+
*/
|
|
606
|
+
export declare class Aurora extends Component implements Link.Linkable {
|
|
607
|
+
private cluster?;
|
|
608
|
+
private instance?;
|
|
609
|
+
private secret?;
|
|
610
|
+
private _password?;
|
|
611
|
+
private proxy?;
|
|
612
|
+
private dev?;
|
|
613
|
+
constructor(name: string, args: AuroraArgs, opts?: ComponentResourceOptions);
|
|
614
|
+
/**
|
|
615
|
+
* The ID of the RDS Cluster.
|
|
616
|
+
*/
|
|
617
|
+
get id(): Output<string>;
|
|
618
|
+
/**
|
|
619
|
+
* The ARN of the RDS Cluster.
|
|
620
|
+
*/
|
|
621
|
+
get clusterArn(): Output<string>;
|
|
622
|
+
/**
|
|
623
|
+
* The ARN of the master user secret.
|
|
624
|
+
*/
|
|
625
|
+
get secretArn(): Output<string>;
|
|
626
|
+
/** The username of the master user. */
|
|
627
|
+
get username(): Output<string>;
|
|
628
|
+
/** The password of the master user. */
|
|
629
|
+
get password(): Output<string>;
|
|
630
|
+
/**
|
|
631
|
+
* The name of the database.
|
|
632
|
+
*/
|
|
633
|
+
get database(): Output<string>;
|
|
634
|
+
/**
|
|
635
|
+
* The port of the database.
|
|
636
|
+
*/
|
|
637
|
+
get port(): $util.OutputInstance<number>;
|
|
638
|
+
/**
|
|
639
|
+
* The host of the database.
|
|
640
|
+
*/
|
|
641
|
+
get host(): Output<string>;
|
|
642
|
+
/**
|
|
643
|
+
* The reader endpoint of the database.
|
|
644
|
+
*/
|
|
645
|
+
get reader(): Output<string>;
|
|
646
|
+
get nodes(): {
|
|
647
|
+
cluster: import("@pulumi/aws/rds/cluster.js").Cluster | undefined;
|
|
648
|
+
instance: import("@pulumi/aws/rds/clusterInstance.js").ClusterInstance | undefined;
|
|
649
|
+
};
|
|
650
|
+
/** @internal */
|
|
651
|
+
getSSTLink(): {
|
|
652
|
+
properties: {
|
|
653
|
+
clusterArn: Output<string>;
|
|
654
|
+
secretArn: Output<string>;
|
|
655
|
+
database: Output<string>;
|
|
656
|
+
username: Output<string>;
|
|
657
|
+
password: Output<string>;
|
|
658
|
+
port: $util.OutputInstance<number>;
|
|
659
|
+
host: Output<string>;
|
|
660
|
+
reader: Output<string | undefined>;
|
|
661
|
+
};
|
|
662
|
+
include: {
|
|
663
|
+
effect?: "allow" | "deny" | undefined;
|
|
664
|
+
actions: string[];
|
|
665
|
+
resources: Input<Input<string>[]>;
|
|
666
|
+
type: "aws.permission";
|
|
667
|
+
}[];
|
|
668
|
+
};
|
|
669
|
+
/**
|
|
670
|
+
* Reference an existing Aurora cluster with its RDS cluster ID. This is useful when you
|
|
671
|
+
* create a Aurora cluster in one stage and want to share it in another. It avoids having to
|
|
672
|
+
* create a new Aurora cluster in the other stage.
|
|
673
|
+
*
|
|
674
|
+
* :::tip
|
|
675
|
+
* You can use the `static get` method to share Aurora clusters across stages.
|
|
676
|
+
* :::
|
|
677
|
+
*
|
|
678
|
+
* @param name The name of the component.
|
|
679
|
+
* @param id The ID of the existing Aurora cluster.
|
|
680
|
+
* @param opts? Resource options.
|
|
681
|
+
*
|
|
682
|
+
* @example
|
|
683
|
+
* Imagine you create a cluster in the `dev` stage. And in your personal stage `frank`,
|
|
684
|
+
* instead of creating a new cluster, you want to share the same cluster from `dev`.
|
|
685
|
+
*
|
|
686
|
+
* ```ts title="sst.config.ts"
|
|
687
|
+
* const database = $app.stage === "frank"
|
|
688
|
+
* ? sst.aws.Aurora.get("MyDatabase", "app-dev-mydatabase")
|
|
689
|
+
* : new sst.aws.Aurora("MyDatabase");
|
|
690
|
+
* ```
|
|
691
|
+
*
|
|
692
|
+
* Here `app-dev-mydatabase` is the ID of the cluster created in the `dev` stage.
|
|
693
|
+
* You can find this by outputting the cluster ID in the `dev` stage.
|
|
694
|
+
*
|
|
695
|
+
* ```ts title="sst.config.ts"
|
|
696
|
+
* return database.id;
|
|
697
|
+
* ```
|
|
698
|
+
*/
|
|
699
|
+
static get(name: string, id: Input<string>, opts?: ComponentResourceOptions): Aurora;
|
|
700
|
+
}
|
|
701
|
+
export {};
|
|
702
|
+
//# sourceMappingURL=aurora.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aurora.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/aurora.ts"],"names":[],"mappings":"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"}
|