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,354 @@
|
|
|
1
|
+
import { ComponentResourceOptions, Output } from "@pulumi/pulumi";
|
|
2
|
+
import { Plan, SsrSite, SsrSiteArgs } from "./ssr-site.js";
|
|
3
|
+
import { RouterRouteArgs } from "./router.js";
|
|
4
|
+
import { Prettify } from "../component.js";
|
|
5
|
+
export interface TanStackStartArgs extends SsrSiteArgs {
|
|
6
|
+
/**
|
|
7
|
+
* Configure how this component works in `sst dev`.
|
|
8
|
+
*
|
|
9
|
+
* Instead of deploying your TanStack Start app, this starts it in dev mode. It's run
|
|
10
|
+
* as a separate process in the `sst dev` multiplexer. Read more about
|
|
11
|
+
* [`sst dev`](/docs/reference/cli/#dev).
|
|
12
|
+
*
|
|
13
|
+
* To disable dev mode, pass in `false`.
|
|
14
|
+
*/
|
|
15
|
+
dev?: SsrSiteArgs["dev"];
|
|
16
|
+
/**
|
|
17
|
+
* Permissions and the resources that the [server function](#nodes-server) in your TanStack Start app needs to access. These permissions are used to create the function's IAM role.
|
|
18
|
+
*
|
|
19
|
+
* :::tip
|
|
20
|
+
* If you `link` the function to a resource, the permissions to access it are
|
|
21
|
+
* automatically added.
|
|
22
|
+
* :::
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* Allow reading and writing to an S3 bucket called `my-bucket`.
|
|
26
|
+
* ```js
|
|
27
|
+
* {
|
|
28
|
+
* permissions: [
|
|
29
|
+
* {
|
|
30
|
+
* actions: ["s3:GetObject", "s3:PutObject"],
|
|
31
|
+
* resources: ["arn:aws:s3:::my-bucket/*"]
|
|
32
|
+
* },
|
|
33
|
+
* ]
|
|
34
|
+
* }
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
37
|
+
* Perform all actions on an S3 bucket called `my-bucket`.
|
|
38
|
+
*
|
|
39
|
+
* ```js
|
|
40
|
+
* {
|
|
41
|
+
* permissions: [
|
|
42
|
+
* {
|
|
43
|
+
* actions: ["s3:*"],
|
|
44
|
+
* resources: ["arn:aws:s3:::my-bucket/*"]
|
|
45
|
+
* },
|
|
46
|
+
* ]
|
|
47
|
+
* }
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* Grant permissions to access all resources.
|
|
51
|
+
*
|
|
52
|
+
* ```js
|
|
53
|
+
* {
|
|
54
|
+
* permissions: [
|
|
55
|
+
* {
|
|
56
|
+
* actions: ["*"],
|
|
57
|
+
* resources: ["*"]
|
|
58
|
+
* },
|
|
59
|
+
* ]
|
|
60
|
+
* }
|
|
61
|
+
* ```
|
|
62
|
+
*/
|
|
63
|
+
permissions?: SsrSiteArgs["permissions"];
|
|
64
|
+
/**
|
|
65
|
+
* Path to the directory where your TanStack Start app is located. This path is relative to your `sst.config.ts`.
|
|
66
|
+
*
|
|
67
|
+
* By default it assumes your TanStack Start app is in the root of your SST app.
|
|
68
|
+
* @default `"."`
|
|
69
|
+
*
|
|
70
|
+
* @example
|
|
71
|
+
*
|
|
72
|
+
* If your TanStack Start app is in a package in your monorepo.
|
|
73
|
+
*
|
|
74
|
+
* ```js
|
|
75
|
+
* {
|
|
76
|
+
* path: "packages/web"
|
|
77
|
+
* }
|
|
78
|
+
* ```
|
|
79
|
+
*/
|
|
80
|
+
path?: SsrSiteArgs["path"];
|
|
81
|
+
/**
|
|
82
|
+
* [Link resources](/docs/linking/) to your TanStack Start app. This will:
|
|
83
|
+
*
|
|
84
|
+
* 1. Grant the permissions needed to access the resources.
|
|
85
|
+
* 2. Allow you to access it in your site using the [SDK](/docs/reference/sdk/).
|
|
86
|
+
*
|
|
87
|
+
* @example
|
|
88
|
+
*
|
|
89
|
+
* Takes a list of resources to link to the function.
|
|
90
|
+
*
|
|
91
|
+
* ```js
|
|
92
|
+
* {
|
|
93
|
+
* link: [bucket, stripeKey]
|
|
94
|
+
* }
|
|
95
|
+
* ```
|
|
96
|
+
*/
|
|
97
|
+
link?: SsrSiteArgs["link"];
|
|
98
|
+
/**
|
|
99
|
+
* Configure how the CloudFront cache invalidations are handled. This is run after your TanStack Start app has been deployed.
|
|
100
|
+
* :::tip
|
|
101
|
+
* You get 1000 free invalidations per month. After that you pay $0.005 per invalidation path. [Read more here](https://aws.amazon.com/cloudfront/pricing/).
|
|
102
|
+
* :::
|
|
103
|
+
* @default `{paths: "all", wait: false}`
|
|
104
|
+
* @example
|
|
105
|
+
* Wait for all paths to be invalidated.
|
|
106
|
+
* ```js
|
|
107
|
+
* {
|
|
108
|
+
* invalidation: {
|
|
109
|
+
* paths: "all",
|
|
110
|
+
* wait: true
|
|
111
|
+
* }
|
|
112
|
+
* }
|
|
113
|
+
* ```
|
|
114
|
+
*/
|
|
115
|
+
invalidation?: SsrSiteArgs["invalidation"];
|
|
116
|
+
/**
|
|
117
|
+
* Set in your TanStack Start app. These are made available:
|
|
118
|
+
*
|
|
119
|
+
* 1. In `vinxi build`, they are loaded into `process.env`.
|
|
120
|
+
* 2. Locally while running `sst dev vinxi dev`.
|
|
121
|
+
*
|
|
122
|
+
* :::tip
|
|
123
|
+
* You can also `link` resources to your TanStack Start app and access them in a type-safe way with the [SDK](/docs/reference/sdk/). We recommend linking since it's more secure.
|
|
124
|
+
* :::
|
|
125
|
+
*
|
|
126
|
+
* @example
|
|
127
|
+
* ```js
|
|
128
|
+
* {
|
|
129
|
+
* environment: {
|
|
130
|
+
* API_URL: api.url,
|
|
131
|
+
* STRIPE_PUBLISHABLE_KEY: "pk_test_123"
|
|
132
|
+
* }
|
|
133
|
+
* }
|
|
134
|
+
* ```
|
|
135
|
+
*/
|
|
136
|
+
environment?: SsrSiteArgs["environment"];
|
|
137
|
+
/**
|
|
138
|
+
* Set a custom domain for your TanStack Start app.
|
|
139
|
+
*
|
|
140
|
+
* Automatically manages domains hosted on AWS Route 53, Cloudflare, and Vercel. For other
|
|
141
|
+
* providers, you'll need to pass in a `cert` that validates domain ownership and add the
|
|
142
|
+
* DNS records.
|
|
143
|
+
*
|
|
144
|
+
* :::tip
|
|
145
|
+
* Built-in support for AWS Route 53, Cloudflare, and Vercel. And manual setup for other
|
|
146
|
+
* providers.
|
|
147
|
+
* :::
|
|
148
|
+
*
|
|
149
|
+
* @example
|
|
150
|
+
*
|
|
151
|
+
* By default this assumes the domain is hosted on Route 53.
|
|
152
|
+
*
|
|
153
|
+
* ```js
|
|
154
|
+
* {
|
|
155
|
+
* domain: "example.com"
|
|
156
|
+
* }
|
|
157
|
+
* ```
|
|
158
|
+
*
|
|
159
|
+
* For domains hosted on Cloudflare.
|
|
160
|
+
*
|
|
161
|
+
* ```js
|
|
162
|
+
* {
|
|
163
|
+
* domain: {
|
|
164
|
+
* name: "example.com",
|
|
165
|
+
* dns: sst.cloudflare.dns()
|
|
166
|
+
* }
|
|
167
|
+
* }
|
|
168
|
+
* ```
|
|
169
|
+
*
|
|
170
|
+
* Specify a `www.` version of the custom domain.
|
|
171
|
+
*
|
|
172
|
+
* ```js
|
|
173
|
+
* {
|
|
174
|
+
* domain: {
|
|
175
|
+
* name: "domain.com",
|
|
176
|
+
* redirects: ["www.domain.com"]
|
|
177
|
+
* }
|
|
178
|
+
* }
|
|
179
|
+
* ```
|
|
180
|
+
*/
|
|
181
|
+
domain?: SsrSiteArgs["domain"];
|
|
182
|
+
/**
|
|
183
|
+
* Serve your TanStack Start app through a `Router` instead of a standalone CloudFront
|
|
184
|
+
* distribution.
|
|
185
|
+
*
|
|
186
|
+
* By default, this component creates a new CloudFront distribution. But you might
|
|
187
|
+
* want to serve it through the distribution of your `Router`.
|
|
188
|
+
*
|
|
189
|
+
* :::note
|
|
190
|
+
* TanStack Start does not currently support base paths and can only be routed
|
|
191
|
+
* from the root `/` path.
|
|
192
|
+
* :::
|
|
193
|
+
*
|
|
194
|
+
* To serve your TanStack Start app **from a subdomain**, you'll need to
|
|
195
|
+
* configure the domain in your `Router` component to match both the root and the
|
|
196
|
+
* subdomain.
|
|
197
|
+
*
|
|
198
|
+
* ```ts title="sst.config.ts" {3,4}
|
|
199
|
+
* const router = new sst.aws.Router("Router", {
|
|
200
|
+
* domain: {
|
|
201
|
+
* name: "example.com",
|
|
202
|
+
* aliases: ["*.example.com"]
|
|
203
|
+
* }
|
|
204
|
+
* });
|
|
205
|
+
* ```
|
|
206
|
+
*
|
|
207
|
+
* Now set the `domain` in the `router` prop.
|
|
208
|
+
*
|
|
209
|
+
* ```ts {4}
|
|
210
|
+
* {
|
|
211
|
+
* router: {
|
|
212
|
+
* instance: router,
|
|
213
|
+
* domain: "docs.example.com"
|
|
214
|
+
* }
|
|
215
|
+
* }
|
|
216
|
+
* ```
|
|
217
|
+
*/
|
|
218
|
+
router?: Prettify<Omit<RouterRouteArgs, "path">>;
|
|
219
|
+
/**
|
|
220
|
+
* The command used internally to build your TanStack Start app.
|
|
221
|
+
*
|
|
222
|
+
* @default `"npm run build"`
|
|
223
|
+
*
|
|
224
|
+
* @example
|
|
225
|
+
*
|
|
226
|
+
* If you want to use a different build command.
|
|
227
|
+
* ```js
|
|
228
|
+
* {
|
|
229
|
+
* buildCommand: "yarn build"
|
|
230
|
+
* }
|
|
231
|
+
* ```
|
|
232
|
+
*/
|
|
233
|
+
buildCommand?: SsrSiteArgs["buildCommand"];
|
|
234
|
+
/**
|
|
235
|
+
* Configure how the TanStack Start app assets are uploaded to S3.
|
|
236
|
+
*
|
|
237
|
+
* By default, this is set to the following. Read more about these options below.
|
|
238
|
+
* ```js
|
|
239
|
+
* {
|
|
240
|
+
* assets: {
|
|
241
|
+
* textEncoding: "utf-8",
|
|
242
|
+
* versionedFilesCacheHeader: "public,max-age=31536000,immutable",
|
|
243
|
+
* nonVersionedFilesCacheHeader: "public,max-age=0,s-maxage=86400,stale-while-revalidate=8640"
|
|
244
|
+
* }
|
|
245
|
+
* }
|
|
246
|
+
* ```
|
|
247
|
+
*/
|
|
248
|
+
assets?: SsrSiteArgs["assets"];
|
|
249
|
+
/**
|
|
250
|
+
* Configure the TanStack Start app to use an existing CloudFront cache policy.
|
|
251
|
+
*
|
|
252
|
+
* :::note
|
|
253
|
+
* CloudFront has a limit of 20 cache policies per account, though you can request a limit
|
|
254
|
+
* increase.
|
|
255
|
+
* :::
|
|
256
|
+
*
|
|
257
|
+
* By default, a new cache policy is created for it. This allows you to reuse an existing
|
|
258
|
+
* policy instead of creating a new one.
|
|
259
|
+
*
|
|
260
|
+
* @default A new cache policy is created
|
|
261
|
+
* @example
|
|
262
|
+
* ```js
|
|
263
|
+
* {
|
|
264
|
+
* cachePolicy: "658327ea-f89d-4fab-a63d-7e88639e58f6"
|
|
265
|
+
* }
|
|
266
|
+
* ```
|
|
267
|
+
*/
|
|
268
|
+
cachePolicy?: SsrSiteArgs["cachePolicy"];
|
|
269
|
+
}
|
|
270
|
+
/**
|
|
271
|
+
* The `TanStackStart` component lets you deploy a [TanStack Start](https://tanstack.com/start/latest) app to AWS.
|
|
272
|
+
*
|
|
273
|
+
* :::note
|
|
274
|
+
* You need to make sure the `vite.config.ts` file is configured to use Nitro for deployments on aws-lambda by adding the `nitro` property and setting the `preset` to `aws-lambda`.
|
|
275
|
+
* :::
|
|
276
|
+
*
|
|
277
|
+
* @example
|
|
278
|
+
*
|
|
279
|
+
* #### Minimal example
|
|
280
|
+
*
|
|
281
|
+
* Deploy a TanStack Start app that's in the project root.
|
|
282
|
+
*
|
|
283
|
+
* ```js title="sst.config.ts"
|
|
284
|
+
* new sst.aws.TanStackStart("MyWeb");
|
|
285
|
+
* ```
|
|
286
|
+
*
|
|
287
|
+
* #### Change the path
|
|
288
|
+
*
|
|
289
|
+
* Deploys the TanStack Start app in the `my-app/` directory.
|
|
290
|
+
*
|
|
291
|
+
* ```js {2} title="sst.config.ts"
|
|
292
|
+
* new sst.aws.TanStackStart("MyWeb", {
|
|
293
|
+
* path: "my-app/"
|
|
294
|
+
* });
|
|
295
|
+
* ```
|
|
296
|
+
*
|
|
297
|
+
* #### Add a custom domain
|
|
298
|
+
*
|
|
299
|
+
* Set a custom domain for your TanStack Start app.
|
|
300
|
+
*
|
|
301
|
+
* ```js {2} title="sst.config.ts"
|
|
302
|
+
* new sst.aws.TanStackStart("MyWeb", {
|
|
303
|
+
* domain: "my-app.com"
|
|
304
|
+
* });
|
|
305
|
+
* ```
|
|
306
|
+
*
|
|
307
|
+
* #### Redirect www to apex domain
|
|
308
|
+
*
|
|
309
|
+
* Redirect `www.my-app.com` to `my-app.com`.
|
|
310
|
+
*
|
|
311
|
+
* ```js {4} title="sst.config.ts"
|
|
312
|
+
* new sst.aws.TanStackStart("MyWeb", {
|
|
313
|
+
* domain: {
|
|
314
|
+
* name: "my-app.com",
|
|
315
|
+
* redirects: ["www.my-app.com"]
|
|
316
|
+
* }
|
|
317
|
+
* });
|
|
318
|
+
* ```
|
|
319
|
+
*
|
|
320
|
+
* #### Link resources
|
|
321
|
+
*
|
|
322
|
+
* [Link resources](/docs/linking/) to your TanStack Start app. This will grant permissions
|
|
323
|
+
* to the resources and allow you to access it in your app.
|
|
324
|
+
*
|
|
325
|
+
* ```ts {4} title="sst.config.ts"
|
|
326
|
+
* const bucket = new sst.aws.Bucket("MyBucket");
|
|
327
|
+
*
|
|
328
|
+
* new sst.aws.TanStackStart("MyWeb", {
|
|
329
|
+
* link: [bucket]
|
|
330
|
+
* });
|
|
331
|
+
* ```
|
|
332
|
+
*
|
|
333
|
+
* You can use the [SDK](/docs/reference/sdk/) to access the linked resources
|
|
334
|
+
* in your TanStack Start app.
|
|
335
|
+
*
|
|
336
|
+
* ```ts title="src/app.tsx"
|
|
337
|
+
* import { Resource } from "sst";
|
|
338
|
+
*
|
|
339
|
+
* console.log(Resource.MyBucket.name);
|
|
340
|
+
* ```
|
|
341
|
+
*/
|
|
342
|
+
export declare class TanStackStart extends SsrSite {
|
|
343
|
+
constructor(name: string, args?: TanStackStartArgs, opts?: ComponentResourceOptions);
|
|
344
|
+
protected normalizeBuildCommand(): void;
|
|
345
|
+
protected buildPlan(outputPath: Output<string>): Output<Plan>;
|
|
346
|
+
/**
|
|
347
|
+
* The URL of the TanStack Start app.
|
|
348
|
+
*
|
|
349
|
+
* If the `domain` is set, this is the URL with the custom domain.
|
|
350
|
+
* Otherwise, it's the auto-generated CloudFront URL.
|
|
351
|
+
*/
|
|
352
|
+
get url(): Output<string>;
|
|
353
|
+
}
|
|
354
|
+
//# sourceMappingURL=tan-stack-start.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tan-stack-start.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/tan-stack-start.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAElE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,MAAM,WAAW,iBAAkB,SAAQ,WAAW;IACpD;;;;;;;;OAQG;IACH,GAAG,CAAC,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;IACzB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8CG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC,aAAa,CAAC,CAAC;IACzC;;;;;;;;;;;;;;;OAeG;IACH,IAAI,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC3B;;;;;;;;;;;;;;;OAeG;IACH,IAAI,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC3B;;;;;;;;;;;;;;;;OAgBG;IACH,YAAY,CAAC,EAAE,WAAW,CAAC,cAAc,CAAC,CAAC;IAC3C;;;;;;;;;;;;;;;;;;;OAmBG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC,aAAa,CAAC,CAAC;IACzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2CG;IACH,MAAM,CAAC,EAAE,WAAW,CAAC,QAAQ,CAAC,CAAC;IAC/B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAmCG;IACH,MAAM,CAAC,EAAE,QAAQ,CAAC,IAAI,CAAC,eAAe,EAAE,MAAM,CAAC,CAAC,CAAC;IACjD;;;;;;;;;;;;;OAaG;IACH,YAAY,CAAC,EAAE,WAAW,CAAC,cAAc,CAAC,CAAC;IAC3C;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,EAAE,WAAW,CAAC,QAAQ,CAAC,CAAC;IAC/B;;;;;;;;;;;;;;;;;;OAkBG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC,aAAa,CAAC,CAAC;CAC1C;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuEG;AACH,qBAAa,aAAc,SAAQ,OAAO;gBAEtC,IAAI,EAAE,MAAM,EACZ,IAAI,GAAE,iBAAsB,EAC5B,IAAI,GAAE,wBAA6B;IAKrC,SAAS,CAAC,qBAAqB;IAE/B,SAAS,CAAC,SAAS,CAAC,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,IAAI,CAAC;IA4D7D;;;;;OAKG;IACH,IAAW,GAAG,mBAEb;CACF"}
|
|
@@ -0,0 +1,322 @@
|
|
|
1
|
+
import { ComponentResourceOptions, Output } from "@pulumi/pulumi";
|
|
2
|
+
import { Component, Prettify } from "../component.js";
|
|
3
|
+
import { Link } from "../link.js";
|
|
4
|
+
import { FargateBaseArgs, FargateContainerArgs } from "./fargate.js";
|
|
5
|
+
import { Input } from "../input.js";
|
|
6
|
+
export interface TaskArgs extends FargateBaseArgs {
|
|
7
|
+
/**
|
|
8
|
+
* The containers to run in the task.
|
|
9
|
+
*
|
|
10
|
+
* :::tip
|
|
11
|
+
* You can optionally run multiple containers in a task.
|
|
12
|
+
* :::
|
|
13
|
+
*
|
|
14
|
+
* By default this starts a single container. To add multiple containers in the task, pass
|
|
15
|
+
* in an array of containers args.
|
|
16
|
+
*
|
|
17
|
+
* ```ts
|
|
18
|
+
* {
|
|
19
|
+
* containers: [
|
|
20
|
+
* {
|
|
21
|
+
* name: "app",
|
|
22
|
+
* image: "nginxdemos/hello:plain-text"
|
|
23
|
+
* },
|
|
24
|
+
* {
|
|
25
|
+
* name: "admin",
|
|
26
|
+
* image: {
|
|
27
|
+
* context: "./admin",
|
|
28
|
+
* dockerfile: "Dockerfile"
|
|
29
|
+
* }
|
|
30
|
+
* }
|
|
31
|
+
* ]
|
|
32
|
+
* }
|
|
33
|
+
* ```
|
|
34
|
+
*
|
|
35
|
+
* If you specify `containers`, you cannot list the above args at the top-level. For example,
|
|
36
|
+
* you **cannot** pass in `image` at the top level.
|
|
37
|
+
*
|
|
38
|
+
* ```diff lang="ts"
|
|
39
|
+
* {
|
|
40
|
+
* - image: "nginxdemos/hello:plain-text",
|
|
41
|
+
* containers: [
|
|
42
|
+
* {
|
|
43
|
+
* name: "app",
|
|
44
|
+
* image: "nginxdemos/hello:plain-text"
|
|
45
|
+
* },
|
|
46
|
+
* {
|
|
47
|
+
* name: "admin",
|
|
48
|
+
* image: "nginxdemos/hello:plain-text"
|
|
49
|
+
* }
|
|
50
|
+
* ]
|
|
51
|
+
* }
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* You will need to pass in `image` as a part of the `containers`.
|
|
55
|
+
*/
|
|
56
|
+
containers?: Input<Prettify<FargateContainerArgs>>[];
|
|
57
|
+
/**
|
|
58
|
+
* Assign a public IP address to the task.
|
|
59
|
+
*
|
|
60
|
+
* Defaults:
|
|
61
|
+
* - If an SST VPC component is passed to the `vpc` property, tasks run in public subnets
|
|
62
|
+
* by default and `publicIp` defaults to `true`.
|
|
63
|
+
* - If a non-SST VPC is used, tasks run in the specified subnets and `publicIp` defaults
|
|
64
|
+
* to `false`.
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* ```ts
|
|
68
|
+
* {
|
|
69
|
+
* publicIp: true
|
|
70
|
+
* }
|
|
71
|
+
* ```
|
|
72
|
+
*/
|
|
73
|
+
publicIp?: Input<boolean>;
|
|
74
|
+
/**
|
|
75
|
+
* Configure how this component works in `sst dev`.
|
|
76
|
+
*
|
|
77
|
+
* :::note
|
|
78
|
+
* In `sst dev` a _stub_ version of your task is deployed.
|
|
79
|
+
* :::
|
|
80
|
+
*
|
|
81
|
+
* By default, your task in not deployed in `sst dev`. Instead, you can set the `dev.command`
|
|
82
|
+
* and it'll run locally in a **Tasks** tab in the `sst dev` multiplexer.
|
|
83
|
+
*
|
|
84
|
+
* Here's what happens when you run `sst dev`:
|
|
85
|
+
*
|
|
86
|
+
* 1. A _stub_ version of your task is deployed. This is a minimal image that starts up
|
|
87
|
+
* faster.
|
|
88
|
+
* 2. When your task is started through the SDK, the stub version is provisioned. This can
|
|
89
|
+
* take roughly **10 - 20 seconds**.
|
|
90
|
+
* 3. The stub version proxies the payload to your local machine using the same events
|
|
91
|
+
* system used by [Live](/docs/live/).
|
|
92
|
+
* 4. The `dev.command` is called to run your task locally. Once complete, the stub version
|
|
93
|
+
* of your task is stopped as well.
|
|
94
|
+
*
|
|
95
|
+
* The advantage with this approach is that you can test your task locally even it's invoked
|
|
96
|
+
* remotely, or through a cron job.
|
|
97
|
+
*
|
|
98
|
+
* :::note
|
|
99
|
+
* You are charged for the time it takes to run the stub version of your task.
|
|
100
|
+
* :::
|
|
101
|
+
*
|
|
102
|
+
* Since the stub version runs while your task is running, you are charged for the time it
|
|
103
|
+
* takes to run. This is roughly **$0.02 per hour**.
|
|
104
|
+
*
|
|
105
|
+
* To disable this and deploy your task in `sst dev`, pass in `false`. Read more about
|
|
106
|
+
* [Live](/docs/live/) and [`sst dev`](/docs/reference/cli/#dev).
|
|
107
|
+
*/
|
|
108
|
+
dev?: false | {
|
|
109
|
+
/**
|
|
110
|
+
* The command that `sst dev` runs in dev mode.
|
|
111
|
+
*/
|
|
112
|
+
command?: Input<string>;
|
|
113
|
+
/**
|
|
114
|
+
* Change the directory from where the `command` is run.
|
|
115
|
+
* @default Uses the `image.dockerfile` path
|
|
116
|
+
*/
|
|
117
|
+
directory?: Input<string>;
|
|
118
|
+
};
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* The `Task` component lets you create containers that are used for long running asynchronous
|
|
122
|
+
* work, like data processing. It uses [Amazon ECS](https://aws.amazon.com/ecs/) on
|
|
123
|
+
* [AWS Fargate](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/AWS_Fargate.html).
|
|
124
|
+
*
|
|
125
|
+
* @example
|
|
126
|
+
*
|
|
127
|
+
* #### Create a Task
|
|
128
|
+
*
|
|
129
|
+
* Tasks are run inside an ECS Cluster. If you haven't already, create one.
|
|
130
|
+
*
|
|
131
|
+
* ```ts title="sst.config.ts"
|
|
132
|
+
* const vpc = new sst.aws.Vpc("MyVpc");
|
|
133
|
+
* const cluster = new sst.aws.Cluster("MyCluster", { vpc });
|
|
134
|
+
* ```
|
|
135
|
+
*
|
|
136
|
+
* Add the task to it.
|
|
137
|
+
*
|
|
138
|
+
* ```ts title="sst.config.ts"
|
|
139
|
+
* const task = new sst.aws.Task("MyTask", { cluster });
|
|
140
|
+
* ```
|
|
141
|
+
*
|
|
142
|
+
* #### Configure the container image
|
|
143
|
+
*
|
|
144
|
+
* By default, the task will look for a Dockerfile in the root directory. Optionally,
|
|
145
|
+
* configure the image context and dockerfile.
|
|
146
|
+
*
|
|
147
|
+
* ```ts title="sst.config.ts"
|
|
148
|
+
* new sst.aws.Task("MyTask", {
|
|
149
|
+
* cluster,
|
|
150
|
+
* image: {
|
|
151
|
+
* context: "./app",
|
|
152
|
+
* dockerfile: "Dockerfile"
|
|
153
|
+
* }
|
|
154
|
+
* });
|
|
155
|
+
* ```
|
|
156
|
+
*
|
|
157
|
+
* To add multiple containers in the task, pass in an array of containers args.
|
|
158
|
+
*
|
|
159
|
+
* ```ts title="sst.config.ts"
|
|
160
|
+
* new sst.aws.Task("MyTask", {
|
|
161
|
+
* cluster,
|
|
162
|
+
* containers: [
|
|
163
|
+
* {
|
|
164
|
+
* name: "app",
|
|
165
|
+
* image: "nginxdemos/hello:plain-text"
|
|
166
|
+
* },
|
|
167
|
+
* {
|
|
168
|
+
* name: "admin",
|
|
169
|
+
* image: {
|
|
170
|
+
* context: "./admin",
|
|
171
|
+
* dockerfile: "Dockerfile"
|
|
172
|
+
* }
|
|
173
|
+
* }
|
|
174
|
+
* ]
|
|
175
|
+
* });
|
|
176
|
+
* ```
|
|
177
|
+
*
|
|
178
|
+
* This is useful for running sidecar containers.
|
|
179
|
+
*
|
|
180
|
+
* #### Link resources
|
|
181
|
+
*
|
|
182
|
+
* [Link resources](/docs/linking/) to your task. This will grant permissions
|
|
183
|
+
* to the resources and allow you to access it in your app.
|
|
184
|
+
*
|
|
185
|
+
* ```ts {5} title="sst.config.ts"
|
|
186
|
+
* const bucket = new sst.aws.Bucket("MyBucket");
|
|
187
|
+
*
|
|
188
|
+
* new sst.aws.Task("MyTask", {
|
|
189
|
+
* cluster,
|
|
190
|
+
* link: [bucket]
|
|
191
|
+
* });
|
|
192
|
+
* ```
|
|
193
|
+
*
|
|
194
|
+
* You can use the [SDK](/docs/reference/sdk/) to access the linked resources in your task.
|
|
195
|
+
*
|
|
196
|
+
* ```ts title="app.ts"
|
|
197
|
+
* import { Resource } from "sst";
|
|
198
|
+
*
|
|
199
|
+
* console.log(Resource.MyBucket.name);
|
|
200
|
+
* ```
|
|
201
|
+
*
|
|
202
|
+
* #### Task SDK
|
|
203
|
+
*
|
|
204
|
+
* With the [Task JS SDK](/docs/component/aws/task#sdk), you can run your tasks, stop your
|
|
205
|
+
* tasks, and get the status of your tasks.
|
|
206
|
+
*
|
|
207
|
+
* For example, you can link the task to a function in your app.
|
|
208
|
+
*
|
|
209
|
+
* ```ts title="sst.config.ts" {3}
|
|
210
|
+
* new sst.aws.Function("MyFunction", {
|
|
211
|
+
* handler: "src/lambda.handler",
|
|
212
|
+
* link: [task]
|
|
213
|
+
* });
|
|
214
|
+
* ```
|
|
215
|
+
*
|
|
216
|
+
* Then from your function run the task.
|
|
217
|
+
*
|
|
218
|
+
* ```ts title="src/lambda.ts"
|
|
219
|
+
* import { Resource } from "sst";
|
|
220
|
+
* import { task } from "sst/aws/task";
|
|
221
|
+
*
|
|
222
|
+
* const runRet = await task.run(Resource.MyTask);
|
|
223
|
+
* const taskArn = runRet.arn;
|
|
224
|
+
* ```
|
|
225
|
+
*
|
|
226
|
+
* If you are not using Node.js, you can use the AWS SDK instead. Here's
|
|
227
|
+
* [how to run a task](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_RunTask.html).
|
|
228
|
+
*
|
|
229
|
+
* ---
|
|
230
|
+
*
|
|
231
|
+
* ### Cost
|
|
232
|
+
*
|
|
233
|
+
* By default, this uses a _Linux/X86_ _Fargate_ container with 0.25 vCPUs at $0.04048 per
|
|
234
|
+
* vCPU per hour and 0.5 GB of memory at $0.004445 per GB per hour. It includes 20GB of
|
|
235
|
+
* _Ephemeral Storage_ for free with additional storage at $0.000111 per GB per hour. Each
|
|
236
|
+
* container also gets a public IPv4 address at $0.005 per hour.
|
|
237
|
+
*
|
|
238
|
+
* It works out to $0.04048 x 0.25 + $0.004445 x 0.5 + $0.005. Or **$0.02 per hour**
|
|
239
|
+
* your task runs for.
|
|
240
|
+
*
|
|
241
|
+
* Adjust this for the `cpu`, `memory` and `storage` you are using. And
|
|
242
|
+
* check the prices for _Linux/ARM_ if you are using `arm64` as your `architecture`.
|
|
243
|
+
*
|
|
244
|
+
* The above are rough estimates for _us-east-1_, check out the
|
|
245
|
+
* [Fargate pricing](https://aws.amazon.com/fargate/pricing/) and the
|
|
246
|
+
* [Public IPv4 Address pricing](https://aws.amazon.com/vpc/pricing/) for more details.
|
|
247
|
+
*/
|
|
248
|
+
export declare class Task extends Component implements Link.Linkable {
|
|
249
|
+
private readonly _cluster;
|
|
250
|
+
private readonly vpc;
|
|
251
|
+
private readonly executionRole;
|
|
252
|
+
private readonly taskRole;
|
|
253
|
+
private readonly _taskDefinition;
|
|
254
|
+
private readonly _publicIp;
|
|
255
|
+
private readonly containerNames;
|
|
256
|
+
private readonly dev;
|
|
257
|
+
constructor(name: string, args: TaskArgs, opts?: ComponentResourceOptions);
|
|
258
|
+
/**
|
|
259
|
+
* The ARN of the ECS Task Definition.
|
|
260
|
+
*/
|
|
261
|
+
get taskDefinition(): Output<string>;
|
|
262
|
+
/**
|
|
263
|
+
* The names of the containers in the task.
|
|
264
|
+
* @internal
|
|
265
|
+
*/
|
|
266
|
+
get containers(): Output<Output<string>[]>;
|
|
267
|
+
/**
|
|
268
|
+
* The ARN of the cluster this task is deployed to.
|
|
269
|
+
* @internal
|
|
270
|
+
*/
|
|
271
|
+
get cluster(): Output<string>;
|
|
272
|
+
/**
|
|
273
|
+
* The security groups for the task.
|
|
274
|
+
* @internal
|
|
275
|
+
*/
|
|
276
|
+
get securityGroups(): Output<Output<string>[]>;
|
|
277
|
+
/**
|
|
278
|
+
* The subnets for the task.
|
|
279
|
+
* @internal
|
|
280
|
+
*/
|
|
281
|
+
get subnets(): Output<Output<string>[]>;
|
|
282
|
+
/**
|
|
283
|
+
* Whether to assign a public IP address to the task.
|
|
284
|
+
* @internal
|
|
285
|
+
*/
|
|
286
|
+
get assignPublicIp(): $util.OutputInstance<boolean>;
|
|
287
|
+
/**
|
|
288
|
+
* The underlying [resources](/docs/components/#nodes) this component creates.
|
|
289
|
+
*/
|
|
290
|
+
get nodes(): {
|
|
291
|
+
/**
|
|
292
|
+
* The Amazon ECS Execution Role.
|
|
293
|
+
*/
|
|
294
|
+
executionRole: import("@pulumi/aws/iam/role.js").Role;
|
|
295
|
+
/**
|
|
296
|
+
* The Amazon ECS Task Role.
|
|
297
|
+
*/
|
|
298
|
+
taskRole: import("@pulumi/aws/iam/role.js").Role;
|
|
299
|
+
/**
|
|
300
|
+
* The Amazon ECS Task Definition.
|
|
301
|
+
*/
|
|
302
|
+
taskDefinition: Output<import("@pulumi/aws/ecs/taskDefinition.js").TaskDefinition>;
|
|
303
|
+
};
|
|
304
|
+
/** @internal */
|
|
305
|
+
getSSTLink(): {
|
|
306
|
+
properties: {
|
|
307
|
+
cluster: Output<string>;
|
|
308
|
+
containers: Output<Output<string>[]>;
|
|
309
|
+
taskDefinition: Output<string>;
|
|
310
|
+
subnets: Output<Output<string>[]>;
|
|
311
|
+
securityGroups: Output<Output<string>[]>;
|
|
312
|
+
assignPublicIp: $util.OutputInstance<boolean>;
|
|
313
|
+
};
|
|
314
|
+
include: {
|
|
315
|
+
effect?: "allow" | "deny" | undefined;
|
|
316
|
+
actions: string[];
|
|
317
|
+
resources: Input<Input<string>[]>;
|
|
318
|
+
type: "aws.permission";
|
|
319
|
+
}[];
|
|
320
|
+
};
|
|
321
|
+
}
|
|
322
|
+
//# sourceMappingURL=task.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"task.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/task.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,wBAAwB,EAAE,MAAM,EAAU,MAAM,gBAAgB,CAAC;AAC/E,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAMlC,OAAO,EACL,eAAe,EACf,oBAAoB,EASrB,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEpC,MAAM,WAAW,QAAS,SAAQ,eAAe;IAC/C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAgDG;IACH,UAAU,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,oBAAoB,CAAC,CAAC,EAAE,CAAC;IACrD;;;;;;;;;;;;;;;OAeG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;IAC1B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAiCG;IACH,GAAG,CAAC,EACA,KAAK,GACL;QACE;;WAEG;QACH,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;QACxB;;;WAGG;QACH,SAAS,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;KAC3B,CAAC;CACP;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+HG;AACH,qBAAa,IAAK,SAAQ,SAAU,YAAW,IAAI,CAAC,QAAQ;IAC1D,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAU;IACnC,OAAO,CAAC,QAAQ,CAAC,GAAG,CAIlB;IACF,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAW;IACzC,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAW;IACpC,OAAO,CAAC,QAAQ,CAAC,eAAe,CAA6B;IAC7D,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAkB;IAC5C,OAAO,CAAC,QAAQ,CAAC,cAAc,CAA2B;IAC1D,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAU;gBAG5B,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,QAAQ,EACd,IAAI,GAAE,wBAA6B;IA0HrC;;OAEG;IACH,IAAW,cAAc,mBAExB;IAED;;;OAGG;IACH,IAAW,UAAU,6BAEpB;IAED;;;OAGG;IACH,IAAW,OAAO,mBAEjB;IAED;;;OAGG;IACH,IAAW,cAAc,6BAExB;IAED;;;OAGG;IACH,IAAW,OAAO,6BAEjB;IAED;;;OAGG;IACH,IAAW,cAAc,kCAExB;IAED;;OAEG;IACH,IAAW,KAAK;QAEZ;;WAEG;;QAEH;;WAEG;;QAEH;;WAEG;;MAGN;IAED,gBAAgB;IACT,UAAU;;;;;;;;;;;;;;;;CA4BlB"}
|