@takumi-stack/core 1.0.0 → 1.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/common/coordinator.d.ts +18 -0
- package/.dist/common/index.d.ts +6 -0
- package/.dist/common/modifier.d.ts +4 -0
- package/.dist/common/naming/get-deploy-config.d.ts +5 -0
- package/.dist/common/naming/get-domain.d.ts +8 -0
- package/.dist/common/naming/get-function-entry.d.ts +3 -0
- package/.dist/common/naming/get-logical-name.d.ts +2 -0
- package/.dist/common/naming/get-resource-name.d.ts +26 -0
- package/.dist/common/naming/get-service-name.d.ts +9 -0
- package/.dist/common/naming/index.d.ts +8 -0
- package/.dist/common/naming/string-parser.d.ts +4 -0
- package/.dist/common/service.d.ts +21 -0
- package/.dist/common/synth/account-mapping.d.ts +2 -0
- package/.dist/common/synth/assume-role.d.ts +17 -0
- package/.dist/common/synth/get-global-props.d.ts +4 -0
- package/.dist/common/synth/get-service-props.d.ts +3 -0
- package/.dist/common/synth/index.d.ts +8 -0
- package/.dist/common/synth/pre-script.d.ts +21 -0
- package/.dist/common/synth/props-types.d.ts +41 -0
- package/.dist/common/synth/synth-error.d.ts +7 -0
- package/.dist/index.d.ts +4 -0
- package/.dist/package.json +43 -0
- package/.dist/prefab/analytics/events/handlers/ingestion-transform/handler.d.ts +3 -0
- package/.dist/prefab/analytics/events/index.d.ts +28 -0
- package/.dist/prefab/analytics/events/index.d.ts.map +1 -0
- package/.dist/prefab/analytics/events/index.js +163 -0
- package/.dist/prefab/analytics/events/index.js.map +1 -0
- package/.dist/prefab/analytics/index.d.ts +2 -0
- package/.dist/prefab/auth/cognito-pool/index.d.ts +57 -0
- package/.dist/prefab/auth/cognito-pool/index.d.ts.map +1 -0
- package/.dist/prefab/auth/cognito-pool/index.js.map +1 -0
- package/.dist/prefab/auth/index.d.ts +2 -0
- package/.dist/prefab/cdn/cdn-api/index.d.ts +34 -0
- package/.dist/prefab/cdn/cdn-api/index.d.ts.map +1 -0
- package/.dist/prefab/cdn/cdn-api/index.js +153 -0
- package/.dist/prefab/cdn/cdn-api/index.js.map +1 -0
- package/.dist/prefab/cdn/cdn-asset/index.d.ts +24 -0
- package/.dist/prefab/cdn/cdn-asset/index.d.ts.map +1 -0
- package/.dist/prefab/cdn/cdn-asset/index.js +96 -0
- package/.dist/prefab/cdn/cdn-asset/index.js.map +1 -0
- package/.dist/prefab/cdn/cdn-spa/index.d.ts +24 -0
- package/.dist/prefab/cdn/cdn-spa/index.d.ts.map +1 -0
- package/.dist/prefab/cdn/cdn-spa/index.js +138 -0
- package/.dist/prefab/cdn/cdn-spa/index.js.map +1 -0
- package/.dist/prefab/cdn/cdn-ssr/index.d.ts +33 -0
- package/.dist/prefab/cdn/cdn-ssr/index.d.ts.map +1 -0
- package/.dist/prefab/cdn/cdn-ssr/index.js +271 -0
- package/.dist/prefab/cdn/cdn-ssr/index.js.map +1 -0
- package/.dist/prefab/cdn/index.d.ts +5 -0
- package/.dist/prefab/compute/fargate/cluster.d.ts +13 -0
- package/.dist/prefab/compute/fargate/cluster.d.ts.map +1 -0
- package/.dist/prefab/compute/fargate/cluster.js.map +1 -0
- package/.dist/prefab/compute/fargate/index.d.ts +3 -0
- package/.dist/prefab/compute/fargate/service.d.ts +45 -0
- package/.dist/prefab/compute/fargate/service.d.ts.map +1 -0
- package/.dist/prefab/compute/fargate/service.js.map +1 -0
- package/.dist/prefab/compute/function/api-function/api-aggregate.d.ts +31 -0
- package/.dist/prefab/compute/function/api-function/api-aggregate.d.ts.map +1 -0
- package/.dist/prefab/compute/function/api-function/api-aggregate.js +53 -0
- package/.dist/prefab/compute/function/api-function/api-aggregate.js.map +1 -0
- package/.dist/prefab/compute/function/api-function/api-function.d.ts +22 -0
- package/.dist/prefab/compute/function/api-function/api-function.d.ts.map +1 -0
- package/.dist/prefab/compute/function/api-function/api-function.js +44 -0
- package/.dist/prefab/compute/function/api-function/api-function.js.map +1 -0
- package/.dist/prefab/compute/function/api-function/index.d.ts +3 -0
- package/.dist/prefab/compute/function/base-function/index.d.ts +33 -0
- package/.dist/prefab/compute/function/base-function/index.d.ts.map +1 -0
- package/.dist/prefab/compute/function/base-function/index.js +70 -0
- package/.dist/prefab/compute/function/base-function/index.js.map +1 -0
- package/.dist/prefab/compute/function/cognito-function/cognito-aggregate.d.ts +15 -0
- package/.dist/prefab/compute/function/cognito-function/cognito-aggregate.d.ts.map +1 -0
- package/.dist/prefab/compute/function/cognito-function/cognito-aggregate.js.map +1 -0
- package/.dist/prefab/compute/function/cognito-function/cognito-function.d.ts +17 -0
- package/.dist/prefab/compute/function/cognito-function/cognito-function.d.ts.map +1 -0
- package/.dist/prefab/compute/function/cognito-function/cognito-function.js.map +1 -0
- package/.dist/prefab/compute/function/cognito-function/index.d.ts +3 -0
- package/.dist/prefab/compute/function/cron-function/cron-aggregate.d.ts +14 -0
- package/.dist/prefab/compute/function/cron-function/cron-aggregate.d.ts.map +1 -0
- package/.dist/prefab/compute/function/cron-function/cron-aggregate.js.map +1 -0
- package/.dist/prefab/compute/function/cron-function/cron-function.d.ts +15 -0
- package/.dist/prefab/compute/function/cron-function/cron-function.d.ts.map +1 -0
- package/.dist/prefab/compute/function/cron-function/cron-function.js +24 -0
- package/.dist/prefab/compute/function/cron-function/cron-function.js.map +1 -0
- package/.dist/prefab/compute/function/cron-function/index.d.ts +3 -0
- package/.dist/prefab/compute/function/event-function/EventAggregateParams.d.ts +9 -0
- package/.dist/prefab/compute/function/event-function/EventAggregateParams.d.ts.map +1 -0
- package/.dist/prefab/compute/function/event-function/EventAggregateParams.js +3 -0
- package/.dist/prefab/compute/function/event-function/EventAggregateParams.js.map +1 -0
- package/.dist/prefab/compute/function/event-function/event-aggregate.d.ts +16 -0
- package/.dist/prefab/compute/function/event-function/event-aggregate.d.ts.map +1 -0
- package/.dist/prefab/compute/function/event-function/event-aggregate.js.map +1 -0
- package/.dist/prefab/compute/function/event-function/event-function.d.ts +14 -0
- package/.dist/prefab/compute/function/event-function/event-function.d.ts.map +1 -0
- package/.dist/prefab/compute/function/event-function/event-function.js.map +1 -0
- package/.dist/prefab/compute/function/event-function/index.d.ts +3 -0
- package/.dist/prefab/compute/function/index.d.ts +8 -0
- package/.dist/prefab/compute/function/queue-function/index.d.ts +22 -0
- package/.dist/prefab/compute/function/queue-function/index.d.ts.map +1 -0
- package/.dist/prefab/compute/function/queue-function/index.js +46 -0
- package/.dist/prefab/compute/function/queue-function/index.js.map +1 -0
- package/.dist/prefab/compute/function/topic-function/index.d.ts +20 -0
- package/.dist/prefab/compute/function/topic-function/index.d.ts.map +1 -0
- package/.dist/prefab/compute/function/topic-function/index.js +23 -0
- package/.dist/prefab/compute/function/topic-function/index.js.map +1 -0
- package/.dist/prefab/compute/index.d.ts +3 -0
- package/.dist/prefab/database/dynamo/index.d.ts +13 -0
- package/.dist/prefab/database/dynamo/index.d.ts.map +1 -0
- package/.dist/prefab/database/dynamo/index.js.map +1 -0
- package/.dist/prefab/database/index.d.ts +4 -0
- package/.dist/prefab/database/rds/handlers/start-cluster/handler.d.ts +2 -0
- package/.dist/prefab/database/rds/handlers/stop-cluster/handler.d.ts +2 -0
- package/.dist/prefab/database/rds/index.d.ts +51 -0
- package/.dist/prefab/database/rds/index.d.ts.map +1 -0
- package/.dist/prefab/database/rds/index.js +223 -0
- package/.dist/prefab/database/rds/index.js.map +1 -0
- package/.dist/prefab/database/timestream/index.d.ts +3 -0
- package/.dist/prefab/database/timestream/timestream-database.d.ts +11 -0
- package/.dist/prefab/database/timestream/timestream-database.d.ts.map +1 -0
- package/.dist/prefab/database/timestream/timestream-database.js.map +1 -0
- package/.dist/prefab/database/timestream/timestream-table.d.ts +21 -0
- package/.dist/prefab/database/timestream/timestream-table.d.ts.map +1 -0
- package/.dist/prefab/database/timestream/timestream-table.js.map +1 -0
- package/.dist/prefab/gateway/alb-public/index.d.ts +41 -0
- package/.dist/prefab/gateway/alb-public/index.d.ts.map +1 -0
- package/.dist/prefab/gateway/alb-public/index.js.map +1 -0
- package/.dist/prefab/gateway/api-gateway/api-http.d.ts +27 -0
- package/.dist/prefab/gateway/api-gateway/api-http.d.ts.map +1 -0
- package/.dist/prefab/gateway/api-gateway/api-http.js.map +1 -0
- package/.dist/prefab/gateway/api-gateway/api-rest.d.ts +23 -0
- package/.dist/prefab/gateway/api-gateway/api-rest.d.ts.map +1 -0
- package/.dist/prefab/gateway/api-gateway/api-rest.js.map +1 -0
- package/.dist/prefab/gateway/api-gateway/index.d.ts +3 -0
- package/.dist/prefab/gateway/app-sync/index.d.ts +31 -0
- package/.dist/prefab/gateway/app-sync/index.d.ts.map +1 -0
- package/.dist/prefab/gateway/app-sync/index.js.map +1 -0
- package/.dist/prefab/gateway/app-sync/resolver-aggregate.d.ts +33 -0
- package/.dist/prefab/gateway/app-sync/resolver-aggregate.d.ts.map +1 -0
- package/.dist/prefab/gateway/app-sync/resolver-aggregate.js.map +1 -0
- package/.dist/prefab/gateway/app-sync/types.d.ts +29 -0
- package/.dist/prefab/gateway/app-sync/types.d.ts.map +1 -0
- package/.dist/prefab/gateway/index.d.ts +4 -0
- package/.dist/prefab/index.d.ts +11 -0
- package/.dist/prefab/integration/event-bus/index.d.ts +18 -0
- package/.dist/prefab/integration/event-bus/index.d.ts.map +1 -0
- package/.dist/prefab/integration/event-bus/index.js.map +1 -0
- package/.dist/prefab/integration/index.d.ts +4 -0
- package/.dist/prefab/integration/queue/index.d.ts +29 -0
- package/.dist/prefab/integration/queue/index.d.ts.map +1 -0
- package/.dist/prefab/integration/queue/index.js.map +1 -0
- package/.dist/prefab/integration/topic/index.d.ts +19 -0
- package/.dist/prefab/integration/topic/index.d.ts.map +1 -0
- package/.dist/prefab/integration/topic/index.js.map +1 -0
- package/.dist/prefab/networking/dns-domain-ref/index.d.ts +14 -0
- package/.dist/prefab/networking/dns-domain-ref/index.d.ts.map +1 -0
- package/.dist/prefab/networking/dns-domain-ref/index.js.map +1 -0
- package/.dist/prefab/networking/dns-subdomain-certificate/index.d.ts +11 -0
- package/.dist/prefab/networking/dns-subdomain-certificate/index.d.ts.map +1 -0
- package/.dist/prefab/networking/dns-subdomain-certificate/index.js.map +1 -0
- package/.dist/prefab/networking/dns-subdomain-hosted-zone/index.d.ts +10 -0
- package/.dist/prefab/networking/dns-subdomain-hosted-zone/index.d.ts.map +1 -0
- package/.dist/prefab/networking/dns-subdomain-hosted-zone/index.js.map +1 -0
- package/.dist/prefab/networking/index.d.ts +6 -0
- package/.dist/prefab/networking/vpc/index.d.ts +18 -0
- package/.dist/prefab/networking/vpc/index.d.ts.map +1 -0
- package/.dist/prefab/networking/vpc/index.js.map +1 -0
- package/.dist/prefab/networking/waf/index.d.ts +12 -0
- package/.dist/prefab/networking/waf/index.d.ts.map +1 -0
- package/.dist/prefab/networking/waf/index.js.map +1 -0
- package/.dist/prefab/storage/bucket/asset-bucket.d.ts +10 -0
- package/.dist/prefab/storage/bucket/asset-bucket.d.ts.map +1 -0
- package/.dist/prefab/storage/bucket/index.d.ts +3 -0
- package/.dist/prefab/storage/bucket/private-bucket.d.ts +32 -0
- package/.dist/prefab/storage/bucket/private-bucket.d.ts.map +1 -0
- package/.dist/prefab/storage/bucket/private-bucket.js.map +1 -0
- package/.dist/prefab/storage/index.d.ts +2 -0
- package/.dist/prefab/utils/config/frontend-env-builder.d.ts +12 -0
- package/.dist/prefab/utils/config/frontend-env-builder.d.ts.map +1 -0
- package/.dist/prefab/utils/config/frontend-env-builder.js.map +1 -0
- package/.dist/prefab/utils/config/index.d.ts +4 -0
- package/.dist/prefab/utils/config/parameter-secret.d.ts +19 -0
- package/.dist/prefab/utils/config/parameter-secret.d.ts.map +1 -0
- package/.dist/prefab/utils/config/parameter-secret.js.map +1 -0
- package/.dist/prefab/utils/config/runtime-secret.d.ts.map +1 -0
- package/.dist/prefab/utils/config/runtime-secret.js.map +1 -0
- package/.dist/prefab/utils/deploy-pipeline/catalog/integrations/index.d.ts +2 -0
- package/.dist/prefab/utils/deploy-pipeline/entities/index.d.ts +29 -0
- package/.dist/prefab/utils/deploy-pipeline/index.d.ts +13 -0
- package/.dist/prefab/utils/deploy-pipeline/index.d.ts.map +1 -0
- package/.dist/prefab/utils/deploy-pipeline/index.js.map +1 -0
- package/.dist/prefab/utils/deploy-pipeline/platform/get-pipeline-detail.d.ts +6 -0
- package/.dist/prefab/utils/deploy-pipeline/platform/get-slack-payload.d.ts +3 -0
- package/.dist/prefab/utils/duration.d.ts +2 -0
- package/.dist/prefab/utils/index.d.ts +5 -0
- package/.dist/prefab/utils/ses/index.d.ts +20 -0
- package/.dist/prefab/utils/ses/index.d.ts.map +1 -0
- package/.dist/prefab/utils/ses/index.js.map +1 -0
- package/.dist/script/config-command/bootstrap.d.ts +3 -0
- package/.dist/script/config-command/bootstrap.js +65 -0
- package/.dist/script/config-command/bootstrap.js.map +1 -0
- package/.dist/script/config-command/deploy-spa.d.ts +3 -0
- package/.dist/script/config-command/deploy-spa.d.ts.map +1 -0
- package/.dist/script/config-command/deploy-spa.js +82 -0
- package/.dist/script/config-command/deploy-spa.js.map +1 -0
- package/.dist/script/config-command/deploy.d.ts +3 -0
- package/.dist/script/config-command/deploy.js +26 -0
- package/.dist/script/config-command/deploy.js.map +1 -0
- package/.dist/script/config-command/destroy.d.ts +3 -0
- package/.dist/script/config-command/destroy.js +26 -0
- package/.dist/script/config-command/destroy.js.map +1 -0
- package/.dist/script/config-command/env-ssr.d.ts +3 -0
- package/.dist/script/config-command/env-ssr.js +49 -0
- package/.dist/script/config-command/env-ssr.js.map +1 -0
- package/.dist/script/config-command/invalidation-ssr.d.ts +3 -0
- package/.dist/script/config-command/invalidation-ssr.js +53 -0
- package/.dist/script/config-command/invalidation-ssr.js.map +1 -0
- package/.dist/script/config-command/rds-migration.d.ts +5 -0
- package/.dist/script/config-command/rds-migration.js.map +1 -0
- package/.dist/script/config-command/rds-sync.d.ts +3 -0
- package/.dist/script/config-command/rds-sync.js.map +1 -0
- package/.dist/script/config-command/ssm-connect.d.ts +3 -0
- package/.dist/script/config-command/ssm-connect.js.map +1 -0
- package/.dist/script/config-command/start-spa.d.ts +3 -0
- package/.dist/script/config-command/start-spa.js +53 -0
- package/.dist/script/config-command/start-spa.js.map +1 -0
- package/.dist/script/config-command/start-ssr.d.ts +3 -0
- package/.dist/script/config-command/start-ssr.js +53 -0
- package/.dist/script/config-command/start-ssr.js.map +1 -0
- package/.dist/script/config-command/synth.d.ts +3 -0
- package/.dist/script/config-command/synth.js +26 -0
- package/.dist/script/config-command/synth.js.map +1 -0
- package/.dist/script/index.d.ts +7 -0
- package/.dist/script/index.d.ts.map +1 -0
- package/.dist/script/output-command/create-user.d.ts +9 -0
- package/.dist/script/output-command/create-user.d.ts.map +1 -0
- package/.dist/script/output-command/create-user.js.map +1 -0
- package/.dist/script/output-command/gen-postman-env.d.ts +9 -0
- package/.dist/script/output-command/gen-postman-env.d.ts.map +1 -0
- package/.dist/script/output-command/gen-postman-env.js +55 -0
- package/.dist/script/output-command/gen-postman-env.js.map +1 -0
- package/.dist/tsconfig.tsbuildinfo +1 -0
- package/.prettierignore +10 -0
- package/.prettierrc.json +12 -0
- package/.turbo/turbo-build.log +5 -0
- package/.turbo/turbo-release.log +7 -0
- package/CHANGELOG.md +8 -0
- package/common/coordinator.ts +103 -0
- package/common/index.ts +5 -0
- package/common/modifier.ts +11 -0
- package/common/naming/get-deploy-config.ts +5 -0
- package/common/naming/get-domain.ts +14 -0
- package/common/naming/get-function-entry.ts +11 -0
- package/common/naming/get-logical-name.ts +3 -0
- package/common/naming/get-resource-name.ts +77 -0
- package/common/naming/get-service-name.ts +13 -0
- package/common/naming/index.ts +7 -0
- package/common/naming/string-parser.ts +17 -0
- package/common/service.ts +48 -0
- package/common/synth/account-mapping.ts +16 -0
- package/common/synth/assume-role.ts +39 -0
- package/common/synth/get-global-props.ts +46 -0
- package/common/synth/get-service-props.ts +16 -0
- package/common/synth/index.ts +7 -0
- package/common/synth/pre-script.ts +103 -0
- package/common/synth/props-types.ts +79 -0
- package/common/synth/synth-error.ts +13 -0
- package/index.ts +3 -0
- package/package.json +4 -5
- package/prefab/analytics/events/handlers/ingestion-transform/handler.ts +35 -0
- package/prefab/analytics/events/index.ts +192 -0
- package/prefab/analytics/index.ts +1 -0
- package/prefab/auth/cognito-pool/index.ts +263 -0
- package/prefab/auth/index.ts +1 -0
- package/prefab/cdn/cdn-api/index.ts +169 -0
- package/prefab/cdn/cdn-asset/index.ts +89 -0
- package/prefab/cdn/cdn-spa/index.ts +136 -0
- package/prefab/cdn/cdn-ssr/index.ts +288 -0
- package/prefab/cdn/index.ts +4 -0
- package/prefab/compute/fargate/cluster.ts +24 -0
- package/prefab/compute/fargate/index.ts +2 -0
- package/prefab/compute/fargate/service.ts +130 -0
- package/prefab/compute/function/api-function/api-aggregate.ts +73 -0
- package/prefab/compute/function/api-function/api-function.ts +63 -0
- package/prefab/compute/function/api-function/index.ts +2 -0
- package/prefab/compute/function/base-function/index.ts +102 -0
- package/prefab/compute/function/cognito-function/cognito-aggregate.ts +29 -0
- package/prefab/compute/function/cognito-function/cognito-function.ts +36 -0
- package/prefab/compute/function/cognito-function/index.ts +2 -0
- package/prefab/compute/function/cron-function/cron-aggregate.ts +28 -0
- package/prefab/compute/function/cron-function/cron-function.ts +32 -0
- package/prefab/compute/function/cron-function/index.ts +2 -0
- package/prefab/compute/function/event-function/EventAggregateParams.ts +9 -0
- package/prefab/compute/function/event-function/event-aggregate.ts +33 -0
- package/prefab/compute/function/event-function/event-function.ts +42 -0
- package/prefab/compute/function/event-function/index.ts +2 -0
- package/prefab/compute/function/index.ts +7 -0
- package/prefab/compute/function/queue-function/index.ts +67 -0
- package/prefab/compute/function/topic-function/index.ts +36 -0
- package/prefab/compute/index.ts +2 -0
- package/prefab/database/dynamo/index.ts +113 -0
- package/prefab/database/index.ts +3 -0
- package/prefab/database/rds/handlers/start-cluster/handler.ts +7 -0
- package/prefab/database/rds/handlers/stop-cluster/handler.ts +7 -0
- package/prefab/database/rds/index.ts +248 -0
- package/prefab/database/timestream/index.ts +2 -0
- package/prefab/database/timestream/timestream-database.ts +24 -0
- package/prefab/database/timestream/timestream-table.ts +76 -0
- package/prefab/gateway/alb-public/index.ts +124 -0
- package/prefab/gateway/api-gateway/api-http.ts +71 -0
- package/prefab/gateway/api-gateway/api-rest.ts +93 -0
- package/prefab/gateway/api-gateway/index.ts +2 -0
- package/prefab/gateway/app-sync/index.ts +117 -0
- package/prefab/gateway/app-sync/resolver-aggregate.ts +138 -0
- package/prefab/gateway/app-sync/types.ts +29 -0
- package/prefab/gateway/index.ts +3 -0
- package/prefab/index.ts +10 -0
- package/prefab/integration/event-bus/index.ts +52 -0
- package/prefab/integration/index.ts +3 -0
- package/prefab/integration/queue/index.ts +94 -0
- package/prefab/integration/topic/index.ts +57 -0
- package/prefab/networking/dns-domain-ref/index.ts +32 -0
- package/prefab/networking/dns-subdomain-certificate/index.ts +30 -0
- package/prefab/networking/dns-subdomain-hosted-zone/index.ts +30 -0
- package/prefab/networking/index.ts +5 -0
- package/prefab/networking/vpc/index.ts +39 -0
- package/prefab/networking/waf/index.ts +49 -0
- package/prefab/storage/bucket/asset-bucket.ts +24 -0
- package/prefab/storage/bucket/index.ts +2 -0
- package/prefab/storage/bucket/private-bucket.ts +74 -0
- package/prefab/storage/index.ts +1 -0
- package/prefab/utils/config/frontend-env-builder.ts +30 -0
- package/prefab/utils/config/index.ts +3 -0
- package/prefab/utils/config/parameter-secret.ts +52 -0
- package/prefab/utils/config/runtime-secret.ts +48 -0
- package/prefab/utils/deploy-pipeline/catalog/integrations/index.ts +1 -0
- package/prefab/utils/deploy-pipeline/catalog/integrations/slack.ts +23 -0
- package/prefab/utils/deploy-pipeline/entities/index.ts +23 -0
- package/prefab/utils/deploy-pipeline/handlers/send-to-slack/handler.ts +32 -0
- package/prefab/utils/deploy-pipeline/index.ts +172 -0
- package/prefab/utils/deploy-pipeline/platform/get-pipeline-detail.ts +31 -0
- package/prefab/utils/deploy-pipeline/platform/get-slack-payload.ts +38 -0
- package/prefab/utils/deploy-pipeline/platform/send-to-slack.ts +16 -0
- package/prefab/utils/duration.ts +1 -0
- package/prefab/utils/index.ts +4 -0
- package/prefab/utils/ses/index.ts +134 -0
- package/readme.md +78 -0
- package/script/config-command/bootstrap.ts +108 -0
- package/script/config-command/deploy-spa.ts +126 -0
- package/script/config-command/deploy.ts +50 -0
- package/script/config-command/destroy.ts +49 -0
- package/script/config-command/env-ssr.ts +85 -0
- package/script/config-command/invalidation-ssr.ts +88 -0
- package/script/config-command/rds-migration.ts +177 -0
- package/script/config-command/rds-sync.ts +108 -0
- package/script/config-command/ssm-connect.ts +129 -0
- package/script/config-command/start-spa.ts +93 -0
- package/script/config-command/start-ssr.ts +91 -0
- package/script/config-command/synth.ts +50 -0
- package/script/index.ts +86 -0
- package/script/output-command/create-user.ts +89 -0
- package/script/output-command/gen-postman-env.ts +75 -0
- package/tsconfig.json +26 -0
- package/common/coordinator.d.ts +0 -28
- package/common/index.d.ts +0 -6
- package/common/modifier.d.ts +0 -5
- package/common/naming/get-deploy-config.d.ts +0 -9
- package/common/naming/get-domain.d.ts +0 -9
- package/common/naming/get-function-entry.d.ts +0 -4
- package/common/naming/get-logical-name.d.ts +0 -2
- package/common/naming/get-resource-name.d.ts +0 -47
- package/common/naming/get-service-name.d.ts +0 -10
- package/common/naming/index.d.ts +0 -8
- package/common/naming/string-parser.d.ts +0 -4
- package/common/service.d.ts +0 -29
- package/common/synth/account-mapping.d.ts +0 -2
- package/common/synth/assume-role.d.ts +0 -18
- package/common/synth/get-global-props.d.ts +0 -16
- package/common/synth/get-service-props.d.ts +0 -11
- package/common/synth/index.d.ts +0 -8
- package/common/synth/pre-script.d.ts +0 -32
- package/common/synth/props-types.d.ts +0 -60
- package/common/synth/synth-error.d.ts +0 -8
- package/index.d.ts +0 -4
- package/prefab/analytics/events/handlers/ingestion-transform/handler.d.ts +0 -4
- package/prefab/analytics/events/index.d.ts +0 -31
- package/prefab/analytics/events/index.d.ts.map +0 -1
- package/prefab/analytics/events/index.js +0 -163
- package/prefab/analytics/events/index.js.map +0 -1
- package/prefab/analytics/index.d.ts +0 -2
- package/prefab/auth/cognito-pool/index.d.ts +0 -65
- package/prefab/auth/cognito-pool/index.d.ts.map +0 -1
- package/prefab/auth/cognito-pool/index.js.map +0 -1
- package/prefab/auth/index.d.ts +0 -2
- package/prefab/cdn/cdn-api/index.d.ts +0 -38
- package/prefab/cdn/cdn-api/index.d.ts.map +0 -1
- package/prefab/cdn/cdn-api/index.js +0 -153
- package/prefab/cdn/cdn-api/index.js.map +0 -1
- package/prefab/cdn/cdn-asset/index.d.ts +0 -27
- package/prefab/cdn/cdn-asset/index.d.ts.map +0 -1
- package/prefab/cdn/cdn-asset/index.js +0 -96
- package/prefab/cdn/cdn-asset/index.js.map +0 -1
- package/prefab/cdn/cdn-spa/index.d.ts +0 -27
- package/prefab/cdn/cdn-spa/index.d.ts.map +0 -1
- package/prefab/cdn/cdn-spa/index.js +0 -138
- package/prefab/cdn/cdn-spa/index.js.map +0 -1
- package/prefab/cdn/cdn-ssr/index.d.ts +0 -36
- package/prefab/cdn/cdn-ssr/index.d.ts.map +0 -1
- package/prefab/cdn/cdn-ssr/index.js +0 -271
- package/prefab/cdn/cdn-ssr/index.js.map +0 -1
- package/prefab/cdn/index.d.ts +0 -5
- package/prefab/compute/fargate/cluster.d.ts +0 -16
- package/prefab/compute/fargate/cluster.d.ts.map +0 -1
- package/prefab/compute/fargate/cluster.js.map +0 -1
- package/prefab/compute/fargate/index.d.ts +0 -3
- package/prefab/compute/fargate/service.d.ts +0 -49
- package/prefab/compute/fargate/service.d.ts.map +0 -1
- package/prefab/compute/fargate/service.js.map +0 -1
- package/prefab/compute/function/api-function/api-aggregate.d.ts +0 -32
- package/prefab/compute/function/api-function/api-aggregate.d.ts.map +0 -1
- package/prefab/compute/function/api-function/api-aggregate.js +0 -54
- package/prefab/compute/function/api-function/api-aggregate.js.map +0 -1
- package/prefab/compute/function/api-function/api-function.d.ts +0 -22
- package/prefab/compute/function/api-function/api-function.d.ts.map +0 -1
- package/prefab/compute/function/api-function/api-function.js +0 -45
- package/prefab/compute/function/api-function/api-function.js.map +0 -1
- package/prefab/compute/function/api-function/index.d.ts +0 -3
- package/prefab/compute/function/base-function/index.d.ts +0 -33
- package/prefab/compute/function/base-function/index.d.ts.map +0 -1
- package/prefab/compute/function/base-function/index.js +0 -70
- package/prefab/compute/function/base-function/index.js.map +0 -1
- package/prefab/compute/function/cognito-function/cognito-aggregate.d.ts +0 -18
- package/prefab/compute/function/cognito-function/cognito-aggregate.d.ts.map +0 -1
- package/prefab/compute/function/cognito-function/cognito-aggregate.js.map +0 -1
- package/prefab/compute/function/cognito-function/cognito-function.d.ts +0 -19
- package/prefab/compute/function/cognito-function/cognito-function.d.ts.map +0 -1
- package/prefab/compute/function/cognito-function/cognito-function.js.map +0 -1
- package/prefab/compute/function/cognito-function/index.d.ts +0 -3
- package/prefab/compute/function/cron-function/cron-aggregate.d.ts +0 -17
- package/prefab/compute/function/cron-function/cron-aggregate.d.ts.map +0 -1
- package/prefab/compute/function/cron-function/cron-aggregate.js.map +0 -1
- package/prefab/compute/function/cron-function/cron-function.d.ts +0 -17
- package/prefab/compute/function/cron-function/cron-function.d.ts.map +0 -1
- package/prefab/compute/function/cron-function/cron-function.js +0 -24
- package/prefab/compute/function/cron-function/cron-function.js.map +0 -1
- package/prefab/compute/function/cron-function/index.d.ts +0 -3
- package/prefab/compute/function/event-function/event-aggregate.d.ts +0 -20
- package/prefab/compute/function/event-function/event-aggregate.d.ts.map +0 -1
- package/prefab/compute/function/event-function/event-aggregate.js.map +0 -1
- package/prefab/compute/function/event-function/event-function.d.ts +0 -14
- package/prefab/compute/function/event-function/event-function.d.ts.map +0 -1
- package/prefab/compute/function/event-function/event-function.js.map +0 -1
- package/prefab/compute/function/event-function/index.d.ts +0 -3
- package/prefab/compute/function/index.d.ts +0 -8
- package/prefab/compute/function/queue-function/index.d.ts +0 -25
- package/prefab/compute/function/queue-function/index.d.ts.map +0 -1
- package/prefab/compute/function/queue-function/index.js +0 -46
- package/prefab/compute/function/queue-function/index.js.map +0 -1
- package/prefab/compute/function/topic-function/index.d.ts +0 -23
- package/prefab/compute/function/topic-function/index.d.ts.map +0 -1
- package/prefab/compute/function/topic-function/index.js +0 -23
- package/prefab/compute/function/topic-function/index.js.map +0 -1
- package/prefab/compute/index.d.ts +0 -3
- package/prefab/database/dynamo/index.d.ts +0 -14
- package/prefab/database/dynamo/index.d.ts.map +0 -1
- package/prefab/database/dynamo/index.js.map +0 -1
- package/prefab/database/index.d.ts +0 -4
- package/prefab/database/rds/handlers/start-cluster/handler.d.ts +0 -2
- package/prefab/database/rds/handlers/stop-cluster/handler.d.ts +0 -2
- package/prefab/database/rds/index.d.ts +0 -54
- package/prefab/database/rds/index.d.ts.map +0 -1
- package/prefab/database/rds/index.js +0 -223
- package/prefab/database/rds/index.js.map +0 -1
- package/prefab/database/timestream/index.d.ts +0 -3
- package/prefab/database/timestream/timestream-database.d.ts +0 -13
- package/prefab/database/timestream/timestream-database.d.ts.map +0 -1
- package/prefab/database/timestream/timestream-database.js.map +0 -1
- package/prefab/database/timestream/timestream-table.d.ts +0 -23
- package/prefab/database/timestream/timestream-table.d.ts.map +0 -1
- package/prefab/database/timestream/timestream-table.js.map +0 -1
- package/prefab/gateway/alb-public/index.d.ts +0 -44
- package/prefab/gateway/alb-public/index.d.ts.map +0 -1
- package/prefab/gateway/alb-public/index.js.map +0 -1
- package/prefab/gateway/api-gateway/api-http.d.ts +0 -27
- package/prefab/gateway/api-gateway/api-http.d.ts.map +0 -1
- package/prefab/gateway/api-gateway/api-http.js.map +0 -1
- package/prefab/gateway/api-gateway/api-rest.d.ts +0 -26
- package/prefab/gateway/api-gateway/api-rest.d.ts.map +0 -1
- package/prefab/gateway/api-gateway/api-rest.js.map +0 -1
- package/prefab/gateway/api-gateway/index.d.ts +0 -3
- package/prefab/gateway/app-sync/index.d.ts +0 -36
- package/prefab/gateway/app-sync/index.d.ts.map +0 -1
- package/prefab/gateway/app-sync/index.js.map +0 -1
- package/prefab/gateway/app-sync/resolver-aggregate.d.ts +0 -33
- package/prefab/gateway/app-sync/resolver-aggregate.d.ts.map +0 -1
- package/prefab/gateway/app-sync/resolver-aggregate.js.map +0 -1
- package/prefab/gateway/app-sync/types.d.ts +0 -29
- package/prefab/gateway/app-sync/types.d.ts.map +0 -1
- package/prefab/gateway/index.d.ts +0 -4
- package/prefab/index.d.ts +0 -11
- package/prefab/integration/event-bus/index.d.ts +0 -20
- package/prefab/integration/event-bus/index.d.ts.map +0 -1
- package/prefab/integration/event-bus/index.js.map +0 -1
- package/prefab/integration/index.d.ts +0 -4
- package/prefab/integration/queue/index.d.ts +0 -29
- package/prefab/integration/queue/index.d.ts.map +0 -1
- package/prefab/integration/queue/index.js.map +0 -1
- package/prefab/integration/topic/index.d.ts +0 -21
- package/prefab/integration/topic/index.d.ts.map +0 -1
- package/prefab/integration/topic/index.js.map +0 -1
- package/prefab/networking/dns-domain-ref/index.d.ts +0 -16
- package/prefab/networking/dns-domain-ref/index.d.ts.map +0 -1
- package/prefab/networking/dns-domain-ref/index.js.map +0 -1
- package/prefab/networking/dns-subdomain-certificate/index.d.ts +0 -13
- package/prefab/networking/dns-subdomain-certificate/index.d.ts.map +0 -1
- package/prefab/networking/dns-subdomain-certificate/index.js.map +0 -1
- package/prefab/networking/dns-subdomain-hosted-zone/index.d.ts +0 -12
- package/prefab/networking/dns-subdomain-hosted-zone/index.d.ts.map +0 -1
- package/prefab/networking/dns-subdomain-hosted-zone/index.js.map +0 -1
- package/prefab/networking/index.d.ts +0 -6
- package/prefab/networking/vpc/index.d.ts +0 -20
- package/prefab/networking/vpc/index.d.ts.map +0 -1
- package/prefab/networking/vpc/index.js.map +0 -1
- package/prefab/networking/waf/index.d.ts +0 -14
- package/prefab/networking/waf/index.d.ts.map +0 -1
- package/prefab/networking/waf/index.js.map +0 -1
- package/prefab/storage/bucket/asset-bucket.d.ts +0 -12
- package/prefab/storage/bucket/asset-bucket.d.ts.map +0 -1
- package/prefab/storage/bucket/index.d.ts +0 -3
- package/prefab/storage/bucket/private-bucket.d.ts +0 -26
- package/prefab/storage/bucket/private-bucket.d.ts.map +0 -1
- package/prefab/storage/bucket/private-bucket.js.map +0 -1
- package/prefab/storage/index.d.ts +0 -2
- package/prefab/utils/config/frontend-env-builder.d.ts +0 -14
- package/prefab/utils/config/frontend-env-builder.d.ts.map +0 -1
- package/prefab/utils/config/frontend-env-builder.js.map +0 -1
- package/prefab/utils/config/index.d.ts +0 -4
- package/prefab/utils/config/parameter-secret.d.ts +0 -21
- package/prefab/utils/config/parameter-secret.d.ts.map +0 -1
- package/prefab/utils/config/parameter-secret.js.map +0 -1
- package/prefab/utils/config/runtime-secret.d.ts.map +0 -1
- package/prefab/utils/config/runtime-secret.js.map +0 -1
- package/prefab/utils/deploy-pipeline/catalog/integrations/index.d.ts +0 -2
- package/prefab/utils/deploy-pipeline/entities/index.d.ts +0 -29
- package/prefab/utils/deploy-pipeline/index.d.ts +0 -15
- package/prefab/utils/deploy-pipeline/index.d.ts.map +0 -1
- package/prefab/utils/deploy-pipeline/index.js.map +0 -1
- package/prefab/utils/deploy-pipeline/platform/get-pipeline-detail.d.ts +0 -6
- package/prefab/utils/deploy-pipeline/platform/get-slack-payload.d.ts +0 -4
- package/prefab/utils/duration.d.ts +0 -2
- package/prefab/utils/index.d.ts +0 -5
- package/prefab/utils/ses/index.d.ts +0 -22
- package/prefab/utils/ses/index.d.ts.map +0 -1
- package/prefab/utils/ses/index.js.map +0 -1
- package/script/config-command/bootstrap.d.ts +0 -4
- package/script/config-command/bootstrap.js +0 -66
- package/script/config-command/bootstrap.js.map +0 -1
- package/script/config-command/deploy-spa.d.ts +0 -4
- package/script/config-command/deploy-spa.d.ts.map +0 -1
- package/script/config-command/deploy-spa.js +0 -84
- package/script/config-command/deploy-spa.js.map +0 -1
- package/script/config-command/deploy.d.ts +0 -4
- package/script/config-command/deploy.js +0 -26
- package/script/config-command/deploy.js.map +0 -1
- package/script/config-command/destroy.d.ts +0 -4
- package/script/config-command/destroy.js +0 -26
- package/script/config-command/destroy.js.map +0 -1
- package/script/config-command/env-ssr.d.ts +0 -4
- package/script/config-command/env-ssr.js +0 -51
- package/script/config-command/env-ssr.js.map +0 -1
- package/script/config-command/invalidation-ssr.d.ts +0 -4
- package/script/config-command/invalidation-ssr.js +0 -55
- package/script/config-command/invalidation-ssr.js.map +0 -1
- package/script/config-command/rds-migration.d.ts +0 -7
- package/script/config-command/rds-migration.js.map +0 -1
- package/script/config-command/rds-sync.d.ts +0 -4
- package/script/config-command/rds-sync.js.map +0 -1
- package/script/config-command/ssm-connect.d.ts +0 -4
- package/script/config-command/ssm-connect.js.map +0 -1
- package/script/config-command/start-spa.d.ts +0 -4
- package/script/config-command/start-spa.js +0 -55
- package/script/config-command/start-spa.js.map +0 -1
- package/script/config-command/start-ssr.d.ts +0 -4
- package/script/config-command/start-ssr.js +0 -55
- package/script/config-command/start-ssr.js.map +0 -1
- package/script/config-command/synth.d.ts +0 -4
- package/script/config-command/synth.js +0 -26
- package/script/config-command/synth.js.map +0 -1
- package/script/index.d.ts +0 -25
- package/script/index.d.ts.map +0 -1
- package/script/output-command/create-user.d.ts +0 -9
- package/script/output-command/create-user.d.ts.map +0 -1
- package/script/output-command/create-user.js.map +0 -1
- package/script/output-command/gen-postman-env.d.ts +0 -28
- package/script/output-command/gen-postman-env.d.ts.map +0 -1
- package/script/output-command/gen-postman-env.js +0 -56
- package/script/output-command/gen-postman-env.js.map +0 -1
- package/tsconfig.tsbuildinfo +0 -1
- /package/{common → .dist/common}/coordinator.d.ts.map +0 -0
- /package/{common → .dist/common}/coordinator.js +0 -0
- /package/{common → .dist/common}/coordinator.js.map +0 -0
- /package/{common → .dist/common}/index.d.ts.map +0 -0
- /package/{common → .dist/common}/index.js +0 -0
- /package/{common → .dist/common}/index.js.map +0 -0
- /package/{common → .dist/common}/modifier.d.ts.map +0 -0
- /package/{common → .dist/common}/modifier.js +0 -0
- /package/{common → .dist/common}/modifier.js.map +0 -0
- /package/{common → .dist/common}/naming/get-deploy-config.d.ts.map +0 -0
- /package/{common → .dist/common}/naming/get-deploy-config.js +0 -0
- /package/{common → .dist/common}/naming/get-deploy-config.js.map +0 -0
- /package/{common → .dist/common}/naming/get-domain.d.ts.map +0 -0
- /package/{common → .dist/common}/naming/get-domain.js +0 -0
- /package/{common → .dist/common}/naming/get-domain.js.map +0 -0
- /package/{common → .dist/common}/naming/get-function-entry.d.ts.map +0 -0
- /package/{common → .dist/common}/naming/get-function-entry.js +0 -0
- /package/{common → .dist/common}/naming/get-function-entry.js.map +0 -0
- /package/{common → .dist/common}/naming/get-logical-name.d.ts.map +0 -0
- /package/{common → .dist/common}/naming/get-logical-name.js +0 -0
- /package/{common → .dist/common}/naming/get-logical-name.js.map +0 -0
- /package/{common → .dist/common}/naming/get-resource-name.d.ts.map +0 -0
- /package/{common → .dist/common}/naming/get-resource-name.js +0 -0
- /package/{common → .dist/common}/naming/get-resource-name.js.map +0 -0
- /package/{common → .dist/common}/naming/get-service-name.d.ts.map +0 -0
- /package/{common → .dist/common}/naming/get-service-name.js +0 -0
- /package/{common → .dist/common}/naming/get-service-name.js.map +0 -0
- /package/{common → .dist/common}/naming/index.d.ts.map +0 -0
- /package/{common → .dist/common}/naming/index.js +0 -0
- /package/{common → .dist/common}/naming/index.js.map +0 -0
- /package/{common → .dist/common}/naming/string-parser.d.ts.map +0 -0
- /package/{common → .dist/common}/naming/string-parser.js +0 -0
- /package/{common → .dist/common}/naming/string-parser.js.map +0 -0
- /package/{common → .dist/common}/service.d.ts.map +0 -0
- /package/{common → .dist/common}/service.js +0 -0
- /package/{common → .dist/common}/service.js.map +0 -0
- /package/{common → .dist/common}/synth/account-mapping.d.ts.map +0 -0
- /package/{common → .dist/common}/synth/account-mapping.js +0 -0
- /package/{common → .dist/common}/synth/account-mapping.js.map +0 -0
- /package/{common → .dist/common}/synth/assume-role.d.ts.map +0 -0
- /package/{common → .dist/common}/synth/assume-role.js +0 -0
- /package/{common → .dist/common}/synth/assume-role.js.map +0 -0
- /package/{common → .dist/common}/synth/get-global-props.d.ts.map +0 -0
- /package/{common → .dist/common}/synth/get-global-props.js +0 -0
- /package/{common → .dist/common}/synth/get-global-props.js.map +0 -0
- /package/{common → .dist/common}/synth/get-service-props.d.ts.map +0 -0
- /package/{common → .dist/common}/synth/get-service-props.js +0 -0
- /package/{common → .dist/common}/synth/get-service-props.js.map +0 -0
- /package/{common → .dist/common}/synth/index.d.ts.map +0 -0
- /package/{common → .dist/common}/synth/index.js +0 -0
- /package/{common → .dist/common}/synth/index.js.map +0 -0
- /package/{common → .dist/common}/synth/pre-script.d.ts.map +0 -0
- /package/{common → .dist/common}/synth/pre-script.js +0 -0
- /package/{common → .dist/common}/synth/pre-script.js.map +0 -0
- /package/{common → .dist/common}/synth/props-types.d.ts.map +0 -0
- /package/{common → .dist/common}/synth/props-types.js +0 -0
- /package/{common → .dist/common}/synth/props-types.js.map +0 -0
- /package/{common → .dist/common}/synth/synth-error.d.ts.map +0 -0
- /package/{common → .dist/common}/synth/synth-error.js +0 -0
- /package/{common → .dist/common}/synth/synth-error.js.map +0 -0
- /package/{index.d.ts.map → .dist/index.d.ts.map} +0 -0
- /package/{index.js → .dist/index.js} +0 -0
- /package/{index.js.map → .dist/index.js.map} +0 -0
- /package/{prefab → .dist/prefab}/analytics/events/handlers/ingestion-transform/handler.d.ts.map +0 -0
- /package/{prefab → .dist/prefab}/analytics/events/handlers/ingestion-transform/handler.js +0 -0
- /package/{prefab → .dist/prefab}/analytics/events/handlers/ingestion-transform/handler.js.map +0 -0
- /package/{prefab → .dist/prefab}/analytics/index.d.ts.map +0 -0
- /package/{prefab → .dist/prefab}/analytics/index.js +0 -0
- /package/{prefab → .dist/prefab}/analytics/index.js.map +0 -0
- /package/{prefab → .dist/prefab}/auth/cognito-pool/index.js +0 -0
- /package/{prefab → .dist/prefab}/auth/index.d.ts.map +0 -0
- /package/{prefab → .dist/prefab}/auth/index.js +0 -0
- /package/{prefab → .dist/prefab}/auth/index.js.map +0 -0
- /package/{prefab → .dist/prefab}/cdn/index.d.ts.map +0 -0
- /package/{prefab → .dist/prefab}/cdn/index.js +0 -0
- /package/{prefab → .dist/prefab}/cdn/index.js.map +0 -0
- /package/{prefab → .dist/prefab}/compute/fargate/cluster.js +0 -0
- /package/{prefab → .dist/prefab}/compute/fargate/index.d.ts.map +0 -0
- /package/{prefab → .dist/prefab}/compute/fargate/index.js +0 -0
- /package/{prefab → .dist/prefab}/compute/fargate/index.js.map +0 -0
- /package/{prefab → .dist/prefab}/compute/fargate/service.js +0 -0
- /package/{prefab → .dist/prefab}/compute/function/api-function/index.d.ts.map +0 -0
- /package/{prefab → .dist/prefab}/compute/function/api-function/index.js +0 -0
- /package/{prefab → .dist/prefab}/compute/function/api-function/index.js.map +0 -0
- /package/{prefab → .dist/prefab}/compute/function/cognito-function/cognito-aggregate.js +0 -0
- /package/{prefab → .dist/prefab}/compute/function/cognito-function/cognito-function.js +0 -0
- /package/{prefab → .dist/prefab}/compute/function/cognito-function/index.d.ts.map +0 -0
- /package/{prefab → .dist/prefab}/compute/function/cognito-function/index.js +0 -0
- /package/{prefab → .dist/prefab}/compute/function/cognito-function/index.js.map +0 -0
- /package/{prefab → .dist/prefab}/compute/function/cron-function/cron-aggregate.js +0 -0
- /package/{prefab → .dist/prefab}/compute/function/cron-function/index.d.ts.map +0 -0
- /package/{prefab → .dist/prefab}/compute/function/cron-function/index.js +0 -0
- /package/{prefab → .dist/prefab}/compute/function/cron-function/index.js.map +0 -0
- /package/{prefab → .dist/prefab}/compute/function/event-function/event-aggregate.js +0 -0
- /package/{prefab → .dist/prefab}/compute/function/event-function/event-function.js +0 -0
- /package/{prefab → .dist/prefab}/compute/function/event-function/index.d.ts.map +0 -0
- /package/{prefab → .dist/prefab}/compute/function/event-function/index.js +0 -0
- /package/{prefab → .dist/prefab}/compute/function/event-function/index.js.map +0 -0
- /package/{prefab → .dist/prefab}/compute/function/index.d.ts.map +0 -0
- /package/{prefab → .dist/prefab}/compute/function/index.js +0 -0
- /package/{prefab → .dist/prefab}/compute/function/index.js.map +0 -0
- /package/{prefab → .dist/prefab}/compute/index.d.ts.map +0 -0
- /package/{prefab → .dist/prefab}/compute/index.js +0 -0
- /package/{prefab → .dist/prefab}/compute/index.js.map +0 -0
- /package/{prefab → .dist/prefab}/database/dynamo/index.js +0 -0
- /package/{prefab → .dist/prefab}/database/index.d.ts.map +0 -0
- /package/{prefab → .dist/prefab}/database/index.js +0 -0
- /package/{prefab → .dist/prefab}/database/index.js.map +0 -0
- /package/{prefab → .dist/prefab}/database/rds/handlers/start-cluster/handler.d.ts.map +0 -0
- /package/{prefab → .dist/prefab}/database/rds/handlers/start-cluster/handler.js +0 -0
- /package/{prefab → .dist/prefab}/database/rds/handlers/start-cluster/handler.js.map +0 -0
- /package/{prefab → .dist/prefab}/database/rds/handlers/stop-cluster/handler.d.ts.map +0 -0
- /package/{prefab → .dist/prefab}/database/rds/handlers/stop-cluster/handler.js +0 -0
- /package/{prefab → .dist/prefab}/database/rds/handlers/stop-cluster/handler.js.map +0 -0
- /package/{prefab → .dist/prefab}/database/timestream/index.d.ts.map +0 -0
- /package/{prefab → .dist/prefab}/database/timestream/index.js +0 -0
- /package/{prefab → .dist/prefab}/database/timestream/index.js.map +0 -0
- /package/{prefab → .dist/prefab}/database/timestream/timestream-database.js +0 -0
- /package/{prefab → .dist/prefab}/database/timestream/timestream-table.js +0 -0
- /package/{prefab → .dist/prefab}/gateway/alb-public/index.js +0 -0
- /package/{prefab → .dist/prefab}/gateway/api-gateway/api-http.js +0 -0
- /package/{prefab → .dist/prefab}/gateway/api-gateway/api-rest.js +0 -0
- /package/{prefab → .dist/prefab}/gateway/api-gateway/index.d.ts.map +0 -0
- /package/{prefab → .dist/prefab}/gateway/api-gateway/index.js +0 -0
- /package/{prefab → .dist/prefab}/gateway/api-gateway/index.js.map +0 -0
- /package/{prefab → .dist/prefab}/gateway/app-sync/index.js +0 -0
- /package/{prefab → .dist/prefab}/gateway/app-sync/resolver-aggregate.js +0 -0
- /package/{prefab → .dist/prefab}/gateway/app-sync/types.js +0 -0
- /package/{prefab → .dist/prefab}/gateway/app-sync/types.js.map +0 -0
- /package/{prefab → .dist/prefab}/gateway/index.d.ts.map +0 -0
- /package/{prefab → .dist/prefab}/gateway/index.js +0 -0
- /package/{prefab → .dist/prefab}/gateway/index.js.map +0 -0
- /package/{prefab → .dist/prefab}/index.d.ts.map +0 -0
- /package/{prefab → .dist/prefab}/index.js +0 -0
- /package/{prefab → .dist/prefab}/index.js.map +0 -0
- /package/{prefab → .dist/prefab}/integration/event-bus/index.js +0 -0
- /package/{prefab → .dist/prefab}/integration/index.d.ts.map +0 -0
- /package/{prefab → .dist/prefab}/integration/index.js +0 -0
- /package/{prefab → .dist/prefab}/integration/index.js.map +0 -0
- /package/{prefab → .dist/prefab}/integration/queue/index.js +0 -0
- /package/{prefab → .dist/prefab}/integration/topic/index.js +0 -0
- /package/{prefab → .dist/prefab}/networking/dns-domain-ref/index.js +0 -0
- /package/{prefab → .dist/prefab}/networking/dns-subdomain-certificate/index.js +0 -0
- /package/{prefab → .dist/prefab}/networking/dns-subdomain-hosted-zone/index.js +0 -0
- /package/{prefab → .dist/prefab}/networking/index.d.ts.map +0 -0
- /package/{prefab → .dist/prefab}/networking/index.js +0 -0
- /package/{prefab → .dist/prefab}/networking/index.js.map +0 -0
- /package/{prefab → .dist/prefab}/networking/vpc/index.js +0 -0
- /package/{prefab → .dist/prefab}/networking/waf/index.js +0 -0
- /package/{prefab → .dist/prefab}/storage/bucket/asset-bucket.js +0 -0
- /package/{prefab → .dist/prefab}/storage/bucket/asset-bucket.js.map +0 -0
- /package/{prefab → .dist/prefab}/storage/bucket/index.d.ts.map +0 -0
- /package/{prefab → .dist/prefab}/storage/bucket/index.js +0 -0
- /package/{prefab → .dist/prefab}/storage/bucket/index.js.map +0 -0
- /package/{prefab → .dist/prefab}/storage/bucket/private-bucket.js +0 -0
- /package/{prefab → .dist/prefab}/storage/index.d.ts.map +0 -0
- /package/{prefab → .dist/prefab}/storage/index.js +0 -0
- /package/{prefab → .dist/prefab}/storage/index.js.map +0 -0
- /package/{prefab → .dist/prefab}/utils/config/frontend-env-builder.js +0 -0
- /package/{prefab → .dist/prefab}/utils/config/index.d.ts.map +0 -0
- /package/{prefab → .dist/prefab}/utils/config/index.js +0 -0
- /package/{prefab → .dist/prefab}/utils/config/index.js.map +0 -0
- /package/{prefab → .dist/prefab}/utils/config/parameter-secret.js +0 -0
- /package/{prefab → .dist/prefab}/utils/config/runtime-secret.d.ts +0 -0
- /package/{prefab → .dist/prefab}/utils/config/runtime-secret.js +0 -0
- /package/{prefab → .dist/prefab}/utils/deploy-pipeline/catalog/integrations/index.d.ts.map +0 -0
- /package/{prefab → .dist/prefab}/utils/deploy-pipeline/catalog/integrations/index.js +0 -0
- /package/{prefab → .dist/prefab}/utils/deploy-pipeline/catalog/integrations/index.js.map +0 -0
- /package/{prefab → .dist/prefab}/utils/deploy-pipeline/catalog/integrations/slack.d.ts +0 -0
- /package/{prefab → .dist/prefab}/utils/deploy-pipeline/catalog/integrations/slack.d.ts.map +0 -0
- /package/{prefab → .dist/prefab}/utils/deploy-pipeline/catalog/integrations/slack.js +0 -0
- /package/{prefab → .dist/prefab}/utils/deploy-pipeline/catalog/integrations/slack.js.map +0 -0
- /package/{prefab → .dist/prefab}/utils/deploy-pipeline/entities/index.d.ts.map +0 -0
- /package/{prefab → .dist/prefab}/utils/deploy-pipeline/entities/index.js +0 -0
- /package/{prefab → .dist/prefab}/utils/deploy-pipeline/entities/index.js.map +0 -0
- /package/{prefab → .dist/prefab}/utils/deploy-pipeline/handlers/send-to-slack/handler.d.ts +0 -0
- /package/{prefab → .dist/prefab}/utils/deploy-pipeline/handlers/send-to-slack/handler.d.ts.map +0 -0
- /package/{prefab → .dist/prefab}/utils/deploy-pipeline/handlers/send-to-slack/handler.js +0 -0
- /package/{prefab → .dist/prefab}/utils/deploy-pipeline/handlers/send-to-slack/handler.js.map +0 -0
- /package/{prefab → .dist/prefab}/utils/deploy-pipeline/index.js +0 -0
- /package/{prefab → .dist/prefab}/utils/deploy-pipeline/platform/get-pipeline-detail.d.ts.map +0 -0
- /package/{prefab → .dist/prefab}/utils/deploy-pipeline/platform/get-pipeline-detail.js +0 -0
- /package/{prefab → .dist/prefab}/utils/deploy-pipeline/platform/get-pipeline-detail.js.map +0 -0
- /package/{prefab → .dist/prefab}/utils/deploy-pipeline/platform/get-slack-payload.d.ts.map +0 -0
- /package/{prefab → .dist/prefab}/utils/deploy-pipeline/platform/get-slack-payload.js +0 -0
- /package/{prefab → .dist/prefab}/utils/deploy-pipeline/platform/get-slack-payload.js.map +0 -0
- /package/{prefab → .dist/prefab}/utils/deploy-pipeline/platform/send-to-slack.d.ts +0 -0
- /package/{prefab → .dist/prefab}/utils/deploy-pipeline/platform/send-to-slack.d.ts.map +0 -0
- /package/{prefab → .dist/prefab}/utils/deploy-pipeline/platform/send-to-slack.js +0 -0
- /package/{prefab → .dist/prefab}/utils/deploy-pipeline/platform/send-to-slack.js.map +0 -0
- /package/{prefab → .dist/prefab}/utils/duration.d.ts.map +0 -0
- /package/{prefab → .dist/prefab}/utils/duration.js +0 -0
- /package/{prefab → .dist/prefab}/utils/duration.js.map +0 -0
- /package/{prefab → .dist/prefab}/utils/index.d.ts.map +0 -0
- /package/{prefab → .dist/prefab}/utils/index.js +0 -0
- /package/{prefab → .dist/prefab}/utils/index.js.map +0 -0
- /package/{prefab → .dist/prefab}/utils/ses/index.js +0 -0
- /package/{script → .dist/script}/config-command/bootstrap.d.ts.map +0 -0
- /package/{script → .dist/script}/config-command/deploy.d.ts.map +0 -0
- /package/{script → .dist/script}/config-command/destroy.d.ts.map +0 -0
- /package/{script → .dist/script}/config-command/env-ssr.d.ts.map +0 -0
- /package/{script → .dist/script}/config-command/invalidation-ssr.d.ts.map +0 -0
- /package/{script → .dist/script}/config-command/rds-migration.d.ts.map +0 -0
- /package/{script → .dist/script}/config-command/rds-migration.js +0 -0
- /package/{script → .dist/script}/config-command/rds-sync.d.ts.map +0 -0
- /package/{script → .dist/script}/config-command/rds-sync.js +0 -0
- /package/{script → .dist/script}/config-command/ssm-connect.d.ts.map +0 -0
- /package/{script → .dist/script}/config-command/ssm-connect.js +0 -0
- /package/{script → .dist/script}/config-command/start-spa.d.ts.map +0 -0
- /package/{script → .dist/script}/config-command/start-ssr.d.ts.map +0 -0
- /package/{script → .dist/script}/config-command/synth.d.ts.map +0 -0
- /package/{script → .dist/script}/index.js +0 -0
- /package/{script → .dist/script}/index.js.map +0 -0
- /package/{script → .dist/script}/output-command/create-user.js +0 -0
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { BaseGlobalProps, BaseDeployTargetName, DeployConfig } from '../synth/props-types';
|
|
2
|
-
|
|
3
|
-
export declare const getDeployConfig: (
|
|
4
|
-
deployTarget: BaseGlobalProps,
|
|
5
|
-
deployTargetName?: BaseDeployTargetName
|
|
6
|
-
) => {
|
|
7
|
-
env: DeployConfig;
|
|
8
|
-
};
|
|
9
|
-
//# sourceMappingURL=get-deploy-config.d.ts.map
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { BaseServiceProps } from '../synth/props-types';
|
|
2
|
-
|
|
3
|
-
type GetDomainParams = {
|
|
4
|
-
envDomainName?: BaseServiceProps['envDomainName'];
|
|
5
|
-
ephemeralEnvName?: BaseServiceProps['ephemeralEnvName'];
|
|
6
|
-
};
|
|
7
|
-
export declare const getDomain: (subdomain: string, { envDomainName, ephemeralEnvName }: GetDomainParams, includeProtocol?: boolean) => string;
|
|
8
|
-
export {};
|
|
9
|
-
//# sourceMappingURL=get-domain.d.ts.map
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { BaseServiceProps } from '../synth/props-types';
|
|
2
|
-
|
|
3
|
-
type GetResourceNameParams = {
|
|
4
|
-
projectName: BaseServiceProps['projectName'];
|
|
5
|
-
envName: BaseServiceProps['envName'];
|
|
6
|
-
ephemeralEnvName?: BaseServiceProps['ephemeralEnvName'];
|
|
7
|
-
serviceName: BaseServiceProps['serviceName'];
|
|
8
|
-
isSingleProjectAccount?: BaseServiceProps['isSingleProjectAccount'];
|
|
9
|
-
};
|
|
10
|
-
type GetShortResourceNameParams = {
|
|
11
|
-
projectShortName: BaseServiceProps['projectShortName'];
|
|
12
|
-
envName: BaseServiceProps['envName'];
|
|
13
|
-
ephemeralEnvName?: BaseServiceProps['ephemeralEnvName'];
|
|
14
|
-
serviceName: BaseServiceProps['serviceName'];
|
|
15
|
-
isSingleProjectAccount?: BaseServiceProps['isSingleProjectAccount'];
|
|
16
|
-
};
|
|
17
|
-
export declare const getResourceName: (
|
|
18
|
-
resourceName: string,
|
|
19
|
-
{ isSingleProjectAccount, projectName, envName, ephemeralEnvName, serviceName }: GetResourceNameParams
|
|
20
|
-
) => string;
|
|
21
|
-
export declare const getShortResourceName: (
|
|
22
|
-
resourceName: string,
|
|
23
|
-
{ isSingleProjectAccount, projectShortName, envName, ephemeralEnvName, serviceName }: GetShortResourceNameParams
|
|
24
|
-
) => string;
|
|
25
|
-
export declare const getDatabaseName: (
|
|
26
|
-
resourceName: string,
|
|
27
|
-
{ isSingleProjectAccount, projectName, envName, ephemeralEnvName, serviceName }: GetResourceNameParams
|
|
28
|
-
) => string;
|
|
29
|
-
export declare const getCloudFrontName: (
|
|
30
|
-
resourceType: string,
|
|
31
|
-
resourceName: string,
|
|
32
|
-
{ projectName, envName, ephemeralEnvName, serviceName }: GetResourceNameParams
|
|
33
|
-
) => string;
|
|
34
|
-
export declare const getBucketName: (
|
|
35
|
-
bucketName: string,
|
|
36
|
-
{
|
|
37
|
-
envDomainName,
|
|
38
|
-
ephemeralEnvName,
|
|
39
|
-
serviceName,
|
|
40
|
-
}: {
|
|
41
|
-
envDomainName: BaseServiceProps['envDomainName'];
|
|
42
|
-
ephemeralEnvName?: BaseServiceProps['ephemeralEnvName'];
|
|
43
|
-
serviceName: BaseServiceProps['serviceName'];
|
|
44
|
-
}
|
|
45
|
-
) => string;
|
|
46
|
-
export {};
|
|
47
|
-
//# sourceMappingURL=get-resource-name.d.ts.map
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { BaseGlobalProps } from '../synth/props-types';
|
|
2
|
-
|
|
3
|
-
type GetServiceNameParams = {
|
|
4
|
-
projectName: BaseGlobalProps['projectName'];
|
|
5
|
-
envName: BaseGlobalProps['envName'];
|
|
6
|
-
ephemeralEnvName?: BaseGlobalProps['ephemeralEnvName'];
|
|
7
|
-
};
|
|
8
|
-
export declare const getServiceName: (simpleServiceName: string, { projectName, envName, ephemeralEnvName }: GetServiceNameParams) => string;
|
|
9
|
-
export {};
|
|
10
|
-
//# sourceMappingURL=get-service-name.d.ts.map
|
package/common/naming/index.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export * from './get-deploy-config';
|
|
2
|
-
export * from './get-domain';
|
|
3
|
-
export * from './get-function-entry';
|
|
4
|
-
export * from './get-logical-name';
|
|
5
|
-
export * from './get-resource-name';
|
|
6
|
-
export * from './get-service-name';
|
|
7
|
-
export * from './string-parser';
|
|
8
|
-
//# sourceMappingURL=index.d.ts.map
|
package/common/service.d.ts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { Stack } from 'aws-cdk-lib';
|
|
2
|
-
|
|
3
|
-
import { Coordinator, ServiceDependencies } from './coordinator';
|
|
4
|
-
import { BaseDeployTargetName, BaseServiceProps } from './synth/props-types';
|
|
5
|
-
|
|
6
|
-
type ServiceClass<MyCoord extends Coordinator = Coordinator> = {
|
|
7
|
-
props: MyCoord['globalProps'];
|
|
8
|
-
name: string;
|
|
9
|
-
build(args: any): void;
|
|
10
|
-
};
|
|
11
|
-
type ServiceOptions<DeployTargetName extends BaseDeployTargetName = BaseDeployTargetName> = {
|
|
12
|
-
deployTargetName?: DeployTargetName;
|
|
13
|
-
stackName?: string;
|
|
14
|
-
};
|
|
15
|
-
export declare abstract class ServiceStack<
|
|
16
|
-
MyCoord extends Coordinator = Coordinator,
|
|
17
|
-
DeployTargetName extends BaseDeployTargetName = BaseDeployTargetName,
|
|
18
|
-
>
|
|
19
|
-
extends Stack
|
|
20
|
-
implements ServiceClass<MyCoord>
|
|
21
|
-
{
|
|
22
|
-
readonly props: BaseServiceProps<MyCoord['globalProps']>;
|
|
23
|
-
readonly name: string;
|
|
24
|
-
depsNames: string[];
|
|
25
|
-
constructor(coordinator: MyCoord, name: string, dep: typeof ServiceDependencies, serviceOptions?: ServiceOptions<DeployTargetName>);
|
|
26
|
-
abstract build(deps: any): void;
|
|
27
|
-
}
|
|
28
|
-
export {};
|
|
29
|
-
//# sourceMappingURL=service.d.ts.map
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { BaseGlobalProps, BaseRegionName, DeployConfig } from './props-types';
|
|
2
|
-
|
|
3
|
-
export type AssumeRoleResponse = {
|
|
4
|
-
region: BaseRegionName;
|
|
5
|
-
credentials: {
|
|
6
|
-
accessKeyId: string;
|
|
7
|
-
secretAccessKey: string;
|
|
8
|
-
sessionToken: string;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
type AssumeRoleParams = {
|
|
12
|
-
region: BaseGlobalProps['regionName'];
|
|
13
|
-
account: DeployConfig['account'];
|
|
14
|
-
};
|
|
15
|
-
export declare const assumeRole: ({ account, region }: AssumeRoleParams, roleName: string) => Promise<AssumeRoleResponse>;
|
|
16
|
-
export declare const assumeRoleArn: (arn: string, region?: string) => Promise<AssumeRoleResponse>;
|
|
17
|
-
export {};
|
|
18
|
-
//# sourceMappingURL=assume-role.d.ts.map
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Construct } from 'constructs';
|
|
2
|
-
|
|
3
|
-
import * as propsTypes from './props-types';
|
|
4
|
-
|
|
5
|
-
export declare const getGlobalProps: <
|
|
6
|
-
GlobalConstConfig extends propsTypes.BaseGlobalConstConfig,
|
|
7
|
-
AllowedEnvName extends propsTypes.BaseEnvName,
|
|
8
|
-
GlobalEnv extends propsTypes.BaseGlobalEnv,
|
|
9
|
-
GlobalDeployTarget extends propsTypes.BaseGlobalDeployTarget,
|
|
10
|
-
>(
|
|
11
|
-
app: Construct,
|
|
12
|
-
globalConstConfig: GlobalConstConfig,
|
|
13
|
-
globalEnvConfig: propsTypes.BaseGlobalEnvConfig<AllowedEnvName, GlobalEnv>,
|
|
14
|
-
globalDeployTargetConfig: propsTypes.BaseGlobalDeployTargetConfig<AllowedEnvName, propsTypes.BaseDeployTargetName>
|
|
15
|
-
) => propsTypes.BaseGlobalProps<GlobalConstConfig, GlobalEnv, GlobalDeployTarget>;
|
|
16
|
-
//# sourceMappingURL=get-global-props.d.ts.map
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { BaseGlobalProps, BaseServiceProps, BaseServiceDependencies } from './props-types';
|
|
2
|
-
|
|
3
|
-
export declare const getServiceProps: <
|
|
4
|
-
GlobalProps extends BaseGlobalProps = BaseGlobalProps,
|
|
5
|
-
ServiceDependencies extends BaseServiceDependencies = {},
|
|
6
|
-
>(
|
|
7
|
-
serviceName: string,
|
|
8
|
-
globalProps: GlobalProps,
|
|
9
|
-
serviceDependencies?: ServiceDependencies
|
|
10
|
-
) => BaseServiceProps<GlobalProps, ServiceDependencies>;
|
|
11
|
-
//# sourceMappingURL=get-service-props.d.ts.map
|
package/common/synth/index.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export * from './account-mapping';
|
|
2
|
-
export * from './assume-role';
|
|
3
|
-
export * from './get-global-props';
|
|
4
|
-
export * from './get-service-props';
|
|
5
|
-
export * from './pre-script';
|
|
6
|
-
export * from './props-types';
|
|
7
|
-
export * from './synth-error';
|
|
8
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import * as propsTypes from './props-types';
|
|
2
|
-
|
|
3
|
-
export declare const preScript: <
|
|
4
|
-
GlobalConst,
|
|
5
|
-
AllowedEnv extends propsTypes.BaseEnvName = string,
|
|
6
|
-
GlobalEnv extends propsTypes.BaseGlobalEnv = {
|
|
7
|
-
roleName: string;
|
|
8
|
-
deployBranch: string;
|
|
9
|
-
hostedZoneName: string;
|
|
10
|
-
envDomainName: string;
|
|
11
|
-
emailSender: string;
|
|
12
|
-
},
|
|
13
|
-
DeployTargetName extends propsTypes.BaseDeployTargetName = string,
|
|
14
|
-
>(
|
|
15
|
-
globalConstConfig: propsTypes.BaseGlobalConstConfig<GlobalConst>,
|
|
16
|
-
globalEnvConfig: propsTypes.BaseGlobalEnvConfig<AllowedEnv, GlobalEnv>,
|
|
17
|
-
globalDeployTargetConfig: propsTypes.BaseGlobalDeployTargetConfig<AllowedEnv, DeployTargetName>,
|
|
18
|
-
args: string[]
|
|
19
|
-
) => Promise<{
|
|
20
|
-
isSingleProjectAccount?: boolean;
|
|
21
|
-
servicesNamesInput: string[];
|
|
22
|
-
envNameInput: string;
|
|
23
|
-
ephemeralEnvName: string | undefined;
|
|
24
|
-
envName: AllowedEnv;
|
|
25
|
-
roleName: string;
|
|
26
|
-
outputFile: string;
|
|
27
|
-
servicesNames: string;
|
|
28
|
-
bootstrappingServices: string;
|
|
29
|
-
accountMap: string;
|
|
30
|
-
landingZones: string[];
|
|
31
|
-
}>;
|
|
32
|
-
//# sourceMappingURL=pre-script.d.ts.map
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
export type BaseRegionName = 'us-east-1' | string;
|
|
2
|
-
export type BaseEnvName = 'dev' | 'test' | 'staging' | 'prod' | string;
|
|
3
|
-
export type BaseDeployTargetName = 'services' | string;
|
|
4
|
-
export interface DeployConfig {
|
|
5
|
-
region: BaseRegionName;
|
|
6
|
-
account: string;
|
|
7
|
-
}
|
|
8
|
-
export type BaseGlobalConstConfig<ExtendedConst = {}> = {
|
|
9
|
-
projectName: string;
|
|
10
|
-
projectShortName: string;
|
|
11
|
-
repositoryName: string;
|
|
12
|
-
landingZones: string[];
|
|
13
|
-
pipelineNotificationSlackChannel?: string;
|
|
14
|
-
isDemoProject?: boolean;
|
|
15
|
-
bootstrappingServices?: string[];
|
|
16
|
-
isSingleProjectAccount?: boolean;
|
|
17
|
-
} & ExtendedConst;
|
|
18
|
-
export type BaseGlobalEnv<ExtendedEnv = {}> = {
|
|
19
|
-
roleName: string;
|
|
20
|
-
deployBranch: string;
|
|
21
|
-
hostedZoneName: string;
|
|
22
|
-
envDomainName: string;
|
|
23
|
-
emailSender: string;
|
|
24
|
-
} & ExtendedEnv;
|
|
25
|
-
export type BaseGlobalEnvConfig<AllowedEnv extends BaseEnvName = BaseEnvName, GlobalEnv extends BaseGlobalEnv = BaseGlobalEnv> = Record<
|
|
26
|
-
AllowedEnv,
|
|
27
|
-
GlobalEnv
|
|
28
|
-
>;
|
|
29
|
-
export type BaseGlobalDeployTarget<DeployTargetName extends BaseDeployTargetName = BaseDeployTargetName> = Record<DeployTargetName, DeployConfig>;
|
|
30
|
-
export type BaseGlobalDeployTargetConfig<
|
|
31
|
-
AllowedEnv extends BaseEnvName = BaseEnvName,
|
|
32
|
-
DeployTargetName extends BaseDeployTargetName = BaseDeployTargetName,
|
|
33
|
-
GlobalDeployTarget extends BaseGlobalDeployTarget<DeployTargetName> = BaseGlobalDeployTarget<DeployTargetName>,
|
|
34
|
-
> = Record<AllowedEnv, GlobalDeployTarget>;
|
|
35
|
-
export type BaseServiceDependencies<ServiceDependencies = {}> = {} & ServiceDependencies;
|
|
36
|
-
export type BaseServiceConstConfig<ExtendedConst = {}> = {} & ExtendedConst;
|
|
37
|
-
export type BaseServiceEnv<ExtendedEnv = {}> = {} & ExtendedEnv;
|
|
38
|
-
export type BaseServiceEnvConfig<AllowedEnv extends BaseEnvName = BaseEnvName, ServiceEnv extends BaseServiceEnv = BaseServiceEnv> = Record<
|
|
39
|
-
AllowedEnv,
|
|
40
|
-
ServiceEnv
|
|
41
|
-
>;
|
|
42
|
-
export type BaseGlobalProps<
|
|
43
|
-
GlobalConstConfig extends BaseGlobalConstConfig = BaseGlobalConstConfig,
|
|
44
|
-
GlobalEnv extends BaseGlobalEnv = BaseGlobalEnv,
|
|
45
|
-
GlobalDeployTarget extends BaseGlobalDeployTarget = BaseGlobalDeployTarget,
|
|
46
|
-
> = {
|
|
47
|
-
envName: BaseEnvName;
|
|
48
|
-
regionName: BaseRegionName;
|
|
49
|
-
ephemeralEnvName?: string;
|
|
50
|
-
deployTarget: GlobalDeployTarget;
|
|
51
|
-
} & GlobalConstConfig &
|
|
52
|
-
GlobalEnv;
|
|
53
|
-
export type BaseServiceProps<
|
|
54
|
-
GlobalProps extends BaseGlobalProps = BaseGlobalProps,
|
|
55
|
-
ServiceDependencies extends BaseServiceDependencies = BaseServiceDependencies,
|
|
56
|
-
> = {
|
|
57
|
-
serviceName: string;
|
|
58
|
-
} & GlobalProps &
|
|
59
|
-
ServiceDependencies;
|
|
60
|
-
//# sourceMappingURL=props-types.d.ts.map
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { BaseServiceProps } from './props-types';
|
|
2
|
-
|
|
3
|
-
export declare class SynthError extends Error {
|
|
4
|
-
message: string;
|
|
5
|
-
props?: BaseServiceProps | undefined;
|
|
6
|
-
constructor(message: string, props?: BaseServiceProps | undefined);
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=synth-error.d.ts.map
|
package/index.d.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { CfnWorkGroup } from 'aws-cdk-lib/aws-athena';
|
|
2
|
-
import { CfnCrawler, CfnCrawlerProps, CfnDatabase } from 'aws-cdk-lib/aws-glue';
|
|
3
|
-
import { Bucket } from 'aws-cdk-lib/aws-s3';
|
|
4
|
-
import { Construct } from 'constructs';
|
|
5
|
-
|
|
6
|
-
import { ServiceStack } from '../../../common';
|
|
7
|
-
|
|
8
|
-
import { EventBusPrefab } from '../../../prefab/integration/event-bus';
|
|
9
|
-
|
|
10
|
-
export type EventsAnalyticsParams = {
|
|
11
|
-
eventBus: EventBusPrefab;
|
|
12
|
-
eventSource?: string;
|
|
13
|
-
paramsCrawlerProps?: Partial<CfnCrawlerProps>;
|
|
14
|
-
lifecycleDurations?: {
|
|
15
|
-
infrequentDays: number;
|
|
16
|
-
glacierDays: number;
|
|
17
|
-
};
|
|
18
|
-
bufferingHints?: {
|
|
19
|
-
intervalInSeconds: number;
|
|
20
|
-
sizeInMBs: number;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
export declare class EventsAnalyticsPrefab extends Construct {
|
|
24
|
-
readonly datalakeBucket: Bucket;
|
|
25
|
-
readonly database: CfnDatabase;
|
|
26
|
-
readonly crawler: CfnCrawler;
|
|
27
|
-
readonly athenaOutputBucket: Bucket;
|
|
28
|
-
readonly workGroup: CfnWorkGroup;
|
|
29
|
-
constructor(service: ServiceStack, params: EventsAnalyticsParams);
|
|
30
|
-
}
|
|
31
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../prefab/analytics/events/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAGtD,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAGhF,OAAO,EAAqB,MAAM,EAAkC,MAAM,oBAAoB,CAAC;AAC/F,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAEvC,OAAO,EAAE,YAAY,EAAoF,MAAM,QAAQ,CAAC;AAGxH,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,MAAM,MAAM,qBAAqB,GAAG;IAClC,QAAQ,EAAE,cAAc,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kBAAkB,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;IAC9C,kBAAkB,CAAC,EAAE;QACnB,cAAc,EAAE,MAAM,CAAC;QACvB,WAAW,EAAE,MAAM,CAAC;KACrB,CAAC;IACF,cAAc,CAAC,EAAE;QACf,iBAAiB,EAAE,MAAM,CAAC;QAC1B,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;CACH,CAAC;AAEF,qBAAa,qBAAsB,SAAQ,SAAS;IAClD,SAAgB,cAAc,EAAE,MAAM,CAAC;IACvC,SAAgB,QAAQ,EAAE,WAAW,CAAC;IACtC,SAAgB,OAAO,EAAE,UAAU,CAAC;IACpC,SAAgB,kBAAkB,EAAE,MAAM,CAAC;IAC3C,SAAgB,SAAS,EAAE,YAAY,CAAC;gBAE5B,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,qBAAqB;CA4JjE"}
|
|
@@ -1,163 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EventsAnalyticsPrefab = void 0;
|
|
4
|
-
const aws_cdk_lib_1 = require("aws-cdk-lib");
|
|
5
|
-
const aws_athena_1 = require("aws-cdk-lib/aws-athena");
|
|
6
|
-
const aws_events_1 = require("aws-cdk-lib/aws-events");
|
|
7
|
-
const aws_events_targets_1 = require("aws-cdk-lib/aws-events-targets");
|
|
8
|
-
const aws_glue_1 = require("aws-cdk-lib/aws-glue");
|
|
9
|
-
const aws_iam_1 = require("aws-cdk-lib/aws-iam");
|
|
10
|
-
const aws_kinesisfirehose_1 = require("aws-cdk-lib/aws-kinesisfirehose");
|
|
11
|
-
const aws_s3_1 = require("aws-cdk-lib/aws-s3");
|
|
12
|
-
const constructs_1 = require("constructs");
|
|
13
|
-
const common_1 = require("../../../common");
|
|
14
|
-
const base_function_1 = require("../../../prefab/compute/function/base-function");
|
|
15
|
-
class EventsAnalyticsPrefab extends constructs_1.Construct {
|
|
16
|
-
datalakeBucket;
|
|
17
|
-
database;
|
|
18
|
-
crawler;
|
|
19
|
-
athenaOutputBucket;
|
|
20
|
-
workGroup;
|
|
21
|
-
constructor(service, params) {
|
|
22
|
-
super(service, (0, common_1.getLogicalName)(EventsAnalyticsPrefab.name));
|
|
23
|
-
this.datalakeBucket = new aws_s3_1.Bucket(service, 'DataLakeBucket', {
|
|
24
|
-
bucketName: (0, common_1.getBucketName)('datalake', service.props),
|
|
25
|
-
versioned: false,
|
|
26
|
-
publicReadAccess: false,
|
|
27
|
-
blockPublicAccess: aws_s3_1.BlockPublicAccess.BLOCK_ALL,
|
|
28
|
-
encryption: aws_s3_1.BucketEncryption.KMS_MANAGED,
|
|
29
|
-
removalPolicy: aws_cdk_lib_1.RemovalPolicy.DESTROY,
|
|
30
|
-
...(service.props.envName !== 'prod' ? { autoDeleteObjects: true } : {}),
|
|
31
|
-
lifecycleRules: [
|
|
32
|
-
{
|
|
33
|
-
transitions: [
|
|
34
|
-
{
|
|
35
|
-
storageClass: aws_s3_1.StorageClass.INFREQUENT_ACCESS,
|
|
36
|
-
transitionAfter: aws_cdk_lib_1.Duration.days(params.lifecycleDurations?.infrequentDays || 90),
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
storageClass: aws_s3_1.StorageClass.GLACIER,
|
|
40
|
-
transitionAfter: aws_cdk_lib_1.Duration.days(params.lifecycleDurations?.glacierDays || 360),
|
|
41
|
-
},
|
|
42
|
-
],
|
|
43
|
-
},
|
|
44
|
-
],
|
|
45
|
-
});
|
|
46
|
-
if (service.props.envName === 'prod') {
|
|
47
|
-
this.datalakeBucket.applyRemovalPolicy(aws_cdk_lib_1.RemovalPolicy.RETAIN);
|
|
48
|
-
}
|
|
49
|
-
const role = new aws_iam_1.Role(service, (0, common_1.getLogicalName)('DataLakeDeliveryStringRole'), {
|
|
50
|
-
assumedBy: new aws_iam_1.ServicePrincipal('firehose.amazonaws.com'),
|
|
51
|
-
});
|
|
52
|
-
const lambdaFunction = new base_function_1.BaseFunction(service, {
|
|
53
|
-
name: 'ingestion-transform',
|
|
54
|
-
baseFunctionFolder: __dirname,
|
|
55
|
-
...(service.props.isDemoProject ? {} : { compiled: true }),
|
|
56
|
-
}).lambdaFunction;
|
|
57
|
-
const deliveryStream = new aws_kinesisfirehose_1.CfnDeliveryStream(service, 'DataLakeDeliveryStream', {
|
|
58
|
-
deliveryStreamType: 'DirectPut',
|
|
59
|
-
extendedS3DestinationConfiguration: {
|
|
60
|
-
bucketArn: this.datalakeBucket.bucketArn,
|
|
61
|
-
roleArn: role.roleArn,
|
|
62
|
-
compressionFormat: 'UNCOMPRESSED',
|
|
63
|
-
prefix: 'year=!{timestamp:yyyy}/month=!{timestamp:MM}/day=!{timestamp:dd}/hour=!{timestamp:HH}/',
|
|
64
|
-
errorOutputPrefix: 'error/!{firehose:random-string}/!{firehose:error-output-type}/!{timestamp:yyyy/MM/dd}/',
|
|
65
|
-
bufferingHints: {
|
|
66
|
-
intervalInSeconds: params.bufferingHints?.intervalInSeconds || 300,
|
|
67
|
-
sizeInMBs: params.bufferingHints?.sizeInMBs || 5,
|
|
68
|
-
},
|
|
69
|
-
processingConfiguration: {
|
|
70
|
-
enabled: true,
|
|
71
|
-
processors: [
|
|
72
|
-
{
|
|
73
|
-
type: 'Lambda',
|
|
74
|
-
parameters: [{ parameterName: 'LambdaArn', parameterValue: lambdaFunction.functionArn }],
|
|
75
|
-
},
|
|
76
|
-
],
|
|
77
|
-
},
|
|
78
|
-
},
|
|
79
|
-
});
|
|
80
|
-
new aws_events_1.Rule(service, 'EventProcessorRule', {
|
|
81
|
-
...(params.eventBus ? { eventBus: params.eventBus.bus } : {}),
|
|
82
|
-
eventPattern: { source: [params.eventSource || 'app'] },
|
|
83
|
-
targets: [new aws_events_targets_1.KinesisFirehoseStream(deliveryStream)],
|
|
84
|
-
});
|
|
85
|
-
this.datalakeBucket.grantReadWrite(role);
|
|
86
|
-
lambdaFunction.grantInvoke(role);
|
|
87
|
-
this.database = new aws_glue_1.CfnDatabase(service, 'Database', {
|
|
88
|
-
catalogId: (0, common_1.getDeployConfig)(service.props).env.account,
|
|
89
|
-
databaseInput: { name: (0, common_1.getDatabaseName)('datalake', service.props) },
|
|
90
|
-
});
|
|
91
|
-
const crawlerRole = new aws_iam_1.Role(service, 'CrawlerRole', { assumedBy: new aws_iam_1.ServicePrincipal('glue.amazonaws.com') });
|
|
92
|
-
crawlerRole.addToPrincipalPolicy(new aws_iam_1.PolicyStatement({
|
|
93
|
-
effect: aws_iam_1.Effect.ALLOW,
|
|
94
|
-
actions: [
|
|
95
|
-
'glue:*',
|
|
96
|
-
's3:GetBucketLocation',
|
|
97
|
-
's3:ListBucket',
|
|
98
|
-
's3:ListAllMyBuckets',
|
|
99
|
-
'iam:ListRolePolicies',
|
|
100
|
-
'iam:GetRole',
|
|
101
|
-
'iam:GetRolePolicy',
|
|
102
|
-
'cloudwatch:PutMetricData',
|
|
103
|
-
'logs:PutLogEvents',
|
|
104
|
-
'logs:CreateLogGroup',
|
|
105
|
-
'logs:CreateLogStream',
|
|
106
|
-
],
|
|
107
|
-
resources: ['*'],
|
|
108
|
-
}));
|
|
109
|
-
this.datalakeBucket.grantReadWrite(crawlerRole);
|
|
110
|
-
this.crawler = new aws_glue_1.CfnCrawler(this, 'DatalakeTableCrawler', {
|
|
111
|
-
name: (0, common_1.getResourceName)('crawler', service.props),
|
|
112
|
-
databaseName: this.database.ref.toString(),
|
|
113
|
-
role: crawlerRole.roleArn,
|
|
114
|
-
targets: { s3Targets: [{ path: this.datalakeBucket.bucketName }] },
|
|
115
|
-
configuration: JSON.stringify({
|
|
116
|
-
Version: 1.0,
|
|
117
|
-
Grouping: { TableGroupingPolicy: 'CombineCompatibleSchemas' },
|
|
118
|
-
CrawlerOutput: {
|
|
119
|
-
Tables: { AddOrUpdateBehavior: 'MergeNewColumns' },
|
|
120
|
-
Partitions: { AddOrUpdateBehavior: 'InheritFromTable' },
|
|
121
|
-
},
|
|
122
|
-
}),
|
|
123
|
-
schemaChangePolicy: {
|
|
124
|
-
deleteBehavior: 'DELETE_FROM_DATABASE',
|
|
125
|
-
updateBehavior: 'UPDATE_IN_DATABASE',
|
|
126
|
-
},
|
|
127
|
-
...params.paramsCrawlerProps,
|
|
128
|
-
});
|
|
129
|
-
new aws_cdk_lib_1.CfnOutput(service, 'CrawlerName', {
|
|
130
|
-
exportName: (0, common_1.getResourceName)('CrawlerName', service.props),
|
|
131
|
-
value: this.crawler.name,
|
|
132
|
-
});
|
|
133
|
-
new aws_cdk_lib_1.CfnOutput(service, 'DatabaseName', {
|
|
134
|
-
exportName: (0, common_1.getResourceName)('DatabaseName', service.props),
|
|
135
|
-
value: this.database.ref.toString(),
|
|
136
|
-
});
|
|
137
|
-
new aws_cdk_lib_1.CfnOutput(service, 'TableName', {
|
|
138
|
-
exportName: (0, common_1.getResourceName)('TableName', service.props),
|
|
139
|
-
value: (0, common_1.getDatabaseName)('datalake', service.props),
|
|
140
|
-
});
|
|
141
|
-
this.athenaOutputBucket = new aws_s3_1.Bucket(service, 'QueryOutputsBucket', {
|
|
142
|
-
bucketName: (0, common_1.getBucketName)('query-outputs', service.props),
|
|
143
|
-
versioned: false,
|
|
144
|
-
publicReadAccess: false,
|
|
145
|
-
blockPublicAccess: aws_s3_1.BlockPublicAccess.BLOCK_ALL,
|
|
146
|
-
encryption: aws_s3_1.BucketEncryption.KMS_MANAGED,
|
|
147
|
-
removalPolicy: aws_cdk_lib_1.RemovalPolicy.DESTROY,
|
|
148
|
-
autoDeleteObjects: true,
|
|
149
|
-
});
|
|
150
|
-
this.workGroup = new aws_athena_1.CfnWorkGroup(service, 'DataLakeWorkGroup', {
|
|
151
|
-
name: (0, common_1.getResourceName)('datalake', service.props),
|
|
152
|
-
recursiveDeleteOption: true,
|
|
153
|
-
workGroupConfiguration: {
|
|
154
|
-
resultConfiguration: {
|
|
155
|
-
outputLocation: this.athenaOutputBucket.s3UrlForObject(),
|
|
156
|
-
},
|
|
157
|
-
},
|
|
158
|
-
});
|
|
159
|
-
this.workGroup.applyRemovalPolicy(aws_cdk_lib_1.RemovalPolicy.DESTROY);
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
exports.EventsAnalyticsPrefab = EventsAnalyticsPrefab;
|
|
163
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0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ms';
|
|
3
|
-
import { Construct } from 'constructs';
|
|
4
|
-
|
|
5
|
-
import { ServiceStack, Modifier } from '../../../common';
|
|
6
|
-
|
|
7
|
-
export type AuthPoolParams = {
|
|
8
|
-
userPool?: Partial<awsCognito.UserPoolProps>;
|
|
9
|
-
userPoolClient?: Partial<awsCognito.UserPoolClientProps>;
|
|
10
|
-
userPoolDomain?: Partial<awsCognito.UserPoolDomainProps>;
|
|
11
|
-
emailConfiguration?: awsCognito.UserPoolSESOptions;
|
|
12
|
-
callbackUrl?: string;
|
|
13
|
-
enableCustomSender?: boolean;
|
|
14
|
-
socialLogin?: {
|
|
15
|
-
google?: Omit<awsCognito.UserPoolIdentityProviderGoogleProps, 'userPool'>;
|
|
16
|
-
facebook?: awsCognito.UserPoolIdentityProviderFacebookProps;
|
|
17
|
-
apple?: awsCognito.UserPoolIdentityProviderAppleProps;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
export declare class CognitoAuthPoolPrefab extends Construct {
|
|
21
|
-
readonly userPool: awsCognito.UserPool;
|
|
22
|
-
readonly userPoolClient: awsCognito.UserPoolClient;
|
|
23
|
-
readonly userPoolDomain: awsCognito.UserPoolDomain;
|
|
24
|
-
readonly frontendRefs: Record<string, string>;
|
|
25
|
-
readonly kmsKey: Key | undefined;
|
|
26
|
-
readonly props: import('../../../common').BaseServiceProps<
|
|
27
|
-
import('../../../common').BaseGlobalProps<
|
|
28
|
-
{
|
|
29
|
-
projectName: string;
|
|
30
|
-
projectShortName: string;
|
|
31
|
-
repositoryName: string;
|
|
32
|
-
landingZones: string[];
|
|
33
|
-
pipelineNotificationSlackChannel?: string;
|
|
34
|
-
isDemoProject?: boolean;
|
|
35
|
-
bootstrappingServices?: string[];
|
|
36
|
-
isSingleProjectAccount?: boolean;
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
roleName: string;
|
|
40
|
-
deployBranch: string;
|
|
41
|
-
hostedZoneName: string;
|
|
42
|
-
envDomainName: string;
|
|
43
|
-
emailSender: string;
|
|
44
|
-
},
|
|
45
|
-
import('../../../common').BaseGlobalDeployTarget<string>
|
|
46
|
-
>
|
|
47
|
-
>;
|
|
48
|
-
/**
|
|
49
|
-
* Creates a Cognito UserPool
|
|
50
|
-
*
|
|
51
|
-
* @param service - The instance of StackService where the prefab will be deployed
|
|
52
|
-
* @param params - Prefab params
|
|
53
|
-
* @returns CognitoAuthPoolPrefab instance
|
|
54
|
-
*/
|
|
55
|
-
constructor(service: ServiceStack, params: AuthPoolParams);
|
|
56
|
-
useMod(mods: ((userPool: awsCognito.UserPool) => any)[]): Modifier;
|
|
57
|
-
customSmsSenderMod(): Modifier;
|
|
58
|
-
static modifier: {
|
|
59
|
-
updateUserAtt: () => Modifier;
|
|
60
|
-
deleteUser: () => Modifier;
|
|
61
|
-
preSignUp: () => Modifier;
|
|
62
|
-
authUser: () => Modifier;
|
|
63
|
-
};
|
|
64
|
-
}
|
|
65
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../prefab/auth/cognito-pool/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAGtD,OAAO,EAAE,GAAG,EAAW,MAAM,qBAAqB,CAAC;AAGnD,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAEvC,OAAO,EAAE,YAAY,EAA8C,QAAQ,EAA8B,MAAM,QAAQ,CAAC;AAExH,MAAM,MAAM,cAAc,GAAG;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;IAC7C,cAAc,CAAC,EAAE,OAAO,CAAC,UAAU,CAAC,mBAAmB,CAAC,CAAC;IACzD,cAAc,CAAC,EAAE,OAAO,CAAC,UAAU,CAAC,mBAAmB,CAAC,CAAC;IACzD,kBAAkB,CAAC,EAAE,UAAU,CAAC,kBAAkB,CAAC;IACnD,WAAW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