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,26 @@
|
|
|
1
|
+
import { ComponentResourceOptions, Output } from "@pulumi/pulumi";
|
|
2
|
+
import { Component, Transform } from "../component";
|
|
3
|
+
import { Link } from "../link";
|
|
4
|
+
import { FunctionArgs, Function } from "./function";
|
|
5
|
+
import { s3 } from "@pulumi/aws";
|
|
6
|
+
export interface AuthArgs {
|
|
7
|
+
authenticator: FunctionArgs;
|
|
8
|
+
transform?: {
|
|
9
|
+
bucketPolicy?: Transform<s3.BucketPolicyArgs>;
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
export declare class Auth extends Component implements Link.Linkable {
|
|
13
|
+
private readonly _key;
|
|
14
|
+
private readonly _authenticator;
|
|
15
|
+
constructor(name: string, args: AuthArgs, opts?: ComponentResourceOptions);
|
|
16
|
+
get key(): import("@pulumi/tls/privateKey").PrivateKey;
|
|
17
|
+
get authenticator(): Output<Function>;
|
|
18
|
+
get url(): Output<string>;
|
|
19
|
+
/** @internal */
|
|
20
|
+
getSSTLink(): {
|
|
21
|
+
properties: {
|
|
22
|
+
publicKey: Output<string>;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=auth-v1.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth-v1.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/auth-v1.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EACxB,MAAM,EAGP,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAC/B,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEpD,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AAEjC,MAAM,WAAW,QAAQ;IACvB,aAAa,EAAE,YAAY,CAAC;IAC5B,SAAS,CAAC,EAAE;QACV,YAAY,CAAC,EAAE,SAAS,CAAC,EAAE,CAAC,gBAAgB,CAAC,CAAC;KAC/C,CAAC;CACH;AAED,qBAAa,IAAK,SAAQ,SAAU,YAAW,IAAI,CAAC,QAAQ;IAC1D,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAa;IAClC,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAmB;gBAEtC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,CAAC,EAAE,wBAAwB;IAqBzE,IAAW,GAAG,gDAEb;IAED,IAAW,aAAa,qBAEvB;IAED,IAAW,GAAG,mBAEb;IAED,gBAAgB;IACT,UAAU;;;;;CAOlB"}
|
|
@@ -0,0 +1,295 @@
|
|
|
1
|
+
import { ComponentResourceOptions, Output } from "@pulumi/pulumi";
|
|
2
|
+
import { Component, Transform } from "../component";
|
|
3
|
+
import { Link } from "../link";
|
|
4
|
+
import { FunctionArgs, Function, Dynamo, CdnArgs, Router, RouterArgs } from ".";
|
|
5
|
+
import { Auth as AuthV1 } from "./auth-v1";
|
|
6
|
+
import { Input } from "../input";
|
|
7
|
+
export interface AuthArgs {
|
|
8
|
+
/**
|
|
9
|
+
* The issuer function.
|
|
10
|
+
* @deprecated renamed to `issuer`
|
|
11
|
+
* @example
|
|
12
|
+
* ```js
|
|
13
|
+
* {
|
|
14
|
+
* authorizer: "src/auth.handler"
|
|
15
|
+
* }
|
|
16
|
+
* ```
|
|
17
|
+
*
|
|
18
|
+
* You can also pass in the full `FunctionArgs`.
|
|
19
|
+
*
|
|
20
|
+
* ```js
|
|
21
|
+
* {
|
|
22
|
+
* authorizer: {
|
|
23
|
+
* handler: "src/auth.handler",
|
|
24
|
+
* link: [table]
|
|
25
|
+
* }
|
|
26
|
+
* }
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
authorizer?: Input<string | FunctionArgs>;
|
|
30
|
+
/**
|
|
31
|
+
* The function that's running your OpenAuth server.
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* ```js
|
|
35
|
+
* {
|
|
36
|
+
* issuer: "src/auth.handler"
|
|
37
|
+
* }
|
|
38
|
+
* ```
|
|
39
|
+
*
|
|
40
|
+
* You can also pass in the full `FunctionArgs`.
|
|
41
|
+
*
|
|
42
|
+
* ```js
|
|
43
|
+
* {
|
|
44
|
+
* issuer: {
|
|
45
|
+
* handler: "src/auth.handler",
|
|
46
|
+
* link: [table]
|
|
47
|
+
* }
|
|
48
|
+
* }
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* Since the `issuer` function is a Hono app, you want to export it with the Lambda adapter.
|
|
52
|
+
*
|
|
53
|
+
* ```ts title="src/auth.ts"
|
|
54
|
+
* import { handle } from "hono/aws-lambda";
|
|
55
|
+
* import { issuer } from "@openauthjs/openauth";
|
|
56
|
+
*
|
|
57
|
+
* const app = issuer({
|
|
58
|
+
* // ...
|
|
59
|
+
* });
|
|
60
|
+
*
|
|
61
|
+
* export const handler = handle(app);
|
|
62
|
+
* ```
|
|
63
|
+
*
|
|
64
|
+
* This `Auth` component will always use the
|
|
65
|
+
* [`DynamoStorage`](https://openauth.js.org/docs/storage/dynamo/) storage provider.
|
|
66
|
+
*
|
|
67
|
+
* :::note
|
|
68
|
+
* This will always use the `DynamoStorage` storage provider.
|
|
69
|
+
* :::
|
|
70
|
+
*
|
|
71
|
+
* Learn more on the [OpenAuth docs](https://openauth.js.org/docs/issuer/) on how to configure
|
|
72
|
+
* the `issuer` function.
|
|
73
|
+
*/
|
|
74
|
+
issuer?: Input<string | FunctionArgs>;
|
|
75
|
+
/**
|
|
76
|
+
* Set a custom domain for your Auth server.
|
|
77
|
+
*
|
|
78
|
+
* Automatically manages domains hosted on AWS Route 53, Cloudflare, and Vercel. For other
|
|
79
|
+
* providers, you'll need to pass in a `cert` that validates domain ownership and add the
|
|
80
|
+
* DNS records.
|
|
81
|
+
*
|
|
82
|
+
* :::tip
|
|
83
|
+
* Built-in support for AWS Route 53, Cloudflare, and Vercel. And manual setup for other
|
|
84
|
+
* providers.
|
|
85
|
+
* :::
|
|
86
|
+
*
|
|
87
|
+
* @example
|
|
88
|
+
*
|
|
89
|
+
* By default this assumes the domain is hosted on Route 53.
|
|
90
|
+
*
|
|
91
|
+
* ```js
|
|
92
|
+
* {
|
|
93
|
+
* domain: "auth.example.com"
|
|
94
|
+
* }
|
|
95
|
+
* ```
|
|
96
|
+
*
|
|
97
|
+
* For domains hosted on Cloudflare.
|
|
98
|
+
*
|
|
99
|
+
* ```js
|
|
100
|
+
* {
|
|
101
|
+
* domain: {
|
|
102
|
+
* name: "auth.example.com",
|
|
103
|
+
* dns: sst.cloudflare.dns()
|
|
104
|
+
* }
|
|
105
|
+
* }
|
|
106
|
+
* ```
|
|
107
|
+
*/
|
|
108
|
+
domain?: CdnArgs["domain"];
|
|
109
|
+
/**
|
|
110
|
+
* [Transform](/docs/components#transform) how this component creates its underlying
|
|
111
|
+
* resources.
|
|
112
|
+
*/
|
|
113
|
+
transform?: {
|
|
114
|
+
/**
|
|
115
|
+
* Transform the Router resource created for the custom domain.
|
|
116
|
+
*
|
|
117
|
+
* @example
|
|
118
|
+
*
|
|
119
|
+
* Attach a WAF to the CloudFront distribution.
|
|
120
|
+
*
|
|
121
|
+
* ```ts
|
|
122
|
+
* new sst.aws.Auth("MyAuth", {
|
|
123
|
+
* issuer: "src/auth.handler",
|
|
124
|
+
* domain: "auth.example.com",
|
|
125
|
+
* transform: {
|
|
126
|
+
* router: (args) => {
|
|
127
|
+
* args.transform = {
|
|
128
|
+
* cdn: {
|
|
129
|
+
* transform: {
|
|
130
|
+
* distribution: {
|
|
131
|
+
* webAclId: "arn:aws:wafv2:...",
|
|
132
|
+
* },
|
|
133
|
+
* },
|
|
134
|
+
* },
|
|
135
|
+
* };
|
|
136
|
+
* },
|
|
137
|
+
* },
|
|
138
|
+
* });
|
|
139
|
+
* ```
|
|
140
|
+
*/
|
|
141
|
+
router?: Transform<RouterArgs>;
|
|
142
|
+
};
|
|
143
|
+
/**
|
|
144
|
+
* Force upgrade from `Auth.v1` to the latest `Auth` version. The only valid value
|
|
145
|
+
* is `v2`, which is the version of the new `Auth`.
|
|
146
|
+
*
|
|
147
|
+
* The latest `Auth` is powered by [OpenAuth](https://openauth.js.org). To
|
|
148
|
+
* upgrade, add the prop.
|
|
149
|
+
*
|
|
150
|
+
* ```ts
|
|
151
|
+
* {
|
|
152
|
+
* forceUpgrade: "v2"
|
|
153
|
+
* }
|
|
154
|
+
* ```
|
|
155
|
+
*
|
|
156
|
+
* Run `sst deploy`.
|
|
157
|
+
*
|
|
158
|
+
* :::tip
|
|
159
|
+
* You can remove this prop after you upgrade.
|
|
160
|
+
* :::
|
|
161
|
+
*
|
|
162
|
+
* This upgrades your component and the resources it created. You can now optionally
|
|
163
|
+
* remove the prop.
|
|
164
|
+
*
|
|
165
|
+
* @internal
|
|
166
|
+
*/
|
|
167
|
+
forceUpgrade?: "v2";
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* The `Auth` component lets you create centralized auth servers on AWS. It deploys
|
|
171
|
+
* [OpenAuth](https://openauth.js.org) to [AWS Lambda](https://aws.amazon.com/lambda/)
|
|
172
|
+
* and uses [Amazon DynamoDB](https://aws.amazon.com/dynamodb/) for storage.
|
|
173
|
+
*
|
|
174
|
+
* :::note
|
|
175
|
+
* `Auth` and OpenAuth are currently in beta.
|
|
176
|
+
* :::
|
|
177
|
+
*
|
|
178
|
+
* @example
|
|
179
|
+
*
|
|
180
|
+
* #### Create an OpenAuth server
|
|
181
|
+
*
|
|
182
|
+
* ```ts title="sst.config.ts"
|
|
183
|
+
* const auth = new sst.aws.Auth("MyAuth", {
|
|
184
|
+
* issuer: "src/auth.handler"
|
|
185
|
+
* });
|
|
186
|
+
* ```
|
|
187
|
+
*
|
|
188
|
+
* Where the `issuer` function might look like this.
|
|
189
|
+
*
|
|
190
|
+
* ```ts title="src/auth.ts"
|
|
191
|
+
* import { handle } from "hono/aws-lambda";
|
|
192
|
+
* import { issuer } from "@openauthjs/openauth";
|
|
193
|
+
* import { CodeProvider } from "@openauthjs/openauth/provider/code";
|
|
194
|
+
* import { subjects } from "./subjects";
|
|
195
|
+
*
|
|
196
|
+
* const app = issuer({
|
|
197
|
+
* subjects,
|
|
198
|
+
* providers: {
|
|
199
|
+
* code: CodeProvider()
|
|
200
|
+
* },
|
|
201
|
+
* success: async (ctx, value) => {}
|
|
202
|
+
* });
|
|
203
|
+
*
|
|
204
|
+
* export const handler = handle(app);
|
|
205
|
+
* ```
|
|
206
|
+
*
|
|
207
|
+
* This `Auth` component will always use the
|
|
208
|
+
* [`DynamoStorage`](https://openauth.js.org/docs/storage/dynamo/) storage provider.
|
|
209
|
+
*
|
|
210
|
+
* Learn more on the [OpenAuth docs](https://openauth.js.org/docs/issuer/) on how to configure
|
|
211
|
+
* the `issuer` function.
|
|
212
|
+
*
|
|
213
|
+
* #### Add a custom domain
|
|
214
|
+
*
|
|
215
|
+
* Set a custom domain for your auth server.
|
|
216
|
+
*
|
|
217
|
+
* ```js {3} title="sst.config.ts"
|
|
218
|
+
* new sst.aws.Auth("MyAuth", {
|
|
219
|
+
* issuer: "src/auth.handler",
|
|
220
|
+
* domain: "auth.example.com"
|
|
221
|
+
* });
|
|
222
|
+
* ```
|
|
223
|
+
*
|
|
224
|
+
* #### Link to a resource
|
|
225
|
+
*
|
|
226
|
+
* You can link the auth server to other resources, like a function or your Next.js app,
|
|
227
|
+
* that needs authentication.
|
|
228
|
+
*
|
|
229
|
+
* ```ts title="sst.config.ts" {2}
|
|
230
|
+
* new sst.aws.Nextjs("MyWeb", {
|
|
231
|
+
* link: [auth]
|
|
232
|
+
* });
|
|
233
|
+
* ```
|
|
234
|
+
*
|
|
235
|
+
* Once linked, you can now use it to create an [OpenAuth
|
|
236
|
+
* client](https://openauth.js.org/docs/client/).
|
|
237
|
+
*
|
|
238
|
+
* ```ts title="app/page.tsx" {1,6}
|
|
239
|
+
* import { Resource } from "sst"
|
|
240
|
+
* import { createClient } from "@openauthjs/openauth/client"
|
|
241
|
+
*
|
|
242
|
+
* export const client = createClient({
|
|
243
|
+
* clientID: "nextjs",
|
|
244
|
+
* issuer: Resource.MyAuth.url
|
|
245
|
+
* });
|
|
246
|
+
* ```
|
|
247
|
+
*/
|
|
248
|
+
export declare class Auth extends Component implements Link.Linkable {
|
|
249
|
+
private readonly _table;
|
|
250
|
+
private readonly _issuer;
|
|
251
|
+
private readonly _router?;
|
|
252
|
+
static v1: typeof AuthV1;
|
|
253
|
+
constructor(name: string, args: AuthArgs, opts?: ComponentResourceOptions);
|
|
254
|
+
/**
|
|
255
|
+
* The URL of the Auth component.
|
|
256
|
+
*
|
|
257
|
+
* If the `domain` is set, this is the URL of the Router created for the custom domain.
|
|
258
|
+
* If the `issuer` function is linked to a custom domain, this is the URL of the issuer.
|
|
259
|
+
* Otherwise, it's the auto-generated function URL for the issuer.
|
|
260
|
+
*/
|
|
261
|
+
get url(): Output<string>;
|
|
262
|
+
/**
|
|
263
|
+
* The underlying [resources](/docs/components/#nodes) this component creates.
|
|
264
|
+
*/
|
|
265
|
+
get nodes(): {
|
|
266
|
+
/**
|
|
267
|
+
* The DynamoDB component.
|
|
268
|
+
*/
|
|
269
|
+
table: Dynamo;
|
|
270
|
+
/**
|
|
271
|
+
* The Function component for the issuer.
|
|
272
|
+
*/
|
|
273
|
+
issuer: Output<Function>;
|
|
274
|
+
/**
|
|
275
|
+
* @deprecated Use `issuer` instead.
|
|
276
|
+
* The Function component for the issuer.
|
|
277
|
+
*/
|
|
278
|
+
authorizer: Output<Function>;
|
|
279
|
+
/**
|
|
280
|
+
* The Router component for the custom domain.
|
|
281
|
+
*/
|
|
282
|
+
router: Router | undefined;
|
|
283
|
+
};
|
|
284
|
+
/** @internal */
|
|
285
|
+
getSSTLink(): {
|
|
286
|
+
properties: {
|
|
287
|
+
url: Output<string>;
|
|
288
|
+
};
|
|
289
|
+
include: {
|
|
290
|
+
type: "environment";
|
|
291
|
+
env: Record<string, Input<string>>;
|
|
292
|
+
}[];
|
|
293
|
+
};
|
|
294
|
+
}
|
|
295
|
+
//# sourceMappingURL=auth.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/auth.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EAExB,MAAM,EACP,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,SAAS,EAAE,SAAS,EAAa,MAAM,cAAc,CAAC;AAC/D,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAC/B,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,CAAC;AAGhF,OAAO,EAAE,IAAI,IAAI,MAAM,EAAE,MAAM,WAAW,CAAC;AAC3C,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEjC,MAAM,WAAW,QAAQ;IACvB;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,UAAU,CAAC,EAAE,KAAK,CAAC,MAAM,GAAG,YAAY,CAAC,CAAC;IAC1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2CG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,GAAG,YAAY,CAAC,CAAC;IACtC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAgCG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;IAC3B;;;OAGG;IACH,SAAS,CAAC,EAAE;QACV;;;;;;;;;;;;;;;;;;;;;;;;;;WA0BG;QACH,MAAM,CAAC,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;KAChC,CAAC;IACF;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH,YAAY,CAAC,EAAE,IAAI,CAAC;CACrB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8EG;AACH,qBAAa,IAAK,SAAQ,SAAU,YAAW,IAAI,CAAC,QAAQ;IAC1D,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAS;IAChC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAmB;IAC3C,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAS;IAClC,OAAc,EAAE,gBAAU;gBAEd,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,CAAC,EAAE,wBAAwB;IAgGzE;;;;;;OAMG;IACH,IAAW,GAAG,mBAKb;IAED;;OAEG;IACH,IAAW,KAAK;QAEZ;;WAEG;;QAEH;;WAEG;;QAEH;;;WAGG;;QAEH;;WAEG;;MAGN;IAED,gBAAgB;IACT,UAAU;;;;;;;;;CAYlB"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { ComponentResourceOptions, Input, Output } from "@pulumi/pulumi";
|
|
2
|
+
import { Component } from "../component";
|
|
3
|
+
import { Function, FunctionArgs } from "./function";
|
|
4
|
+
import { BucketSubscriberArgs } from "./bucket";
|
|
5
|
+
export interface Args extends BucketSubscriberArgs {
|
|
6
|
+
/**
|
|
7
|
+
* The bucket to use.
|
|
8
|
+
*/
|
|
9
|
+
bucket: Input<{
|
|
10
|
+
/**
|
|
11
|
+
* The name of the bucket.
|
|
12
|
+
*/
|
|
13
|
+
name: Input<string>;
|
|
14
|
+
/**
|
|
15
|
+
* The ARN of the bucket.
|
|
16
|
+
*/
|
|
17
|
+
arn: Input<string>;
|
|
18
|
+
}>;
|
|
19
|
+
/**
|
|
20
|
+
* The subscriber ID.
|
|
21
|
+
*/
|
|
22
|
+
subscriberId: Input<string>;
|
|
23
|
+
/**
|
|
24
|
+
* The subscriber function.
|
|
25
|
+
*/
|
|
26
|
+
subscriber: Input<string | FunctionArgs>;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* The `BucketLambdaSubscriber` component is internally used by the `Bucket` component to
|
|
30
|
+
* add bucket notifications to [AWS S3 Bucket](https://aws.amazon.com/s3/).
|
|
31
|
+
*
|
|
32
|
+
* :::note
|
|
33
|
+
* This component is not intended to be created directly.
|
|
34
|
+
* :::
|
|
35
|
+
*
|
|
36
|
+
* You'll find this component returned by the `subscribe` method of the `Bucket` component.
|
|
37
|
+
*/
|
|
38
|
+
export declare class BucketLambdaSubscriber extends Component {
|
|
39
|
+
private readonly fn;
|
|
40
|
+
private readonly permission;
|
|
41
|
+
private readonly notification;
|
|
42
|
+
constructor(name: string, args: Args, opts?: ComponentResourceOptions);
|
|
43
|
+
/**
|
|
44
|
+
* The underlying [resources](/docs/components/#nodes) this component creates.
|
|
45
|
+
*/
|
|
46
|
+
get nodes(): {
|
|
47
|
+
/**
|
|
48
|
+
* The Lambda function that'll be notified.
|
|
49
|
+
*/
|
|
50
|
+
readonly function: Output<Function>;
|
|
51
|
+
/**
|
|
52
|
+
* The Lambda permission.
|
|
53
|
+
*/
|
|
54
|
+
permission: import("@pulumi/aws/lambda/permission").Permission;
|
|
55
|
+
/**
|
|
56
|
+
* The S3 bucket notification.
|
|
57
|
+
*/
|
|
58
|
+
notification: import("@pulumi/aws/s3/bucketNotification").BucketNotification;
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
//# sourceMappingURL=bucket-lambda-subscriber.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bucket-lambda-subscriber.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/bucket-lambda-subscriber.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EACxB,KAAK,EACL,MAAM,EAGP,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,SAAS,EAAa,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAIhD,MAAM,WAAW,IAAK,SAAQ,oBAAoB;IAChD;;OAEG;IACH,MAAM,EAAE,KAAK,CAAC;QACZ;;WAEG;QACH,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;QACpB;;WAEG;QACH,GAAG,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;KACpB,CAAC,CAAC;IACH;;OAEG;IACH,YAAY,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5B;;OAEG;IACH,UAAU,EAAE,KAAK,CAAC,MAAM,GAAG,YAAY,CAAC,CAAC;CAC1C;AAED;;;;;;;;;GASG;AACH,qBAAa,sBAAuB,SAAQ,SAAS;IACnD,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAkB;IACrC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAoB;IAC/C,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAwB;gBAEzC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,EAAE,wBAAwB;IAkFrE;;OAEG;IACH,IAAW,KAAK;QAGZ;;WAEG;;QAIH;;WAEG;;QAEH;;WAEG;;MAGN;CACF"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { ComponentResourceOptions, Input, Output } from "@pulumi/pulumi";
|
|
2
|
+
import { Component } from "../component";
|
|
3
|
+
import { BucketNotificationsArgs } from "./bucket";
|
|
4
|
+
export interface Args extends BucketNotificationsArgs {
|
|
5
|
+
/**
|
|
6
|
+
* The bucket to use.
|
|
7
|
+
*/
|
|
8
|
+
bucket: Input<{
|
|
9
|
+
/**
|
|
10
|
+
* The name of the bucket.
|
|
11
|
+
*/
|
|
12
|
+
name: Input<string>;
|
|
13
|
+
/**
|
|
14
|
+
* The ARN of the bucket.
|
|
15
|
+
*/
|
|
16
|
+
arn: Input<string>;
|
|
17
|
+
}>;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* The `BucketNotification` component is internally used by the `Bucket` component to
|
|
21
|
+
* add bucket notifications to [AWS S3 Bucket](https://aws.amazon.com/s3/).
|
|
22
|
+
*
|
|
23
|
+
* :::note
|
|
24
|
+
* This component is not intended to be created directly.
|
|
25
|
+
* :::
|
|
26
|
+
*
|
|
27
|
+
* You'll find this component returned by the `notify` method of the `Bucket` component.
|
|
28
|
+
*/
|
|
29
|
+
export declare class BucketNotification extends Component {
|
|
30
|
+
private readonly functionBuilders;
|
|
31
|
+
private readonly notification;
|
|
32
|
+
constructor(name: string, args: Args, opts?: ComponentResourceOptions);
|
|
33
|
+
/**
|
|
34
|
+
* The underlying [resources](/docs/components/#nodes) this component creates.
|
|
35
|
+
*/
|
|
36
|
+
get nodes(): {
|
|
37
|
+
/**
|
|
38
|
+
* The functions that will be notified.
|
|
39
|
+
*/
|
|
40
|
+
readonly functions: Output<sst.aws.Function[]>;
|
|
41
|
+
/**
|
|
42
|
+
* The notification resource that's created.
|
|
43
|
+
*/
|
|
44
|
+
notification: import("@pulumi/aws/s3/bucketNotification").BucketNotification;
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
//# sourceMappingURL=bucket-notification.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bucket-notification.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/bucket-notification.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EACxB,KAAK,EACL,MAAM,EAEP,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,SAAS,EAAa,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAC;AAOnD,MAAM,WAAW,IAAK,SAAQ,uBAAuB;IACnD;;OAEG;IACH,MAAM,EAAE,KAAK,CAAC;QACZ;;WAEG;QACH,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;QACpB;;WAEG;QACH,GAAG,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;KACpB,CAAC,CAAC;CACJ;AAED;;;;;;;;;GASG;AACH,qBAAa,kBAAmB,SAAQ,SAAS;IAC/C,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAA4B;IAC7D,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAwB;gBAEzC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,EAAE,wBAAwB;IAuLrE;;OAEG;IACH,IAAW,KAAK;QAGZ;;WAEG;;QAMH;;WAEG;;MAGN;CACF"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { ComponentResourceOptions, Input } from "@pulumi/pulumi";
|
|
2
|
+
import { Component } from "../component";
|
|
3
|
+
import { BucketSubscriberArgs } from "./bucket";
|
|
4
|
+
export interface Args extends BucketSubscriberArgs {
|
|
5
|
+
/**
|
|
6
|
+
* The bucket to use.
|
|
7
|
+
*/
|
|
8
|
+
bucket: Input<{
|
|
9
|
+
/**
|
|
10
|
+
* The name of the bucket.
|
|
11
|
+
*/
|
|
12
|
+
name: Input<string>;
|
|
13
|
+
/**
|
|
14
|
+
* The ARN of the bucket.
|
|
15
|
+
*/
|
|
16
|
+
arn: Input<string>;
|
|
17
|
+
}>;
|
|
18
|
+
/**
|
|
19
|
+
* The subscriber ID.
|
|
20
|
+
*/
|
|
21
|
+
subscriberId: Input<string>;
|
|
22
|
+
/**
|
|
23
|
+
* The ARN of the SQS Queue.
|
|
24
|
+
*/
|
|
25
|
+
queue: Input<string>;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* The `BucketQueueSubscriber` component is internally used by the `Bucket` component
|
|
29
|
+
* to add subscriptions to your [AWS S3 Bucket](https://aws.amazon.com/s3/).
|
|
30
|
+
*
|
|
31
|
+
* :::note
|
|
32
|
+
* This component is not intended to be created directly.
|
|
33
|
+
* :::
|
|
34
|
+
*
|
|
35
|
+
* You'll find this component returned by the `subscribeQueue` method of the `Bucket` component.
|
|
36
|
+
*/
|
|
37
|
+
export declare class BucketQueueSubscriber extends Component {
|
|
38
|
+
private readonly policy;
|
|
39
|
+
private readonly notification;
|
|
40
|
+
constructor(name: string, args: Args, opts?: ComponentResourceOptions);
|
|
41
|
+
/**
|
|
42
|
+
* The underlying [resources](/docs/components/#nodes) this component creates.
|
|
43
|
+
*/
|
|
44
|
+
get nodes(): {
|
|
45
|
+
/**
|
|
46
|
+
* The SQS Queue policy.
|
|
47
|
+
*/
|
|
48
|
+
policy: import("@pulumi/aws/sqs/queuePolicy").QueuePolicy;
|
|
49
|
+
/**
|
|
50
|
+
* The S3 Bucket notification.
|
|
51
|
+
*/
|
|
52
|
+
notification: import("@pulumi/aws/s3/bucketNotification").BucketNotification;
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
//# sourceMappingURL=bucket-queue-subscriber.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bucket-queue-subscriber.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/bucket-queue-subscriber.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EACxB,KAAK,EAGN,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,SAAS,EAAa,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAIhD,MAAM,WAAW,IAAK,SAAQ,oBAAoB;IAChD;;OAEG;IACH,MAAM,EAAE,KAAK,CAAC;QACZ;;WAEG;QACH,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;QACpB;;WAEG;QACH,GAAG,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;KACpB,CAAC,CAAC;IACH;;OAEG;IACH,YAAY,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5B;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACtB;AAED;;;;;;;;;GASG;AACH,qBAAa,qBAAsB,SAAQ,SAAS;IAClD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAkB;IACzC,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAwB;gBAEzC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,EAAE,wBAAwB;IAqDrE;;OAEG;IACH,IAAW,KAAK;QAEZ;;WAEG;;QAEH;;WAEG;;MAGN;CACF"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { ComponentResourceOptions, Input } from "@pulumi/pulumi";
|
|
2
|
+
import { Component } from "../component";
|
|
3
|
+
import { BucketSubscriberArgs } from "./bucket";
|
|
4
|
+
export interface Args extends BucketSubscriberArgs {
|
|
5
|
+
/**
|
|
6
|
+
* The bucket to use.
|
|
7
|
+
*/
|
|
8
|
+
bucket: Input<{
|
|
9
|
+
/**
|
|
10
|
+
* The name of the bucket.
|
|
11
|
+
*/
|
|
12
|
+
name: Input<string>;
|
|
13
|
+
/**
|
|
14
|
+
* The ARN of the bucket.
|
|
15
|
+
*/
|
|
16
|
+
arn: Input<string>;
|
|
17
|
+
}>;
|
|
18
|
+
/**
|
|
19
|
+
* The subscriber ID.
|
|
20
|
+
*/
|
|
21
|
+
subscriberId: Input<string>;
|
|
22
|
+
/**
|
|
23
|
+
* The ARN of the SNS Topic.
|
|
24
|
+
*/
|
|
25
|
+
topic: Input<string>;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* The `BucketTopicSubscriber` component is internally used by the `Bucket` component
|
|
29
|
+
* to add subscriptions to your [AWS S3 Bucket](https://aws.amazon.com/s3/).
|
|
30
|
+
*
|
|
31
|
+
* :::note
|
|
32
|
+
* This component is not intended to be created directly.
|
|
33
|
+
* :::
|
|
34
|
+
*
|
|
35
|
+
* You'll find this component returned by the `subscribeTopic` method of the `Bucket` component.
|
|
36
|
+
*/
|
|
37
|
+
export declare class BucketTopicSubscriber extends Component {
|
|
38
|
+
private readonly policy;
|
|
39
|
+
private readonly notification;
|
|
40
|
+
constructor(name: string, args: Args, opts?: ComponentResourceOptions);
|
|
41
|
+
/**
|
|
42
|
+
* The underlying [resources](/docs/components/#nodes) this component creates.
|
|
43
|
+
*/
|
|
44
|
+
get nodes(): {
|
|
45
|
+
/**
|
|
46
|
+
* The SNS Topic policy.
|
|
47
|
+
*/
|
|
48
|
+
policy: import("@pulumi/aws/sns/topicPolicy").TopicPolicy;
|
|
49
|
+
/**
|
|
50
|
+
* The S3 Bucket notification.
|
|
51
|
+
*/
|
|
52
|
+
notification: import("@pulumi/aws/s3/bucketNotification").BucketNotification;
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
//# sourceMappingURL=bucket-topic-subscriber.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bucket-topic-subscriber.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/bucket-topic-subscriber.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EACxB,KAAK,EAGN,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,SAAS,EAAa,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAGhD,MAAM,WAAW,IAAK,SAAQ,oBAAoB;IAChD;;OAEG;IACH,MAAM,EAAE,KAAK,CAAC;QACZ;;WAEG;QACH,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;QACpB;;WAEG;QACH,GAAG,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;KACpB,CAAC,CAAC;IACH;;OAEG;IACH,YAAY,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5B;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACtB;AAED;;;;;;;;;GASG;AACH,qBAAa,qBAAsB,SAAQ,SAAS;IAClD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAkB;IACzC,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAwB;gBAEzC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,EAAE,wBAAwB;IA4ErE;;OAEG;IACH,IAAW,KAAK;QAEZ;;WAEG;;QAEH;;WAEG;;MAGN;CACF"}
|