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 @@
|
|
|
1
|
+
{"version":3,"file":"cluster-v1.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/cluster-v1.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,SAAS,EAAa,MAAM,iBAAiB,CAAC;AAClE,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,UAAU,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE,EAAE,MAAM,aAA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
+
import { Input } from "../input";
|
|
4
|
+
import { Service, ServiceArgs } from "./service";
|
|
5
|
+
import { ecs } from "@pulumi/aws";
|
|
6
|
+
import { Cluster as ClusterV1 } from "./cluster-v1";
|
|
7
|
+
import { Vpc } from "./vpc";
|
|
8
|
+
import { Task, TaskArgs } from "./task";
|
|
9
|
+
export type { ClusterArgs as ClusterV1Args } from "./cluster-v1";
|
|
10
|
+
type ClusterVpcArgs = {
|
|
11
|
+
/**
|
|
12
|
+
* The ID of the VPC.
|
|
13
|
+
*/
|
|
14
|
+
id: Input<string>;
|
|
15
|
+
/**
|
|
16
|
+
* A list of VPC security group IDs for the service.
|
|
17
|
+
*/
|
|
18
|
+
securityGroups: Input<Input<string>[]>;
|
|
19
|
+
/**
|
|
20
|
+
* A list of subnet IDs in the VPC to place the services in.
|
|
21
|
+
* @deprecated Use `containerSubnets` instead.
|
|
22
|
+
*/
|
|
23
|
+
serviceSubnets?: Input<Input<string>[]>;
|
|
24
|
+
/**
|
|
25
|
+
* A list of subnet IDs in the VPC to place the containers in.
|
|
26
|
+
*/
|
|
27
|
+
containerSubnets?: Input<Input<string>[]>;
|
|
28
|
+
/**
|
|
29
|
+
* A list of subnet IDs in the VPC to place the load balancer in.
|
|
30
|
+
*/
|
|
31
|
+
loadBalancerSubnets: Input<Input<string>[]>;
|
|
32
|
+
/**
|
|
33
|
+
* The ID of the Cloud Map namespace to use for the service.
|
|
34
|
+
*/
|
|
35
|
+
cloudmapNamespaceId?: Input<string>;
|
|
36
|
+
/**
|
|
37
|
+
* The name of the Cloud Map namespace to use for the service.
|
|
38
|
+
*/
|
|
39
|
+
cloudmapNamespaceName?: Input<string>;
|
|
40
|
+
};
|
|
41
|
+
export interface ClusterArgs {
|
|
42
|
+
/**
|
|
43
|
+
* The VPC to use for the cluster.
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* Create a `Vpc` component.
|
|
47
|
+
*
|
|
48
|
+
* ```js title="sst.config.ts"
|
|
49
|
+
* const myVpc = new sst.aws.Vpc("MyVpc");
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* Or reference an existing VPC.
|
|
53
|
+
*
|
|
54
|
+
* ```js title="sst.config.ts"
|
|
55
|
+
* const myVpc = sst.aws.Vpc.get("MyVpc", "vpc-12345678901234567");
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
58
|
+
* And pass it in.
|
|
59
|
+
*
|
|
60
|
+
* ```js
|
|
61
|
+
* {
|
|
62
|
+
* vpc: myVpc
|
|
63
|
+
* }
|
|
64
|
+
* ```
|
|
65
|
+
*
|
|
66
|
+
* By default, both the load balancer and the services are deployed in public subnets.
|
|
67
|
+
* The above is equivalent to:
|
|
68
|
+
*
|
|
69
|
+
* ```js
|
|
70
|
+
* {
|
|
71
|
+
* vpc: {
|
|
72
|
+
* id: myVpc.id,
|
|
73
|
+
* securityGroups: myVpc.securityGroups,
|
|
74
|
+
* containerSubnets: myVpc.publicSubnets,
|
|
75
|
+
* loadBalancerSubnets: myVpc.publicSubnets,
|
|
76
|
+
* cloudmapNamespaceId: myVpc.nodes.cloudmapNamespace.id,
|
|
77
|
+
* cloudmapNamespaceName: myVpc.nodes.cloudmapNamespace.name
|
|
78
|
+
* }
|
|
79
|
+
* }
|
|
80
|
+
* ```
|
|
81
|
+
*/
|
|
82
|
+
vpc: Vpc | Input<Prettify<ClusterVpcArgs>>;
|
|
83
|
+
/** @internal */
|
|
84
|
+
forceUpgrade?: "v2";
|
|
85
|
+
/**
|
|
86
|
+
* [Transform](/docs/components#transform) how this component creates its underlying
|
|
87
|
+
* resources.
|
|
88
|
+
*/
|
|
89
|
+
transform?: {
|
|
90
|
+
/**
|
|
91
|
+
* Transform the ECS Cluster resource.
|
|
92
|
+
*/
|
|
93
|
+
cluster?: Transform<ecs.ClusterArgs>;
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
export interface ClusterGetArgs {
|
|
97
|
+
/**
|
|
98
|
+
* The ID of the cluster.
|
|
99
|
+
*/
|
|
100
|
+
id: Input<string>;
|
|
101
|
+
/**
|
|
102
|
+
* The VPC used for the cluster.
|
|
103
|
+
*/
|
|
104
|
+
vpc: ClusterArgs["vpc"];
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* The `Cluster` component lets you create an [ECS cluster](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/clusters.html) for your app.
|
|
108
|
+
* add `Service` and `Task` components to it.
|
|
109
|
+
*
|
|
110
|
+
* @example
|
|
111
|
+
*
|
|
112
|
+
* ```ts title="sst.config.ts"
|
|
113
|
+
* const vpc = new sst.aws.Vpc("MyVpc");
|
|
114
|
+
* const cluster = new sst.aws.Cluster("MyCluster", { vpc });
|
|
115
|
+
* ```
|
|
116
|
+
*
|
|
117
|
+
* Once created, you can add the following to it:
|
|
118
|
+
*
|
|
119
|
+
* 1. `Service`: These are containers that are always running, like web or
|
|
120
|
+
* application servers. They automatically restart if they fail.
|
|
121
|
+
* 2. `Task`: These are containers that are used for long running asynchronous work,
|
|
122
|
+
* like data processing.
|
|
123
|
+
*/
|
|
124
|
+
export declare class Cluster extends Component {
|
|
125
|
+
private constructorOpts;
|
|
126
|
+
private cluster;
|
|
127
|
+
private _vpc;
|
|
128
|
+
static v1: typeof ClusterV1;
|
|
129
|
+
constructor(name: string, args: ClusterArgs, opts?: ComponentResourceOptions);
|
|
130
|
+
/**
|
|
131
|
+
* The cluster ID.
|
|
132
|
+
*/
|
|
133
|
+
get id(): Output<string>;
|
|
134
|
+
/**
|
|
135
|
+
* The underlying [resources](/docs/components/#nodes) this component creates.
|
|
136
|
+
*/
|
|
137
|
+
get nodes(): {
|
|
138
|
+
/**
|
|
139
|
+
* The Amazon ECS Cluster.
|
|
140
|
+
*/
|
|
141
|
+
cluster: Output<import("@pulumi/aws/ecs/cluster").Cluster>;
|
|
142
|
+
};
|
|
143
|
+
/**
|
|
144
|
+
* The VPC configuration for the cluster.
|
|
145
|
+
* @internal
|
|
146
|
+
*/
|
|
147
|
+
get vpc(): Vpc | Output<Required<Pick<ClusterVpcArgs, "containerSubnets">> & Omit<ClusterVpcArgs, "containerSubnets" | "serviceSubnets">>;
|
|
148
|
+
/**
|
|
149
|
+
* Add a service to the cluster.
|
|
150
|
+
*
|
|
151
|
+
* @deprecated Use the `Service` component directly to create services. To migrate, change
|
|
152
|
+
*
|
|
153
|
+
* ```ts
|
|
154
|
+
* cluster.addService("MyService", { ...args });
|
|
155
|
+
* ```
|
|
156
|
+
*
|
|
157
|
+
* to
|
|
158
|
+
*
|
|
159
|
+
* ```ts
|
|
160
|
+
* new sst.aws.Service("MyService", { cluster, ...args });
|
|
161
|
+
* ```
|
|
162
|
+
*
|
|
163
|
+
* @param name Name of the service.
|
|
164
|
+
* @param args? Configure the service.
|
|
165
|
+
* @param opts? Resource options.
|
|
166
|
+
*
|
|
167
|
+
* @example
|
|
168
|
+
*
|
|
169
|
+
* ```ts title="sst.config.ts"
|
|
170
|
+
* cluster.addService("MyService");
|
|
171
|
+
* ```
|
|
172
|
+
*
|
|
173
|
+
* You can also configure the service. For example, set a custom domain.
|
|
174
|
+
*
|
|
175
|
+
* ```js {2} title="sst.config.ts"
|
|
176
|
+
* cluster.addService("MyService", {
|
|
177
|
+
* domain: "example.com"
|
|
178
|
+
* });
|
|
179
|
+
* ```
|
|
180
|
+
*
|
|
181
|
+
* Enable auto-scaling.
|
|
182
|
+
*
|
|
183
|
+
* ```ts title="sst.config.ts"
|
|
184
|
+
* cluster.addService("MyService", {
|
|
185
|
+
* scaling: {
|
|
186
|
+
* min: 4,
|
|
187
|
+
* max: 16,
|
|
188
|
+
* cpuUtilization: 50,
|
|
189
|
+
* memoryUtilization: 50,
|
|
190
|
+
* }
|
|
191
|
+
* });
|
|
192
|
+
* ```
|
|
193
|
+
*
|
|
194
|
+
* By default this starts a single container. To add multiple containers in the service, pass in an array of containers args.
|
|
195
|
+
*
|
|
196
|
+
* ```ts title="sst.config.ts"
|
|
197
|
+
* cluster.addService("MyService", {
|
|
198
|
+
* architecture: "arm64",
|
|
199
|
+
* containers: [
|
|
200
|
+
* {
|
|
201
|
+
* name: "app",
|
|
202
|
+
* image: "nginxdemos/hello:plain-text"
|
|
203
|
+
* },
|
|
204
|
+
* {
|
|
205
|
+
* name: "admin",
|
|
206
|
+
* image: {
|
|
207
|
+
* context: "./admin",
|
|
208
|
+
* dockerfile: "Dockerfile"
|
|
209
|
+
* }
|
|
210
|
+
* }
|
|
211
|
+
* ]
|
|
212
|
+
* });
|
|
213
|
+
* ```
|
|
214
|
+
*
|
|
215
|
+
* This is useful for running sidecar containers.
|
|
216
|
+
*/
|
|
217
|
+
addService(name: string, args?: Omit<ServiceArgs, "cluster">, opts?: ComponentResourceOptions): Service;
|
|
218
|
+
/**
|
|
219
|
+
* Add a task to the cluster.
|
|
220
|
+
*
|
|
221
|
+
* @deprecated Use the `Task` component directly to create tasks. To migrate, change
|
|
222
|
+
*
|
|
223
|
+
* ```ts
|
|
224
|
+
* cluster.addTask("MyTask", { ...args });
|
|
225
|
+
* ```
|
|
226
|
+
*
|
|
227
|
+
* to
|
|
228
|
+
*
|
|
229
|
+
* ```ts
|
|
230
|
+
* new sst.aws.Task("MyTask", { cluster, ...args });
|
|
231
|
+
* ```
|
|
232
|
+
*
|
|
233
|
+
* @param name Name of the task.
|
|
234
|
+
* @param args? Configure the task.
|
|
235
|
+
* @param opts? Resource options.
|
|
236
|
+
*
|
|
237
|
+
* @example
|
|
238
|
+
*
|
|
239
|
+
* ```ts title="sst.config.ts"
|
|
240
|
+
* cluster.addTask("MyTask");
|
|
241
|
+
* ```
|
|
242
|
+
*
|
|
243
|
+
* You can also configure the task. By default this starts a single container.
|
|
244
|
+
* To add multiple containers in the task, pass in an array of containers args.
|
|
245
|
+
*
|
|
246
|
+
* ```ts title="sst.config.ts"
|
|
247
|
+
* cluster.addTask("MyTask", {
|
|
248
|
+
* architecture: "arm64",
|
|
249
|
+
* containers: [
|
|
250
|
+
* {
|
|
251
|
+
* name: "app",
|
|
252
|
+
* image: "nginxdemos/hello:plain-text"
|
|
253
|
+
* },
|
|
254
|
+
* {
|
|
255
|
+
* name: "admin",
|
|
256
|
+
* image: {
|
|
257
|
+
* context: "./admin",
|
|
258
|
+
* dockerfile: "Dockerfile"
|
|
259
|
+
* }
|
|
260
|
+
* }
|
|
261
|
+
* ]
|
|
262
|
+
* });
|
|
263
|
+
* ```
|
|
264
|
+
*
|
|
265
|
+
* This is useful for running sidecar containers.
|
|
266
|
+
*/
|
|
267
|
+
addTask(name: string, args?: Omit<TaskArgs, "cluster">, opts?: ComponentResourceOptions): Task;
|
|
268
|
+
/**
|
|
269
|
+
* Reference an existing ECS Cluster with the given ID. This is useful when you
|
|
270
|
+
* create a cluster in one stage and want to share it in another. It avoids
|
|
271
|
+
* having to create a new cluster in the other stage.
|
|
272
|
+
*
|
|
273
|
+
* :::tip
|
|
274
|
+
* You can use the `static get` method to share cluster across stages.
|
|
275
|
+
* :::
|
|
276
|
+
*
|
|
277
|
+
* @param name The name of the component.
|
|
278
|
+
* @param args The arguments to get the cluster.
|
|
279
|
+
* @param opts? Resource options.
|
|
280
|
+
*
|
|
281
|
+
* @example
|
|
282
|
+
* Imagine you create a cluster in the `dev` stage. And in your personal stage `frank`,
|
|
283
|
+
* instead of creating a new cluster, you want to share the same cluster from `dev`.
|
|
284
|
+
*
|
|
285
|
+
* ```ts title="sst.config.ts"
|
|
286
|
+
* const cluster = $app.stage === "frank"
|
|
287
|
+
* ? sst.aws.Cluster.get("MyCluster", {
|
|
288
|
+
* id: "arn:aws:ecs:us-east-1:123456789012:cluster/app-dev-MyCluster",
|
|
289
|
+
* vpc,
|
|
290
|
+
* })
|
|
291
|
+
* : new sst.aws.Cluster("MyCluster", { vpc });
|
|
292
|
+
* ```
|
|
293
|
+
*
|
|
294
|
+
* Here `arn:aws:ecs:us-east-1:123456789012:cluster/app-dev-MyCluster` is the ID of the
|
|
295
|
+
* cluster created in the `dev` stage. You can find these by outputting the cluster ID
|
|
296
|
+
* in the `dev` stage.
|
|
297
|
+
*
|
|
298
|
+
* ```ts title="sst.config.ts"
|
|
299
|
+
* return {
|
|
300
|
+
* id: cluster.id,
|
|
301
|
+
* };
|
|
302
|
+
* ```
|
|
303
|
+
*/
|
|
304
|
+
static get(name: string, args: ClusterGetArgs, opts?: ComponentResourceOptions): Cluster;
|
|
305
|
+
}
|
|
306
|
+
//# sourceMappingURL=cluster.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cluster.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/cluster.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,EAAU,MAAM,gBAAgB,CAAC;AAC1E,OAAO,EACL,SAAS,EAGT,QAAQ,EACR,SAAS,EAEV,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACjD,OAAO,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAClC,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAE5B,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAExC,YAAY,EAAE,WAAW,IAAI,aAAa,EAAE,MAAM,cAAc,CAAC;AAEjE,KAAK,cAAc,GAAG;IACpB;;OAEG;IACH,EAAE,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAClB;;OAEG;IACH,cAAc,EAAE,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IACvC;;;OAGG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IACxC;;OAEG;IACH,gBAAgB,CAAC,EAAE,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAA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,CACf,IAAI,EAAE,MAAM,EACZ,IAAI,CAAC,EAAE,IAAI,CAAC,WAAW,EAAE,SAAS,CAAC,EACnC,IAAI,CAAC,EAAE,wBAAwB;IAajC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAgDG;IACI,OAAO,CACZ,IAAI,EAAE,MAAM,EACZ,IAAI,CAAC,EAAE,IAAI,CAAC,QAAQ,EAAE,SAAS,CAAC,EAChC,IAAI,CAAC,EAAE,wBAAwB;IAajC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAmCG;WACW,GAAG,CACf,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,cAAc,EACpB,IAAI,CAAC,EAAE,wBAAwB;CAQlC"}
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
import { ComponentResourceOptions } from "@pulumi/pulumi";
|
|
2
|
+
import { Component, Transform } from "../component";
|
|
3
|
+
import { FunctionArgs } from "./function.js";
|
|
4
|
+
import { Input } from "../input";
|
|
5
|
+
import { Link } from "../link";
|
|
6
|
+
import { cognito, iam } from "@pulumi/aws";
|
|
7
|
+
export interface CognitoIdentityPoolArgs {
|
|
8
|
+
/**
|
|
9
|
+
* Configure Cognito User Pools as identity providers to your identity pool.
|
|
10
|
+
* @example
|
|
11
|
+
* ```ts
|
|
12
|
+
* {
|
|
13
|
+
* userPools: [
|
|
14
|
+
* {
|
|
15
|
+
* userPool: "us-east-1_QY6Ly46JH",
|
|
16
|
+
* client: "6va5jg3cgtrd170sgokikjm5m6"
|
|
17
|
+
* }
|
|
18
|
+
* ]
|
|
19
|
+
* }
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
userPools?: Input<Input<{
|
|
23
|
+
/**
|
|
24
|
+
* The Cognito user pool ID.
|
|
25
|
+
*/
|
|
26
|
+
userPool: Input<string>;
|
|
27
|
+
/**
|
|
28
|
+
* The Cognito User Pool client ID.
|
|
29
|
+
*/
|
|
30
|
+
client: Input<string>;
|
|
31
|
+
}>[]>;
|
|
32
|
+
/**
|
|
33
|
+
* The permissions to attach to the authenticated and unauthenticated roles.
|
|
34
|
+
* This allows the authenticated and unauthenticated users to access other AWS resources.
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```js
|
|
38
|
+
* {
|
|
39
|
+
* permissions: {
|
|
40
|
+
* authenticated: [
|
|
41
|
+
* {
|
|
42
|
+
* actions: ["s3:GetObject", "s3:PutObject"],
|
|
43
|
+
* resources: ["arn:aws:s3:::my-bucket/*"]
|
|
44
|
+
* }
|
|
45
|
+
* ],
|
|
46
|
+
* unauthenticated: [
|
|
47
|
+
* {
|
|
48
|
+
* actions: ["s3:GetObject"],
|
|
49
|
+
* resources: ["arn:aws:s3:::my-bucket/*"]
|
|
50
|
+
* }
|
|
51
|
+
* ]
|
|
52
|
+
* }
|
|
53
|
+
* }
|
|
54
|
+
* ```
|
|
55
|
+
*/
|
|
56
|
+
permissions?: Input<{
|
|
57
|
+
/**
|
|
58
|
+
* Attaches the given list of permissions to the authenticated users.
|
|
59
|
+
*/
|
|
60
|
+
authenticated?: FunctionArgs["permissions"];
|
|
61
|
+
/**
|
|
62
|
+
* Attaches the given list of permissions to the unauthenticated users.
|
|
63
|
+
*/
|
|
64
|
+
unauthenticated?: FunctionArgs["permissions"];
|
|
65
|
+
}>;
|
|
66
|
+
/**
|
|
67
|
+
* [Transform](/docs/components#transform) how this component creates its underlying
|
|
68
|
+
* resources.
|
|
69
|
+
*/
|
|
70
|
+
transform?: {
|
|
71
|
+
/**
|
|
72
|
+
* Transform the Cognito identity pool resource.
|
|
73
|
+
*/
|
|
74
|
+
identityPool?: Transform<cognito.IdentityPoolArgs>;
|
|
75
|
+
/**
|
|
76
|
+
* Transform the authenticated IAM role resource.
|
|
77
|
+
*/
|
|
78
|
+
authenticatedRole?: Transform<iam.RoleArgs>;
|
|
79
|
+
/**
|
|
80
|
+
* Transform the unauthenticated IAM role resource.
|
|
81
|
+
*/
|
|
82
|
+
unauthenticatedRole?: Transform<iam.RoleArgs>;
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* The `CognitoIdentityPool` component lets you add a [Amazon Cognito identity pool](https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-identity.html) to your app.
|
|
87
|
+
*
|
|
88
|
+
* #### Create the identity pool
|
|
89
|
+
*
|
|
90
|
+
* ```ts title="sst.config.ts"
|
|
91
|
+
* new sst.aws.CognitoIdentityPool("MyIdentityPool", {
|
|
92
|
+
* userPools: [
|
|
93
|
+
* {
|
|
94
|
+
* userPool: "us-east-1_QY6Ly46JH",
|
|
95
|
+
* client: "6va5jg3cgtrd170sgokikjm5m6"
|
|
96
|
+
* }
|
|
97
|
+
* ]
|
|
98
|
+
* });
|
|
99
|
+
* ```
|
|
100
|
+
*
|
|
101
|
+
* #### Configure permissions for authenticated users
|
|
102
|
+
*
|
|
103
|
+
* ```ts title="sst.config.ts"
|
|
104
|
+
* new sst.aws.CognitoIdentityPool("MyIdentityPool", {
|
|
105
|
+
* userPools: [
|
|
106
|
+
* {
|
|
107
|
+
* userPool: "us-east-1_QY6Ly46JH",
|
|
108
|
+
* client: "6va5jg3cgtrd170sgokikjm5m6"
|
|
109
|
+
* }
|
|
110
|
+
* ],
|
|
111
|
+
* permissions: {
|
|
112
|
+
* authenticated: [
|
|
113
|
+
* {
|
|
114
|
+
* actions: ["s3:GetObject", "s3:PutObject"],
|
|
115
|
+
* resources: ["arn:aws:s3:::my-bucket/*"]
|
|
116
|
+
* }
|
|
117
|
+
* ]
|
|
118
|
+
* }
|
|
119
|
+
* });
|
|
120
|
+
* ```
|
|
121
|
+
*/
|
|
122
|
+
export declare class CognitoIdentityPool extends Component implements Link.Linkable {
|
|
123
|
+
private identityPool;
|
|
124
|
+
private authRole;
|
|
125
|
+
private unauthRole;
|
|
126
|
+
constructor(name: string, args?: CognitoIdentityPoolArgs, opts?: ComponentResourceOptions);
|
|
127
|
+
/**
|
|
128
|
+
* The Cognito identity pool ID.
|
|
129
|
+
*/
|
|
130
|
+
get id(): $util.Output<string>;
|
|
131
|
+
/**
|
|
132
|
+
* The underlying [resources](/docs/components/#nodes) this component creates.
|
|
133
|
+
*/
|
|
134
|
+
get nodes(): {
|
|
135
|
+
/**
|
|
136
|
+
* The Amazon Cognito identity pool.
|
|
137
|
+
*/
|
|
138
|
+
identityPool: import("@pulumi/aws/cognito/identityPool").IdentityPool;
|
|
139
|
+
/**
|
|
140
|
+
* The authenticated IAM role.
|
|
141
|
+
*/
|
|
142
|
+
authenticatedRole: import("@pulumi/aws/iam/role").Role;
|
|
143
|
+
/**
|
|
144
|
+
* The unauthenticated IAM role.
|
|
145
|
+
*/
|
|
146
|
+
unauthenticatedRole: import("@pulumi/aws/iam/role").Role;
|
|
147
|
+
};
|
|
148
|
+
/** @internal */
|
|
149
|
+
getSSTLink(): {
|
|
150
|
+
properties: {
|
|
151
|
+
id: $util.Output<string>;
|
|
152
|
+
};
|
|
153
|
+
include: {
|
|
154
|
+
effect?: "allow" | "deny" | undefined;
|
|
155
|
+
actions: string[];
|
|
156
|
+
resources: Input<Input<string>[]>;
|
|
157
|
+
type: "aws.permission";
|
|
158
|
+
}[];
|
|
159
|
+
};
|
|
160
|
+
/**
|
|
161
|
+
* Reference an existing Identity Pool with the given ID. This is useful when you
|
|
162
|
+
* create a Identity Pool in one stage and want to share it in another. It avoids having to
|
|
163
|
+
* create a new Identity Pool in the other stage.
|
|
164
|
+
*
|
|
165
|
+
* :::tip
|
|
166
|
+
* You can use the `static get` method to share Identity Pools across stages.
|
|
167
|
+
* :::
|
|
168
|
+
*
|
|
169
|
+
* @param name The name of the component.
|
|
170
|
+
* @param identityPoolID The ID of the existing Identity Pool.
|
|
171
|
+
* @param opts? Resource options.
|
|
172
|
+
*
|
|
173
|
+
* @example
|
|
174
|
+
* Imagine you create a Identity Pool in the `dev` stage. And in your personal stage `frank`,
|
|
175
|
+
* instead of creating a new pool, you want to share the same pool from `dev`.
|
|
176
|
+
*
|
|
177
|
+
* ```ts title="sst.config.ts"
|
|
178
|
+
* const identityPool = $app.stage === "frank"
|
|
179
|
+
* ? sst.aws.CognitoIdentityPool.get("MyIdentityPool", "us-east-1:02facf30-e2f3-49ec-9e79-c55187415cf8")
|
|
180
|
+
* : new sst.aws.CognitoIdentityPool("MyIdentityPool");
|
|
181
|
+
* ```
|
|
182
|
+
*
|
|
183
|
+
* Here `us-east-1:02facf30-e2f3-49ec-9e79-c55187415cf8` is the ID of the Identity Pool created in the `dev` stage.
|
|
184
|
+
* You can find this by outputting the Identity Pool ID in the `dev` stage.
|
|
185
|
+
*
|
|
186
|
+
* ```ts title="sst.config.ts"
|
|
187
|
+
* return {
|
|
188
|
+
* identityPool: identityPool.id
|
|
189
|
+
* };
|
|
190
|
+
* ```
|
|
191
|
+
*/
|
|
192
|
+
static get(name: string, identityPoolID: Input<string>, opts?: ComponentResourceOptions): CognitoIdentityPool;
|
|
193
|
+
}
|
|
194
|
+
//# sourceMappingURL=cognito-identity-pool.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cognito-identity-pool.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/cognito-identity-pool.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAuB,MAAM,gBAAgB,CAAC;AAC/E,OAAO,EAAE,SAAS,EAAE,SAAS,EAAa,MAAM,cAAc,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAC/B,OAAO,EAAE,OAAO,EAAmB,GAAG,EAAE,MAAM,aAAa,CAAC;AAI5D,MAAM,WAAW,uBAAuB;IACtC;;;;;;;;;;;;;OAaG;IACH,SAAS,CAAC,EAAE,KAAK,CACf,KAAK,CAAC;QACJ;;WAEG;QACH,QAAQ,EAAE,KAAK,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,EAAE,wBAAwB;CAmClC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { ComponentResourceOptions } from "@pulumi/pulumi";
|
|
2
|
+
import { Component } from "../component";
|
|
3
|
+
import { Input } from "../input";
|
|
4
|
+
import { CognitoIdentityProviderArgs } from "./cognito-user-pool";
|
|
5
|
+
export interface Args extends CognitoIdentityProviderArgs {
|
|
6
|
+
/**
|
|
7
|
+
* The Cognito user pool ID.
|
|
8
|
+
*/
|
|
9
|
+
userPool: Input<string>;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* The `CognitoIdentityProvider` component is internally used by the `CognitoUserPool`
|
|
13
|
+
* component to add identity providers to your [Amazon Cognito user pool](https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools.html).
|
|
14
|
+
*
|
|
15
|
+
* :::note
|
|
16
|
+
* This component is not intended to be created directly.
|
|
17
|
+
* :::
|
|
18
|
+
*
|
|
19
|
+
* You'll find this component returned by the `addIdentityProvider` method of the `CognitoUserPool` component.
|
|
20
|
+
*/
|
|
21
|
+
export declare class CognitoIdentityProvider extends Component {
|
|
22
|
+
private identityProvider;
|
|
23
|
+
constructor(name: string, args: Args, opts?: ComponentResourceOptions);
|
|
24
|
+
/**
|
|
25
|
+
* The Cognito identity provider name.
|
|
26
|
+
*/
|
|
27
|
+
get providerName(): $util.Output<string>;
|
|
28
|
+
/**
|
|
29
|
+
* The underlying [resources](/docs/components/#nodes) this component creates.
|
|
30
|
+
*/
|
|
31
|
+
get nodes(): {
|
|
32
|
+
/**
|
|
33
|
+
* The Cognito identity provider.
|
|
34
|
+
*/
|
|
35
|
+
identityProvider: import("@pulumi/aws/cognito/identityProvider").IdentityProvider;
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=cognito-identity-provider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cognito-identity-provider.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/cognito-identity-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAU,MAAM,gBAAgB,CAAC;AAClE,OAAO,EAAE,SAAS,EAAwB,MAAM,cAAc,CAAC;AAC/D,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAGjC,OAAO,EAAE,2BAA2B,EAAE,MAAM,qBAAqB,CAAC;AAIlE,MAAM,WAAW,IAAK,SAAQ,2BAA2B;IACvD;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACzB;AAED;;;;;;;;;GASG;AACH,qBAAa,uBAAwB,SAAQ,SAAS;IACpD,OAAO,CAAC,gBAAgB,CAA2B;gBAEvC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,EAAE,wBAAwB;IA4CrE;;OAEG;IACH,IAAW,YAAY,yBAEtB;IAED;;OAEG;IACH,IAAW,KAAK;QAEZ;;WAEG;;MAGN;CACF"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { ComponentResourceOptions } from "@pulumi/pulumi";
|
|
2
|
+
import { Component } from "../component";
|
|
3
|
+
import { Input } from "../input";
|
|
4
|
+
import { CognitoUserPoolClientArgs } from "./cognito-user-pool.js";
|
|
5
|
+
import { Link } from "../link";
|
|
6
|
+
export interface Args extends CognitoUserPoolClientArgs {
|
|
7
|
+
/**
|
|
8
|
+
* The Cognito user pool ID.
|
|
9
|
+
*/
|
|
10
|
+
userPool: Input<string>;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* The `CognitoUserPoolClient` component is internally used by the `CognitoUserPool`
|
|
14
|
+
* component to add clients to your [Amazon Cognito user pool](https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools.html).
|
|
15
|
+
*
|
|
16
|
+
* :::note
|
|
17
|
+
* This component is not intended to be created directly.
|
|
18
|
+
* :::
|
|
19
|
+
*
|
|
20
|
+
* You'll find this component returned by the `addClient` method of the `CognitoUserPool` component.
|
|
21
|
+
*/
|
|
22
|
+
export declare class CognitoUserPoolClient extends Component implements Link.Linkable {
|
|
23
|
+
private client;
|
|
24
|
+
constructor(name: string, args: Args, opts?: ComponentResourceOptions);
|
|
25
|
+
/**
|
|
26
|
+
* The Cognito User Pool client ID.
|
|
27
|
+
*/
|
|
28
|
+
get id(): $util.Output<string>;
|
|
29
|
+
/**
|
|
30
|
+
* The Cognito User Pool client secret.
|
|
31
|
+
*/
|
|
32
|
+
get secret(): $util.Output<string>;
|
|
33
|
+
/**
|
|
34
|
+
* The underlying [resources](/docs/components/#nodes) this component creates.
|
|
35
|
+
*/
|
|
36
|
+
get nodes(): {
|
|
37
|
+
/**
|
|
38
|
+
* The Cognito User Pool client.
|
|
39
|
+
*/
|
|
40
|
+
client: import("@pulumi/aws/cognito/userPoolClient").UserPoolClient;
|
|
41
|
+
};
|
|
42
|
+
/** @internal */
|
|
43
|
+
getSSTLink(): {
|
|
44
|
+
properties: {
|
|
45
|
+
id: $util.Output<string>;
|
|
46
|
+
secret: $util.Output<string>;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
//# sourceMappingURL=cognito-user-pool-client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cognito-user-pool-client.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/cognito-user-pool-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAU,MAAM,gBAAgB,CAAC;AAClE,OAAO,EAAE,SAAS,EAAwB,MAAM,cAAc,CAAC;AAC/D,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAG/B,MAAM,WAAW,IAAK,SAAQ,yBAAyB;IACrD;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACzB;AAED;;;;;;;;;GASG;AACH,qBAAa,qBAAsB,SAAQ,SAAU,YAAW,IAAI,CAAC,QAAQ;IAC3E,OAAO,CAAC,MAAM,CAAyB;gBAE3B,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,EAAE,wBAAwB;IA+CrE;;OAEG;IACH,IAAW,EAAE,yBAEZ;IAED;;OAEG;IACH,IAAW,MAAM,yBAEhB;IAED;;OAEG;IACH,IAAW,KAAK;QAEZ;;WAEG;;MAGN;IAED,gBAAgB;IACT,UAAU;;;;;;CAQlB"}
|