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,803 @@
|
|
|
1
|
+
import { ComponentResourceOptions } from "@pulumi/pulumi";
|
|
2
|
+
import { Input } from "../input";
|
|
3
|
+
import { Efs } from "./efs";
|
|
4
|
+
import { FunctionArgs } from "./function";
|
|
5
|
+
import { RETENTION } from "./logging";
|
|
6
|
+
import { ServiceArgs } from "./service";
|
|
7
|
+
import { ImageArgs } from "@pulumi/docker-build";
|
|
8
|
+
import { Component, Transform } from "../component";
|
|
9
|
+
import { cloudwatch, ecs, iam } from "@pulumi/aws";
|
|
10
|
+
import { Cluster } from "./cluster";
|
|
11
|
+
export declare const supportedCpus: {
|
|
12
|
+
"0.25 vCPU": number;
|
|
13
|
+
"0.5 vCPU": number;
|
|
14
|
+
"1 vCPU": number;
|
|
15
|
+
"2 vCPU": number;
|
|
16
|
+
"4 vCPU": number;
|
|
17
|
+
"8 vCPU": number;
|
|
18
|
+
"16 vCPU": number;
|
|
19
|
+
};
|
|
20
|
+
export declare const supportedMemories: {
|
|
21
|
+
"0.25 vCPU": {
|
|
22
|
+
"0.5 GB": number;
|
|
23
|
+
"1 GB": number;
|
|
24
|
+
"2 GB": number;
|
|
25
|
+
};
|
|
26
|
+
"0.5 vCPU": {
|
|
27
|
+
"1 GB": number;
|
|
28
|
+
"2 GB": number;
|
|
29
|
+
"3 GB": number;
|
|
30
|
+
"4 GB": number;
|
|
31
|
+
};
|
|
32
|
+
"1 vCPU": {
|
|
33
|
+
"2 GB": number;
|
|
34
|
+
"3 GB": number;
|
|
35
|
+
"4 GB": number;
|
|
36
|
+
"5 GB": number;
|
|
37
|
+
"6 GB": number;
|
|
38
|
+
"7 GB": number;
|
|
39
|
+
"8 GB": number;
|
|
40
|
+
};
|
|
41
|
+
"2 vCPU": {
|
|
42
|
+
"4 GB": number;
|
|
43
|
+
"5 GB": number;
|
|
44
|
+
"6 GB": number;
|
|
45
|
+
"7 GB": number;
|
|
46
|
+
"8 GB": number;
|
|
47
|
+
"9 GB": number;
|
|
48
|
+
"10 GB": number;
|
|
49
|
+
"11 GB": number;
|
|
50
|
+
"12 GB": number;
|
|
51
|
+
"13 GB": number;
|
|
52
|
+
"14 GB": number;
|
|
53
|
+
"15 GB": number;
|
|
54
|
+
"16 GB": number;
|
|
55
|
+
};
|
|
56
|
+
"4 vCPU": {
|
|
57
|
+
"8 GB": number;
|
|
58
|
+
"9 GB": number;
|
|
59
|
+
"10 GB": number;
|
|
60
|
+
"11 GB": number;
|
|
61
|
+
"12 GB": number;
|
|
62
|
+
"13 GB": number;
|
|
63
|
+
"14 GB": number;
|
|
64
|
+
"15 GB": number;
|
|
65
|
+
"16 GB": number;
|
|
66
|
+
"17 GB": number;
|
|
67
|
+
"18 GB": number;
|
|
68
|
+
"19 GB": number;
|
|
69
|
+
"20 GB": number;
|
|
70
|
+
"21 GB": number;
|
|
71
|
+
"22 GB": number;
|
|
72
|
+
"23 GB": number;
|
|
73
|
+
"24 GB": number;
|
|
74
|
+
"25 GB": number;
|
|
75
|
+
"26 GB": number;
|
|
76
|
+
"27 GB": number;
|
|
77
|
+
"28 GB": number;
|
|
78
|
+
"29 GB": number;
|
|
79
|
+
"30 GB": number;
|
|
80
|
+
};
|
|
81
|
+
"8 vCPU": {
|
|
82
|
+
"16 GB": number;
|
|
83
|
+
"20 GB": number;
|
|
84
|
+
"24 GB": number;
|
|
85
|
+
"28 GB": number;
|
|
86
|
+
"32 GB": number;
|
|
87
|
+
"36 GB": number;
|
|
88
|
+
"40 GB": number;
|
|
89
|
+
"44 GB": number;
|
|
90
|
+
"48 GB": number;
|
|
91
|
+
"52 GB": number;
|
|
92
|
+
"56 GB": number;
|
|
93
|
+
"60 GB": number;
|
|
94
|
+
};
|
|
95
|
+
"16 vCPU": {
|
|
96
|
+
"32 GB": number;
|
|
97
|
+
"40 GB": number;
|
|
98
|
+
"48 GB": number;
|
|
99
|
+
"56 GB": number;
|
|
100
|
+
"64 GB": number;
|
|
101
|
+
"72 GB": number;
|
|
102
|
+
"80 GB": number;
|
|
103
|
+
"88 GB": number;
|
|
104
|
+
"96 GB": number;
|
|
105
|
+
"104 GB": number;
|
|
106
|
+
"112 GB": number;
|
|
107
|
+
"120 GB": number;
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
export interface FargateContainerArgs {
|
|
111
|
+
/**
|
|
112
|
+
* The name of the container.
|
|
113
|
+
*
|
|
114
|
+
* This is used as the `--name` option in the Docker run command.
|
|
115
|
+
*/
|
|
116
|
+
name: Input<string>;
|
|
117
|
+
/**
|
|
118
|
+
* The amount of CPU allocated to the container.
|
|
119
|
+
*
|
|
120
|
+
* By default, a container can use up to all the CPU allocated to all the containers. If set,
|
|
121
|
+
* this container is capped at this allocation even if more idle CPU is available.
|
|
122
|
+
*
|
|
123
|
+
* The sum of all the containers' CPU must be less than or equal to the total available CPU.
|
|
124
|
+
*
|
|
125
|
+
* @example
|
|
126
|
+
* ```js
|
|
127
|
+
* {
|
|
128
|
+
* cpu: "0.25 vCPU"
|
|
129
|
+
* }
|
|
130
|
+
* ```
|
|
131
|
+
*/
|
|
132
|
+
cpu?: `${number} vCPU`;
|
|
133
|
+
/**
|
|
134
|
+
* The amount of memory allocated to the container.
|
|
135
|
+
*
|
|
136
|
+
* By default, a container can use up to all the memory allocated to all the containers. If
|
|
137
|
+
* set, the container is capped at this allocation. If exceeded, the container will be killed
|
|
138
|
+
* even if there is idle memory available.
|
|
139
|
+
*
|
|
140
|
+
* The sum of all the containers' memory must be less than or equal to the total available
|
|
141
|
+
* memory.
|
|
142
|
+
*
|
|
143
|
+
* @example
|
|
144
|
+
* ```js
|
|
145
|
+
* {
|
|
146
|
+
* memory: "0.5 GB"
|
|
147
|
+
* }
|
|
148
|
+
* ```
|
|
149
|
+
*/
|
|
150
|
+
memory?: `${number} GB`;
|
|
151
|
+
/**
|
|
152
|
+
* Configure the Docker image for the container. Same as the top-level [`image`](#image).
|
|
153
|
+
*/
|
|
154
|
+
image?: Input<string | {
|
|
155
|
+
/**
|
|
156
|
+
* The path to the Docker build context. Same as the top-level
|
|
157
|
+
* [`image.context`](#image-context).
|
|
158
|
+
*/
|
|
159
|
+
context?: Input<string>;
|
|
160
|
+
/**
|
|
161
|
+
* The path to the Dockerfile. Same as the top-level
|
|
162
|
+
* [`image.dockerfile`](#image-dockerfile).
|
|
163
|
+
*/
|
|
164
|
+
dockerfile?: Input<string>;
|
|
165
|
+
/**
|
|
166
|
+
* Key-value pairs of build args. Same as the top-level [`image.args`](#image-args).
|
|
167
|
+
*/
|
|
168
|
+
args?: Input<Record<string, Input<string>>>;
|
|
169
|
+
/**
|
|
170
|
+
* The stage to build up to. Same as the top-level [`image.target`](#image-target).
|
|
171
|
+
*/
|
|
172
|
+
target?: Input<string>;
|
|
173
|
+
}>;
|
|
174
|
+
/**
|
|
175
|
+
* The command to override the default command in the container. Same as the top-level
|
|
176
|
+
* [`command`](#command).
|
|
177
|
+
*/
|
|
178
|
+
command?: Input<string[]>;
|
|
179
|
+
/**
|
|
180
|
+
* The entrypoint to override the default entrypoint in the container. Same as the top-level
|
|
181
|
+
* [`entrypoint`](#entrypoint).
|
|
182
|
+
*/
|
|
183
|
+
entrypoint?: Input<string[]>;
|
|
184
|
+
/**
|
|
185
|
+
* Key-value pairs of values that are set as container environment variables. Same as the
|
|
186
|
+
* top-level [`environment`](#environment).
|
|
187
|
+
*/
|
|
188
|
+
environment?: FunctionArgs["environment"];
|
|
189
|
+
/**
|
|
190
|
+
* A list of Amazon S3 file paths of environment files to load environment variables
|
|
191
|
+
* from. Same as the top-level [`environmentFiles`](#environmentFiles).
|
|
192
|
+
*/
|
|
193
|
+
environmentFiles?: Input<Input<string>[]>;
|
|
194
|
+
/**
|
|
195
|
+
* Configure the logs in CloudWatch. Same as the top-level [`logging`](#logging).
|
|
196
|
+
*/
|
|
197
|
+
logging?: Input<{
|
|
198
|
+
/**
|
|
199
|
+
* The duration the logs are kept in CloudWatch. Same as the top-level [`logging.retention`](#logging-retention).
|
|
200
|
+
*/
|
|
201
|
+
retention?: Input<keyof typeof RETENTION>;
|
|
202
|
+
/**
|
|
203
|
+
* The name of the CloudWatch log group. Same as the top-level [`logging.name`](#logging-name).
|
|
204
|
+
*/
|
|
205
|
+
name?: Input<string>;
|
|
206
|
+
}>;
|
|
207
|
+
/**
|
|
208
|
+
* Key-value pairs of AWS Systems Manager Parameter Store parameter ARNs or AWS Secrets
|
|
209
|
+
* Manager secret ARNs. The values will be loaded into the container as environment
|
|
210
|
+
* variables. Same as the top-level [`ssm`](#ssm).
|
|
211
|
+
*/
|
|
212
|
+
ssm?: FargateBaseArgs["ssm"];
|
|
213
|
+
/**
|
|
214
|
+
* Mount Amazon EFS file systems into the container. Same as the top-level
|
|
215
|
+
* [`efs`](#efs).
|
|
216
|
+
*/
|
|
217
|
+
volumes?: FargateBaseArgs["volumes"];
|
|
218
|
+
}
|
|
219
|
+
export interface FargateBaseArgs {
|
|
220
|
+
/**
|
|
221
|
+
* The ECS Cluster to use. Create a new `Cluster` in your app, if you haven't already.
|
|
222
|
+
*
|
|
223
|
+
* ```js title="sst.config.ts"
|
|
224
|
+
* const vpc = new sst.aws.Vpc("MyVpc");
|
|
225
|
+
* const myCluster = new sst.aws.Cluster("MyCluster", { vpc });
|
|
226
|
+
* ```
|
|
227
|
+
*
|
|
228
|
+
* And pass it in.
|
|
229
|
+
*
|
|
230
|
+
* ```js
|
|
231
|
+
* {
|
|
232
|
+
* cluster: myCluster
|
|
233
|
+
* }
|
|
234
|
+
* ```
|
|
235
|
+
*/
|
|
236
|
+
cluster: Cluster;
|
|
237
|
+
/**
|
|
238
|
+
* The CPU architecture of the container.
|
|
239
|
+
* @default `"x86_64"`
|
|
240
|
+
* @example
|
|
241
|
+
* ```js
|
|
242
|
+
* {
|
|
243
|
+
* architecture: "arm64"
|
|
244
|
+
* }
|
|
245
|
+
* ```
|
|
246
|
+
*/
|
|
247
|
+
architecture?: Input<"x86_64" | "arm64">;
|
|
248
|
+
/**
|
|
249
|
+
* The amount of CPU allocated to the container. If there are multiple containers, this is
|
|
250
|
+
* the total amount of CPU shared across all the containers.
|
|
251
|
+
*
|
|
252
|
+
* :::note
|
|
253
|
+
* [View the valid combinations](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/fargate-tasks-services.html#fargate-tasks-size) of CPU and memory.
|
|
254
|
+
* :::
|
|
255
|
+
*
|
|
256
|
+
* @default `"0.25 vCPU"`
|
|
257
|
+
* @example
|
|
258
|
+
* ```js
|
|
259
|
+
* {
|
|
260
|
+
* cpu: "1 vCPU"
|
|
261
|
+
* }
|
|
262
|
+
* ```
|
|
263
|
+
*/
|
|
264
|
+
cpu?: keyof typeof supportedCpus;
|
|
265
|
+
/**
|
|
266
|
+
* The amount of memory allocated to the container. If there are multiple containers, this is
|
|
267
|
+
* the total amount of memory shared across all the containers.
|
|
268
|
+
*
|
|
269
|
+
* :::note
|
|
270
|
+
* [View the valid combinations](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/fargate-tasks-services.html#fargate-tasks-size) of CPU and memory.
|
|
271
|
+
* :::
|
|
272
|
+
*
|
|
273
|
+
* @default `"0.5 GB"`
|
|
274
|
+
*
|
|
275
|
+
* @example
|
|
276
|
+
* ```js
|
|
277
|
+
* {
|
|
278
|
+
* memory: "2 GB"
|
|
279
|
+
* }
|
|
280
|
+
* ```
|
|
281
|
+
*/
|
|
282
|
+
memory?: `${number} GB`;
|
|
283
|
+
/**
|
|
284
|
+
* The amount of ephemeral storage (in GB) allocated to the container.
|
|
285
|
+
*
|
|
286
|
+
* @default `"20 GB"`
|
|
287
|
+
*
|
|
288
|
+
* @example
|
|
289
|
+
* ```js
|
|
290
|
+
* {
|
|
291
|
+
* storage: "100 GB"
|
|
292
|
+
* }
|
|
293
|
+
* ```
|
|
294
|
+
*/
|
|
295
|
+
storage?: `${number} GB`;
|
|
296
|
+
/**
|
|
297
|
+
* [Link resources](/docs/linking/) to your containers. This will:
|
|
298
|
+
*
|
|
299
|
+
* 1. Grant the permissions needed to access the resources.
|
|
300
|
+
* 2. Allow you to access it in your app using the [SDK](/docs/reference/sdk/).
|
|
301
|
+
*
|
|
302
|
+
* @example
|
|
303
|
+
*
|
|
304
|
+
* Takes a list of components to link to the containers.
|
|
305
|
+
*
|
|
306
|
+
* ```js
|
|
307
|
+
* {
|
|
308
|
+
* link: [bucket, stripeKey]
|
|
309
|
+
* }
|
|
310
|
+
* ```
|
|
311
|
+
*/
|
|
312
|
+
link?: FunctionArgs["link"];
|
|
313
|
+
/**
|
|
314
|
+
* Permissions and the resources that you need to access. These permissions are
|
|
315
|
+
* used to create the [task role](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html).
|
|
316
|
+
*
|
|
317
|
+
* :::tip
|
|
318
|
+
* If you `link` the service to a resource, the permissions to access it are
|
|
319
|
+
* automatically added.
|
|
320
|
+
* :::
|
|
321
|
+
*
|
|
322
|
+
* @example
|
|
323
|
+
* Allow the container to read and write to an S3 bucket called `my-bucket`.
|
|
324
|
+
*
|
|
325
|
+
* ```js
|
|
326
|
+
* {
|
|
327
|
+
* permissions: [
|
|
328
|
+
* {
|
|
329
|
+
* actions: ["s3:GetObject", "s3:PutObject"],
|
|
330
|
+
* resources: ["arn:aws:s3:::my-bucket/*"]
|
|
331
|
+
* },
|
|
332
|
+
* ]
|
|
333
|
+
* }
|
|
334
|
+
* ```
|
|
335
|
+
*
|
|
336
|
+
* Allow the container to perform all actions on an S3 bucket called `my-bucket`.
|
|
337
|
+
*
|
|
338
|
+
* ```js
|
|
339
|
+
* {
|
|
340
|
+
* permissions: [
|
|
341
|
+
* {
|
|
342
|
+
* actions: ["s3:*"],
|
|
343
|
+
* resources: ["arn:aws:s3:::my-bucket/*"]
|
|
344
|
+
* },
|
|
345
|
+
* ]
|
|
346
|
+
* }
|
|
347
|
+
* ```
|
|
348
|
+
*
|
|
349
|
+
* Granting the container permissions to access all resources.
|
|
350
|
+
*
|
|
351
|
+
* ```js
|
|
352
|
+
* {
|
|
353
|
+
* permissions: [
|
|
354
|
+
* {
|
|
355
|
+
* actions: ["*"],
|
|
356
|
+
* resources: ["*"]
|
|
357
|
+
* },
|
|
358
|
+
* ]
|
|
359
|
+
* }
|
|
360
|
+
* ```
|
|
361
|
+
*/
|
|
362
|
+
permissions?: FunctionArgs["permissions"];
|
|
363
|
+
/**
|
|
364
|
+
* Configure the Docker build command for building the image or specify a pre-built image.
|
|
365
|
+
*
|
|
366
|
+
* @default Build a Docker image from the Dockerfile in the root directory.
|
|
367
|
+
* @example
|
|
368
|
+
*
|
|
369
|
+
* Building a Docker image.
|
|
370
|
+
*
|
|
371
|
+
* Prior to building the image, SST will automatically add the `.sst` directory
|
|
372
|
+
* to the `.dockerignore` if not already present.
|
|
373
|
+
*
|
|
374
|
+
* ```js
|
|
375
|
+
* {
|
|
376
|
+
* image: {
|
|
377
|
+
* context: "./app",
|
|
378
|
+
* dockerfile: "Dockerfile",
|
|
379
|
+
* args: {
|
|
380
|
+
* MY_VAR: "value"
|
|
381
|
+
* }
|
|
382
|
+
* }
|
|
383
|
+
* }
|
|
384
|
+
* ```
|
|
385
|
+
*
|
|
386
|
+
* Alternatively, you can pass in a pre-built image.
|
|
387
|
+
*
|
|
388
|
+
* ```js
|
|
389
|
+
* {
|
|
390
|
+
* image: "nginxdemos/hello:plain-text"
|
|
391
|
+
* }
|
|
392
|
+
* ```
|
|
393
|
+
*/
|
|
394
|
+
image?: Input<string | {
|
|
395
|
+
/**
|
|
396
|
+
* The path to the [Docker build context](https://docs.docker.com/build/building/context/#local-context). The path is relative to your project's `sst.config.ts`.
|
|
397
|
+
* @default `"."`
|
|
398
|
+
* @example
|
|
399
|
+
*
|
|
400
|
+
* To change where the Docker build context is located.
|
|
401
|
+
*
|
|
402
|
+
* ```js
|
|
403
|
+
* {
|
|
404
|
+
* context: "./app"
|
|
405
|
+
* }
|
|
406
|
+
* ```
|
|
407
|
+
*/
|
|
408
|
+
context?: Input<string>;
|
|
409
|
+
/**
|
|
410
|
+
* The path to the [Dockerfile](https://docs.docker.com/reference/cli/docker/image/build/#file).
|
|
411
|
+
* The path is relative to the build `context`.
|
|
412
|
+
* @default `"Dockerfile"`
|
|
413
|
+
* @example
|
|
414
|
+
* To use a different Dockerfile.
|
|
415
|
+
* ```js
|
|
416
|
+
* {
|
|
417
|
+
* dockerfile: "Dockerfile.prod"
|
|
418
|
+
* }
|
|
419
|
+
* ```
|
|
420
|
+
*/
|
|
421
|
+
dockerfile?: Input<string>;
|
|
422
|
+
/**
|
|
423
|
+
* Key-value pairs of [build args](https://docs.docker.com/build/guide/build-args/) to pass to the Docker build command.
|
|
424
|
+
* @example
|
|
425
|
+
* ```js
|
|
426
|
+
* {
|
|
427
|
+
* args: {
|
|
428
|
+
* MY_VAR: "value"
|
|
429
|
+
* }
|
|
430
|
+
* }
|
|
431
|
+
* ```
|
|
432
|
+
*/
|
|
433
|
+
args?: Input<Record<string, Input<string>>>;
|
|
434
|
+
/**
|
|
435
|
+
* Tags to apply to the Docker image.
|
|
436
|
+
* @example
|
|
437
|
+
* ```js
|
|
438
|
+
* {
|
|
439
|
+
* tags: ["v1.0.0", "commit-613c1b2"]
|
|
440
|
+
* }
|
|
441
|
+
* ```
|
|
442
|
+
*/
|
|
443
|
+
tags?: Input<Input<string>[]>;
|
|
444
|
+
/**
|
|
445
|
+
* The stage to build up to in a [multi-stage Dockerfile](https://docs.docker.com/build/building/multi-stage/#stop-at-a-specific-build-stage).
|
|
446
|
+
* @example
|
|
447
|
+
* ```js
|
|
448
|
+
* {
|
|
449
|
+
* target: "stage1"
|
|
450
|
+
* }
|
|
451
|
+
* ```
|
|
452
|
+
*/
|
|
453
|
+
target?: Input<string>;
|
|
454
|
+
}>;
|
|
455
|
+
/**
|
|
456
|
+
* The command to override the default command in the container.
|
|
457
|
+
* @example
|
|
458
|
+
* ```js
|
|
459
|
+
* {
|
|
460
|
+
* command: ["npm", "run", "start"]
|
|
461
|
+
* }
|
|
462
|
+
* ```
|
|
463
|
+
*/
|
|
464
|
+
command?: Input<Input<string>[]>;
|
|
465
|
+
/**
|
|
466
|
+
* The entrypoint that overrides the default entrypoint in the container.
|
|
467
|
+
* @example
|
|
468
|
+
* ```js
|
|
469
|
+
* {
|
|
470
|
+
* entrypoint: ["/usr/bin/my-entrypoint"]
|
|
471
|
+
* }
|
|
472
|
+
* ```
|
|
473
|
+
*/
|
|
474
|
+
entrypoint?: Input<string[]>;
|
|
475
|
+
/**
|
|
476
|
+
* Key-value pairs of values that are set as [container environment variables](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/taskdef-envfiles.html).
|
|
477
|
+
* The keys need to:
|
|
478
|
+
*
|
|
479
|
+
* 1. Start with a letter.
|
|
480
|
+
* 2. Be at least 2 characters long.
|
|
481
|
+
* 3. Contain only letters, numbers, or underscores.
|
|
482
|
+
*
|
|
483
|
+
* @example
|
|
484
|
+
*
|
|
485
|
+
* ```js
|
|
486
|
+
* {
|
|
487
|
+
* environment: {
|
|
488
|
+
* DEBUG: "true"
|
|
489
|
+
* }
|
|
490
|
+
* }
|
|
491
|
+
* ```
|
|
492
|
+
*/
|
|
493
|
+
environment?: FunctionArgs["environment"];
|
|
494
|
+
/**
|
|
495
|
+
* A list of Amazon S3 object ARNs pointing to [environment files](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/use-environment-file.html)
|
|
496
|
+
* used to load environment variables into the container.
|
|
497
|
+
*
|
|
498
|
+
* Each file must be a plain text file in `.env` format.
|
|
499
|
+
*
|
|
500
|
+
* @example
|
|
501
|
+
* Create an S3 bucket and upload an environment file.
|
|
502
|
+
*
|
|
503
|
+
* ```ts title="sst.config.ts"
|
|
504
|
+
* const bucket = new sst.aws.Bucket("EnvBucket");
|
|
505
|
+
* const file = new aws.s3.BucketObjectv2("EnvFile", {
|
|
506
|
+
* bucket: bucket.name,
|
|
507
|
+
* key: "test.env",
|
|
508
|
+
* content: ["FOO=hello", "BAR=world"].join("\n"),
|
|
509
|
+
* });
|
|
510
|
+
* ```
|
|
511
|
+
*
|
|
512
|
+
* And pass in the ARN of the environment file.
|
|
513
|
+
*
|
|
514
|
+
* ```js title="sst.config.ts"
|
|
515
|
+
* {
|
|
516
|
+
* environmentFiles: [file.arn]
|
|
517
|
+
* }
|
|
518
|
+
* ```
|
|
519
|
+
*/
|
|
520
|
+
environmentFiles?: Input<Input<string>[]>;
|
|
521
|
+
/**
|
|
522
|
+
* Key-value pairs of AWS Systems Manager Parameter Store parameter ARNs or AWS Secrets
|
|
523
|
+
* Manager secret ARNs. The values will be loaded into the container as environment
|
|
524
|
+
* variables.
|
|
525
|
+
* @example
|
|
526
|
+
* ```js
|
|
527
|
+
* {
|
|
528
|
+
* ssm: {
|
|
529
|
+
* DATABASE_PASSWORD: "arn:aws:secretsmanager:us-east-1:123456789012:secret:my-secret-123abc"
|
|
530
|
+
* }
|
|
531
|
+
* }
|
|
532
|
+
* ```
|
|
533
|
+
*/
|
|
534
|
+
ssm?: Input<Record<string, Input<string>>>;
|
|
535
|
+
/**
|
|
536
|
+
* Configure the logs in CloudWatch.
|
|
537
|
+
* @default `{ retention: "1 month" }`
|
|
538
|
+
* @example
|
|
539
|
+
* ```js
|
|
540
|
+
* {
|
|
541
|
+
* logging: {
|
|
542
|
+
* retention: "forever"
|
|
543
|
+
* }
|
|
544
|
+
* }
|
|
545
|
+
* ```
|
|
546
|
+
*/
|
|
547
|
+
logging?: Input<{
|
|
548
|
+
/**
|
|
549
|
+
* The duration the logs are kept in CloudWatch.
|
|
550
|
+
* @default `"1 month"`
|
|
551
|
+
*/
|
|
552
|
+
retention?: Input<keyof typeof RETENTION>;
|
|
553
|
+
/**
|
|
554
|
+
* The name of the CloudWatch log group. If omitted, the log group name is generated
|
|
555
|
+
* based on the cluster name, service name, and container name.
|
|
556
|
+
* @default `"/sst/cluster/${CLUSTER_NAME}/${SERVICE_NAME}/${CONTAINER_NAME}"`
|
|
557
|
+
*/
|
|
558
|
+
name?: Input<string>;
|
|
559
|
+
}>;
|
|
560
|
+
/**
|
|
561
|
+
* Mount Amazon EFS file systems into the container.
|
|
562
|
+
*
|
|
563
|
+
* @example
|
|
564
|
+
* Create an EFS file system.
|
|
565
|
+
*
|
|
566
|
+
* ```ts title="sst.config.ts"
|
|
567
|
+
* const vpc = new sst.aws.Vpc("MyVpc");
|
|
568
|
+
* const fileSystem = new sst.aws.Efs("MyFileSystem", { vpc });
|
|
569
|
+
* ```
|
|
570
|
+
*
|
|
571
|
+
* And pass it in.
|
|
572
|
+
*
|
|
573
|
+
* ```js
|
|
574
|
+
* {
|
|
575
|
+
* volumes: [
|
|
576
|
+
* {
|
|
577
|
+
* efs: fileSystem,
|
|
578
|
+
* path: "/mnt/efs"
|
|
579
|
+
* }
|
|
580
|
+
* ]
|
|
581
|
+
* }
|
|
582
|
+
* ```
|
|
583
|
+
*
|
|
584
|
+
* Or pass in a the EFS file system ID.
|
|
585
|
+
*
|
|
586
|
+
* ```js
|
|
587
|
+
* {
|
|
588
|
+
* volumes: [
|
|
589
|
+
* {
|
|
590
|
+
* efs: {
|
|
591
|
+
* fileSystem: "fs-12345678",
|
|
592
|
+
* accessPoint: "fsap-12345678"
|
|
593
|
+
* },
|
|
594
|
+
* path: "/mnt/efs"
|
|
595
|
+
* }
|
|
596
|
+
* ]
|
|
597
|
+
* }
|
|
598
|
+
* ```
|
|
599
|
+
*/
|
|
600
|
+
volumes?: Input<{
|
|
601
|
+
/**
|
|
602
|
+
* The Amazon EFS file system to mount.
|
|
603
|
+
*/
|
|
604
|
+
efs: Input<Efs | {
|
|
605
|
+
/**
|
|
606
|
+
* The ID of the EFS file system.
|
|
607
|
+
*/
|
|
608
|
+
fileSystem: Input<string>;
|
|
609
|
+
/**
|
|
610
|
+
* The ID of the EFS access point.
|
|
611
|
+
*/
|
|
612
|
+
accessPoint: Input<string>;
|
|
613
|
+
}>;
|
|
614
|
+
/**
|
|
615
|
+
* The path to mount the volume.
|
|
616
|
+
*/
|
|
617
|
+
path: Input<string>;
|
|
618
|
+
}>[];
|
|
619
|
+
/**
|
|
620
|
+
* Assigns the given IAM role name to the containers. This allows you to pass in a previously
|
|
621
|
+
* created role.
|
|
622
|
+
*
|
|
623
|
+
* :::caution
|
|
624
|
+
* When you pass in a role, it will not update it if you add `permissions` or `link` resources.
|
|
625
|
+
* :::
|
|
626
|
+
*
|
|
627
|
+
* By default, a new IAM role is created. It'll update this role if you add `permissions` or
|
|
628
|
+
* `link` resources.
|
|
629
|
+
*
|
|
630
|
+
* However, if you pass in a role, you'll need to update it manually if you add `permissions`
|
|
631
|
+
* or `link` resources.
|
|
632
|
+
*
|
|
633
|
+
* @default Creates a new role
|
|
634
|
+
* @example
|
|
635
|
+
* ```js
|
|
636
|
+
* {
|
|
637
|
+
* taskRole: "my-task-role"
|
|
638
|
+
* }
|
|
639
|
+
* ```
|
|
640
|
+
*/
|
|
641
|
+
taskRole?: Input<string>;
|
|
642
|
+
/**
|
|
643
|
+
* Assigns the given IAM role name to AWS ECS to launch and manage the containers. This
|
|
644
|
+
* allows you to pass in a previously created role.
|
|
645
|
+
*
|
|
646
|
+
* By default, a new IAM role is created.
|
|
647
|
+
*
|
|
648
|
+
* @default Creates a new role
|
|
649
|
+
* @example
|
|
650
|
+
* ```js
|
|
651
|
+
* {
|
|
652
|
+
* executionRole: "my-execution-role"
|
|
653
|
+
* }
|
|
654
|
+
* ```
|
|
655
|
+
*/
|
|
656
|
+
executionRole?: Input<string>;
|
|
657
|
+
/**
|
|
658
|
+
* [Transform](/docs/components#transform) how this component creates its underlying
|
|
659
|
+
* resources.
|
|
660
|
+
*/
|
|
661
|
+
transform?: {
|
|
662
|
+
/**
|
|
663
|
+
* Transform the Docker Image resource.
|
|
664
|
+
*/
|
|
665
|
+
image?: Transform<ImageArgs>;
|
|
666
|
+
/**
|
|
667
|
+
* Transform the ECS Execution IAM Role resource.
|
|
668
|
+
*/
|
|
669
|
+
executionRole?: Transform<iam.RoleArgs>;
|
|
670
|
+
/**
|
|
671
|
+
* Transform the ECS Task IAM Role resource.
|
|
672
|
+
*/
|
|
673
|
+
taskRole?: Transform<iam.RoleArgs>;
|
|
674
|
+
/**
|
|
675
|
+
* Transform the ECS Task Definition resource.
|
|
676
|
+
*/
|
|
677
|
+
taskDefinition?: Transform<ecs.TaskDefinitionArgs>;
|
|
678
|
+
/**
|
|
679
|
+
* Transform the CloudWatch log group resource.
|
|
680
|
+
*/
|
|
681
|
+
logGroup?: Transform<cloudwatch.LogGroupArgs>;
|
|
682
|
+
};
|
|
683
|
+
}
|
|
684
|
+
export declare function normalizeArchitecture(args: FargateBaseArgs): $util.Output<"x86_64" | "arm64">;
|
|
685
|
+
export declare function normalizeCpu(args: FargateBaseArgs): $util.Output<"0.25 vCPU" | "0.5 vCPU" | "1 vCPU" | "2 vCPU" | "4 vCPU" | "8 vCPU" | "16 vCPU">;
|
|
686
|
+
export declare function normalizeMemory(cpu: ReturnType<typeof normalizeCpu>, args: FargateBaseArgs): $util.Output<`${number} GB`>;
|
|
687
|
+
export declare function normalizeStorage(args: FargateBaseArgs): $util.Output<`${number} GB`>;
|
|
688
|
+
export declare function normalizeContainers(type: "service" | "task", args: ServiceArgs, name: string, architecture: ReturnType<typeof normalizeArchitecture>): $util.Output<({
|
|
689
|
+
volumes: $util.Output<{
|
|
690
|
+
path: string;
|
|
691
|
+
efs: $util.UnwrappedObject<$util.UnwrappedObject<{
|
|
692
|
+
/**
|
|
693
|
+
* The ID of the EFS file system.
|
|
694
|
+
*/
|
|
695
|
+
fileSystem: Input<string>;
|
|
696
|
+
/**
|
|
697
|
+
* The ID of the EFS access point.
|
|
698
|
+
*/
|
|
699
|
+
accessPoint: Input<string>;
|
|
700
|
+
}>> | {
|
|
701
|
+
fileSystem: $util.Output<string>;
|
|
702
|
+
accessPoint: $util.Output<string>;
|
|
703
|
+
};
|
|
704
|
+
}[] | undefined>;
|
|
705
|
+
image: $util.Output<string | {
|
|
706
|
+
context: string;
|
|
707
|
+
platform: "linux/amd64" | "linux/arm64";
|
|
708
|
+
dockerfile?: string | undefined;
|
|
709
|
+
args?: $util.UnwrappedObject<$util.UnwrappedObject<Record<string, Input<string>>>> | undefined;
|
|
710
|
+
tags?: $util.UnwrappedArray<string> | undefined;
|
|
711
|
+
target?: string | undefined;
|
|
712
|
+
}>;
|
|
713
|
+
logging: $util.Output<{
|
|
714
|
+
retention: "1 day" | "3 days" | "5 days" | "1 week" | "2 weeks" | "1 month" | "2 months" | "3 months" | "4 months" | "5 months" | "6 months" | "1 year" | "13 months" | "18 months" | "2 years" | "3 years" | "5 years" | "6 years" | "7 years" | "8 years" | "9 years" | "10 years" | "forever";
|
|
715
|
+
name: string;
|
|
716
|
+
} | {
|
|
717
|
+
retention: "1 day" | "3 days" | "5 days" | "1 week" | "2 weeks" | "1 month" | "2 months" | "3 months" | "4 months" | "5 months" | "6 months" | "1 year" | "13 months" | "18 months" | "2 years" | "3 years" | "5 years" | "6 years" | "7 years" | "8 years" | "9 years" | "10 years" | "forever";
|
|
718
|
+
name: string;
|
|
719
|
+
} | {
|
|
720
|
+
retention: "1 day" | "3 days" | "5 days" | "1 week" | "2 weeks" | "1 month" | "2 months" | "3 months" | "4 months" | "5 months" | "6 months" | "1 year" | "13 months" | "18 months" | "2 years" | "3 years" | "5 years" | "6 years" | "7 years" | "8 years" | "9 years" | "10 years" | "forever";
|
|
721
|
+
name: string;
|
|
722
|
+
}>;
|
|
723
|
+
health?: $util.UnwrappedObject<{
|
|
724
|
+
command: Input<string[]>;
|
|
725
|
+
startPeriod?: Input<import("../duration").DurationMinutes>;
|
|
726
|
+
timeout?: Input<import("../duration").DurationMinutes>;
|
|
727
|
+
interval?: Input<import("../duration").DurationMinutes>;
|
|
728
|
+
retries?: Input<number>;
|
|
729
|
+
}> | undefined;
|
|
730
|
+
dev?: $util.UnwrappedObject<{
|
|
731
|
+
command: Input<string>;
|
|
732
|
+
autostart?: Input<boolean>;
|
|
733
|
+
directory?: Input<string>;
|
|
734
|
+
}> | undefined;
|
|
735
|
+
name: string;
|
|
736
|
+
cpu?: `${number} vCPU` | undefined;
|
|
737
|
+
memory?: `${number} GB` | undefined;
|
|
738
|
+
command?: $util.UnwrappedArray<string> | undefined;
|
|
739
|
+
entrypoint?: $util.UnwrappedArray<string> | undefined;
|
|
740
|
+
environment?: $util.UnwrappedObject<Record<string, Input<string>>> | undefined;
|
|
741
|
+
environmentFiles?: $util.UnwrappedArray<Input<string>> | undefined;
|
|
742
|
+
ssm?: $util.UnwrappedObject<Record<string, Input<string>>> | undefined;
|
|
743
|
+
} | {
|
|
744
|
+
volumes: $util.Output<{
|
|
745
|
+
path: string;
|
|
746
|
+
efs: $util.UnwrappedObject<$util.UnwrappedObject<{
|
|
747
|
+
/**
|
|
748
|
+
* The ID of the EFS file system.
|
|
749
|
+
*/
|
|
750
|
+
fileSystem: Input<string>;
|
|
751
|
+
/**
|
|
752
|
+
* The ID of the EFS access point.
|
|
753
|
+
*/
|
|
754
|
+
accessPoint: Input<string>;
|
|
755
|
+
}>> | {
|
|
756
|
+
fileSystem: $util.Output<string>;
|
|
757
|
+
accessPoint: $util.Output<string>;
|
|
758
|
+
};
|
|
759
|
+
}[] | undefined>;
|
|
760
|
+
image: $util.Output<string | {
|
|
761
|
+
context: string;
|
|
762
|
+
platform: "linux/amd64" | "linux/arm64";
|
|
763
|
+
dockerfile?: string | undefined;
|
|
764
|
+
args?: $util.UnwrappedObject<$util.UnwrappedObject<Record<string, Input<string>>>> | undefined;
|
|
765
|
+
tags?: $util.UnwrappedArray<string> | undefined;
|
|
766
|
+
target?: string | undefined;
|
|
767
|
+
}>;
|
|
768
|
+
logging: $util.Output<{
|
|
769
|
+
retention: "1 day" | "3 days" | "5 days" | "1 week" | "2 weeks" | "1 month" | "2 months" | "3 months" | "4 months" | "5 months" | "6 months" | "1 year" | "13 months" | "18 months" | "2 years" | "3 years" | "5 years" | "6 years" | "7 years" | "8 years" | "9 years" | "10 years" | "forever";
|
|
770
|
+
name: string;
|
|
771
|
+
} | {
|
|
772
|
+
retention: "1 day" | "3 days" | "5 days" | "1 week" | "2 weeks" | "1 month" | "2 months" | "3 months" | "4 months" | "5 months" | "6 months" | "1 year" | "13 months" | "18 months" | "2 years" | "3 years" | "5 years" | "6 years" | "7 years" | "8 years" | "9 years" | "10 years" | "forever";
|
|
773
|
+
name: string;
|
|
774
|
+
} | {
|
|
775
|
+
retention: "1 day" | "3 days" | "5 days" | "1 week" | "2 weeks" | "1 month" | "2 months" | "3 months" | "4 months" | "5 months" | "6 months" | "1 year" | "13 months" | "18 months" | "2 years" | "3 years" | "5 years" | "6 years" | "7 years" | "8 years" | "9 years" | "10 years" | "forever";
|
|
776
|
+
name: string;
|
|
777
|
+
}>;
|
|
778
|
+
name: string;
|
|
779
|
+
cpu: undefined;
|
|
780
|
+
memory: undefined;
|
|
781
|
+
environment: $util.UnwrappedObject<Record<string, Input<string>>> | undefined;
|
|
782
|
+
environmentFiles: $util.UnwrappedArray<Input<string>> | undefined;
|
|
783
|
+
ssm: $util.UnwrappedObject<Record<string, Input<string>>> | undefined;
|
|
784
|
+
command: $util.UnwrappedArray<Input<string>> | undefined;
|
|
785
|
+
entrypoint: $util.UnwrappedArray<string> | undefined;
|
|
786
|
+
health: $util.UnwrappedObject<{
|
|
787
|
+
command: Input<string[]>;
|
|
788
|
+
startPeriod?: Input<import("../duration").DurationMinutes>;
|
|
789
|
+
timeout?: Input<import("../duration").DurationMinutes>;
|
|
790
|
+
interval?: Input<import("../duration").DurationMinutes>;
|
|
791
|
+
retries?: Input<number>;
|
|
792
|
+
}> | undefined;
|
|
793
|
+
dev: false | $util.UnwrappedObject<{
|
|
794
|
+
url?: Input<string>;
|
|
795
|
+
command?: Input<string>;
|
|
796
|
+
autostart?: Input<boolean>;
|
|
797
|
+
directory?: Input<string>;
|
|
798
|
+
}> | undefined;
|
|
799
|
+
})[]>;
|
|
800
|
+
export declare function createTaskRole(name: string, args: FargateBaseArgs, opts: ComponentResourceOptions, parent: Component, dev: boolean, additionalPermissions?: FunctionArgs["permissions"]): import("@pulumi/aws/iam/role").Role;
|
|
801
|
+
export declare function createExecutionRole(name: string, args: FargateBaseArgs, opts: ComponentResourceOptions, parent: Component): import("@pulumi/aws/iam/role").Role;
|
|
802
|
+
export declare function createTaskDefinition(name: string, args: ServiceArgs, opts: ComponentResourceOptions, parent: Component, containers: ReturnType<typeof normalizeContainers>, architecture: ReturnType<typeof normalizeArchitecture>, cpu: ReturnType<typeof normalizeCpu>, memory: ReturnType<typeof normalizeMemory>, storage: ReturnType<typeof normalizeStorage>, taskRole: ReturnType<typeof createTaskRole>, executionRole: ReturnType<typeof createExecutionRole>): $util.Output<import("@pulumi/aws/ecs/taskDefinition").TaskDefinition>;
|
|
803
|
+
//# sourceMappingURL=fargate.d.ts.map
|