@monorise/sst 1.0.0-dev.0
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/.sst/platform/src/components/aws/analog.d.ts +423 -0
- package/dist/.sst/platform/src/components/aws/analog.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/analog.js +118 -0
- package/dist/.sst/platform/src/components/aws/analog.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/apigateway-websocket-route.d.ts +74 -0
- package/dist/.sst/platform/src/components/aws/apigateway-websocket-route.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/apigateway-websocket-route.js +110 -0
- package/dist/.sst/platform/src/components/aws/apigateway-websocket-route.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/apigateway-websocket.d.ts +542 -0
- package/dist/.sst/platform/src/components/aws/apigateway-websocket.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/apigateway-websocket.js +409 -0
- package/dist/.sst/platform/src/components/aws/apigateway-websocket.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/apigatewayv1-api-key.d.ts +48 -0
- package/dist/.sst/platform/src/components/aws/apigatewayv1-api-key.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/apigatewayv1-api-key.js +55 -0
- package/dist/.sst/platform/src/components/aws/apigatewayv1-api-key.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/apigatewayv1-authorizer.d.ts +55 -0
- package/dist/.sst/platform/src/components/aws/apigatewayv1-authorizer.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/apigatewayv1-authorizer.js +110 -0
- package/dist/.sst/platform/src/components/aws/apigatewayv1-authorizer.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/apigatewayv1-base-route.d.ts +36 -0
- package/dist/.sst/platform/src/components/aws/apigatewayv1-base-route.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/apigatewayv1-base-route.js +34 -0
- package/dist/.sst/platform/src/components/aws/apigatewayv1-base-route.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/apigatewayv1-integration-route.d.ts +39 -0
- package/dist/.sst/platform/src/components/aws/apigatewayv1-integration-route.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/apigatewayv1-integration-route.js +49 -0
- package/dist/.sst/platform/src/components/aws/apigatewayv1-integration-route.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/apigatewayv1-lambda-route.d.ts +53 -0
- package/dist/.sst/platform/src/components/aws/apigatewayv1-lambda-route.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/apigatewayv1-lambda-route.js +85 -0
- package/dist/.sst/platform/src/components/aws/apigatewayv1-lambda-route.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/apigatewayv1-usage-plan.d.ts +53 -0
- package/dist/.sst/platform/src/components/aws/apigatewayv1-usage-plan.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/apigatewayv1-usage-plan.js +66 -0
- package/dist/.sst/platform/src/components/aws/apigatewayv1-usage-plan.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/apigatewayv1.d.ts +1002 -0
- package/dist/.sst/platform/src/components/aws/apigatewayv1.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/apigatewayv1.js +749 -0
- package/dist/.sst/platform/src/components/aws/apigatewayv1.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/apigatewayv2-authorizer.d.ts +54 -0
- package/dist/.sst/platform/src/components/aws/apigatewayv2-authorizer.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/apigatewayv2-authorizer.js +98 -0
- package/dist/.sst/platform/src/components/aws/apigatewayv2-authorizer.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/apigatewayv2-base-route.d.ts +28 -0
- package/dist/.sst/platform/src/components/aws/apigatewayv2-base-route.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/apigatewayv2-base-route.js +28 -0
- package/dist/.sst/platform/src/components/aws/apigatewayv2-base-route.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/apigatewayv2-lambda-route.d.ts +59 -0
- package/dist/.sst/platform/src/components/aws/apigatewayv2-lambda-route.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/apigatewayv2-lambda-route.js +84 -0
- package/dist/.sst/platform/src/components/aws/apigatewayv2-lambda-route.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/apigatewayv2-private-route.d.ts +54 -0
- package/dist/.sst/platform/src/components/aws/apigatewayv2-private-route.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/apigatewayv2-private-route.js +55 -0
- package/dist/.sst/platform/src/components/aws/apigatewayv2-private-route.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/apigatewayv2-url-route.d.ts +44 -0
- package/dist/.sst/platform/src/components/aws/apigatewayv2-url-route.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/apigatewayv2-url-route.js +53 -0
- package/dist/.sst/platform/src/components/aws/apigatewayv2-url-route.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/apigatewayv2.d.ts +933 -0
- package/dist/.sst/platform/src/components/aws/apigatewayv2.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/apigatewayv2.js +648 -0
- package/dist/.sst/platform/src/components/aws/apigatewayv2.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/app-sync-data-source.d.ts +52 -0
- package/dist/.sst/platform/src/components/aws/app-sync-data-source.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/app-sync-data-source.js +208 -0
- package/dist/.sst/platform/src/components/aws/app-sync-data-source.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/app-sync-function.d.ts +33 -0
- package/dist/.sst/platform/src/components/aws/app-sync-function.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/app-sync-function.js +52 -0
- package/dist/.sst/platform/src/components/aws/app-sync-function.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/app-sync-resolver.d.ts +41 -0
- package/dist/.sst/platform/src/components/aws/app-sync-resolver.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/app-sync-resolver.js +70 -0
- package/dist/.sst/platform/src/components/aws/app-sync-resolver.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/app-sync.d.ts +638 -0
- package/dist/.sst/platform/src/components/aws/app-sync.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/app-sync.js +330 -0
- package/dist/.sst/platform/src/components/aws/app-sync.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/astro.d.ts +421 -0
- package/dist/.sst/platform/src/components/aws/astro.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/astro.js +156 -0
- package/dist/.sst/platform/src/components/aws/astro.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/aurora.d.ts +702 -0
- package/dist/.sst/platform/src/components/aws/aurora.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/aurora.js +678 -0
- package/dist/.sst/platform/src/components/aws/aurora.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/auth-v1.d.ts +26 -0
- package/dist/.sst/platform/src/components/aws/auth-v1.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/auth-v1.js +36 -0
- package/dist/.sst/platform/src/components/aws/auth-v1.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/auth.d.ts +260 -0
- package/dist/.sst/platform/src/components/aws/auth.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/auth.js +209 -0
- package/dist/.sst/platform/src/components/aws/auth.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/bucket-lambda-subscriber.d.ts +61 -0
- package/dist/.sst/platform/src/components/aws/bucket-lambda-subscriber.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/bucket-lambda-subscriber.js +99 -0
- package/dist/.sst/platform/src/components/aws/bucket-lambda-subscriber.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/bucket-notification.d.ts +47 -0
- package/dist/.sst/platform/src/components/aws/bucket-notification.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/bucket-notification.js +170 -0
- package/dist/.sst/platform/src/components/aws/bucket-notification.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/bucket-queue-subscriber.d.ts +55 -0
- package/dist/.sst/platform/src/components/aws/bucket-queue-subscriber.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/bucket-queue-subscriber.js +77 -0
- package/dist/.sst/platform/src/components/aws/bucket-queue-subscriber.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/bucket-topic-subscriber.d.ts +55 -0
- package/dist/.sst/platform/src/components/aws/bucket-topic-subscriber.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/bucket-topic-subscriber.js +99 -0
- package/dist/.sst/platform/src/components/aws/bucket-topic-subscriber.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/bucket.d.ts +1115 -0
- package/dist/.sst/platform/src/components/aws/bucket.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/bucket.js +754 -0
- package/dist/.sst/platform/src/components/aws/bucket.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/bus-base-subscriber.d.ts +20 -0
- package/dist/.sst/platform/src/components/aws/bus-base-subscriber.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/bus-base-subscriber.js +19 -0
- package/dist/.sst/platform/src/components/aws/bus-base-subscriber.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/bus-lambda-subscriber.d.ts +49 -0
- package/dist/.sst/platform/src/components/aws/bus-lambda-subscriber.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/bus-lambda-subscriber.js +81 -0
- package/dist/.sst/platform/src/components/aws/bus-lambda-subscriber.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/bus-queue-subscriber.d.ts +44 -0
- package/dist/.sst/platform/src/components/aws/bus-queue-subscriber.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/bus-queue-subscriber.js +63 -0
- package/dist/.sst/platform/src/components/aws/bus-queue-subscriber.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/bus.d.ts +403 -0
- package/dist/.sst/platform/src/components/aws/bus.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/bus.js +350 -0
- package/dist/.sst/platform/src/components/aws/bus.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/cdn.d.ts +299 -0
- package/dist/.sst/platform/src/components/aws/cdn.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/cdn.js +234 -0
- package/dist/.sst/platform/src/components/aws/cdn.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/cluster-v1.d.ts +882 -0
- package/dist/.sst/platform/src/components/aws/cluster-v1.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/cluster-v1.js +245 -0
- package/dist/.sst/platform/src/components/aws/cluster-v1.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/cluster.d.ts +308 -0
- package/dist/.sst/platform/src/components/aws/cluster.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/cluster.js +321 -0
- package/dist/.sst/platform/src/components/aws/cluster.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/cognito-identity-pool.d.ts +194 -0
- package/dist/.sst/platform/src/components/aws/cognito-identity-pool.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/cognito-identity-pool.js +263 -0
- package/dist/.sst/platform/src/components/aws/cognito-identity-pool.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/cognito-identity-provider.d.ts +38 -0
- package/dist/.sst/platform/src/components/aws/cognito-identity-provider.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/cognito-identity-provider.js +67 -0
- package/dist/.sst/platform/src/components/aws/cognito-identity-provider.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/cognito-user-pool-client.d.ts +50 -0
- package/dist/.sst/platform/src/components/aws/cognito-user-pool-client.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/cognito-user-pool-client.js +81 -0
- package/dist/.sst/platform/src/components/aws/cognito-user-pool-client.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/cognito-user-pool.d.ts +599 -0
- package/dist/.sst/platform/src/components/aws/cognito-user-pool.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/cognito-user-pool.js +368 -0
- package/dist/.sst/platform/src/components/aws/cognito-user-pool.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/cron.d.ts +250 -0
- package/dist/.sst/platform/src/components/aws/cron.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/cron.js +200 -0
- package/dist/.sst/platform/src/components/aws/cron.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/dns-validated-certificate.d.ts +27 -0
- package/dist/.sst/platform/src/components/aws/dns-validated-certificate.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/dns-validated-certificate.js +55 -0
- package/dist/.sst/platform/src/components/aws/dns-validated-certificate.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/dns.d.ts +94 -0
- package/dist/.sst/platform/src/components/aws/dns.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/dns.js +121 -0
- package/dist/.sst/platform/src/components/aws/dns.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/dynamo-lambda-subscriber.d.ts +55 -0
- package/dist/.sst/platform/src/components/aws/dynamo-lambda-subscriber.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/dynamo-lambda-subscriber.js +79 -0
- package/dist/.sst/platform/src/components/aws/dynamo-lambda-subscriber.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/dynamo.d.ts +569 -0
- package/dist/.sst/platform/src/components/aws/dynamo.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/dynamo.js +291 -0
- package/dist/.sst/platform/src/components/aws/dynamo.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/efs.d.ts +217 -0
- package/dist/.sst/platform/src/components/aws/efs.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/efs.js +241 -0
- package/dist/.sst/platform/src/components/aws/efs.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/email.d.ts +291 -0
- package/dist/.sst/platform/src/components/aws/email.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/email.js +276 -0
- package/dist/.sst/platform/src/components/aws/email.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/fargate.d.ts +769 -0
- package/dist/.sst/platform/src/components/aws/fargate.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/fargate.js +434 -0
- package/dist/.sst/platform/src/components/aws/fargate.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/function.d.ts +1631 -0
- package/dist/.sst/platform/src/components/aws/function.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/function.js +1041 -0
- package/dist/.sst/platform/src/components/aws/function.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/helpers/apigateway-account.d.ts +3 -0
- package/dist/.sst/platform/src/components/aws/helpers/apigateway-account.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/helpers/apigateway-account.js +31 -0
- package/dist/.sst/platform/src/components/aws/helpers/apigateway-account.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/helpers/apigatewayv2-domain.d.ts +144 -0
- package/dist/.sst/platform/src/components/aws/helpers/apigatewayv2-domain.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/helpers/apigatewayv2-domain.js +2 -0
- package/dist/.sst/platform/src/components/aws/helpers/apigatewayv2-domain.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/helpers/arn.d.ts +35 -0
- package/dist/.sst/platform/src/components/aws/helpers/arn.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/helpers/arn.js +86 -0
- package/dist/.sst/platform/src/components/aws/helpers/arn.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/helpers/bootstrap.d.ts +13 -0
- package/dist/.sst/platform/src/components/aws/helpers/bootstrap.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/helpers/bootstrap.js +7 -0
- package/dist/.sst/platform/src/components/aws/helpers/bootstrap.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/helpers/container-builder.d.ts +4 -0
- package/dist/.sst/platform/src/components/aws/helpers/container-builder.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/helpers/container-builder.js +27 -0
- package/dist/.sst/platform/src/components/aws/helpers/container-builder.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/helpers/function-builder.d.ts +10 -0
- package/dist/.sst/platform/src/components/aws/helpers/function-builder.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/helpers/function-builder.js +51 -0
- package/dist/.sst/platform/src/components/aws/helpers/function-builder.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/helpers/provider.d.ts +3 -0
- package/dist/.sst/platform/src/components/aws/helpers/provider.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/helpers/provider.js +34 -0
- package/dist/.sst/platform/src/components/aws/helpers/provider.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/helpers/quota.d.ts +7 -0
- package/dist/.sst/platform/src/components/aws/helpers/quota.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/helpers/quota.js +20 -0
- package/dist/.sst/platform/src/components/aws/helpers/quota.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/helpers/site-builder.d.ts +4 -0
- package/dist/.sst/platform/src/components/aws/helpers/site-builder.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/helpers/site-builder.js +36 -0
- package/dist/.sst/platform/src/components/aws/helpers/site-builder.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/helpers/subscriber.d.ts +6 -0
- package/dist/.sst/platform/src/components/aws/helpers/subscriber.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/helpers/subscriber.js +13 -0
- package/dist/.sst/platform/src/components/aws/helpers/subscriber.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/https-redirect.d.ts +38 -0
- package/dist/.sst/platform/src/components/aws/https-redirect.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/https-redirect.js +124 -0
- package/dist/.sst/platform/src/components/aws/https-redirect.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/iam-edit.d.ts +39 -0
- package/dist/.sst/platform/src/components/aws/iam-edit.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/iam-edit.js +40 -0
- package/dist/.sst/platform/src/components/aws/iam-edit.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/index.d.ts +48 -0
- package/dist/.sst/platform/src/components/aws/index.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/index.js +49 -0
- package/dist/.sst/platform/src/components/aws/index.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/kinesis-stream-lambda-subscriber.d.ts +48 -0
- package/dist/.sst/platform/src/components/aws/kinesis-stream-lambda-subscriber.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/kinesis-stream-lambda-subscriber.js +82 -0
- package/dist/.sst/platform/src/components/aws/kinesis-stream-lambda-subscriber.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/kinesis-stream.d.ts +249 -0
- package/dist/.sst/platform/src/components/aws/kinesis-stream.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/kinesis-stream.js +134 -0
- package/dist/.sst/platform/src/components/aws/kinesis-stream.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/linkable.d.ts +17 -0
- package/dist/.sst/platform/src/components/aws/linkable.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/linkable.js +25 -0
- package/dist/.sst/platform/src/components/aws/linkable.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/logging.d.ts +26 -0
- package/dist/.sst/platform/src/components/aws/logging.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/logging.js +26 -0
- package/dist/.sst/platform/src/components/aws/logging.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/mysql.d.ts +496 -0
- package/dist/.sst/platform/src/components/aws/mysql.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/mysql.js +514 -0
- package/dist/.sst/platform/src/components/aws/mysql.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/nextjs.d.ts +517 -0
- package/dist/.sst/platform/src/components/aws/nextjs.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/nextjs.js +444 -0
- package/dist/.sst/platform/src/components/aws/nextjs.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/nuxt.d.ts +495 -0
- package/dist/.sst/platform/src/components/aws/nuxt.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/nuxt.js +113 -0
- package/dist/.sst/platform/src/components/aws/nuxt.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/open-search.d.ts +295 -0
- package/dist/.sst/platform/src/components/aws/open-search.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/open-search.js +365 -0
- package/dist/.sst/platform/src/components/aws/open-search.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/opencontrol.d.ts +165 -0
- package/dist/.sst/platform/src/components/aws/opencontrol.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/opencontrol.js +164 -0
- package/dist/.sst/platform/src/components/aws/opencontrol.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/permission.d.ts +27 -0
- package/dist/.sst/platform/src/components/aws/permission.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/permission.js +19 -0
- package/dist/.sst/platform/src/components/aws/permission.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/postgres-v1.d.ts +317 -0
- package/dist/.sst/platform/src/components/aws/postgres-v1.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/postgres-v1.js +304 -0
- package/dist/.sst/platform/src/components/aws/postgres-v1.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/postgres.d.ts +500 -0
- package/dist/.sst/platform/src/components/aws/postgres.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/postgres.js +532 -0
- package/dist/.sst/platform/src/components/aws/postgres.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/providers/bucket-files.d.ts +18 -0
- package/dist/.sst/platform/src/components/aws/providers/bucket-files.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/providers/bucket-files.js +8 -0
- package/dist/.sst/platform/src/components/aws/providers/bucket-files.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/providers/distribution-deployment-waiter.d.ts +13 -0
- package/dist/.sst/platform/src/components/aws/providers/distribution-deployment-waiter.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/providers/distribution-deployment-waiter.js +8 -0
- package/dist/.sst/platform/src/components/aws/providers/distribution-deployment-waiter.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/providers/distribution-invalidation.d.ts +11 -0
- package/dist/.sst/platform/src/components/aws/providers/distribution-invalidation.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/providers/distribution-invalidation.js +8 -0
- package/dist/.sst/platform/src/components/aws/providers/distribution-invalidation.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/providers/function-environment-update.d.ts +29 -0
- package/dist/.sst/platform/src/components/aws/providers/function-environment-update.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/providers/function-environment-update.js +18 -0
- package/dist/.sst/platform/src/components/aws/providers/function-environment-update.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/providers/hosted-zone-lookup.d.ts +11 -0
- package/dist/.sst/platform/src/components/aws/providers/hosted-zone-lookup.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/providers/hosted-zone-lookup.js +8 -0
- package/dist/.sst/platform/src/components/aws/providers/hosted-zone-lookup.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/providers/kv-keys.d.ts +11 -0
- package/dist/.sst/platform/src/components/aws/providers/kv-keys.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/providers/kv-keys.js +8 -0
- package/dist/.sst/platform/src/components/aws/providers/kv-keys.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/providers/kv-routes-update.d.ts +11 -0
- package/dist/.sst/platform/src/components/aws/providers/kv-routes-update.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/providers/kv-routes-update.js +8 -0
- package/dist/.sst/platform/src/components/aws/providers/kv-routes-update.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/providers/origin-access-control.d.ts +8 -0
- package/dist/.sst/platform/src/components/aws/providers/origin-access-control.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/providers/origin-access-control.js +8 -0
- package/dist/.sst/platform/src/components/aws/providers/origin-access-control.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/providers/rds-role-lookup.d.ts +8 -0
- package/dist/.sst/platform/src/components/aws/providers/rds-role-lookup.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/providers/rds-role-lookup.js +8 -0
- package/dist/.sst/platform/src/components/aws/providers/rds-role-lookup.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/providers/vector-table.d.ts +12 -0
- package/dist/.sst/platform/src/components/aws/providers/vector-table.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/providers/vector-table.js +8 -0
- package/dist/.sst/platform/src/components/aws/providers/vector-table.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/queue-lambda-subscriber.d.ts +48 -0
- package/dist/.sst/platform/src/components/aws/queue-lambda-subscriber.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/queue-lambda-subscriber.js +81 -0
- package/dist/.sst/platform/src/components/aws/queue-lambda-subscriber.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/queue.d.ts +485 -0
- package/dist/.sst/platform/src/components/aws/queue.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/queue.js +322 -0
- package/dist/.sst/platform/src/components/aws/queue.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/react.d.ts +416 -0
- package/dist/.sst/platform/src/components/aws/react.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/react.js +157 -0
- package/dist/.sst/platform/src/components/aws/react.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/realtime-lambda-subscriber.d.ts +53 -0
- package/dist/.sst/platform/src/components/aws/realtime-lambda-subscriber.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/realtime-lambda-subscriber.js +78 -0
- package/dist/.sst/platform/src/components/aws/realtime-lambda-subscriber.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/realtime.d.ts +226 -0
- package/dist/.sst/platform/src/components/aws/realtime.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/realtime.js +221 -0
- package/dist/.sst/platform/src/components/aws/realtime.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/redis-v1.d.ts +338 -0
- package/dist/.sst/platform/src/components/aws/redis-v1.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/redis-v1.js +335 -0
- package/dist/.sst/platform/src/components/aws/redis-v1.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/redis.d.ts +364 -0
- package/dist/.sst/platform/src/components/aws/redis.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/redis.js +382 -0
- package/dist/.sst/platform/src/components/aws/redis.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/remix.d.ts +423 -0
- package/dist/.sst/platform/src/components/aws/remix.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/remix.js +212 -0
- package/dist/.sst/platform/src/components/aws/remix.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/router-base-route.d.ts +28 -0
- package/dist/.sst/platform/src/components/aws/router-base-route.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/router-base-route.js +40 -0
- package/dist/.sst/platform/src/components/aws/router-base-route.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/router-bucket-route.d.ts +29 -0
- package/dist/.sst/platform/src/components/aws/router-bucket-route.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/router-bucket-route.js +40 -0
- package/dist/.sst/platform/src/components/aws/router-bucket-route.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/router-url-route.d.ts +28 -0
- package/dist/.sst/platform/src/components/aws/router-url-route.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/router-url-route.js +51 -0
- package/dist/.sst/platform/src/components/aws/router-url-route.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/router.d.ts +1266 -0
- package/dist/.sst/platform/src/components/aws/router.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/router.js +1156 -0
- package/dist/.sst/platform/src/components/aws/router.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/service-v1.d.ts +78 -0
- package/dist/.sst/platform/src/components/aws/service-v1.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/service-v1.js +606 -0
- package/dist/.sst/platform/src/components/aws/service-v1.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/service.d.ts +1599 -0
- package/dist/.sst/platform/src/components/aws/service.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/service.js +924 -0
- package/dist/.sst/platform/src/components/aws/service.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/sns-topic-lambda-subscriber.d.ts +53 -0
- package/dist/.sst/platform/src/components/aws/sns-topic-lambda-subscriber.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/sns-topic-lambda-subscriber.js +75 -0
- package/dist/.sst/platform/src/components/aws/sns-topic-lambda-subscriber.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/sns-topic-queue-subscriber.d.ts +55 -0
- package/dist/.sst/platform/src/components/aws/sns-topic-queue-subscriber.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/sns-topic-queue-subscriber.js +59 -0
- package/dist/.sst/platform/src/components/aws/sns-topic-queue-subscriber.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/sns-topic.d.ts +389 -0
- package/dist/.sst/platform/src/components/aws/sns-topic.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/sns-topic.js +233 -0
- package/dist/.sst/platform/src/components/aws/sns-topic.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/solid-start.d.ts +414 -0
- package/dist/.sst/platform/src/components/aws/solid-start.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/solid-start.js +120 -0
- package/dist/.sst/platform/src/components/aws/solid-start.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/ssr-site.d.ts +494 -0
- package/dist/.sst/platform/src/components/aws/ssr-site.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/ssr-site.js +792 -0
- package/dist/.sst/platform/src/components/aws/ssr-site.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/static-site.d.ts +736 -0
- package/dist/.sst/platform/src/components/aws/static-site.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/static-site.js +583 -0
- package/dist/.sst/platform/src/components/aws/static-site.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/step-functions/choice.d.ts +73 -0
- package/dist/.sst/platform/src/components/aws/step-functions/choice.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/step-functions/choice.js +98 -0
- package/dist/.sst/platform/src/components/aws/step-functions/choice.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/step-functions/fail.d.ts +63 -0
- package/dist/.sst/platform/src/components/aws/step-functions/fail.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/step-functions/fail.js +25 -0
- package/dist/.sst/platform/src/components/aws/step-functions/fail.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/step-functions/map.d.ts +236 -0
- package/dist/.sst/platform/src/components/aws/step-functions/map.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/step-functions/map.js +108 -0
- package/dist/.sst/platform/src/components/aws/step-functions/map.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/step-functions/parallel.d.ts +127 -0
- package/dist/.sst/platform/src/components/aws/step-functions/parallel.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/step-functions/parallel.js +129 -0
- package/dist/.sst/platform/src/components/aws/step-functions/parallel.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/step-functions/pass.d.ts +39 -0
- package/dist/.sst/platform/src/components/aws/step-functions/pass.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/step-functions/pass.js +41 -0
- package/dist/.sst/platform/src/components/aws/step-functions/pass.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/step-functions/state.d.ts +197 -0
- package/dist/.sst/platform/src/components/aws/step-functions/state.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/step-functions/state.js +134 -0
- package/dist/.sst/platform/src/components/aws/step-functions/state.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/step-functions/succeed.d.ts +26 -0
- package/dist/.sst/platform/src/components/aws/step-functions/succeed.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/step-functions/succeed.js +25 -0
- package/dist/.sst/platform/src/components/aws/step-functions/succeed.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/step-functions/task.d.ts +477 -0
- package/dist/.sst/platform/src/components/aws/step-functions/task.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/step-functions/task.js +116 -0
- package/dist/.sst/platform/src/components/aws/step-functions/task.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/step-functions/wait.d.ts +91 -0
- package/dist/.sst/platform/src/components/aws/step-functions/wait.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/step-functions/wait.js +46 -0
- package/dist/.sst/platform/src/components/aws/step-functions/wait.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/step-functions.d.ts +473 -0
- package/dist/.sst/platform/src/components/aws/step-functions.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/step-functions.js +576 -0
- package/dist/.sst/platform/src/components/aws/step-functions.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/svelte-kit.d.ts +417 -0
- package/dist/.sst/platform/src/components/aws/svelte-kit.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/svelte-kit.js +144 -0
- package/dist/.sst/platform/src/components/aws/svelte-kit.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/tan-stack-start.d.ts +354 -0
- package/dist/.sst/platform/src/components/aws/tan-stack-start.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/tan-stack-start.js +143 -0
- package/dist/.sst/platform/src/components/aws/tan-stack-start.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/task.d.ts +322 -0
- package/dist/.sst/platform/src/components/aws/task.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/task.js +311 -0
- package/dist/.sst/platform/src/components/aws/task.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/vector.d.ts +150 -0
- package/dist/.sst/platform/src/components/aws/vector.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/vector.js +224 -0
- package/dist/.sst/platform/src/components/aws/vector.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/vpc-v1.d.ts +208 -0
- package/dist/.sst/platform/src/components/aws/vpc-v1.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/vpc-v1.js +355 -0
- package/dist/.sst/platform/src/components/aws/vpc-v1.js.map +1 -0
- package/dist/.sst/platform/src/components/aws/vpc.d.ts +444 -0
- package/dist/.sst/platform/src/components/aws/vpc.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/vpc.js +834 -0
- package/dist/.sst/platform/src/components/aws/vpc.js.map +1 -0
- package/dist/.sst/platform/src/components/base/base-site.d.ts +53 -0
- package/dist/.sst/platform/src/components/base/base-site.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/base/base-site.js +47 -0
- package/dist/.sst/platform/src/components/base/base-site.js.map +1 -0
- package/dist/.sst/platform/src/components/base/base-ssr-site.d.ts +111 -0
- package/dist/.sst/platform/src/components/base/base-ssr-site.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/base/base-ssr-site.js +72 -0
- package/dist/.sst/platform/src/components/base/base-ssr-site.js.map +1 -0
- package/dist/.sst/platform/src/components/base/base-static-site.d.ts +199 -0
- package/dist/.sst/platform/src/components/base/base-static-site.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/base/base-static-site.js +87 -0
- package/dist/.sst/platform/src/components/base/base-static-site.js.map +1 -0
- package/dist/.sst/platform/src/components/cloudflare/account-id.d.ts +2 -0
- package/dist/.sst/platform/src/components/cloudflare/account-id.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/cloudflare/account-id.js +2 -0
- package/dist/.sst/platform/src/components/cloudflare/account-id.js.map +1 -0
- package/dist/.sst/platform/src/components/cloudflare/auth.d.ts +22 -0
- package/dist/.sst/platform/src/components/cloudflare/auth.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/cloudflare/auth.js +37 -0
- package/dist/.sst/platform/src/components/cloudflare/auth.js.map +1 -0
- package/dist/.sst/platform/src/components/cloudflare/binding.d.ts +69 -0
- package/dist/.sst/platform/src/components/cloudflare/binding.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/cloudflare/binding.js +25 -0
- package/dist/.sst/platform/src/components/cloudflare/binding.js.map +1 -0
- package/dist/.sst/platform/src/components/cloudflare/bucket.d.ts +101 -0
- package/dist/.sst/platform/src/components/cloudflare/bucket.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/cloudflare/bucket.js +98 -0
- package/dist/.sst/platform/src/components/cloudflare/bucket.js.map +1 -0
- package/dist/.sst/platform/src/components/cloudflare/cron.d.ts +121 -0
- package/dist/.sst/platform/src/components/cloudflare/cron.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/cloudflare/cron.js +86 -0
- package/dist/.sst/platform/src/components/cloudflare/cron.js.map +1 -0
- package/dist/.sst/platform/src/components/cloudflare/d1.d.ts +107 -0
- package/dist/.sst/platform/src/components/cloudflare/d1.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/cloudflare/d1.js +104 -0
- package/dist/.sst/platform/src/components/cloudflare/d1.js.map +1 -0
- package/dist/.sst/platform/src/components/cloudflare/dns.d.ts +94 -0
- package/dist/.sst/platform/src/components/cloudflare/dns.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/cloudflare/dns.js +138 -0
- package/dist/.sst/platform/src/components/cloudflare/dns.js.map +1 -0
- package/dist/.sst/platform/src/components/cloudflare/helpers/fetch.d.ts +19 -0
- package/dist/.sst/platform/src/components/cloudflare/helpers/fetch.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/cloudflare/helpers/fetch.js +39 -0
- package/dist/.sst/platform/src/components/cloudflare/helpers/fetch.js.map +1 -0
- package/dist/.sst/platform/src/components/cloudflare/helpers/worker-builder.d.ts +10 -0
- package/dist/.sst/platform/src/components/cloudflare/helpers/worker-builder.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/cloudflare/helpers/worker-builder.js +25 -0
- package/dist/.sst/platform/src/components/cloudflare/helpers/worker-builder.js.map +1 -0
- package/dist/.sst/platform/src/components/cloudflare/index.d.ts +13 -0
- package/dist/.sst/platform/src/components/cloudflare/index.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/cloudflare/index.js +13 -0
- package/dist/.sst/platform/src/components/cloudflare/index.js.map +1 -0
- package/dist/.sst/platform/src/components/cloudflare/kv.d.ts +101 -0
- package/dist/.sst/platform/src/components/cloudflare/kv.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/cloudflare/kv.js +98 -0
- package/dist/.sst/platform/src/components/cloudflare/kv.js.map +1 -0
- package/dist/.sst/platform/src/components/cloudflare/providers/dns-record.d.ts +20 -0
- package/dist/.sst/platform/src/components/cloudflare/providers/dns-record.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/cloudflare/providers/dns-record.js +11 -0
- package/dist/.sst/platform/src/components/cloudflare/providers/dns-record.js.map +1 -0
- package/dist/.sst/platform/src/components/cloudflare/providers/kv-data.d.ts +23 -0
- package/dist/.sst/platform/src/components/cloudflare/providers/kv-data.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/cloudflare/providers/kv-data.js +63 -0
- package/dist/.sst/platform/src/components/cloudflare/providers/kv-data.js.map +1 -0
- package/dist/.sst/platform/src/components/cloudflare/providers/worker-url.d.ts +22 -0
- package/dist/.sst/platform/src/components/cloudflare/providers/worker-url.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/cloudflare/providers/worker-url.js +83 -0
- package/dist/.sst/platform/src/components/cloudflare/providers/worker-url.js.map +1 -0
- package/dist/.sst/platform/src/components/cloudflare/providers/zone-lookup.d.ts +22 -0
- package/dist/.sst/platform/src/components/cloudflare/providers/zone-lookup.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/cloudflare/providers/zone-lookup.js +54 -0
- package/dist/.sst/platform/src/components/cloudflare/providers/zone-lookup.js.map +1 -0
- package/dist/.sst/platform/src/components/cloudflare/queue.d.ts +60 -0
- package/dist/.sst/platform/src/components/cloudflare/queue.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/cloudflare/queue.js +57 -0
- package/dist/.sst/platform/src/components/cloudflare/queue.js.map +1 -0
- package/dist/.sst/platform/src/components/cloudflare/remix.d.ts +223 -0
- package/dist/.sst/platform/src/components/cloudflare/remix.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/cloudflare/remix.js +291 -0
- package/dist/.sst/platform/src/components/cloudflare/remix.js.map +1 -0
- package/dist/.sst/platform/src/components/cloudflare/ssr-site.d.ts +59 -0
- package/dist/.sst/platform/src/components/cloudflare/ssr-site.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/cloudflare/ssr-site.js +177 -0
- package/dist/.sst/platform/src/components/cloudflare/ssr-site.js.map +1 -0
- package/dist/.sst/platform/src/components/cloudflare/static-site.d.ts +262 -0
- package/dist/.sst/platform/src/components/cloudflare/static-site.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/cloudflare/static-site.js +315 -0
- package/dist/.sst/platform/src/components/cloudflare/static-site.js.map +1 -0
- package/dist/.sst/platform/src/components/cloudflare/worker.d.ts +273 -0
- package/dist/.sst/platform/src/components/cloudflare/worker.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/cloudflare/worker.js +326 -0
- package/dist/.sst/platform/src/components/cloudflare/worker.js.map +1 -0
- package/dist/.sst/platform/src/components/component.d.ts +37 -0
- package/dist/.sst/platform/src/components/component.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/component.js +395 -0
- package/dist/.sst/platform/src/components/component.js.map +1 -0
- package/dist/.sst/platform/src/components/cpu.d.ts +3 -0
- package/dist/.sst/platform/src/components/cpu.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/cpu.js +9 -0
- package/dist/.sst/platform/src/components/cpu.js.map +1 -0
- package/dist/.sst/platform/src/components/dns.d.ts +59 -0
- package/dist/.sst/platform/src/components/dns.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/dns.js +7 -0
- package/dist/.sst/platform/src/components/dns.js.map +1 -0
- package/dist/.sst/platform/src/components/duration.d.ts +6 -0
- package/dist/.sst/platform/src/components/duration.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/duration.js +19 -0
- package/dist/.sst/platform/src/components/duration.js.map +1 -0
- package/dist/.sst/platform/src/components/error.d.ts +4 -0
- package/dist/.sst/platform/src/components/error.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/error.js +6 -0
- package/dist/.sst/platform/src/components/error.js.map +1 -0
- package/dist/.sst/platform/src/components/experimental/dev-command.d.ts +99 -0
- package/dist/.sst/platform/src/components/experimental/dev-command.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/experimental/dev-command.js +59 -0
- package/dist/.sst/platform/src/components/experimental/dev-command.js.map +1 -0
- package/dist/.sst/platform/src/components/experimental/index.d.ts +2 -0
- package/dist/.sst/platform/src/components/experimental/index.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/experimental/index.js +2 -0
- package/dist/.sst/platform/src/components/experimental/index.js.map +1 -0
- package/dist/.sst/platform/src/components/hint.d.ts +7 -0
- package/dist/.sst/platform/src/components/hint.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/hint.js +20 -0
- package/dist/.sst/platform/src/components/hint.js.map +1 -0
- package/dist/.sst/platform/src/components/index.d.ts +16 -0
- package/dist/.sst/platform/src/components/index.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/index.js +16 -0
- package/dist/.sst/platform/src/components/index.js.map +1 -0
- package/dist/.sst/platform/src/components/input.d.ts +3 -0
- package/dist/.sst/platform/src/components/input.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/input.js +2 -0
- package/dist/.sst/platform/src/components/input.js.map +1 -0
- package/dist/.sst/platform/src/components/link.d.ts +41 -0
- package/dist/.sst/platform/src/components/link.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/link.js +138 -0
- package/dist/.sst/platform/src/components/link.js.map +1 -0
- package/dist/.sst/platform/src/components/linkable.d.ts +271 -0
- package/dist/.sst/platform/src/components/linkable.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/linkable.js +244 -0
- package/dist/.sst/platform/src/components/linkable.js.map +1 -0
- package/dist/.sst/platform/src/components/naming.d.ts +7 -0
- package/dist/.sst/platform/src/components/naming.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/naming.js +58 -0
- package/dist/.sst/platform/src/components/naming.js.map +1 -0
- package/dist/.sst/platform/src/components/path.d.ts +2 -0
- package/dist/.sst/platform/src/components/path.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/path.js +5 -0
- package/dist/.sst/platform/src/components/path.js.map +1 -0
- package/dist/.sst/platform/src/components/rpc/rpc.d.ts +18 -0
- package/dist/.sst/platform/src/components/rpc/rpc.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/rpc/rpc.js +120 -0
- package/dist/.sst/platform/src/components/rpc/rpc.js.map +1 -0
- package/dist/.sst/platform/src/components/secret.d.ts +125 -0
- package/dist/.sst/platform/src/components/secret.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/secret.js +143 -0
- package/dist/.sst/platform/src/components/secret.js.map +1 -0
- package/dist/.sst/platform/src/components/size.d.ts +5 -0
- package/dist/.sst/platform/src/components/size.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/size.js +29 -0
- package/dist/.sst/platform/src/components/size.js.map +1 -0
- package/dist/.sst/platform/src/components/vercel/account-id.d.ts +2 -0
- package/dist/.sst/platform/src/components/vercel/account-id.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/vercel/account-id.js +2 -0
- package/dist/.sst/platform/src/components/vercel/account-id.js.map +1 -0
- package/dist/.sst/platform/src/components/vercel/dns.d.ts +73 -0
- package/dist/.sst/platform/src/components/vercel/dns.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/vercel/dns.js +104 -0
- package/dist/.sst/platform/src/components/vercel/dns.js.map +1 -0
- package/dist/.sst/platform/src/components/vercel/index.d.ts +3 -0
- package/dist/.sst/platform/src/components/vercel/index.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/vercel/index.js +3 -0
- package/dist/.sst/platform/src/components/vercel/index.js.map +1 -0
- package/dist/.sst/platform/src/components/vercel/providers/dns-record.d.ts +14 -0
- package/dist/.sst/platform/src/components/vercel/providers/dns-record.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/vercel/providers/dns-record.js +8 -0
- package/dist/.sst/platform/src/components/vercel/providers/dns-record.js.map +1 -0
- package/dist/.sst/platform/src/config.d.ts +1243 -0
- package/dist/.sst/platform/src/config.d.ts.map +1 -0
- package/dist/.sst/platform/src/config.js +5 -0
- package/dist/.sst/platform/src/config.js.map +1 -0
- package/dist/.sst/platform/src/util/compare-semver.d.ts +4 -0
- package/dist/.sst/platform/src/util/compare-semver.d.ts.map +1 -0
- package/dist/.sst/platform/src/util/compare-semver.js +24 -0
- package/dist/.sst/platform/src/util/compare-semver.js.map +1 -0
- package/dist/.sst/platform/src/util/lazy.d.ts +2 -0
- package/dist/.sst/platform/src/util/lazy.d.ts.map +1 -0
- package/dist/.sst/platform/src/util/lazy.js +12 -0
- package/dist/.sst/platform/src/util/lazy.js.map +1 -0
- package/dist/.sst/platform/src/util/path-to-regex.d.ts +128 -0
- package/dist/.sst/platform/src/util/path-to-regex.d.ts.map +1 -0
- package/dist/.sst/platform/src/util/path-to-regex.js +392 -0
- package/dist/.sst/platform/src/util/path-to-regex.js.map +1 -0
- package/dist/.sst/platform/src/util/semaphore.d.ts +9 -0
- package/dist/.sst/platform/src/util/semaphore.d.ts.map +1 -0
- package/dist/.sst/platform/src/util/semaphore.js +36 -0
- package/dist/.sst/platform/src/util/semaphore.js.map +1 -0
- package/dist/.sst/platform/src/util/warn.d.ts +2 -0
- package/dist/.sst/platform/src/util/warn.d.ts.map +1 -0
- package/dist/.sst/platform/src/util/warn.js +8 -0
- package/dist/.sst/platform/src/util/warn.js.map +1 -0
- package/dist/components/monorise-core.d.ts +17 -0
- package/dist/components/monorise-core.d.ts.map +1 -0
- package/dist/components/monorise-core.js +134 -0
- package/dist/components/monorise-core.js.map +1 -0
- package/dist/components/q-function.d.ts +17 -0
- package/dist/components/q-function.d.ts.map +1 -0
- package/dist/components/q-function.js +53 -0
- package/dist/components/q-function.js.map +1 -0
- package/dist/components/single-table.d.ts +12 -0
- package/dist/components/single-table.d.ts.map +1 -0
- package/dist/components/single-table.js +71 -0
- package/dist/components/single-table.js.map +1 -0
- package/dist/constants/event.d.ts +73 -0
- package/dist/constants/event.d.ts.map +1 -0
- package/dist/constants/event.js +74 -0
- package/dist/constants/event.js.map +1 -0
- package/dist/constants/table.d.ts +3 -0
- package/dist/constants/table.d.ts.map +1 -0
- package/dist/constants/table.js +3 -0
- package/dist/constants/table.js.map +1 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +11 -0
- package/dist/index.js.map +1 -0
- package/dist/sst.config.d.ts +3 -0
- package/dist/sst.config.d.ts.map +1 -0
- package/dist/sst.config.js +24 -0
- package/dist/sst.config.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +25 -0
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { JSONata, State, StateArgs } from "./state";
|
|
2
|
+
export interface ChoiceArgs extends StateArgs {
|
|
3
|
+
}
|
|
4
|
+
/**
|
|
5
|
+
* The `Choice` state is internally used by the `StepFunctions` component to add a [Choice
|
|
6
|
+
* workflow state](https://docs.aws.amazon.com/step-functions/latest/dg/state-choice.html)
|
|
7
|
+
* to a state machine.
|
|
8
|
+
*
|
|
9
|
+
* :::note
|
|
10
|
+
* This component is not intended to be created directly.
|
|
11
|
+
* :::
|
|
12
|
+
*
|
|
13
|
+
* You'll find this component returned by the `choice` method of the `StepFunctions` component.
|
|
14
|
+
*/
|
|
15
|
+
export declare class Choice extends State {
|
|
16
|
+
protected args: ChoiceArgs;
|
|
17
|
+
private choices;
|
|
18
|
+
private defaultNext?;
|
|
19
|
+
constructor(args: ChoiceArgs);
|
|
20
|
+
/**
|
|
21
|
+
* Add a matching condition to the `Choice` state. If the given condition matches,
|
|
22
|
+
* it'll continue execution to the given state.
|
|
23
|
+
*
|
|
24
|
+
* The condition needs to be a JSONata expression that evaluates to a boolean.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
*
|
|
28
|
+
* ```ts
|
|
29
|
+
* sst.aws.StepFunctions.choice({
|
|
30
|
+
* // ...
|
|
31
|
+
* })
|
|
32
|
+
* .when(
|
|
33
|
+
* "{% $states.input.status === 'unpaid' %}",
|
|
34
|
+
* state
|
|
35
|
+
* );
|
|
36
|
+
* ```
|
|
37
|
+
*
|
|
38
|
+
* @param condition The JSONata condition to evaluate.
|
|
39
|
+
* @param next The state to transition to.
|
|
40
|
+
*/
|
|
41
|
+
when(condition: JSONata, next: State): this;
|
|
42
|
+
/**
|
|
43
|
+
* Add a default next state to the `Choice` state. If no other condition matches,
|
|
44
|
+
* continue execution with the given state.
|
|
45
|
+
*/
|
|
46
|
+
otherwise(next: State): this;
|
|
47
|
+
/**
|
|
48
|
+
* @internal
|
|
49
|
+
*/
|
|
50
|
+
assertStateNameUnique(states?: Map<string, State>): void;
|
|
51
|
+
/**
|
|
52
|
+
* @internal
|
|
53
|
+
*/
|
|
54
|
+
assertStateNotReused(states?: Map<State, string>, graphId?: string): void;
|
|
55
|
+
/**
|
|
56
|
+
* @internal
|
|
57
|
+
*/
|
|
58
|
+
getPermissions(): sst.aws.FunctionPermissionArgs[];
|
|
59
|
+
/**
|
|
60
|
+
* @internal
|
|
61
|
+
*/
|
|
62
|
+
serialize(): {};
|
|
63
|
+
protected toJSON(): {
|
|
64
|
+
End: undefined;
|
|
65
|
+
Type: string;
|
|
66
|
+
Choices: {
|
|
67
|
+
Condition: `{% ${string} %}`;
|
|
68
|
+
Next: string;
|
|
69
|
+
}[];
|
|
70
|
+
Default: string | undefined;
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
//# sourceMappingURL=choice.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"choice.d.ts","sourceRoot":"","sources":["../../../../../../../.sst/platform/src/components/aws/step-functions/choice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAE/D,MAAM,WAAW,UAAW,SAAQ,SAAS;CAAI;AAEjD;;;;;;;;;;GAUG;AACH,qBAAa,MAAO,SAAQ,KAAK;IAOnB,SAAS,CAAC,IAAI,EAAE,UAAU;IANtC,OAAO,CAAC,OAAO,CAGN;IACT,OAAO,CAAC,WAAW,CAAC,CAAQ;gBAEN,IAAI,EAAE,UAAU;IAItC;;;;;;;;;;;;;;;;;;;;OAoBG;IACI,IAAI,CAAC,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,KAAK;IAQ3C;;;OAGG;IACI,SAAS,CAAC,IAAI,EAAE,KAAK;IAK5B;;OAEG;IACI,qBAAqB,CAAC,MAAM,GAAE,GAAG,CAAC,MAAM,EAAE,KAAK,CAAa;IAMnE;;OAEG;IACI,oBAAoB,CACzB,MAAM,GAAE,GAAG,CAAC,KAAK,EAAE,MAAM,CAAa,EACtC,OAAO,GAAE,MAAe;IAO1B;;OAEG;IACI,cAAc;IAQrB;;OAEG;IACI,SAAS;IAWhB,SAAS,CAAC,MAAM;;;;;;;;;CAYjB"}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { isJSONata, State } from "./state";
|
|
2
|
+
/**
|
|
3
|
+
* The `Choice` state is internally used by the `StepFunctions` component to add a [Choice
|
|
4
|
+
* workflow state](https://docs.aws.amazon.com/step-functions/latest/dg/state-choice.html)
|
|
5
|
+
* to a state machine.
|
|
6
|
+
*
|
|
7
|
+
* :::note
|
|
8
|
+
* This component is not intended to be created directly.
|
|
9
|
+
* :::
|
|
10
|
+
*
|
|
11
|
+
* You'll find this component returned by the `choice` method of the `StepFunctions` component.
|
|
12
|
+
*/
|
|
13
|
+
export class Choice extends State {
|
|
14
|
+
constructor(args) {
|
|
15
|
+
super(args);
|
|
16
|
+
this.args = args;
|
|
17
|
+
this.choices = [];
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Add a matching condition to the `Choice` state. If the given condition matches,
|
|
21
|
+
* it'll continue execution to the given state.
|
|
22
|
+
*
|
|
23
|
+
* The condition needs to be a JSONata expression that evaluates to a boolean.
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
*
|
|
27
|
+
* ```ts
|
|
28
|
+
* sst.aws.StepFunctions.choice({
|
|
29
|
+
* // ...
|
|
30
|
+
* })
|
|
31
|
+
* .when(
|
|
32
|
+
* "{% $states.input.status === 'unpaid' %}",
|
|
33
|
+
* state
|
|
34
|
+
* );
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
37
|
+
* @param condition The JSONata condition to evaluate.
|
|
38
|
+
* @param next The state to transition to.
|
|
39
|
+
*/
|
|
40
|
+
when(condition, next) {
|
|
41
|
+
if (!isJSONata(condition))
|
|
42
|
+
throw new Error("Condition must start with '{%' and end with '%}'.");
|
|
43
|
+
this.choices.push({ condition, next });
|
|
44
|
+
return this;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Add a default next state to the `Choice` state. If no other condition matches,
|
|
48
|
+
* continue execution with the given state.
|
|
49
|
+
*/
|
|
50
|
+
otherwise(next) {
|
|
51
|
+
this.defaultNext = next;
|
|
52
|
+
return this;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* @internal
|
|
56
|
+
*/
|
|
57
|
+
assertStateNameUnique(states = new Map()) {
|
|
58
|
+
var _a;
|
|
59
|
+
super.assertStateNameUnique(states);
|
|
60
|
+
this.choices.forEach((c) => c.next.assertStateNameUnique(states));
|
|
61
|
+
(_a = this.defaultNext) === null || _a === void 0 ? void 0 : _a.assertStateNameUnique(states);
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* @internal
|
|
65
|
+
*/
|
|
66
|
+
assertStateNotReused(states = new Map(), graphId = "main") {
|
|
67
|
+
var _a;
|
|
68
|
+
super.assertStateNotReused(states, graphId);
|
|
69
|
+
this.choices.forEach((c) => c.next.assertStateNotReused(states, graphId));
|
|
70
|
+
(_a = this.defaultNext) === null || _a === void 0 ? void 0 : _a.assertStateNotReused(states, graphId);
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
75
|
+
getPermissions() {
|
|
76
|
+
var _a;
|
|
77
|
+
return [
|
|
78
|
+
...this.choices.flatMap((c) => c.next.getPermissions()),
|
|
79
|
+
...(((_a = this.defaultNext) === null || _a === void 0 ? void 0 : _a.getPermissions()) || []),
|
|
80
|
+
...super.getPermissions(),
|
|
81
|
+
];
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* @internal
|
|
85
|
+
*/
|
|
86
|
+
serialize() {
|
|
87
|
+
var _a;
|
|
88
|
+
return Object.assign(Object.assign(Object.assign({}, super.serialize()), (_a = this.defaultNext) === null || _a === void 0 ? void 0 : _a.serialize()), this.choices.reduce((acc, c) => (Object.assign(Object.assign({}, acc), c.next.serialize())), {}));
|
|
89
|
+
}
|
|
90
|
+
toJSON() {
|
|
91
|
+
var _a;
|
|
92
|
+
return Object.assign(Object.assign({ Type: "Choice", Choices: this.choices.map((c) => ({
|
|
93
|
+
Condition: c.condition,
|
|
94
|
+
Next: c.next.name,
|
|
95
|
+
})), Default: (_a = this.defaultNext) === null || _a === void 0 ? void 0 : _a.name }, super.toJSON()), { End: undefined });
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
//# sourceMappingURL=choice.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"choice.js","sourceRoot":"","sources":["../../../../../../../.sst/platform/src/components/aws/step-functions/choice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAW,KAAK,EAAa,MAAM,SAAS,CAAC;AAI/D;;;;;;;;;;GAUG;AACH,MAAM,OAAO,MAAO,SAAQ,KAAK;IAO/B,YAAsB,IAAgB;QACpC,KAAK,CAAC,IAAI,CAAC,CAAC;QADQ,SAAI,GAAJ,IAAI,CAAY;QAN9B,YAAO,GAGT,EAAE,CAAC;IAKT,CAAC;IAED;;;;;;;;;;;;;;;;;;;;OAoBG;IACI,IAAI,CAAC,SAAkB,EAAE,IAAW;QACzC,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC;YACvB,MAAM,IAAI,KAAK,CAAC,mDAAmD,CAAC,CAAC;QAEvE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;QACvC,OAAO,IAAI,CAAC;IACd,CAAC;IAED;;;OAGG;IACI,SAAS,CAAC,IAAW;QAC1B,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;QACxB,OAAO,IAAI,CAAC;IACd,CAAC;IAED;;OAEG;IACI,qBAAqB,CAAC,SAA6B,IAAI,GAAG,EAAE;;QACjE,KAAK,CAAC,qBAAqB,CAAC,MAAM,CAAC,CAAC;QACpC,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,qBAAqB,CAAC,MAAM,CAAC,CAAC,CAAC;QAClE,MAAA,IAAI,CAAC,WAAW,0CAAE,qBAAqB,CAAC,MAAM,CAAC,CAAC;IAClD,CAAC;IAED;;OAEG;IACI,oBAAoB,CACzB,SAA6B,IAAI,GAAG,EAAE,EACtC,UAAkB,MAAM;;QAExB,KAAK,CAAC,oBAAoB,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;QAC5C,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;QAC1E,MAAA,IAAI,CAAC,WAAW,0CAAE,oBAAoB,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC1D,CAAC;IAED;;OAEG;IACI,cAAc;;QACnB,OAAO;YACL,GAAG,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,EAAE,CAAC;YACvD,GAAG,CAAC,CAAA,MAAA,IAAI,CAAC,WAAW,0CAAE,cAAc,EAAE,KAAI,EAAE,CAAC;YAC7C,GAAG,KAAK,CAAC,cAAc,EAAE;SAC1B,CAAC;IACJ,CAAC;IAED;;OAEG;IACI,SAAS;;QACd,qDACK,KAAK,CAAC,SAAS,EAAE,GACjB,MAAA,IAAI,CAAC,WAAW,0CAAE,SAAS,EAAE,GAC7B,IAAI,CAAC,OAAO,CAAC,MAAM,CACpB,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,iCAAM,GAAG,GAAK,CAAC,CAAC,IAAI,CAAC,SAAS,EAAE,EAAG,EAC/C,EAAE,CACH,EACD;IACJ,CAAC;IAES,MAAM;;QACd,qCACE,IAAI,EAAE,QAAQ,EACd,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;gBAChC,SAAS,EAAE,CAAC,CAAC,SAAS;gBACtB,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI;aAClB,CAAC,CAAC,EACH,OAAO,EAAE,MAAA,IAAI,CAAC,WAAW,0CAAE,IAAI,IAC5B,KAAK,CAAC,MAAM,EAAE,KACjB,GAAG,EAAE,SAAS,IACd;IACJ,CAAC;CACF"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { Input } from "../../input";
|
|
2
|
+
import { State, StateArgs } from "./state";
|
|
3
|
+
export interface FailArgs extends StateArgs {
|
|
4
|
+
/**
|
|
5
|
+
* A custom string that describes the cause of the error.
|
|
6
|
+
*
|
|
7
|
+
* ```ts
|
|
8
|
+
* {
|
|
9
|
+
* cause: "User not found"
|
|
10
|
+
* }
|
|
11
|
+
* ```
|
|
12
|
+
*
|
|
13
|
+
* Alternatively, you can specify a JSONata expression that evaluates to a string.
|
|
14
|
+
*
|
|
15
|
+
* ```ts
|
|
16
|
+
* {
|
|
17
|
+
* cause: "{% $states.input.user %}"
|
|
18
|
+
* }
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
cause?: Input<string>;
|
|
22
|
+
/**
|
|
23
|
+
* An error name that you can provide to perform error handling using `retry` or
|
|
24
|
+
* `catch`.
|
|
25
|
+
* ```ts
|
|
26
|
+
* {
|
|
27
|
+
* error: "UserNotFound"
|
|
28
|
+
* }
|
|
29
|
+
* ```
|
|
30
|
+
* Alternatively, you can specify a JSONata expression that evaluates to a string.
|
|
31
|
+
* ```ts
|
|
32
|
+
* {
|
|
33
|
+
* error: "{% $states.input.error %}"
|
|
34
|
+
* }
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
error?: Input<string>;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* The `Fail` state is internally used by the `StepFunctions` component to add a
|
|
41
|
+
* [Fail workflow state](https://docs.aws.amazon.com/step-functions/latest/dg/state-fail.html)
|
|
42
|
+
* to a state machine.
|
|
43
|
+
*
|
|
44
|
+
* :::note
|
|
45
|
+
* This component is not intended to be created directly.
|
|
46
|
+
* :::
|
|
47
|
+
*
|
|
48
|
+
* You'll find this component returned by the `fail` method of the `StepFunctions` component.
|
|
49
|
+
*/
|
|
50
|
+
export declare class Fail extends State {
|
|
51
|
+
protected args: FailArgs;
|
|
52
|
+
constructor(args: FailArgs);
|
|
53
|
+
/**
|
|
54
|
+
* Serialize the state into JSON state definition.
|
|
55
|
+
*/
|
|
56
|
+
protected toJSON(): {
|
|
57
|
+
End: undefined;
|
|
58
|
+
Type: string;
|
|
59
|
+
Error: Input<string> | undefined;
|
|
60
|
+
Cause: Input<string> | undefined;
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
//# sourceMappingURL=fail.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fail.d.ts","sourceRoot":"","sources":["../../../../../../../.sst/platform/src/components/aws/step-functions/fail.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAE3C,MAAM,WAAW,QAAS,SAAQ,SAAS;IACzC;;;;;;;;;;;;;;;;OAgBG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB;;;;;;;;;;;;;;OAcG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACvB;AAED;;;;;;;;;;GAUG;AACH,qBAAa,IAAK,SAAQ,KAAK;IACjB,SAAS,CAAC,IAAI,EAAE,QAAQ;gBAAd,IAAI,EAAE,QAAQ;IAIpC;;OAEG;IACH,SAAS,CAAC,MAAM;;;;;;CASjB"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { State } from "./state";
|
|
2
|
+
/**
|
|
3
|
+
* The `Fail` state is internally used by the `StepFunctions` component to add a
|
|
4
|
+
* [Fail workflow state](https://docs.aws.amazon.com/step-functions/latest/dg/state-fail.html)
|
|
5
|
+
* to a state machine.
|
|
6
|
+
*
|
|
7
|
+
* :::note
|
|
8
|
+
* This component is not intended to be created directly.
|
|
9
|
+
* :::
|
|
10
|
+
*
|
|
11
|
+
* You'll find this component returned by the `fail` method of the `StepFunctions` component.
|
|
12
|
+
*/
|
|
13
|
+
export class Fail extends State {
|
|
14
|
+
constructor(args) {
|
|
15
|
+
super(args);
|
|
16
|
+
this.args = args;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Serialize the state into JSON state definition.
|
|
20
|
+
*/
|
|
21
|
+
toJSON() {
|
|
22
|
+
return Object.assign(Object.assign({ Type: "Fail", Error: this.args.error, Cause: this.args.cause }, super.toJSON()), { End: undefined });
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=fail.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fail.js","sourceRoot":"","sources":["../../../../../../../.sst/platform/src/components/aws/step-functions/fail.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAa,MAAM,SAAS,CAAC;AAuC3C;;;;;;;;;;GAUG;AACH,MAAM,OAAO,IAAK,SAAQ,KAAK;IAC7B,YAAsB,IAAc;QAClC,KAAK,CAAC,IAAI,CAAC,CAAC;QADQ,SAAI,GAAJ,IAAI,CAAU;IAEpC,CAAC;IAED;;OAEG;IACO,MAAM;QACd,qCACE,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,IAAI,CAAC,IAAI,CAAC,KAAK,EACtB,KAAK,EAAE,IAAI,CAAC,IAAI,CAAC,KAAK,IACnB,KAAK,CAAC,MAAM,EAAE,KACjB,GAAG,EAAE,SAAS,IACd;IACJ,CAAC;CACF"}
|
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
import { Output } from "@pulumi/pulumi";
|
|
2
|
+
import { Input } from "../../input";
|
|
3
|
+
import { CatchArgs, Failable, JSONata, Nextable, RetryArgs, State, StateArgs } from "./state";
|
|
4
|
+
export interface MapArgs extends StateArgs {
|
|
5
|
+
/**
|
|
6
|
+
* The processing mode for the `Map` state.
|
|
7
|
+
*
|
|
8
|
+
* The `inline` mode is the default and has limited concurrency. In this mode, each item
|
|
9
|
+
* in the `Map` state runs as a part of the current workflow.
|
|
10
|
+
*
|
|
11
|
+
* The `standard` and `express` mode have high concurrency. In these mode, each item in
|
|
12
|
+
* the `Map` state runs as a child workflow. This enables high concurrency of up to 10,000
|
|
13
|
+
* parallel child workflows. Each child workflow has its own, separate execution history.
|
|
14
|
+
* - In `standard` mode, each child runs as a StepFunctions Standard workflow.
|
|
15
|
+
* - In `express` mode, each child runs as a StepFunctions Express workflow.
|
|
16
|
+
*
|
|
17
|
+
* :::note
|
|
18
|
+
* `Map` state with `standard` or `express` mode is not supported in `express` type StepFunctions.
|
|
19
|
+
* :::
|
|
20
|
+
*
|
|
21
|
+
* @default `"inline"`
|
|
22
|
+
* @example
|
|
23
|
+
* ```js
|
|
24
|
+
* {
|
|
25
|
+
* type: "express"
|
|
26
|
+
* }
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
mode?: Input<"inline" | "standard" | "express">;
|
|
30
|
+
/**
|
|
31
|
+
* The list of items to process.
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* For example, you can specify an array of items.
|
|
35
|
+
*
|
|
36
|
+
* ```ts
|
|
37
|
+
* {
|
|
38
|
+
* items: ["item1", "item2", "item3"]
|
|
39
|
+
* }
|
|
40
|
+
* ```
|
|
41
|
+
*
|
|
42
|
+
* Or, specify a JSONata expression that evaluates to an array of items.
|
|
43
|
+
*
|
|
44
|
+
* ```ts
|
|
45
|
+
* {
|
|
46
|
+
* items: "{% $states.input.items %}"
|
|
47
|
+
* }
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
items?: Input<JSONata | any[]>;
|
|
51
|
+
/**
|
|
52
|
+
* Reformat the values of the input array items before they're passed on to each
|
|
53
|
+
* state iteration.
|
|
54
|
+
*
|
|
55
|
+
* For example, you can pass in what you want the fields to be.
|
|
56
|
+
*
|
|
57
|
+
* ```ts
|
|
58
|
+
* {
|
|
59
|
+
* "itemSelector": {
|
|
60
|
+
* "size": 10,
|
|
61
|
+
* "value.$": "$$.Map.Item.Value"
|
|
62
|
+
* }
|
|
63
|
+
* }
|
|
64
|
+
* ```
|
|
65
|
+
*
|
|
66
|
+
* When applied to the following list of items.
|
|
67
|
+
*
|
|
68
|
+
* ```ts
|
|
69
|
+
* [
|
|
70
|
+
* {
|
|
71
|
+
* "resize": "true",
|
|
72
|
+
* "format": "jpg"
|
|
73
|
+
* },
|
|
74
|
+
* {
|
|
75
|
+
* "resize": "false",
|
|
76
|
+
* "format": "png"
|
|
77
|
+
* }
|
|
78
|
+
* ]
|
|
79
|
+
* ```
|
|
80
|
+
*
|
|
81
|
+
* A transformed item will look like.
|
|
82
|
+
*
|
|
83
|
+
* ```ts
|
|
84
|
+
* {
|
|
85
|
+
* "size": 10,
|
|
86
|
+
* "value": {
|
|
87
|
+
* "resize": "true",
|
|
88
|
+
* "format": "jpg"
|
|
89
|
+
* }
|
|
90
|
+
* }
|
|
91
|
+
* ```
|
|
92
|
+
*
|
|
93
|
+
* Learn more about [`ItemSelector`](https://docs.aws.amazon.com/step-functions/latest/dg/input-output-itemselector.html).
|
|
94
|
+
*/
|
|
95
|
+
itemSelector?: Input<Record<string, Input<any>>>;
|
|
96
|
+
/**
|
|
97
|
+
* An upper bound on the number of `Map` state iterations that can run in parallel.
|
|
98
|
+
* Takes an integer or a JSONata expression that evaluates to an integer.
|
|
99
|
+
*
|
|
100
|
+
* Default to 0, which means there's no limit on the concurrency.
|
|
101
|
+
*
|
|
102
|
+
* @default `0`
|
|
103
|
+
* @example
|
|
104
|
+
* For example, to limit it to 10 concurrent iterations.
|
|
105
|
+
* ```ts
|
|
106
|
+
* {
|
|
107
|
+
* maxConcurrency: 10
|
|
108
|
+
* }
|
|
109
|
+
* ```
|
|
110
|
+
*/
|
|
111
|
+
maxConcurrency?: Input<JSONata | number>;
|
|
112
|
+
/**
|
|
113
|
+
* The state to execute for each item in the array.
|
|
114
|
+
*
|
|
115
|
+
* @example
|
|
116
|
+
*
|
|
117
|
+
* For example, to iterate over an array of items and execute a Lambda function
|
|
118
|
+
* for each item.
|
|
119
|
+
*
|
|
120
|
+
* ```ts title="sst.config.ts"
|
|
121
|
+
* const processor = sst.aws.StepFunctions.lambdaInvoke({
|
|
122
|
+
* name: "Processor",
|
|
123
|
+
* function: "src/processor.handler"
|
|
124
|
+
* });
|
|
125
|
+
*
|
|
126
|
+
* sst.aws.StepFunctions.map({
|
|
127
|
+
* processor,
|
|
128
|
+
* name: "Map",
|
|
129
|
+
* items: "{% $states.input.items %}"
|
|
130
|
+
* });
|
|
131
|
+
* ```
|
|
132
|
+
*/
|
|
133
|
+
processor: State;
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
* The `Map` state is internally used by the `StepFunctions` component to add a [Map
|
|
137
|
+
* workflow state](https://docs.aws.amazon.com/step-functions/latest/dg/state-map.html)
|
|
138
|
+
* to a state machine.
|
|
139
|
+
*
|
|
140
|
+
* :::note
|
|
141
|
+
* This component is not intended to be created directly.
|
|
142
|
+
* :::
|
|
143
|
+
*
|
|
144
|
+
* You'll find this component returned by the `map` method of the `StepFunctions` component.
|
|
145
|
+
*/
|
|
146
|
+
export declare class Map extends State implements Nextable, Failable {
|
|
147
|
+
protected args: MapArgs;
|
|
148
|
+
private processor;
|
|
149
|
+
private mode;
|
|
150
|
+
constructor(args: MapArgs);
|
|
151
|
+
/**
|
|
152
|
+
* Add a next state to the `Map` state. If the state completes successfully,
|
|
153
|
+
* continue execution to the given `state`.
|
|
154
|
+
*
|
|
155
|
+
* @param state The state to transition to.
|
|
156
|
+
*
|
|
157
|
+
* @example
|
|
158
|
+
*
|
|
159
|
+
* ```ts title="sst.config.ts"
|
|
160
|
+
* sst.aws.StepFunctions.map({
|
|
161
|
+
* // ...
|
|
162
|
+
* })
|
|
163
|
+
* .next(state);
|
|
164
|
+
* ```
|
|
165
|
+
*/
|
|
166
|
+
next<T extends State>(state: T): T;
|
|
167
|
+
/**
|
|
168
|
+
* Add a retry behavior to the `Map` state. If the state fails with any of the
|
|
169
|
+
* specified errors, retry the execution.
|
|
170
|
+
*
|
|
171
|
+
* @param args Properties to define the retry behavior.
|
|
172
|
+
*
|
|
173
|
+
* @example
|
|
174
|
+
*
|
|
175
|
+
* This defaults to.
|
|
176
|
+
*
|
|
177
|
+
* ```ts title="sst.config.ts" {5-8}
|
|
178
|
+
* sst.aws.StepFunctions.map({
|
|
179
|
+
* // ...
|
|
180
|
+
* })
|
|
181
|
+
* .retry({
|
|
182
|
+
* errors: ["States.ALL"],
|
|
183
|
+
* interval: "1 second",
|
|
184
|
+
* maxAttempts: 3,
|
|
185
|
+
* backoffRate: 2
|
|
186
|
+
* });
|
|
187
|
+
* ```
|
|
188
|
+
*/
|
|
189
|
+
retry(args?: RetryArgs): this;
|
|
190
|
+
/**
|
|
191
|
+
* Add a catch behavior to the `Map` state. So if the state fails with any of the
|
|
192
|
+
* specified errors, it'll continue execution to the given `state`.
|
|
193
|
+
*
|
|
194
|
+
* @param state The state to transition to on error.
|
|
195
|
+
* @param args Properties to customize error handling.
|
|
196
|
+
*
|
|
197
|
+
* @example
|
|
198
|
+
*
|
|
199
|
+
* This defaults to.
|
|
200
|
+
*
|
|
201
|
+
* ```ts title="sst.config.ts" {5}
|
|
202
|
+
* sst.aws.StepFunctions.map({
|
|
203
|
+
* // ...
|
|
204
|
+
* })
|
|
205
|
+
* .catch({
|
|
206
|
+
* errors: ["States.ALL"]
|
|
207
|
+
* });
|
|
208
|
+
* ```
|
|
209
|
+
*/
|
|
210
|
+
catch(state: State, args?: CatchArgs): this;
|
|
211
|
+
/**
|
|
212
|
+
* @internal
|
|
213
|
+
*/
|
|
214
|
+
getPermissions(): sst.aws.FunctionPermissionArgs[];
|
|
215
|
+
/**
|
|
216
|
+
* Serialize the state into JSON state definition.
|
|
217
|
+
*/
|
|
218
|
+
protected toJSON(): {
|
|
219
|
+
Type: string;
|
|
220
|
+
Items: Input<any[] | `{% ${string} %}`> | undefined;
|
|
221
|
+
ItemSelector: Input<Record<string, any>> | undefined;
|
|
222
|
+
ItemProcessor: {
|
|
223
|
+
ProcessorConfig: Output<{
|
|
224
|
+
Mode: string;
|
|
225
|
+
ExecutionType?: undefined;
|
|
226
|
+
} | {
|
|
227
|
+
Mode: string;
|
|
228
|
+
ExecutionType: string;
|
|
229
|
+
}>;
|
|
230
|
+
StartAt: string;
|
|
231
|
+
States: Record<string, any>;
|
|
232
|
+
};
|
|
233
|
+
MaxConcurrency: Input<number | `{% ${string} %}`> | undefined;
|
|
234
|
+
};
|
|
235
|
+
}
|
|
236
|
+
//# sourceMappingURL=map.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"map.d.ts","sourceRoot":"","sources":["../../../../../../../.sst/platform/src/components/aws/step-functions/map.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAU,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EACL,SAAS,EACT,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,SAAS,EACT,KAAK,EACL,SAAS,EACV,MAAM,SAAS,CAAC;AAEjB,MAAM,WAAW,OAAQ,SAAQ,SAAS;IACxC;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,UAAU,GAAG,SAAS,CAAC,CAAC;IAChD;;;;;;;;;;;;;;;;;;;OAmBG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,OAAO,GAAG,GAAG,EAAE,CAAC,CAAC;IAC/B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2CG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;IACjD;;;;;;;;;;;;;;OAcG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,OAAO,GAAG,MAAM,CAAC,CAAC;IACzC;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,SAAS,EAAE,KAAK,CAAC;CAClB;AAED;;;;;;;;;;GAUG;AACH,qBAAa,GAAI,SAAQ,KAAM,YAAW,QAAQ,EAAE,QAAQ;IAI9C,SAAS,CAAC,IAAI,EAAE,OAAO;IAHnC,OAAO,CAAC,SAAS,CAAQ;IACzB,OAAO,CAAC,IAAI,CAA4C;gBAElC,IAAI,EAAE,OAAO;IAOnC;;;;;;;;;;;;;;OAcG;IACI,IAAI,CAAC,CAAC,SAAS,KAAK,EAAE,KAAK,EAAE,CAAC,GAAG,CAAC;IAIzC;;;;;;;;;;;;;;;;;;;;;OAqBG;IACI,KAAK,CAAC,IAAI,CAAC,EAAE,SAAS;IAI7B;;;;;;;;;;;;;;;;;;;OAmBG;IACI,KAAK,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,GAAE,SAAc;IAI/C;;OAEG;IACI,cAAc;IAIrB;;OAEG;IACH,SAAS,CAAC,MAAM;;;;;;;;;;;;;;;;;CAkBjB"}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { output } from "@pulumi/pulumi";
|
|
2
|
+
import { State, } from "./state";
|
|
3
|
+
/**
|
|
4
|
+
* The `Map` state is internally used by the `StepFunctions` component to add a [Map
|
|
5
|
+
* workflow state](https://docs.aws.amazon.com/step-functions/latest/dg/state-map.html)
|
|
6
|
+
* to a state machine.
|
|
7
|
+
*
|
|
8
|
+
* :::note
|
|
9
|
+
* This component is not intended to be created directly.
|
|
10
|
+
* :::
|
|
11
|
+
*
|
|
12
|
+
* You'll find this component returned by the `map` method of the `StepFunctions` component.
|
|
13
|
+
*/
|
|
14
|
+
export class Map extends State {
|
|
15
|
+
constructor(args) {
|
|
16
|
+
var _a;
|
|
17
|
+
super(args);
|
|
18
|
+
this.args = args;
|
|
19
|
+
this.processor = args.processor.getHead();
|
|
20
|
+
this.addChildGraph(this.processor);
|
|
21
|
+
this.mode = output((_a = args.mode) !== null && _a !== void 0 ? _a : "inline");
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Add a next state to the `Map` state. If the state completes successfully,
|
|
25
|
+
* continue execution to the given `state`.
|
|
26
|
+
*
|
|
27
|
+
* @param state The state to transition to.
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
*
|
|
31
|
+
* ```ts title="sst.config.ts"
|
|
32
|
+
* sst.aws.StepFunctions.map({
|
|
33
|
+
* // ...
|
|
34
|
+
* })
|
|
35
|
+
* .next(state);
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
next(state) {
|
|
39
|
+
return this.addNext(state);
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Add a retry behavior to the `Map` state. If the state fails with any of the
|
|
43
|
+
* specified errors, retry the execution.
|
|
44
|
+
*
|
|
45
|
+
* @param args Properties to define the retry behavior.
|
|
46
|
+
*
|
|
47
|
+
* @example
|
|
48
|
+
*
|
|
49
|
+
* This defaults to.
|
|
50
|
+
*
|
|
51
|
+
* ```ts title="sst.config.ts" {5-8}
|
|
52
|
+
* sst.aws.StepFunctions.map({
|
|
53
|
+
* // ...
|
|
54
|
+
* })
|
|
55
|
+
* .retry({
|
|
56
|
+
* errors: ["States.ALL"],
|
|
57
|
+
* interval: "1 second",
|
|
58
|
+
* maxAttempts: 3,
|
|
59
|
+
* backoffRate: 2
|
|
60
|
+
* });
|
|
61
|
+
* ```
|
|
62
|
+
*/
|
|
63
|
+
retry(args) {
|
|
64
|
+
return this.addRetry(args);
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Add a catch behavior to the `Map` state. So if the state fails with any of the
|
|
68
|
+
* specified errors, it'll continue execution to the given `state`.
|
|
69
|
+
*
|
|
70
|
+
* @param state The state to transition to on error.
|
|
71
|
+
* @param args Properties to customize error handling.
|
|
72
|
+
*
|
|
73
|
+
* @example
|
|
74
|
+
*
|
|
75
|
+
* This defaults to.
|
|
76
|
+
*
|
|
77
|
+
* ```ts title="sst.config.ts" {5}
|
|
78
|
+
* sst.aws.StepFunctions.map({
|
|
79
|
+
* // ...
|
|
80
|
+
* })
|
|
81
|
+
* .catch({
|
|
82
|
+
* errors: ["States.ALL"]
|
|
83
|
+
* });
|
|
84
|
+
* ```
|
|
85
|
+
*/
|
|
86
|
+
catch(state, args = {}) {
|
|
87
|
+
return this.addCatch(state, args);
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* @internal
|
|
91
|
+
*/
|
|
92
|
+
getPermissions() {
|
|
93
|
+
return [...this.processor.getPermissions(), ...super.getPermissions()];
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Serialize the state into JSON state definition.
|
|
97
|
+
*/
|
|
98
|
+
toJSON() {
|
|
99
|
+
return Object.assign({ Type: "Map", Items: this.args.items, ItemSelector: this.args.itemSelector, ItemProcessor: {
|
|
100
|
+
ProcessorConfig: this.mode.apply((mode) => mode === "inline"
|
|
101
|
+
? { Mode: "INLINE" }
|
|
102
|
+
: { Mode: "DISTRIBUTED", ExecutionType: mode.toUpperCase() }),
|
|
103
|
+
StartAt: this.processor.name,
|
|
104
|
+
States: this.processor.serialize(),
|
|
105
|
+
}, MaxConcurrency: this.args.maxConcurrency }, super.toJSON());
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
//# sourceMappingURL=map.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"map.js","sourceRoot":"","sources":["../../../../../../../.sst/platform/src/components/aws/step-functions/map.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAEhD,OAAO,EAML,KAAK,GAEN,MAAM,SAAS,CAAC;AAsIjB;;;;;;;;;;GAUG;AACH,MAAM,OAAO,GAAI,SAAQ,KAAK;IAI5B,YAAsB,IAAa;;QACjC,KAAK,CAAC,IAAI,CAAC,CAAC;QADQ,SAAI,GAAJ,IAAI,CAAS;QAEjC,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC,OAAO,EAAE,CAAC;QAC1C,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QACnC,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,MAAA,IAAI,CAAC,IAAI,mCAAI,QAAQ,CAAC,CAAC;IAC5C,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACI,IAAI,CAAkB,KAAQ;QACnC,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAC7B,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;OAqBG;IACI,KAAK,CAAC,IAAgB;QAC3B,OAAO,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IAC7B,CAAC;IAED;;;;;;;;;;;;;;;;;;;OAmBG;IACI,KAAK,CAAC,KAAY,EAAE,OAAkB,EAAE;QAC7C,OAAO,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IACpC,CAAC;IAED;;OAEG;IACI,cAAc;QACnB,OAAO,CAAC,GAAG,IAAI,CAAC,SAAS,CAAC,cAAc,EAAE,EAAE,GAAG,KAAK,CAAC,cAAc,EAAE,CAAC,CAAC;IACzE,CAAC;IAED;;OAEG;IACO,MAAM;QACd,uBACE,IAAI,EAAE,KAAK,EACX,KAAK,EAAE,IAAI,CAAC,IAAI,CAAC,KAAK,EACtB,YAAY,EAAE,IAAI,CAAC,IAAI,CAAC,YAAY,EACpC,aAAa,EAAE;gBACb,eAAe,EAAE,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,IAAI,EAAE,EAAE,CACxC,IAAI,KAAK,QAAQ;oBACf,CAAC,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE;oBACpB,CAAC,CAAC,EAAE,IAAI,EAAE,aAAa,EAAE,aAAa,EAAE,IAAI,CAAC,WAAW,EAAE,EAAE,CAC/D;gBACD,OAAO,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI;gBAC5B,MAAM,EAAE,IAAI,CAAC,SAAS,CAAC,SAAS,EAAE;aACnC,EACD,cAAc,EAAE,IAAI,CAAC,IAAI,CAAC,cAAc,IACrC,KAAK,CAAC,MAAM,EAAE,EACjB;IACJ,CAAC;CACF"}
|