@quadnix/octo-aws-cdk 0.2.0 → 0.2.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/README.md +108 -21
- package/dist/anchors/aws-cloudfront/aws-cloudfront.anchor.d.ts +12 -0
- package/dist/anchors/{aws-ecs/aws-ecs-server.anchor.js → aws-cloudfront/aws-cloudfront.anchor.js} +5 -5
- package/dist/anchors/aws-cloudfront/aws-cloudfront.anchor.js.map +1 -0
- package/dist/anchors/aws-cloudfront/aws-cloudfront.anchor.schema.d.ts +26 -0
- package/dist/anchors/{aws-iam/aws-iam-role.anchor.schema.js → aws-cloudfront/aws-cloudfront.anchor.schema.js} +11 -7
- package/dist/anchors/aws-cloudfront/aws-cloudfront.anchor.schema.js.map +1 -0
- package/dist/anchors/aws-deployment/aws-deployment.anchor.d.ts +12 -0
- package/dist/anchors/{aws-ecs/aws-ecs-task-definition.anchor.js → aws-deployment/aws-deployment.anchor.js} +5 -5
- package/dist/anchors/aws-deployment/aws-deployment.anchor.js.map +1 -0
- package/dist/anchors/aws-deployment/aws-deployment.anchor.schema.d.ts +100 -0
- package/dist/anchors/aws-deployment/aws-deployment.anchor.schema.js +149 -0
- package/dist/anchors/aws-deployment/aws-deployment.anchor.schema.js.map +1 -0
- package/dist/anchors/aws-dynamodb/aws-dynamodb.anchor.schema.d.ts +4 -0
- package/dist/anchors/aws-dynamodb/aws-dynamodb.anchor.schema.js +7 -1
- package/dist/anchors/aws-dynamodb/aws-dynamodb.anchor.schema.js.map +1 -1
- package/dist/anchors/aws-environment/aws-serverless-environment.anchor.d.ts +12 -0
- package/dist/anchors/{aws-s3-storage-service/aws-s3-storage-service-directory.anchor.js → aws-environment/aws-serverless-environment.anchor.js} +5 -5
- package/dist/anchors/aws-environment/aws-serverless-environment.anchor.js.map +1 -0
- package/dist/anchors/aws-environment/aws-serverless-environment.anchor.schema.d.ts +31 -0
- package/dist/anchors/aws-environment/aws-serverless-environment.anchor.schema.js +58 -0
- package/dist/anchors/aws-environment/aws-serverless-environment.anchor.schema.js.map +1 -0
- package/dist/anchors/aws-lambda/aws-lambda-execution.anchor.d.ts +12 -0
- package/dist/anchors/aws-lambda/aws-lambda-execution.anchor.js +27 -0
- package/dist/anchors/aws-lambda/aws-lambda-execution.anchor.js.map +1 -0
- package/dist/anchors/aws-lambda/aws-lambda-execution.anchor.schema.d.ts +28 -0
- package/dist/anchors/aws-lambda/aws-lambda-execution.anchor.schema.js +54 -0
- package/dist/anchors/aws-lambda/aws-lambda-execution.anchor.schema.js.map +1 -0
- package/dist/anchors/aws-lambda/aws-lambda-function.anchor.d.ts +12 -0
- package/dist/anchors/aws-lambda/aws-lambda-function.anchor.js +27 -0
- package/dist/anchors/aws-lambda/aws-lambda-function.anchor.js.map +1 -0
- package/dist/anchors/aws-lambda/aws-lambda-function.anchor.schema.d.ts +28 -0
- package/dist/anchors/aws-lambda/aws-lambda-function.anchor.schema.js +47 -0
- package/dist/anchors/aws-lambda/aws-lambda-function.anchor.schema.js.map +1 -0
- package/dist/anchors/aws-region/aws-serverless-region.anchor.d.ts +12 -0
- package/dist/anchors/aws-region/aws-serverless-region.anchor.js +27 -0
- package/dist/anchors/aws-region/aws-serverless-region.anchor.js.map +1 -0
- package/dist/anchors/aws-region/aws-serverless-region.anchor.schema.d.ts +30 -0
- package/dist/anchors/aws-region/aws-serverless-region.anchor.schema.js +49 -0
- package/dist/anchors/aws-region/aws-serverless-region.anchor.schema.js.map +1 -0
- package/dist/anchors/aws-s3-storage-service/aws-s3-storage-service-access-prefix.anchor.d.ts +12 -0
- package/dist/anchors/aws-s3-storage-service/aws-s3-storage-service-access-prefix.anchor.js +27 -0
- package/dist/anchors/aws-s3-storage-service/aws-s3-storage-service-access-prefix.anchor.js.map +1 -0
- package/dist/anchors/aws-s3-storage-service/{aws-s3-storage-service-directory.anchor.schema.d.ts → aws-s3-storage-service-access-prefix.anchor.schema.d.ts} +5 -4
- package/dist/anchors/aws-s3-storage-service/{aws-s3-storage-service-directory.anchor.schema.js → aws-s3-storage-service-access-prefix.anchor.schema.js} +7 -6
- package/dist/anchors/aws-s3-storage-service/aws-s3-storage-service-access-prefix.anchor.schema.js.map +1 -0
- package/dist/anchors/aws-s3-storage-service/aws-s3-storage-service.anchor.schema.d.ts +3 -0
- package/dist/anchors/aws-s3-storage-service/aws-s3-storage-service.anchor.schema.js +3 -0
- package/dist/anchors/aws-s3-storage-service/aws-s3-storage-service.anchor.schema.js.map +1 -1
- package/dist/anchors/aws-security-group/aws-security-group.anchor.schema.d.ts +3 -2
- package/dist/anchors/aws-security-group/aws-security-group.anchor.schema.js +2 -1
- package/dist/anchors/aws-security-group/aws-security-group.anchor.schema.js.map +1 -1
- package/dist/anchors/aws-server/aws-server.anchor.d.ts +12 -0
- package/dist/anchors/{aws-iam/aws-iam-role.anchor.js → aws-server/aws-server.anchor.js} +5 -5
- package/dist/anchors/aws-server/aws-server.anchor.js.map +1 -0
- package/dist/anchors/aws-server/aws-server.anchor.schema.d.ts +50 -0
- package/dist/anchors/aws-server/aws-server.anchor.schema.js +51 -0
- package/dist/anchors/aws-server/aws-server.anchor.schema.js.map +1 -0
- package/dist/anchors/aws-subnet/aws-serverless-subnet.anchor.d.ts +12 -0
- package/dist/anchors/aws-subnet/aws-serverless-subnet.anchor.js +27 -0
- package/dist/anchors/aws-subnet/aws-serverless-subnet.anchor.js.map +1 -0
- package/dist/anchors/aws-subnet/aws-serverless-subnet.anchor.schema.d.ts +28 -0
- package/dist/anchors/{aws-ecs/aws-ecs-server.anchor.schema.js → aws-subnet/aws-serverless-subnet.anchor.schema.js} +14 -12
- package/dist/anchors/aws-subnet/aws-serverless-subnet.anchor.schema.js.map +1 -0
- package/dist/modules/account/aws-credentials-account/aws-credentials-account.module.d.ts +2 -1
- package/dist/modules/account/aws-credentials-account/aws-credentials-account.module.js +2 -1
- package/dist/modules/account/aws-credentials-account/aws-credentials-account.module.js.map +1 -1
- package/dist/modules/account/aws-ini-account/aws-ini-account.module.d.ts +2 -1
- package/dist/modules/account/aws-ini-account/aws-ini-account.module.js +2 -1
- package/dist/modules/account/aws-ini-account/aws-ini-account.module.js.map +1 -1
- package/dist/modules/account/aws-localstack-account/aws-localstack-account.module.d.ts +2 -1
- package/dist/modules/account/aws-localstack-account/aws-localstack-account.module.js +2 -1
- package/dist/modules/account/aws-localstack-account/aws-localstack-account.module.js.map +1 -1
- package/dist/modules/account/aws-moto-account/aws-moto-account.module.d.ts +2 -1
- package/dist/modules/account/aws-moto-account/aws-moto-account.module.js +2 -1
- package/dist/modules/account/aws-moto-account/aws-moto-account.module.js.map +1 -1
- package/dist/modules/app/simple-app/index.schema.d.ts +1 -1
- package/dist/modules/app/simple-app/index.schema.js +1 -1
- package/dist/modules/deployment/aws-deployment/aws-deployment.module.d.ts +45 -0
- package/dist/modules/deployment/aws-deployment/aws-deployment.module.js +96 -0
- package/dist/modules/deployment/aws-deployment/aws-deployment.module.js.map +1 -0
- package/dist/modules/deployment/aws-deployment/index.d.ts +1 -0
- package/dist/modules/deployment/aws-deployment/index.js +2 -0
- package/dist/modules/deployment/aws-deployment/index.js.map +1 -0
- package/dist/modules/deployment/aws-deployment/index.schema.d.ts +60 -0
- package/dist/modules/deployment/aws-deployment/index.schema.js +160 -0
- package/dist/modules/deployment/aws-deployment/index.schema.js.map +1 -0
- package/dist/modules/deployment/aws-deployment/models/deployment/actions/add-aws-deployment.model.action.d.ts +27 -0
- package/dist/modules/deployment/{aws-ecs-deployment/models/deployment/actions/add-aws-ecs-deployment.model.action.js → aws-deployment/models/deployment/actions/add-aws-deployment.model.action.js} +16 -14
- package/dist/modules/deployment/aws-deployment/models/deployment/actions/add-aws-deployment.model.action.js.map +1 -0
- package/dist/modules/deployment/aws-deployment/models/deployment/aws-deployment.model.d.ts +11 -0
- package/dist/modules/deployment/{aws-ecs-deployment/models/deployment/aws-ecs-deployment.model.js → aws-deployment/models/deployment/aws-deployment.model.js} +9 -9
- package/dist/modules/deployment/aws-deployment/models/deployment/aws-deployment.model.js.map +1 -0
- package/dist/modules/deployment/{aws-ecs-deployment/models/deployment/aws-ecs-deployment.schema.d.ts → aws-deployment/models/deployment/aws-deployment.schema.d.ts} +1 -1
- package/dist/modules/deployment/aws-deployment/models/deployment/aws-deployment.schema.js +7 -0
- package/dist/modules/deployment/aws-deployment/models/deployment/aws-deployment.schema.js.map +1 -0
- package/dist/modules/deployment/aws-deployment/models/deployment/index.d.ts +2 -0
- package/dist/modules/deployment/aws-deployment/models/deployment/index.js +3 -0
- package/dist/modules/deployment/aws-deployment/models/deployment/index.js.map +1 -0
- package/dist/modules/deployment/aws-deployment/overlays/aws-deployment-image/actions/add-aws-deployment-image.overlay.action.d.ts +28 -0
- package/dist/modules/deployment/aws-deployment/overlays/aws-deployment-image/actions/add-aws-deployment-image.overlay.action.js +53 -0
- package/dist/modules/deployment/aws-deployment/overlays/aws-deployment-image/actions/add-aws-deployment-image.overlay.action.js.map +1 -0
- package/dist/modules/deployment/aws-deployment/overlays/aws-deployment-image/aws-deployment-image.overlay.d.ts +22 -0
- package/dist/modules/deployment/aws-deployment/overlays/aws-deployment-image/aws-deployment-image.overlay.js +37 -0
- package/dist/modules/deployment/aws-deployment/overlays/aws-deployment-image/aws-deployment-image.overlay.js.map +1 -0
- package/dist/modules/deployment/aws-deployment/overlays/aws-deployment-image/aws-deployment-image.schema.d.ts +12 -0
- package/dist/modules/deployment/aws-deployment/overlays/aws-deployment-image/aws-deployment-image.schema.js +32 -0
- package/dist/modules/deployment/aws-deployment/overlays/aws-deployment-image/aws-deployment-image.schema.js.map +1 -0
- package/dist/modules/deployment/aws-deployment/overlays/aws-deployment-image/index.d.ts +2 -0
- package/dist/modules/deployment/aws-deployment/overlays/aws-deployment-image/index.js +3 -0
- package/dist/modules/deployment/aws-deployment/overlays/aws-deployment-image/index.js.map +1 -0
- package/dist/modules/environment/aws-ecs-environment/aws-ecs-environment.module.d.ts +2 -1
- package/dist/modules/environment/aws-ecs-environment/aws-ecs-environment.module.js +2 -1
- package/dist/modules/environment/aws-ecs-environment/aws-ecs-environment.module.js.map +1 -1
- package/dist/modules/environment/aws-serverless-environment/aws-serverless-environment.module.d.ts +33 -0
- package/dist/modules/environment/aws-serverless-environment/aws-serverless-environment.module.js +60 -0
- package/dist/modules/environment/aws-serverless-environment/aws-serverless-environment.module.js.map +1 -0
- package/dist/modules/environment/aws-serverless-environment/index.d.ts +1 -0
- package/dist/modules/environment/aws-serverless-environment/index.js +2 -0
- package/dist/modules/environment/aws-serverless-environment/index.js.map +1 -0
- package/dist/modules/environment/aws-serverless-environment/index.schema.d.ts +27 -0
- package/dist/modules/environment/aws-serverless-environment/index.schema.js +73 -0
- package/dist/modules/environment/aws-serverless-environment/index.schema.js.map +1 -0
- package/dist/modules/environment/aws-serverless-environment/models/environment/actions/add-aws-serverless-environment.model.action.d.ts +28 -0
- package/dist/modules/environment/aws-serverless-environment/models/environment/actions/add-aws-serverless-environment.model.action.js +53 -0
- package/dist/modules/environment/aws-serverless-environment/models/environment/actions/add-aws-serverless-environment.model.action.js.map +1 -0
- package/dist/modules/environment/aws-serverless-environment/models/environment/aws-serverless-environment.model.d.ts +11 -0
- package/dist/modules/environment/aws-serverless-environment/models/environment/aws-serverless-environment.model.js +29 -0
- package/dist/modules/environment/aws-serverless-environment/models/environment/aws-serverless-environment.model.js.map +1 -0
- package/dist/modules/environment/aws-serverless-environment/models/environment/aws-serverless-environment.schema.d.ts +6 -0
- package/dist/modules/environment/aws-serverless-environment/models/environment/aws-serverless-environment.schema.js +7 -0
- package/dist/modules/environment/aws-serverless-environment/models/environment/aws-serverless-environment.schema.js.map +1 -0
- package/dist/modules/environment/aws-serverless-environment/models/environment/index.d.ts +2 -0
- package/dist/modules/environment/aws-serverless-environment/models/environment/index.js +3 -0
- package/dist/modules/environment/aws-serverless-environment/models/environment/index.js.map +1 -0
- package/dist/modules/execution/aws-ecs-execution/aws-ecs-execution.module.d.ts +7 -6
- package/dist/modules/execution/aws-ecs-execution/aws-ecs-execution.module.js +138 -63
- package/dist/modules/execution/aws-ecs-execution/aws-ecs-execution.module.js.map +1 -1
- package/dist/modules/execution/aws-ecs-execution/index.schema.d.ts +6 -6
- package/dist/modules/execution/aws-ecs-execution/index.schema.js +6 -6
- package/dist/modules/execution/aws-ecs-execution/index.schema.js.map +1 -1
- package/dist/modules/execution/aws-ecs-execution/models/execution/aws-ecs-execution.model.js +5 -0
- package/dist/modules/execution/aws-ecs-execution/models/execution/aws-ecs-execution.model.js.map +1 -1
- package/dist/modules/execution/aws-ecs-execution/overlays/aws-ecs-execution/actions/add-aws-ecs-execution.overlay.action.js +131 -40
- package/dist/modules/execution/aws-ecs-execution/overlays/aws-ecs-execution/actions/add-aws-ecs-execution.overlay.action.js.map +1 -1
- package/dist/modules/execution/aws-ecs-execution/overlays/aws-ecs-execution/aws-ecs-execution.overlay.d.ts +9 -5
- package/dist/modules/execution/aws-ecs-execution/overlays/aws-ecs-execution/aws-ecs-execution.overlay.js +4 -0
- package/dist/modules/execution/aws-ecs-execution/overlays/aws-ecs-execution/aws-ecs-execution.overlay.js.map +1 -1
- package/dist/modules/execution/aws-ecs-execution/overlays/aws-ecs-execution/aws-ecs-execution.schema.d.ts +20 -0
- package/dist/modules/execution/aws-ecs-execution/overlays/aws-ecs-execution/aws-ecs-execution.schema.js +5 -0
- package/dist/modules/execution/aws-ecs-execution/overlays/aws-ecs-execution/aws-ecs-execution.schema.js.map +1 -1
- package/dist/modules/execution/aws-ecs-execution/overlays/aws-ecs-execution-server-security-group/actions/add-aws-ecs-execution-server-security-group.overlay.action.js +32 -20
- package/dist/modules/execution/aws-ecs-execution/overlays/aws-ecs-execution-server-security-group/actions/add-aws-ecs-execution-server-security-group.overlay.action.js.map +1 -1
- package/dist/modules/execution/aws-ecs-execution/overlays/aws-ecs-execution-server-security-group/aws-ecs-execution-server-security-group.overlay.d.ts +10 -2
- package/dist/modules/execution/aws-ecs-execution/overlays/aws-ecs-execution-server-security-group/aws-ecs-execution-server-security-group.overlay.js.map +1 -1
- package/dist/modules/execution/aws-lambda-execution/aws-lambda-execution.module.d.ts +57 -0
- package/dist/modules/execution/aws-lambda-execution/aws-lambda-execution.module.js +177 -0
- package/dist/modules/execution/aws-lambda-execution/aws-lambda-execution.module.js.map +1 -0
- package/dist/modules/execution/aws-lambda-execution/index.d.ts +1 -0
- package/dist/modules/execution/aws-lambda-execution/index.js +2 -0
- package/dist/modules/execution/aws-lambda-execution/index.js.map +1 -0
- package/dist/modules/execution/aws-lambda-execution/index.schema.d.ts +56 -0
- package/dist/modules/execution/aws-lambda-execution/index.schema.js +154 -0
- package/dist/modules/execution/aws-lambda-execution/index.schema.js.map +1 -0
- package/dist/modules/execution/aws-lambda-execution/models/execution/actions/add-aws-lambda-execution.model.action.d.ts +25 -0
- package/dist/modules/execution/aws-lambda-execution/models/execution/actions/add-aws-lambda-execution.model.action.js +51 -0
- package/dist/modules/execution/aws-lambda-execution/models/execution/actions/add-aws-lambda-execution.model.action.js.map +1 -0
- package/dist/modules/execution/aws-lambda-execution/models/execution/aws-lambda-execution.model.d.ts +28 -0
- package/dist/modules/execution/aws-lambda-execution/models/execution/aws-lambda-execution.model.js +85 -0
- package/dist/modules/execution/aws-lambda-execution/models/execution/aws-lambda-execution.model.js.map +1 -0
- package/dist/modules/execution/aws-lambda-execution/models/execution/aws-lambda-execution.schema.d.ts +7 -0
- package/dist/modules/execution/aws-lambda-execution/models/execution/aws-lambda-execution.schema.js +24 -0
- package/dist/modules/execution/aws-lambda-execution/models/execution/aws-lambda-execution.schema.js.map +1 -0
- package/dist/modules/execution/aws-lambda-execution/models/execution/index.d.ts +2 -0
- package/dist/modules/execution/aws-lambda-execution/models/execution/index.js +3 -0
- package/dist/modules/execution/aws-lambda-execution/models/execution/index.js.map +1 -0
- package/dist/modules/execution/aws-lambda-execution/overlays/aws-lambda-execution/actions/add-aws-lambda-execution.overlay.action.d.ts +26 -0
- package/dist/modules/execution/aws-lambda-execution/overlays/aws-lambda-execution/actions/add-aws-lambda-execution.overlay.action.js +172 -0
- package/dist/modules/execution/aws-lambda-execution/overlays/aws-lambda-execution/actions/add-aws-lambda-execution.overlay.action.js.map +1 -0
- package/dist/modules/execution/aws-lambda-execution/overlays/aws-lambda-execution/aws-lambda-execution.overlay.d.ts +38 -0
- package/dist/modules/execution/aws-lambda-execution/overlays/aws-lambda-execution/aws-lambda-execution.overlay.js +37 -0
- package/dist/modules/execution/aws-lambda-execution/overlays/aws-lambda-execution/aws-lambda-execution.overlay.js.map +1 -0
- package/dist/modules/execution/aws-lambda-execution/overlays/aws-lambda-execution/aws-lambda-execution.schema.d.ts +41 -0
- package/dist/modules/execution/aws-lambda-execution/overlays/aws-lambda-execution/aws-lambda-execution.schema.js +43 -0
- package/dist/modules/execution/aws-lambda-execution/overlays/aws-lambda-execution/aws-lambda-execution.schema.js.map +1 -0
- package/dist/modules/execution/aws-lambda-execution/overlays/aws-lambda-execution/index.d.ts +2 -0
- package/dist/modules/execution/aws-lambda-execution/overlays/aws-lambda-execution/index.js +3 -0
- package/dist/modules/execution/aws-lambda-execution/overlays/aws-lambda-execution/index.js.map +1 -0
- package/dist/modules/filesystem/aws-efs-filesystem/aws-efs-filesystem.module.d.ts +2 -1
- package/dist/modules/filesystem/aws-efs-filesystem/aws-efs-filesystem.module.js +2 -1
- package/dist/modules/filesystem/aws-efs-filesystem/aws-efs-filesystem.module.js.map +1 -1
- package/dist/modules/filesystem/aws-efs-filesystem/models/filesystem/actions/add-aws-efs-filesystem.model.action.js +1 -2
- package/dist/modules/filesystem/aws-efs-filesystem/models/filesystem/actions/add-aws-efs-filesystem.model.action.js.map +1 -1
- package/dist/modules/image/aws-ecr-image/aws-ecr-image.module.d.ts +10 -5
- package/dist/modules/image/aws-ecr-image/aws-ecr-image.module.js +31 -13
- package/dist/modules/image/aws-ecr-image/aws-ecr-image.module.js.map +1 -1
- package/dist/modules/image/aws-ecr-image/index.schema.d.ts +1 -1
- package/dist/modules/image/aws-ecr-image/index.schema.js +2 -3
- package/dist/modules/image/aws-ecr-image/index.schema.js.map +1 -1
- package/dist/modules/image/aws-ecr-image/models/image/actions/add-aws-ecr-image-region.model.action.d.ts +28 -0
- package/dist/modules/image/aws-ecr-image/models/image/actions/add-aws-ecr-image-region.model.action.js +53 -0
- package/dist/modules/image/aws-ecr-image/models/image/actions/add-aws-ecr-image-region.model.action.js.map +1 -0
- package/dist/modules/image/aws-ecr-image/models/image/actions/add-aws-ecr-image.model.action.js +1 -1
- package/dist/modules/image/aws-ecr-image/models/image/actions/add-aws-ecr-image.model.action.js.map +1 -1
- package/dist/modules/image/aws-ecr-image/models/image/index.d.ts +1 -0
- package/dist/modules/image/aws-ecr-image/models/image/index.js +1 -0
- package/dist/modules/image/aws-ecr-image/models/image/index.js.map +1 -1
- package/dist/modules/image/aws-ecr-image-tag/aws-ecr-image-tag.module.d.ts +5 -1
- package/dist/modules/image/aws-ecr-image-tag/aws-ecr-image-tag.module.js +12 -3
- package/dist/modules/image/aws-ecr-image-tag/aws-ecr-image-tag.module.js.map +1 -1
- package/dist/modules/image/aws-ecr-image-tag/index.schema.d.ts +18 -0
- package/dist/modules/image/aws-ecr-image-tag/index.schema.js +42 -0
- package/dist/modules/image/aws-ecr-image-tag/index.schema.js.map +1 -1
- package/dist/modules/image/aws-ecr-image-tag/overlays/aws-ecr-image-tag/actions/add-aws-ecr-image-tag.overlay.action.js +3 -0
- package/dist/modules/image/aws-ecr-image-tag/overlays/aws-ecr-image-tag/actions/add-aws-ecr-image-tag.overlay.action.js.map +1 -1
- package/dist/modules/image/aws-ecr-image-tag/overlays/aws-ecr-image-tag/aws-ecr-image-tag.schema.d.ts +4 -0
- package/dist/modules/image/aws-ecr-image-tag/overlays/aws-ecr-image-tag/aws-ecr-image-tag.schema.js +1 -0
- package/dist/modules/image/aws-ecr-image-tag/overlays/aws-ecr-image-tag/aws-ecr-image-tag.schema.js.map +1 -1
- package/dist/modules/region/aws-multi-az-region/aws-multi-az-region.module.d.ts +3 -1
- package/dist/modules/region/aws-multi-az-region/aws-multi-az-region.module.js +3 -5
- package/dist/modules/region/aws-multi-az-region/aws-multi-az-region.module.js.map +1 -1
- package/dist/modules/region/aws-multi-az-region/models/region/aws-multi-az-region.model.d.ts +0 -4
- package/dist/modules/region/aws-multi-az-region/models/region/aws-multi-az-region.model.js +2 -11
- package/dist/modules/region/aws-multi-az-region/models/region/aws-multi-az-region.model.js.map +1 -1
- package/dist/modules/region/aws-serverless-region/aws-serverless-region.module.d.ts +35 -0
- package/dist/modules/region/aws-serverless-region/aws-serverless-region.module.js +58 -0
- package/dist/modules/region/aws-serverless-region/aws-serverless-region.module.js.map +1 -0
- package/dist/modules/region/aws-serverless-region/index.d.ts +1 -0
- package/dist/modules/region/aws-serverless-region/index.js +2 -0
- package/dist/modules/region/aws-serverless-region/index.js.map +1 -0
- package/dist/modules/region/aws-serverless-region/index.schema.d.ts +27 -0
- package/dist/modules/region/aws-serverless-region/index.schema.js +64 -0
- package/dist/modules/region/aws-serverless-region/index.schema.js.map +1 -0
- package/dist/modules/region/aws-serverless-region/models/region/actions/add-aws-serverless-region.model.action.d.ts +28 -0
- package/dist/modules/region/aws-serverless-region/models/region/actions/add-aws-serverless-region.model.action.js +53 -0
- package/dist/modules/region/aws-serverless-region/models/region/actions/add-aws-serverless-region.model.action.js.map +1 -0
- package/dist/modules/region/aws-serverless-region/models/region/aws-serverless-region.model.d.ts +30 -0
- package/dist/modules/region/aws-serverless-region/models/region/aws-serverless-region.model.js +56 -0
- package/dist/modules/region/aws-serverless-region/models/region/aws-serverless-region.model.js.map +1 -0
- package/dist/modules/region/aws-serverless-region/models/region/aws-serverless-region.schema.d.ts +7 -0
- package/dist/modules/region/aws-serverless-region/models/region/aws-serverless-region.schema.js +24 -0
- package/dist/modules/region/aws-serverless-region/models/region/aws-serverless-region.schema.js.map +1 -0
- package/dist/modules/region/aws-serverless-region/models/region/index.d.ts +2 -0
- package/dist/modules/region/aws-serverless-region/models/region/index.js +3 -0
- package/dist/modules/region/aws-serverless-region/models/region/index.js.map +1 -0
- package/dist/modules/region/aws-single-az-region/aws-single-az-region.module.d.ts +3 -1
- package/dist/modules/region/aws-single-az-region/aws-single-az-region.module.js +3 -5
- package/dist/modules/region/aws-single-az-region/aws-single-az-region.module.js.map +1 -1
- package/dist/modules/region/aws-single-az-region/models/region/aws-single-az-region.model.d.ts +0 -4
- package/dist/modules/region/aws-single-az-region/models/region/aws-single-az-region.model.js +3 -12
- package/dist/modules/region/aws-single-az-region/models/region/aws-single-az-region.model.js.map +1 -1
- package/dist/modules/server/aws-server/aws-server.module.d.ts +72 -0
- package/dist/modules/server/aws-server/aws-server.module.js +182 -0
- package/dist/modules/server/aws-server/aws-server.module.js.map +1 -0
- package/dist/modules/server/aws-server/index.d.ts +1 -0
- package/dist/modules/server/aws-server/index.js +2 -0
- package/dist/modules/server/aws-server/index.js.map +1 -0
- package/dist/modules/server/aws-server/index.schema.d.ts +123 -0
- package/dist/modules/server/aws-server/index.schema.js +246 -0
- package/dist/modules/server/aws-server/index.schema.js.map +1 -0
- package/dist/modules/server/aws-server/models/server/actions/add-aws-server.model.action.d.ts +27 -0
- package/dist/modules/server/aws-server/models/server/actions/add-aws-server.model.action.js +53 -0
- package/dist/modules/server/aws-server/models/server/actions/add-aws-server.model.action.js.map +1 -0
- package/dist/modules/server/aws-server/models/server/aws-server.model.d.ts +11 -0
- package/dist/modules/server/{aws-ecs-server/models/server/aws-ecs-server.model.js → aws-server/models/server/aws-server.model.js} +9 -9
- package/dist/modules/server/aws-server/models/server/aws-server.model.js.map +1 -0
- package/dist/modules/server/{aws-ecs-server/models/server/aws-ecs-server.schema.d.ts → aws-server/models/server/aws-server.schema.d.ts} +1 -1
- package/dist/modules/server/aws-server/models/server/aws-server.schema.js +7 -0
- package/dist/modules/server/aws-server/models/server/aws-server.schema.js.map +1 -0
- package/dist/modules/server/aws-server/models/server/index.d.ts +2 -0
- package/dist/modules/server/aws-server/models/server/index.js +3 -0
- package/dist/modules/server/aws-server/models/server/index.js.map +1 -0
- package/dist/modules/server/aws-server/overlays/aws-server-dynamodb-access/actions/add-aws-server-dynamodb-access.overlay.action.d.ts +28 -0
- package/dist/modules/server/aws-server/overlays/aws-server-dynamodb-access/actions/add-aws-server-dynamodb-access.overlay.action.js +53 -0
- package/dist/modules/server/aws-server/overlays/aws-server-dynamodb-access/actions/add-aws-server-dynamodb-access.overlay.action.js.map +1 -0
- package/dist/modules/server/aws-server/overlays/aws-server-dynamodb-access/aws-server-dynamodb-access.overlay.d.ts +22 -0
- package/dist/modules/server/aws-server/overlays/aws-server-dynamodb-access/aws-server-dynamodb-access.overlay.js +37 -0
- package/dist/modules/server/aws-server/overlays/aws-server-dynamodb-access/aws-server-dynamodb-access.overlay.js.map +1 -0
- package/dist/modules/server/aws-server/overlays/aws-server-dynamodb-access/aws-server-dynamodb-access.schema.d.ts +13 -0
- package/dist/modules/server/aws-server/overlays/aws-server-dynamodb-access/aws-server-dynamodb-access.schema.js +33 -0
- package/dist/modules/server/aws-server/overlays/aws-server-dynamodb-access/aws-server-dynamodb-access.schema.js.map +1 -0
- package/dist/modules/server/aws-server/overlays/aws-server-dynamodb-access/index.d.ts +2 -0
- package/dist/modules/server/aws-server/overlays/aws-server-dynamodb-access/index.js +3 -0
- package/dist/modules/server/aws-server/overlays/aws-server-dynamodb-access/index.js.map +1 -0
- package/dist/modules/server/aws-server/overlays/aws-server-s3-access/actions/add-aws-server-s3-access.overlay.action.d.ts +28 -0
- package/dist/modules/server/aws-server/overlays/aws-server-s3-access/actions/add-aws-server-s3-access.overlay.action.js +53 -0
- package/dist/modules/server/aws-server/overlays/aws-server-s3-access/actions/add-aws-server-s3-access.overlay.action.js.map +1 -0
- package/dist/modules/server/aws-server/overlays/aws-server-s3-access/aws-server-s3-access.overlay.d.ts +22 -0
- package/dist/modules/server/aws-server/overlays/aws-server-s3-access/aws-server-s3-access.overlay.js +37 -0
- package/dist/modules/server/aws-server/overlays/aws-server-s3-access/aws-server-s3-access.overlay.js.map +1 -0
- package/dist/modules/server/{aws-ecs-server/overlays/aws-ecs-server-s3-access/aws-ecs-server-s3-access.schema.d.ts → aws-server/overlays/aws-server-s3-access/aws-server-s3-access.schema.d.ts} +3 -4
- package/dist/modules/server/{aws-ecs-server/overlays/aws-ecs-server-s3-access/aws-ecs-server-s3-access.schema.js → aws-server/overlays/aws-server-s3-access/aws-server-s3-access.schema.js} +5 -6
- package/dist/modules/server/aws-server/overlays/aws-server-s3-access/aws-server-s3-access.schema.js.map +1 -0
- package/dist/modules/server/aws-server/overlays/aws-server-s3-access/index.d.ts +2 -0
- package/dist/modules/server/aws-server/overlays/aws-server-s3-access/index.js +3 -0
- package/dist/modules/server/aws-server/overlays/aws-server-s3-access/index.js.map +1 -0
- package/dist/modules/service/aws-cloudfront-invalidation-service/aws-cloudfront-invalidation-service.module.d.ts +36 -0
- package/dist/modules/service/aws-cloudfront-invalidation-service/aws-cloudfront-invalidation-service.module.js +66 -0
- package/dist/modules/service/aws-cloudfront-invalidation-service/aws-cloudfront-invalidation-service.module.js.map +1 -0
- package/dist/modules/service/aws-cloudfront-invalidation-service/index.d.ts +1 -0
- package/dist/modules/service/aws-cloudfront-invalidation-service/index.js +2 -0
- package/dist/modules/service/aws-cloudfront-invalidation-service/index.js.map +1 -0
- package/dist/modules/service/aws-cloudfront-invalidation-service/index.schema.d.ts +23 -0
- package/dist/modules/service/aws-cloudfront-invalidation-service/index.schema.js +65 -0
- package/dist/modules/service/aws-cloudfront-invalidation-service/index.schema.js.map +1 -0
- package/dist/modules/service/aws-cloudfront-invalidation-service/overlays/aws-cloudfront-invalidation/actions/add-aws-cloudfront-invalidation.overlay.action.d.ts +26 -0
- package/dist/modules/service/aws-cloudfront-invalidation-service/overlays/aws-cloudfront-invalidation/actions/add-aws-cloudfront-invalidation.overlay.action.js +68 -0
- package/dist/modules/service/aws-cloudfront-invalidation-service/overlays/aws-cloudfront-invalidation/actions/add-aws-cloudfront-invalidation.overlay.action.js.map +1 -0
- package/dist/modules/service/aws-cloudfront-invalidation-service/overlays/aws-cloudfront-invalidation/aws-cloudfront-invalidation.overlay.d.ts +22 -0
- package/dist/modules/service/aws-cloudfront-invalidation-service/overlays/aws-cloudfront-invalidation/aws-cloudfront-invalidation.overlay.js +38 -0
- package/dist/modules/service/aws-cloudfront-invalidation-service/overlays/aws-cloudfront-invalidation/aws-cloudfront-invalidation.overlay.js.map +1 -0
- package/dist/modules/service/aws-cloudfront-invalidation-service/overlays/aws-cloudfront-invalidation/aws-cloudfront-invalidation.schema.d.ts +12 -0
- package/dist/modules/service/aws-cloudfront-invalidation-service/overlays/aws-cloudfront-invalidation/aws-cloudfront-invalidation.schema.js +32 -0
- package/dist/modules/service/aws-cloudfront-invalidation-service/overlays/aws-cloudfront-invalidation/aws-cloudfront-invalidation.schema.js.map +1 -0
- package/dist/modules/service/aws-cloudfront-invalidation-service/overlays/aws-cloudfront-invalidation/index.d.ts +2 -0
- package/dist/modules/service/aws-cloudfront-invalidation-service/overlays/aws-cloudfront-invalidation/index.js +3 -0
- package/dist/modules/service/aws-cloudfront-invalidation-service/overlays/aws-cloudfront-invalidation/index.js.map +1 -0
- package/dist/modules/service/aws-cloudfront-service/aws-cloudfront-service.module.d.ts +76 -0
- package/dist/modules/service/aws-cloudfront-service/aws-cloudfront-service.module.js +192 -0
- package/dist/modules/service/aws-cloudfront-service/aws-cloudfront-service.module.js.map +1 -0
- package/dist/modules/service/aws-cloudfront-service/index.d.ts +1 -0
- package/dist/modules/service/aws-cloudfront-service/index.js +2 -0
- package/dist/modules/service/aws-cloudfront-service/index.js.map +1 -0
- package/dist/modules/service/aws-cloudfront-service/index.schema.d.ts +170 -0
- package/dist/modules/service/aws-cloudfront-service/index.schema.js +396 -0
- package/dist/modules/service/aws-cloudfront-service/index.schema.js.map +1 -0
- package/dist/modules/service/aws-cloudfront-service/models/service/actions/add-aws-cloudfront-service.model.action.d.ts +26 -0
- package/dist/modules/service/aws-cloudfront-service/models/service/actions/add-aws-cloudfront-service.model.action.js +137 -0
- package/dist/modules/service/aws-cloudfront-service/models/service/actions/add-aws-cloudfront-service.model.action.js.map +1 -0
- package/dist/modules/service/aws-cloudfront-service/models/service/aws-cloudfront-service.model.d.ts +20 -0
- package/dist/modules/service/aws-cloudfront-service/models/service/aws-cloudfront-service.model.js +50 -0
- package/dist/modules/service/aws-cloudfront-service/models/service/aws-cloudfront-service.model.js.map +1 -0
- package/dist/modules/service/aws-cloudfront-service/models/service/aws-cloudfront-service.schema.d.ts +7 -0
- package/dist/modules/service/aws-cloudfront-service/models/service/aws-cloudfront-service.schema.js +24 -0
- package/dist/modules/service/aws-cloudfront-service/models/service/aws-cloudfront-service.schema.js.map +1 -0
- package/dist/modules/service/aws-cloudfront-service/models/service/index.d.ts +2 -0
- package/dist/modules/service/aws-cloudfront-service/models/service/index.js +3 -0
- package/dist/modules/service/aws-cloudfront-service/models/service/index.js.map +1 -0
- package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-alb-origin/actions/add-aws-cloudfront-alb-origin.overlay.action.d.ts +26 -0
- package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-alb-origin/actions/add-aws-cloudfront-alb-origin.overlay.action.js +68 -0
- package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-alb-origin/actions/add-aws-cloudfront-alb-origin.overlay.action.js.map +1 -0
- package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-alb-origin/aws-cloudfront-alb-origin.overlay.d.ts +21 -0
- package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-alb-origin/aws-cloudfront-alb-origin.overlay.js +36 -0
- package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-alb-origin/aws-cloudfront-alb-origin.overlay.js.map +1 -0
- package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-alb-origin/aws-cloudfront-alb-origin.schema.d.ts +9 -0
- package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-alb-origin/aws-cloudfront-alb-origin.schema.js +11 -0
- package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-alb-origin/aws-cloudfront-alb-origin.schema.js.map +1 -0
- package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-alb-origin/index.d.ts +2 -0
- package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-alb-origin/index.js +3 -0
- package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-alb-origin/index.js.map +1 -0
- package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-lambda-origin/actions/add-aws-cloudfront-lambda-origin.overlay.action.d.ts +26 -0
- package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-lambda-origin/actions/add-aws-cloudfront-lambda-origin.overlay.action.js +73 -0
- package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-lambda-origin/actions/add-aws-cloudfront-lambda-origin.overlay.action.js.map +1 -0
- package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-lambda-origin/aws-cloudfront-lambda-origin.overlay.d.ts +21 -0
- package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-lambda-origin/aws-cloudfront-lambda-origin.overlay.js +36 -0
- package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-lambda-origin/aws-cloudfront-lambda-origin.overlay.js.map +1 -0
- package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-lambda-origin/aws-cloudfront-lambda-origin.schema.d.ts +9 -0
- package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-lambda-origin/aws-cloudfront-lambda-origin.schema.js +11 -0
- package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-lambda-origin/aws-cloudfront-lambda-origin.schema.js.map +1 -0
- package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-lambda-origin/index.d.ts +2 -0
- package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-lambda-origin/index.js +3 -0
- package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-lambda-origin/index.js.map +1 -0
- package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-s3-origin/actions/add-aws-cloudfront-s3-origin.overlay.action.d.ts +26 -0
- package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-s3-origin/actions/add-aws-cloudfront-s3-origin.overlay.action.js +80 -0
- package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-s3-origin/actions/add-aws-cloudfront-s3-origin.overlay.action.js.map +1 -0
- package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-s3-origin/aws-cloudfront-s3-origin.overlay.d.ts +20 -0
- package/dist/modules/{server/aws-ecs-server/overlays/aws-ecs-server-s3-access/aws-ecs-server-s3-access.overlay.js → service/aws-cloudfront-service/overlays/aws-cloudfront-s3-origin/aws-cloudfront-s3-origin.overlay.js} +10 -8
- package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-s3-origin/aws-cloudfront-s3-origin.overlay.js.map +1 -0
- package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-s3-origin/aws-cloudfront-s3-origin.schema.d.ts +9 -0
- package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-s3-origin/aws-cloudfront-s3-origin.schema.js +11 -0
- package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-s3-origin/aws-cloudfront-s3-origin.schema.js.map +1 -0
- package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-s3-origin/index.d.ts +2 -0
- package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-s3-origin/index.js +3 -0
- package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-s3-origin/index.js.map +1 -0
- package/dist/modules/service/aws-dynamodb-global-service/aws-dynamodb-global-service.module.d.ts +9 -7
- package/dist/modules/service/aws-dynamodb-global-service/aws-dynamodb-global-service.module.js +32 -11
- package/dist/modules/service/aws-dynamodb-global-service/aws-dynamodb-global-service.module.js.map +1 -1
- package/dist/modules/service/aws-dynamodb-global-service/index.schema.d.ts +3 -2
- package/dist/modules/service/aws-dynamodb-global-service/index.schema.js +3 -2
- package/dist/modules/service/aws-dynamodb-global-service/index.schema.js.map +1 -1
- package/dist/modules/service/aws-dynamodb-global-service/models/service/actions/add-aws-dynamodb-global-service-replica-region.model.action.d.ts +29 -0
- package/dist/modules/service/aws-dynamodb-global-service/models/service/actions/add-aws-dynamodb-global-service-replica-region.model.action.js +54 -0
- package/dist/modules/service/aws-dynamodb-global-service/models/service/actions/add-aws-dynamodb-global-service-replica-region.model.action.js.map +1 -0
- package/dist/modules/service/aws-dynamodb-global-service/models/service/actions/add-aws-dynamodb-global-service.model.action.js +12 -3
- package/dist/modules/service/aws-dynamodb-global-service/models/service/actions/add-aws-dynamodb-global-service.model.action.js.map +1 -1
- package/dist/modules/service/aws-dynamodb-global-service/models/service/aws-dynamodb-global-service.model.d.ts +7 -3
- package/dist/modules/service/aws-dynamodb-global-service/models/service/aws-dynamodb-global-service.model.js +14 -7
- package/dist/modules/service/aws-dynamodb-global-service/models/service/aws-dynamodb-global-service.model.js.map +1 -1
- package/dist/modules/service/aws-dynamodb-global-service/models/service/index.d.ts +1 -0
- package/dist/modules/service/aws-dynamodb-global-service/models/service/index.js +1 -0
- package/dist/modules/service/aws-dynamodb-global-service/models/service/index.js.map +1 -1
- package/dist/modules/service/aws-dynamodb-service/aws-dynamodb-service.module.d.ts +5 -4
- package/dist/modules/service/aws-dynamodb-service/aws-dynamodb-service.module.js +17 -12
- package/dist/modules/service/aws-dynamodb-service/aws-dynamodb-service.module.js.map +1 -1
- package/dist/modules/service/aws-dynamodb-service/index.schema.d.ts +1 -2
- package/dist/modules/service/aws-dynamodb-service/index.schema.js +2 -4
- package/dist/modules/service/aws-dynamodb-service/index.schema.js.map +1 -1
- package/dist/modules/service/aws-dynamodb-service/models/service/aws-dynamodb-service.model.d.ts +3 -3
- package/dist/modules/service/aws-dynamodb-service/models/service/aws-dynamodb-service.model.js +8 -7
- package/dist/modules/service/aws-dynamodb-service/models/service/aws-dynamodb-service.model.js.map +1 -1
- package/dist/modules/service/aws-ecs-alb-service/aws-ecs-alb-service.module.d.ts +20 -10
- package/dist/modules/service/aws-ecs-alb-service/aws-ecs-alb-service.module.js +23 -17
- package/dist/modules/service/aws-ecs-alb-service/aws-ecs-alb-service.module.js.map +1 -1
- package/dist/modules/service/aws-ecs-alb-service/models/service/actions/add-aws-ecs-alb-service.model.action.js +2 -2
- package/dist/modules/service/aws-ecs-alb-service/models/service/actions/add-aws-ecs-alb-service.model.action.js.map +1 -1
- package/dist/modules/service/aws-ecs-alb-service/models/service/aws-ecs-alb-service.model.d.ts +1 -5
- package/dist/modules/service/aws-ecs-alb-service/models/service/aws-ecs-alb-service.model.js +4 -22
- package/dist/modules/service/aws-ecs-alb-service/models/service/aws-ecs-alb-service.model.js.map +1 -1
- package/dist/modules/service/aws-ecs-alb-service/models/service/aws-ecs-alb-service.schema.d.ts +1 -2
- package/dist/modules/service/aws-ecs-alb-service/models/service/aws-ecs-alb-service.schema.js +0 -1
- package/dist/modules/service/aws-ecs-alb-service/models/service/aws-ecs-alb-service.schema.js.map +1 -1
- package/dist/modules/service/aws-ecs-alb-service/overlays/aws-ecs-alb-service/actions/add-aws-ecs-alb-service.overlay.action.js +7 -8
- package/dist/modules/service/aws-ecs-alb-service/overlays/aws-ecs-alb-service/actions/add-aws-ecs-alb-service.overlay.action.js.map +1 -1
- package/dist/modules/service/aws-s3-static-website-service/aws-s3-static-website-service.module.d.ts +9 -14
- package/dist/modules/service/aws-s3-static-website-service/aws-s3-static-website-service.module.js +19 -24
- package/dist/modules/service/aws-s3-static-website-service/aws-s3-static-website-service.module.js.map +1 -1
- package/dist/modules/service/aws-s3-static-website-service/index.schema.d.ts +5 -68
- package/dist/modules/service/aws-s3-static-website-service/index.schema.js +20 -127
- package/dist/modules/service/aws-s3-static-website-service/index.schema.js.map +1 -1
- package/dist/modules/service/aws-s3-static-website-service/models/service/actions/add-aws-s3-static-website-service.model.action.js +1 -83
- package/dist/modules/service/aws-s3-static-website-service/models/service/actions/add-aws-s3-static-website-service.model.action.js.map +1 -1
- package/dist/modules/service/aws-s3-static-website-service/models/service/actions/update-aws-s3-static-website-service-source-paths.model.action.d.ts +2 -1
- package/dist/modules/service/aws-s3-static-website-service/models/service/actions/update-aws-s3-static-website-service-source-paths.model.action.js +0 -15
- package/dist/modules/service/aws-s3-static-website-service/models/service/actions/update-aws-s3-static-website-service-source-paths.model.action.js.map +1 -1
- package/dist/modules/service/aws-s3-static-website-service/models/service/aws-s3-static-website-service.model.d.ts +6 -24
- package/dist/modules/service/aws-s3-static-website-service/models/service/aws-s3-static-website-service.model.js +11 -89
- package/dist/modules/service/aws-s3-static-website-service/models/service/aws-s3-static-website-service.model.js.map +1 -1
- package/dist/modules/service/aws-s3-storage-service/aws-s3-storage-service.module.d.ts +19 -8
- package/dist/modules/service/aws-s3-storage-service/aws-s3-storage-service.module.js +44 -20
- package/dist/modules/service/aws-s3-storage-service/aws-s3-storage-service.module.js.map +1 -1
- package/dist/modules/service/aws-s3-storage-service/index.schema.d.ts +53 -7
- package/dist/modules/service/aws-s3-storage-service/index.schema.js +126 -11
- package/dist/modules/service/aws-s3-storage-service/index.schema.js.map +1 -1
- package/dist/modules/service/aws-s3-storage-service/models/service/actions/add-aws-s3-storage-service.model.action.js +4 -0
- package/dist/modules/service/aws-s3-storage-service/models/service/actions/add-aws-s3-storage-service.model.action.js.map +1 -1
- package/dist/modules/service/aws-s3-storage-service/models/service/actions/update-aws-s3-storage-service-source-paths.model.action.d.ts +27 -0
- package/dist/modules/service/aws-s3-storage-service/models/service/actions/update-aws-s3-storage-service-source-paths.model.action.js +56 -0
- package/dist/modules/service/aws-s3-storage-service/models/service/actions/update-aws-s3-storage-service-source-paths.model.action.js.map +1 -0
- package/dist/modules/service/aws-s3-storage-service/models/service/aws-s3-storage-service.model.d.ts +26 -8
- package/dist/modules/service/aws-s3-storage-service/models/service/aws-s3-storage-service.model.js +56 -20
- package/dist/modules/service/aws-s3-storage-service/models/service/aws-s3-storage-service.model.js.map +1 -1
- package/dist/modules/service/aws-s3-storage-service/models/service/aws-s3-storage-service.schema.d.ts +13 -3
- package/dist/modules/service/aws-s3-storage-service/models/service/aws-s3-storage-service.schema.js +19 -3
- package/dist/modules/service/aws-s3-storage-service/models/service/aws-s3-storage-service.schema.js.map +1 -1
- package/dist/modules/service/aws-s3-storage-service/models/service/index.d.ts +1 -0
- package/dist/modules/service/aws-s3-storage-service/models/service/index.js +1 -0
- package/dist/modules/service/aws-s3-storage-service/models/service/index.js.map +1 -1
- package/dist/modules/subnet/aws-serverless-subnet/aws-serverless-subnet.module.d.ts +31 -0
- package/dist/modules/subnet/aws-serverless-subnet/aws-serverless-subnet.module.js +55 -0
- package/dist/modules/subnet/aws-serverless-subnet/aws-serverless-subnet.module.js.map +1 -0
- package/dist/modules/subnet/aws-serverless-subnet/index.d.ts +1 -0
- package/dist/modules/subnet/aws-serverless-subnet/index.js +2 -0
- package/dist/modules/subnet/aws-serverless-subnet/index.js.map +1 -0
- package/dist/modules/subnet/aws-serverless-subnet/index.schema.d.ts +17 -0
- package/dist/modules/subnet/aws-serverless-subnet/index.schema.js +46 -0
- package/dist/modules/subnet/aws-serverless-subnet/index.schema.js.map +1 -0
- package/dist/modules/subnet/aws-serverless-subnet/models/subnet/actions/add-aws-serverless-subnet.model.action.d.ts +28 -0
- package/dist/modules/subnet/aws-serverless-subnet/models/subnet/actions/add-aws-serverless-subnet.model.action.js +53 -0
- package/dist/modules/subnet/aws-serverless-subnet/models/subnet/actions/add-aws-serverless-subnet.model.action.js.map +1 -0
- package/dist/modules/subnet/aws-serverless-subnet/models/subnet/aws-serverless-subnet.model.d.ts +11 -0
- package/dist/modules/subnet/aws-serverless-subnet/models/subnet/aws-serverless-subnet.model.js +26 -0
- package/dist/modules/subnet/aws-serverless-subnet/models/subnet/aws-serverless-subnet.model.js.map +1 -0
- package/dist/modules/subnet/aws-serverless-subnet/models/subnet/aws-serverless-subnet.schema.d.ts +6 -0
- package/dist/modules/subnet/aws-serverless-subnet/models/subnet/aws-serverless-subnet.schema.js +7 -0
- package/dist/modules/subnet/aws-serverless-subnet/models/subnet/aws-serverless-subnet.schema.js.map +1 -0
- package/dist/modules/subnet/aws-serverless-subnet/models/subnet/index.d.ts +2 -0
- package/dist/modules/subnet/aws-serverless-subnet/models/subnet/index.js +3 -0
- package/dist/modules/subnet/aws-serverless-subnet/models/subnet/index.js.map +1 -0
- package/dist/modules/subnet/aws-simple-subnet/aws-simple-subnet.module.d.ts +4 -3
- package/dist/modules/subnet/aws-simple-subnet/aws-simple-subnet.module.js +7 -4
- package/dist/modules/subnet/aws-simple-subnet/aws-simple-subnet.module.js.map +1 -1
- package/dist/modules/subnet/aws-simple-subnet/models/subnet/actions/add-aws-simple-subnet.model.action.js +9 -9
- package/dist/modules/subnet/aws-simple-subnet/models/subnet/actions/add-aws-simple-subnet.model.action.js.map +1 -1
- package/dist/modules/subnet/aws-simple-subnet/overlays/aws-simple-subnet-local-filesystem-mount/actions/add-aws-simple-subnet-local-filesystem-mount.overlay.action.js +11 -9
- package/dist/modules/subnet/aws-simple-subnet/overlays/aws-simple-subnet-local-filesystem-mount/actions/add-aws-simple-subnet-local-filesystem-mount.overlay.action.js.map +1 -1
- package/dist/modules/subnet/aws-simple-subnet/overlays/aws-simple-subnet-local-filesystem-mount/aws-simple-subnet-local-filesystem-mount.overlay.d.ts +1 -0
- package/dist/modules/subnet/aws-simple-subnet/overlays/aws-simple-subnet-local-filesystem-mount/aws-simple-subnet-local-filesystem-mount.overlay.js.map +1 -1
- package/dist/resources/alb/alb.resource.js +3 -1
- package/dist/resources/alb/alb.resource.js.map +1 -1
- package/dist/resources/alb-listener/index.schema.d.ts +2 -2
- package/dist/resources/alb-listener/index.schema.js +2 -2
- package/dist/resources/alb-target-group/alb-target-group.resource.js +3 -1
- package/dist/resources/alb-target-group/alb-target-group.resource.js.map +1 -1
- package/dist/resources/cloudfront-distribution/cloudfront-behavior.schema.d.ts +136 -0
- package/dist/resources/cloudfront-distribution/cloudfront-behavior.schema.js +215 -0
- package/dist/resources/cloudfront-distribution/cloudfront-behavior.schema.js.map +1 -0
- package/dist/resources/cloudfront-distribution/cloudfront-distribution.resource.d.ts +48 -16
- package/dist/resources/cloudfront-distribution/cloudfront-distribution.resource.js +176 -96
- package/dist/resources/cloudfront-distribution/cloudfront-distribution.resource.js.map +1 -1
- package/dist/resources/cloudfront-distribution/cloudfront-origin.schema.d.ts +93 -0
- package/dist/resources/cloudfront-distribution/cloudfront-origin.schema.js +136 -0
- package/dist/resources/cloudfront-distribution/cloudfront-origin.schema.js.map +1 -0
- package/dist/resources/cloudfront-distribution/cloudfront-policy.schema.d.ts +361 -0
- package/dist/resources/cloudfront-distribution/cloudfront-policy.schema.js +467 -0
- package/dist/resources/cloudfront-distribution/cloudfront-policy.schema.js.map +1 -0
- package/dist/resources/cloudfront-distribution/cloudfront-response.schema.d.ts +29 -0
- package/dist/resources/cloudfront-distribution/cloudfront-response.schema.js +58 -0
- package/dist/resources/cloudfront-distribution/cloudfront-response.schema.js.map +1 -0
- package/dist/resources/cloudfront-distribution/index.schema.d.ts +50 -422
- package/dist/resources/cloudfront-distribution/index.schema.js +81 -618
- package/dist/resources/cloudfront-distribution/index.schema.js.map +1 -1
- package/dist/resources/cloudfront-invalidation/actions/add-cloudfront-invalidation.resource.action.js +1 -1
- package/dist/resources/cloudfront-invalidation/actions/add-cloudfront-invalidation.resource.action.js.map +1 -1
- package/dist/resources/cloudfront-invalidation/actions/update-cloudfront-invalidation.resource.action.js +1 -1
- package/dist/resources/cloudfront-invalidation/actions/update-cloudfront-invalidation.resource.action.js.map +1 -1
- package/dist/resources/cloudfront-invalidation/cloudfront-invalidation.resource.d.ts +6 -2
- package/dist/resources/cloudfront-invalidation/cloudfront-invalidation.resource.js +3 -0
- package/dist/resources/cloudfront-invalidation/cloudfront-invalidation.resource.js.map +1 -1
- package/dist/resources/cloudfront-invalidation/index.schema.d.ts +5 -2
- package/dist/resources/cloudfront-invalidation/index.schema.js +5 -2
- package/dist/resources/cloudfront-invalidation/index.schema.js.map +1 -1
- package/dist/resources/dynamodb/dynamodb.resource.js +16 -4
- package/dist/resources/dynamodb/dynamodb.resource.js.map +1 -1
- package/dist/resources/dynamodb-global/dynamodb-global.resource.js +1 -1
- package/dist/resources/dynamodb-global/dynamodb-global.resource.js.map +1 -1
- package/dist/resources/ecr/ecr-image.resource.js +4 -1
- package/dist/resources/ecr/ecr-image.resource.js.map +1 -1
- package/dist/resources/ecr-image-tag/actions/add-ecr-image-tag.resource.action.d.ts +1 -1
- package/dist/resources/ecr-image-tag/actions/add-ecr-image-tag.resource.action.js +15 -5
- package/dist/resources/ecr-image-tag/actions/add-ecr-image-tag.resource.action.js.map +1 -1
- package/dist/resources/ecr-image-tag/actions/delete-ecr-image-tag.resource.action.js +1 -1
- package/dist/resources/ecr-image-tag/actions/delete-ecr-image-tag.resource.action.js.map +1 -1
- package/dist/resources/ecr-image-tag/ecr-image-tag.resource.js +3 -1
- package/dist/resources/ecr-image-tag/ecr-image-tag.resource.js.map +1 -1
- package/dist/resources/ecr-image-tag/index.schema.d.ts +11 -0
- package/dist/resources/ecr-image-tag/index.schema.js +26 -11
- package/dist/resources/ecr-image-tag/index.schema.js.map +1 -1
- package/dist/resources/ecs-cluster/ecs-cluster.resource.js +3 -1
- package/dist/resources/ecs-cluster/ecs-cluster.resource.js.map +1 -1
- package/dist/resources/ecs-service/ecs-service.resource.js +0 -4
- package/dist/resources/ecs-service/ecs-service.resource.js.map +1 -1
- package/dist/resources/ecs-task-definition/ecs-task-definition.resource.d.ts +9 -6
- package/dist/resources/ecs-task-definition/ecs-task-definition.resource.js +18 -8
- package/dist/resources/ecs-task-definition/ecs-task-definition.resource.js.map +1 -1
- package/dist/resources/ecs-task-definition/index.schema.d.ts +5 -6
- package/dist/resources/ecs-task-definition/index.schema.js +9 -6
- package/dist/resources/ecs-task-definition/index.schema.js.map +1 -1
- package/dist/resources/efs/efs.resource.js +1 -1
- package/dist/resources/efs/efs.resource.js.map +1 -1
- package/dist/resources/efs-mount-target/index.schema.d.ts +1 -1
- package/dist/resources/efs-mount-target/index.schema.js +1 -1
- package/dist/resources/iam-role/iam-role.resource.d.ts +29 -2
- package/dist/resources/iam-role/iam-role.resource.js +163 -37
- package/dist/resources/iam-role/iam-role.resource.js.map +1 -1
- package/dist/resources/iam-role/index.schema.d.ts +45 -11
- package/dist/resources/iam-role/index.schema.js.map +1 -1
- package/dist/resources/iam-user/iam-user.resource.d.ts +23 -2
- package/dist/resources/iam-user/iam-user.resource.js +130 -27
- package/dist/resources/iam-user/iam-user.resource.js.map +1 -1
- package/dist/resources/iam-user/index.schema.d.ts +33 -5
- package/dist/resources/iam-user/index.schema.js.map +1 -1
- package/dist/resources/lambda-function/index.d.ts +1 -0
- package/dist/resources/lambda-function/index.js +2 -0
- package/dist/resources/lambda-function/index.js.map +1 -0
- package/dist/resources/lambda-function/index.schema.d.ts +75 -0
- package/dist/resources/lambda-function/index.schema.js +139 -0
- package/dist/resources/lambda-function/index.schema.js.map +1 -0
- package/dist/resources/lambda-function/lambda-function.resource.d.ts +50 -0
- package/dist/resources/lambda-function/lambda-function.resource.js +199 -0
- package/dist/resources/lambda-function/lambda-function.resource.js.map +1 -0
- package/dist/resources/nat-gateway/nat-gateway.resource.d.ts +2 -7
- package/dist/resources/nat-gateway/nat-gateway.resource.js +2 -2
- package/dist/resources/nat-gateway/nat-gateway.resource.js.map +1 -1
- package/dist/resources/s3-storage/index.schema.d.ts +118 -6
- package/dist/resources/s3-storage/index.schema.js +200 -7
- package/dist/resources/s3-storage/index.schema.js.map +1 -1
- package/dist/resources/s3-storage/s3-storage.resource.d.ts +25 -12
- package/dist/resources/s3-storage/s3-storage.resource.js +211 -110
- package/dist/resources/s3-storage/s3-storage.resource.js.map +1 -1
- package/dist/resources/s3-website/index.schema.d.ts +1 -19
- package/dist/resources/s3-website/index.schema.js +1 -34
- package/dist/resources/s3-website/index.schema.js.map +1 -1
- package/dist/resources/s3-website/s3-website.resource.d.ts +4 -31
- package/dist/resources/s3-website/s3-website.resource.js +29 -82
- package/dist/resources/s3-website/s3-website.resource.js.map +1 -1
- package/dist/resources/security-group/security-group.resource.js +13 -2
- package/dist/resources/security-group/security-group.resource.js.map +1 -1
- package/dist/services/docker/docker.service.d.ts +28 -7
- package/dist/services/docker/docker.service.js +53 -17
- package/dist/services/docker/docker.service.js.map +1 -1
- package/dist/utilities/aws-region/aws-region.utility.d.ts +15 -0
- package/dist/utilities/aws-region/aws-region.utility.js +19 -0
- package/dist/utilities/aws-region/aws-region.utility.js.map +1 -0
- package/dist/utilities/file/file.utility.d.ts +0 -4
- package/dist/utilities/file/file.utility.js +0 -6
- package/dist/utilities/file/file.utility.js.map +1 -1
- package/dist/utilities/retry/retry.utility.d.ts +5 -9
- package/dist/utilities/retry/retry.utility.js +0 -20
- package/dist/utilities/retry/retry.utility.js.map +1 -1
- package/dist/utilities/s3-file-source/s3-file-source.utility.d.ts +53 -0
- package/dist/utilities/s3-file-source/s3-file-source.utility.js +112 -0
- package/dist/utilities/s3-file-source/s3-file-source.utility.js.map +1 -0
- package/package.json +30 -10
- package/dist/anchors/aws-ecs/aws-ecs-server.anchor.d.ts +0 -12
- package/dist/anchors/aws-ecs/aws-ecs-server.anchor.js.map +0 -1
- package/dist/anchors/aws-ecs/aws-ecs-server.anchor.schema.d.ts +0 -27
- package/dist/anchors/aws-ecs/aws-ecs-server.anchor.schema.js.map +0 -1
- package/dist/anchors/aws-ecs/aws-ecs-task-definition.anchor.d.ts +0 -12
- package/dist/anchors/aws-ecs/aws-ecs-task-definition.anchor.js.map +0 -1
- package/dist/anchors/aws-ecs/aws-ecs-task-definition.anchor.schema.d.ts +0 -88
- package/dist/anchors/aws-ecs/aws-ecs-task-definition.anchor.schema.js +0 -138
- package/dist/anchors/aws-ecs/aws-ecs-task-definition.anchor.schema.js.map +0 -1
- package/dist/anchors/aws-iam/aws-iam-role.anchor.d.ts +0 -12
- package/dist/anchors/aws-iam/aws-iam-role.anchor.js.map +0 -1
- package/dist/anchors/aws-iam/aws-iam-role.anchor.schema.d.ts +0 -24
- package/dist/anchors/aws-iam/aws-iam-role.anchor.schema.js.map +0 -1
- package/dist/anchors/aws-s3-storage-service/aws-s3-storage-service-directory.anchor.d.ts +0 -12
- package/dist/anchors/aws-s3-storage-service/aws-s3-storage-service-directory.anchor.js.map +0 -1
- package/dist/anchors/aws-s3-storage-service/aws-s3-storage-service-directory.anchor.schema.js.map +0 -1
- package/dist/modules/deployment/aws-ecs-deployment/aws-ecs-deployment.module.d.ts +0 -41
- package/dist/modules/deployment/aws-ecs-deployment/aws-ecs-deployment.module.js +0 -61
- package/dist/modules/deployment/aws-ecs-deployment/aws-ecs-deployment.module.js.map +0 -1
- package/dist/modules/deployment/aws-ecs-deployment/index.d.ts +0 -1
- package/dist/modules/deployment/aws-ecs-deployment/index.js +0 -2
- package/dist/modules/deployment/aws-ecs-deployment/index.js.map +0 -1
- package/dist/modules/deployment/aws-ecs-deployment/index.schema.d.ts +0 -33
- package/dist/modules/deployment/aws-ecs-deployment/index.schema.js +0 -71
- package/dist/modules/deployment/aws-ecs-deployment/index.schema.js.map +0 -1
- package/dist/modules/deployment/aws-ecs-deployment/models/deployment/actions/add-aws-ecs-deployment.model.action.d.ts +0 -25
- package/dist/modules/deployment/aws-ecs-deployment/models/deployment/actions/add-aws-ecs-deployment.model.action.js.map +0 -1
- package/dist/modules/deployment/aws-ecs-deployment/models/deployment/aws-ecs-deployment.model.d.ts +0 -11
- package/dist/modules/deployment/aws-ecs-deployment/models/deployment/aws-ecs-deployment.model.js.map +0 -1
- package/dist/modules/deployment/aws-ecs-deployment/models/deployment/aws-ecs-deployment.schema.js +0 -7
- package/dist/modules/deployment/aws-ecs-deployment/models/deployment/aws-ecs-deployment.schema.js.map +0 -1
- package/dist/modules/deployment/aws-ecs-deployment/models/deployment/index.d.ts +0 -2
- package/dist/modules/deployment/aws-ecs-deployment/models/deployment/index.js +0 -3
- package/dist/modules/deployment/aws-ecs-deployment/models/deployment/index.js.map +0 -1
- package/dist/modules/server/aws-ecs-server/aws-ecs-server.module.d.ts +0 -58
- package/dist/modules/server/aws-ecs-server/aws-ecs-server.module.js +0 -148
- package/dist/modules/server/aws-ecs-server/aws-ecs-server.module.js.map +0 -1
- package/dist/modules/server/aws-ecs-server/index.d.ts +0 -1
- package/dist/modules/server/aws-ecs-server/index.js +0 -2
- package/dist/modules/server/aws-ecs-server/index.js.map +0 -1
- package/dist/modules/server/aws-ecs-server/index.schema.d.ts +0 -83
- package/dist/modules/server/aws-ecs-server/index.schema.js +0 -153
- package/dist/modules/server/aws-ecs-server/index.schema.js.map +0 -1
- package/dist/modules/server/aws-ecs-server/models/server/actions/add-aws-ecs-server.model.action.d.ts +0 -25
- package/dist/modules/server/aws-ecs-server/models/server/actions/add-aws-ecs-server.model.action.js +0 -71
- package/dist/modules/server/aws-ecs-server/models/server/actions/add-aws-ecs-server.model.action.js.map +0 -1
- package/dist/modules/server/aws-ecs-server/models/server/aws-ecs-server.model.d.ts +0 -11
- package/dist/modules/server/aws-ecs-server/models/server/aws-ecs-server.model.js.map +0 -1
- package/dist/modules/server/aws-ecs-server/models/server/aws-ecs-server.schema.js +0 -7
- package/dist/modules/server/aws-ecs-server/models/server/aws-ecs-server.schema.js.map +0 -1
- package/dist/modules/server/aws-ecs-server/models/server/index.d.ts +0 -2
- package/dist/modules/server/aws-ecs-server/models/server/index.js +0 -3
- package/dist/modules/server/aws-ecs-server/models/server/index.js.map +0 -1
- package/dist/modules/server/aws-ecs-server/overlays/aws-ecs-server-s3-access/actions/add-aws-ecs-server-s3-access.overlay.action.d.ts +0 -26
- package/dist/modules/server/aws-ecs-server/overlays/aws-ecs-server-s3-access/actions/add-aws-ecs-server-s3-access.overlay.action.js +0 -73
- package/dist/modules/server/aws-ecs-server/overlays/aws-ecs-server-s3-access/actions/add-aws-ecs-server-s3-access.overlay.action.js.map +0 -1
- package/dist/modules/server/aws-ecs-server/overlays/aws-ecs-server-s3-access/aws-ecs-server-s3-access.overlay.d.ts +0 -19
- package/dist/modules/server/aws-ecs-server/overlays/aws-ecs-server-s3-access/aws-ecs-server-s3-access.overlay.js.map +0 -1
- package/dist/modules/server/aws-ecs-server/overlays/aws-ecs-server-s3-access/aws-ecs-server-s3-access.schema.js.map +0 -1
- package/dist/modules/server/aws-ecs-server/overlays/aws-ecs-server-s3-access/index.d.ts +0 -2
- package/dist/modules/server/aws-ecs-server/overlays/aws-ecs-server-s3-access/index.js +0 -3
- package/dist/modules/server/aws-ecs-server/overlays/aws-ecs-server-s3-access/index.js.map +0 -1
- package/dist/utilities/common/common.utility.d.ts +0 -13
- package/dist/utilities/common/common.utility.js +0 -28
- package/dist/utilities/common/common.utility.js.map +0 -1
- package/dist/utilities/hcl/hcl.utility.d.ts +0 -34
- package/dist/utilities/hcl/hcl.utility.js +0 -163
- package/dist/utilities/hcl/hcl.utility.js.map +0 -1
package/dist/modules/service/aws-ecs-alb-service/models/service/aws-ecs-alb-service.model.js
CHANGED
|
@@ -8,7 +8,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
10
|
var AwsEcsAlbService_1;
|
|
11
|
-
import {
|
|
11
|
+
import { Model, Service, ServiceType, Validate } from '@quadnix/octo';
|
|
12
12
|
import { AwsEcsAlbServiceSchema } from './aws-ecs-alb-service.schema.js';
|
|
13
13
|
/**
|
|
14
14
|
* @internal
|
|
@@ -18,41 +18,23 @@ let AwsEcsAlbService = AwsEcsAlbService_1 = class AwsEcsAlbService extends Servi
|
|
|
18
18
|
* @internal
|
|
19
19
|
*/
|
|
20
20
|
constructor(albName, subnets) {
|
|
21
|
-
super(`${albName}-alb
|
|
21
|
+
super(`${albName}-alb`, subnets, ServiceType.LOAD_BALANCER, 'alb');
|
|
22
22
|
this.albName = albName;
|
|
23
|
-
for (const subnet of subnets) {
|
|
24
|
-
subnet.addChild('subnetId', this, 'serviceId');
|
|
25
|
-
}
|
|
26
23
|
}
|
|
27
24
|
/**
|
|
28
25
|
* @internal
|
|
29
26
|
*/
|
|
30
27
|
static async unSynth(service, deReferenceContext) {
|
|
31
|
-
const subnets = (await Promise.all(service.
|
|
28
|
+
const subnets = (await Promise.all(service.parents.map((p) => deReferenceContext(p.context))));
|
|
32
29
|
return new AwsEcsAlbService_1(service.albName, subnets);
|
|
33
30
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
|
-
setContext() {
|
|
38
|
-
const parents = this.getParents();
|
|
39
|
-
const app = parents['app']?.[0]?.to;
|
|
40
|
-
const subnets = parents['subnet']?.map((d) => d.to) || [];
|
|
41
|
-
if (!app || subnets.length === 0) {
|
|
42
|
-
return undefined;
|
|
43
|
-
}
|
|
44
|
-
return [`${Service.NODE_NAME}=${this.serviceId}`, ...subnets.map((s) => s.getContext()), app.getContext()].join(',');
|
|
45
|
-
}
|
|
46
31
|
/**
|
|
47
32
|
* @internal
|
|
48
33
|
*/
|
|
49
34
|
synth() {
|
|
50
|
-
const parents = this.getParents();
|
|
51
|
-
const subnets = parents['subnet'].map((d) => d.to);
|
|
52
35
|
return {
|
|
36
|
+
...super.synth(),
|
|
53
37
|
albName: this.albName,
|
|
54
|
-
serviceId: this.serviceId,
|
|
55
|
-
subnets: subnets.map((s) => ({ context: s.getContext() })),
|
|
56
38
|
};
|
|
57
39
|
}
|
|
58
40
|
};
|
package/dist/modules/service/aws-ecs-alb-service/models/service/aws-ecs-alb-service.model.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aws-ecs-alb-service.model.js","sourceRoot":"","sources":["../../../../../../src/modules/service/aws-ecs-alb-service/models/service/aws-ecs-alb-service.model.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"aws-ecs-alb-service.model.js","sourceRoot":"","sources":["../../../../../../src/modules/service/aws-ecs-alb-service/models/service/aws-ecs-alb-service.model.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,OAAO,EAAe,KAAK,EAAE,OAAO,EAAE,WAAW,EAAe,QAAQ,EAAE,MAAM,eAAe,CAAC;AAChG,OAAO,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AAEzE;;GAEG;AAEI,IAAM,gBAAgB,wBAAtB,MAAM,gBAAiB,SAAQ,OAAO;IAI3C;;OAEG;IACH,YAAY,OAA0C,EAAE,OAAiB;QACvE,KAAK,CAAC,GAAG,OAAO,MAAM,EAAE,OAAO,EAAE,WAAW,CAAC,aAAa,EAAE,KAAK,CAAC,CAAC;QAEnE,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;IAED;;OAEG;IACH,MAAM,CAAU,KAAK,CAAC,OAAO,CAC3B,OAA+B,EAC/B,kBAAkE;QAElE,MAAM,OAAO,GAAG,CAAC,MAAM,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,kBAAkB,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAa,CAAC;QAC3G,OAAO,IAAI,kBAAgB,CAAC,OAAO,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IACxD,CAAC;IAED;;OAEG;IACM,KAAK;QACZ,OAAO;YACL,GAAG,KAAK,CAAC,KAAK,EAAE;YAChB,OAAO,EAAE,IAAI,CAAC,OAAO;SACtB,CAAC;IACJ,CAAC;CACF,CAAA;AA/BU;IADR,QAAQ,CAAC,EAAE,OAAO,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,KAAK,EAAE,4CAA4C,EAAE,EAAE,CAAC;;iDACnF;AAFd,gBAAgB;IAD5B,KAAK,CAAmB,OAAO,EAAE,SAAS,EAAE,sBAAsB,CAAC;;GACvD,gBAAgB,CAiC5B"}
|
package/dist/modules/service/aws-ecs-alb-service/models/service/aws-ecs-alb-service.schema.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ServiceSchema } from '@quadnix/octo';
|
|
2
2
|
/**
|
|
3
3
|
* @internal
|
|
4
4
|
*/
|
|
5
5
|
export declare class AwsEcsAlbServiceSchema extends ServiceSchema {
|
|
6
6
|
albName: string;
|
|
7
|
-
subnets: IModelReference[];
|
|
8
7
|
}
|
package/dist/modules/service/aws-ecs-alb-service/models/service/aws-ecs-alb-service.schema.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aws-ecs-alb-service.schema.js","sourceRoot":"","sources":["../../../../../../src/modules/service/aws-ecs-alb-service/models/service/aws-ecs-alb-service.schema.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"aws-ecs-alb-service.schema.js","sourceRoot":"","sources":["../../../../../../src/modules/service/aws-ecs-alb-service/models/service/aws-ecs-alb-service.schema.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEhE;;GAEG;AACH,MAAM,OAAO,sBAAuB,SAAQ,aAAa;IAAzD;;QAEE,YAAO,GAAG,MAAM,EAAU,CAAC;IAC7B,CAAC;CAAA;AADC;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,EAAE,CAAC;;uDACb"}
|
|
@@ -29,15 +29,14 @@ let AddAwsEcsAlbServiceOverlayAction = class AddAwsEcsAlbServiceOverlayAction {
|
|
|
29
29
|
* @internal
|
|
30
30
|
*/
|
|
31
31
|
async handle(diff, actionInputs, actionOutputs) {
|
|
32
|
-
const albEcsExecutionOverlay = diff.node;
|
|
33
32
|
const { awsAccountId, awsRegionId } = actionInputs.metadata;
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
33
|
+
// Get the VPC from the ALB's region.
|
|
34
|
+
const [matchingVpcResource] = await actionInputs.inputs.region.getResourcesMatchingSchema(VpcSchema, [], [], {
|
|
35
|
+
searchBoundaryMembers: false,
|
|
36
|
+
});
|
|
38
37
|
const albTargetGroups = [];
|
|
39
38
|
for (const target of actionInputs.inputs.targets) {
|
|
40
|
-
const albTargetGroup = new AlbTargetGroup(`alb-target-group-${target.execution.executionId}`, {
|
|
39
|
+
const albTargetGroup = new AlbTargetGroup(`alb-target-group-${actionInputs.inputs.albName}-${target.execution.executionId}`, {
|
|
41
40
|
awsAccountId,
|
|
42
41
|
awsRegionId,
|
|
43
42
|
healthCheck: target.healthCheck || undefined,
|
|
@@ -52,8 +51,8 @@ let AddAwsEcsAlbServiceOverlayAction = class AddAwsEcsAlbServiceOverlayAction {
|
|
|
52
51
|
albTargetGroups.push(albTargetGroup);
|
|
53
52
|
}
|
|
54
53
|
for (const listener of actionInputs.inputs.listeners) {
|
|
55
|
-
const alb = actionInputs.resources[`alb-${actionInputs.inputs.
|
|
56
|
-
const albListener = new AlbListener(`alb-listener-${actionInputs.inputs.albName}`, {
|
|
54
|
+
const alb = actionInputs.resources[`alb-${actionInputs.inputs.albName}`];
|
|
55
|
+
const albListener = new AlbListener(`alb-listener-${actionInputs.inputs.albName}-${listener.Port}`, {
|
|
57
56
|
awsAccountId,
|
|
58
57
|
awsRegionId,
|
|
59
58
|
DefaultActions: listener.DefaultActions,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-aws-ecs-alb-service.overlay.action.js","sourceRoot":"","sources":["../../../../../../../src/modules/service/aws-ecs-alb-service/overlays/aws-ecs-alb-service/actions/add-aws-ecs-alb-service.overlay.action.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EACL,MAAM,EAGN,UAAU,EAEV,OAAO,EAEP,gBAAgB,EAChB,sCAAsC,EACtC,WAAW,GACZ,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,GAAG,EAAE,MAAM,0CAA0C,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,mDAAmD,CAAC;AAChF,OAAO,EAAE,cAAc,EAAE,MAAM,uDAAuD,CAAC;AAEvF,OAAO,EAAE,UAAU,EAAE,MAAM,kDAAkD,CAAC;AAC9E,OAAO,EAAE,gBAAgB,EAAE,MAAM,yDAAyD,CAAC;AAC3F,OAAO,EAAE,SAAS,EAAE,MAAM,iDAAiD,CAAC;AAE5E,OAAO,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAE5E;;GAEG;AAEI,IAAM,gCAAgC,GAAtC,MAAM,gCAAgC;IAC3C;;OAEG;IACH,MAAM,CAAC,IAAU;QACf,OAAO,CACL,IAAI,CAAC,MAAM,KAAK,UAAU,CAAC,GAAG;YAC9B,IAAI,CAAC,IAAI,YAAY,uBAAuB;YAC5C,WAAW,CAAC,IAAI,CAAC,IAAI,EAAE,6BAA6B,CAAC;YACrD,IAAI,CAAC,KAAK,KAAK,WAAW,CAC3B,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,MAAM,CACV,IAAmC,EACnC,YAA0D,EAC1D,aAA4B;QAE5B,MAAM,
|
|
1
|
+
{"version":3,"file":"add-aws-ecs-alb-service.overlay.action.js","sourceRoot":"","sources":["../../../../../../../src/modules/service/aws-ecs-alb-service/overlays/aws-ecs-alb-service/actions/add-aws-ecs-alb-service.overlay.action.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EACL,MAAM,EAGN,UAAU,EAEV,OAAO,EAEP,gBAAgB,EAChB,sCAAsC,EACtC,WAAW,GACZ,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,GAAG,EAAE,MAAM,0CAA0C,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,mDAAmD,CAAC;AAChF,OAAO,EAAE,cAAc,EAAE,MAAM,uDAAuD,CAAC;AAEvF,OAAO,EAAE,UAAU,EAAE,MAAM,kDAAkD,CAAC;AAC9E,OAAO,EAAE,gBAAgB,EAAE,MAAM,yDAAyD,CAAC;AAC3F,OAAO,EAAE,SAAS,EAAE,MAAM,iDAAiD,CAAC;AAE5E,OAAO,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAE5E;;GAEG;AAEI,IAAM,gCAAgC,GAAtC,MAAM,gCAAgC;IAC3C;;OAEG;IACH,MAAM,CAAC,IAAU;QACf,OAAO,CACL,IAAI,CAAC,MAAM,KAAK,UAAU,CAAC,GAAG;YAC9B,IAAI,CAAC,IAAI,YAAY,uBAAuB;YAC5C,WAAW,CAAC,IAAI,CAAC,IAAI,EAAE,6BAA6B,CAAC;YACrD,IAAI,CAAC,KAAK,KAAK,WAAW,CAC3B,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,MAAM,CACV,IAAmC,EACnC,YAA0D,EAC1D,aAA4B;QAE5B,MAAM,EAAE,YAAY,EAAE,WAAW,EAAE,GAAG,YAAY,CAAC,QAAQ,CAAC;QAE5D,qCAAqC;QACrC,MAAM,CAAC,mBAAmB,CAAC,GAAG,MAAM,YAAY,CAAC,MAAM,CAAC,MAAM,CAAC,0BAA0B,CAAC,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE;YAC3G,qBAAqB,EAAE,KAAK;SAC7B,CAAC,CAAC;QAEH,MAAM,eAAe,GAAqB,EAAE,CAAC;QAC7C,KAAK,MAAM,MAAM,IAAI,YAAY,CAAC,MAAM,CAAC,OAAQ,EAAE,CAAC;YAClD,MAAM,cAAc,GAAG,IAAI,cAAc,CACvC,oBAAoB,YAAY,CAAC,MAAM,CAAC,OAAO,IAAI,MAAM,CAAC,SAAS,CAAC,WAAW,EAAE,EACjF;gBACE,YAAY;gBACZ,WAAW;gBACX,WAAW,EAAE,MAAM,CAAC,WAAW,IAAI,SAAS;gBAC5C,aAAa,EAAE,MAAM;gBACrB,IAAI,EAAE,MAAM,CAAC,IAAI;gBACjB,IAAI,EAAE,MAAM,CAAC,aAAa;gBAC1B,QAAQ,EAAE,MAAM;gBAChB,eAAe,EAAE,OAAO;gBACxB,UAAU,EAAE,IAAI;aACjB,EACD,CAAC,mBAAmB,CAAC,CACtB,CAAC;YAEF,aAAa,CAAC,cAAc,CAAC,UAAU,CAAC,GAAG,cAAc,CAAC;YAE1D,eAAe,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QACvC,CAAC;QAED,KAAK,MAAM,QAAQ,IAAI,YAAY,CAAC,MAAM,CAAC,SAAS,EAAE,CAAC;YACrD,MAAM,GAAG,GAAG,YAAY,CAAC,SAAS,CAAC,OAAO,YAAY,CAAC,MAAM,CAAC,OAAO,EAAE,CAAQ,CAAC;YAEhF,MAAM,WAAW,GAAG,IAAI,WAAW,CACjC,gBAAgB,YAAY,CAAC,MAAM,CAAC,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAE,EAC9D;gBACE,YAAY;gBACZ,WAAW;gBACX,cAAc,EAAE,QAAQ,CAAC,cAAc;gBACvC,IAAI,EAAE,QAAQ,CAAC,IAAI;gBACnB,QAAQ,EAAE,MAAM;gBAChB,KAAK,EAAE,QAAQ,CAAC,KAAK;aACtB,EACD;gBACE,IAAI,gBAAgB,CAAC,GAAG,CAAC;gBACzB,GAAI,eAAe,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,gBAAgB,CAAC,CAAC,CAAC,CAA8C;aACrG,CACF,CAAC;YAEF,aAAa,CAAC,WAAW,CAAC,UAAU,CAAC,GAAG,WAAW,CAAC;QACtD,CAAC;QAED,KAAK,MAAM,MAAM,IAAI,YAAY,CAAC,MAAM,CAAC,OAAQ,EAAE,CAAC;YAClD,MAAM,CAAC,kBAAkB,CAAC,GAAG,MAAM,MAAM,CAAC,SAAS,CAAC,0BAA0B,CAC5E,gBAAgB,EAChB;gBACE,EAAE,GAAG,EAAE,cAAc,EAAE,KAAK,EAAE,YAAY,EAAE;gBAC5C,EAAE,GAAG,EAAE,aAAa,EAAE,KAAK,EAAE,WAAW,EAAE;aAC3C,EACD,EAAE,EACF;gBACE,qBAAqB,EAAE,KAAK;aAC7B,CACF,CAAC;YACF,IAAI,CAAC,kBAAkB,EAAE,CAAC;gBACxB,MAAM,IAAI,sCAAsC,CAC9C,uCAAuC,MAAM,CAAC,SAAS,CAAC,WAAW,IAAI,EACvE,IAAI,EACJ,IAAI,CAAC,WAAW,CAAC,IAAI,CACtB,CAAC;YACJ,CAAC;YAEA,kBAAkB,CAAC,SAAS,EAAiB,CAAC,iBAAiB,CAC9D,IAAI,gBAAgB,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,UAAU,CAAC,IAAI,KAAK,MAAM,CAAC,IAAI,CAAE,CAAC,EACrF,MAAM,CAAC,aAAa,CACrB,CAAC;YAEF,aAAa,CAAC,kBAAkB,CAAC,SAAS,EAAE,CAAC,UAAU,CAAC,GAAG,kBAAkB,CAAC,SAAS,EAAE,CAAC;QAC5F,CAAC;QAED,OAAO,aAAa,CAAC;IACvB,CAAC;CACF,CAAA;AAvGY,gCAAgC;IAD5C,MAAM,CAAC,uBAAuB,CAAC;GACnB,gCAAgC,CAuG5C;;AAED;;GAEG;AAEI,IAAM,uCAAuC,GAA7C,MAAM,uCAAuC;IAGlD;;OAEG;IACH,MAAM,CAAC,KAAK,CAAC,MAAM;QACjB,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC;YACnB,IAAI,CAAC,QAAQ,GAAG,IAAI,gCAAgC,EAAE,CAAC;QACzD,CAAC;QACD,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;CACF,CAAA;AAZY,uCAAuC;IADnD,OAAO,CAAmC,gCAAgC,CAAC;GAC/D,uCAAuC,CAYnD"}
|
package/dist/modules/service/aws-s3-static-website-service/aws-s3-static-website-service.module.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AModule
|
|
1
|
+
import { AModule } from '@quadnix/octo';
|
|
2
2
|
import { AwsS3StaticWebsiteServiceModuleSchema } from './index.schema.js';
|
|
3
3
|
import { AwsS3StaticWebsiteService } from './models/service/index.js';
|
|
4
4
|
/**
|
|
@@ -8,32 +8,28 @@ import { AwsS3StaticWebsiteService } from './models/service/index.js';
|
|
|
8
8
|
* filtering, and transformation capabilities.
|
|
9
9
|
* It manages the deployment of static websites from local directories to S3.
|
|
10
10
|
*
|
|
11
|
+
* The bucket is public and served over plain HTTP on its S3 website endpoint. It lives in a region
|
|
12
|
+
* created by `AwsServerlessRegionModule`. To serve files through CloudFront instead, use
|
|
13
|
+
* `AwsS3StorageServiceModule`, whose bucket is closed and fronted by `AwsCloudFrontServiceModule`.
|
|
14
|
+
*
|
|
11
15
|
* @example
|
|
12
16
|
* TypeScript
|
|
13
17
|
* ```ts
|
|
18
|
+
* import { type Region, stub } from '@quadnix/octo';
|
|
14
19
|
* import {
|
|
15
20
|
* AwsS3StaticWebsiteServiceModule
|
|
16
21
|
* } from '@quadnix/octo-aws-cdk/modules/service/aws-s3-static-website-service';
|
|
17
22
|
*
|
|
18
23
|
* octo.loadModule(AwsS3StaticWebsiteServiceModule, 'my-website-module', {
|
|
19
|
-
* account: myAccount,
|
|
20
|
-
* awsRegionId: 'us-east-1',
|
|
21
24
|
* bucketName: 'my-static-website',
|
|
22
|
-
*
|
|
23
|
-
* aliases: ['www.example.com'],
|
|
24
|
-
* certificateArn: 'arn:aws:acm:us-east-1:123456789012:certificate/<id>',
|
|
25
|
-
* },
|
|
26
|
-
* directoryPath: join(__dirname, 'website'),
|
|
25
|
+
* directoryPath: 'website',
|
|
27
26
|
* filter: (filePath) => !filePath.includes('.DS_Store'),
|
|
28
|
-
*
|
|
29
|
-
* transform: (filePath) => `public/${filePath}`,
|
|
27
|
+
* region: stub<Region>('${{my-region-module.model.region}}'),
|
|
30
28
|
* });
|
|
31
29
|
* ```
|
|
32
30
|
*
|
|
33
31
|
* @group Modules/Service/AwsS3StaticWebsiteService
|
|
34
32
|
*
|
|
35
|
-
* @reference Resources {@link CloudFrontDistributionSchema}
|
|
36
|
-
* @reference Resources {@link CloudFrontInvalidationSchema}
|
|
37
33
|
* @reference Resources {@link S3WebsiteSchema}
|
|
38
34
|
*
|
|
39
35
|
* @see {@link AwsS3StaticWebsiteServiceModuleSchema} for the input schema.
|
|
@@ -46,10 +42,9 @@ export declare class AwsS3StaticWebsiteServiceModule extends AModule<AwsS3Static
|
|
|
46
42
|
*/
|
|
47
43
|
onInit(inputs: AwsS3StaticWebsiteServiceModuleSchema): Promise<AwsS3StaticWebsiteService>;
|
|
48
44
|
/**
|
|
49
|
-
* Resolves the
|
|
45
|
+
* Resolves the account and region this bucket is created in.
|
|
50
46
|
*/
|
|
51
47
|
registerMetadata(inputs: AwsS3StaticWebsiteServiceModuleSchema): Promise<{
|
|
52
|
-
app: App;
|
|
53
48
|
awsAccountId: string;
|
|
54
49
|
awsRegionId: string;
|
|
55
50
|
}>;
|
package/dist/modules/service/aws-s3-static-website-service/aws-s3-static-website-service.module.js
CHANGED
|
@@ -4,7 +4,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
4
4
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
|
-
import { AModule, Module
|
|
7
|
+
import { AModule, Module } from '@quadnix/octo';
|
|
8
|
+
import { AwsServerlessRegionAnchorSchema } from '../../../anchors/aws-region/aws-serverless-region.anchor.schema.js';
|
|
8
9
|
import { AwsS3StaticWebsiteServiceModuleSchema } from './index.schema.js';
|
|
9
10
|
import { AwsS3StaticWebsiteService } from './models/service/index.js';
|
|
10
11
|
/**
|
|
@@ -14,32 +15,28 @@ import { AwsS3StaticWebsiteService } from './models/service/index.js';
|
|
|
14
15
|
* filtering, and transformation capabilities.
|
|
15
16
|
* It manages the deployment of static websites from local directories to S3.
|
|
16
17
|
*
|
|
18
|
+
* The bucket is public and served over plain HTTP on its S3 website endpoint. It lives in a region
|
|
19
|
+
* created by `AwsServerlessRegionModule`. To serve files through CloudFront instead, use
|
|
20
|
+
* `AwsS3StorageServiceModule`, whose bucket is closed and fronted by `AwsCloudFrontServiceModule`.
|
|
21
|
+
*
|
|
17
22
|
* @example
|
|
18
23
|
* TypeScript
|
|
19
24
|
* ```ts
|
|
25
|
+
* import { type Region, stub } from '@quadnix/octo';
|
|
20
26
|
* import {
|
|
21
27
|
* AwsS3StaticWebsiteServiceModule
|
|
22
28
|
* } from '@quadnix/octo-aws-cdk/modules/service/aws-s3-static-website-service';
|
|
23
29
|
*
|
|
24
30
|
* octo.loadModule(AwsS3StaticWebsiteServiceModule, 'my-website-module', {
|
|
25
|
-
* account: myAccount,
|
|
26
|
-
* awsRegionId: 'us-east-1',
|
|
27
31
|
* bucketName: 'my-static-website',
|
|
28
|
-
*
|
|
29
|
-
* aliases: ['www.example.com'],
|
|
30
|
-
* certificateArn: 'arn:aws:acm:us-east-1:123456789012:certificate/<id>',
|
|
31
|
-
* },
|
|
32
|
-
* directoryPath: join(__dirname, 'website'),
|
|
32
|
+
* directoryPath: 'website',
|
|
33
33
|
* filter: (filePath) => !filePath.includes('.DS_Store'),
|
|
34
|
-
*
|
|
35
|
-
* transform: (filePath) => `public/${filePath}`,
|
|
34
|
+
* region: stub<Region>('${{my-region-module.model.region}}'),
|
|
36
35
|
* });
|
|
37
36
|
* ```
|
|
38
37
|
*
|
|
39
38
|
* @group Modules/Service/AwsS3StaticWebsiteService
|
|
40
39
|
*
|
|
41
|
-
* @reference Resources {@link CloudFrontDistributionSchema}
|
|
42
|
-
* @reference Resources {@link CloudFrontInvalidationSchema}
|
|
43
40
|
* @reference Resources {@link S3WebsiteSchema}
|
|
44
41
|
*
|
|
45
42
|
* @see {@link AwsS3StaticWebsiteServiceModuleSchema} for the input schema.
|
|
@@ -51,28 +48,26 @@ let AwsS3StaticWebsiteServiceModule = class AwsS3StaticWebsiteServiceModule exte
|
|
|
51
48
|
* Creates the bucket service, and registers the local directory whose files it serves.
|
|
52
49
|
*/
|
|
53
50
|
async onInit(inputs) {
|
|
54
|
-
const { app } = await this.registerMetadata(inputs);
|
|
55
|
-
// Validate the distribution can serve the domains it answers on.
|
|
56
|
-
if (inputs.cloudFront?.aliases?.length && !inputs.cloudFront.certificateArn) {
|
|
57
|
-
throw new ModuleError('A CloudFront certificate is required to serve an alias!', this.constructor.name);
|
|
58
|
-
}
|
|
59
51
|
// Create a new s3-website service.
|
|
60
|
-
const s3StaticWebsiteService = new AwsS3StaticWebsiteService(inputs.bucketName);
|
|
61
|
-
app.addService(s3StaticWebsiteService);
|
|
52
|
+
const s3StaticWebsiteService = new AwsS3StaticWebsiteService(inputs.bucketName, inputs.region);
|
|
62
53
|
// Add website source.
|
|
63
54
|
await s3StaticWebsiteService.addSource(inputs.directoryPath, inputs.subDirectoryOrFilePath || undefined, inputs.filter || undefined, inputs.transform || undefined);
|
|
64
55
|
return s3StaticWebsiteService;
|
|
65
56
|
}
|
|
66
57
|
/**
|
|
67
|
-
* Resolves the
|
|
58
|
+
* Resolves the account and region this bucket is created in.
|
|
68
59
|
*/
|
|
69
60
|
async registerMetadata(inputs) {
|
|
70
|
-
const
|
|
71
|
-
const
|
|
61
|
+
const region = inputs.region;
|
|
62
|
+
const account = region.getParents()['account'][0].to;
|
|
63
|
+
// Get AWS Region ID.
|
|
64
|
+
const [matchingAnchor] = await region.getAnchorsMatchingSchema(AwsServerlessRegionAnchorSchema, [], {
|
|
65
|
+
searchBoundaryMembers: false,
|
|
66
|
+
});
|
|
67
|
+
const awsRegionId = matchingAnchor.getSchemaInstance().properties.awsRegionId;
|
|
72
68
|
return {
|
|
73
|
-
app,
|
|
74
69
|
awsAccountId: account.accountId,
|
|
75
|
-
awsRegionId
|
|
70
|
+
awsRegionId,
|
|
76
71
|
};
|
|
77
72
|
}
|
|
78
73
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aws-s3-static-website-service.module.js","sourceRoot":"","sources":["../../../../src/modules/service/aws-s3-static-website-service/aws-s3-static-website-service.module.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,OAAO,
|
|
1
|
+
{"version":3,"file":"aws-s3-static-website-service.module.js","sourceRoot":"","sources":["../../../../src/modules/service/aws-s3-static-website-service/aws-s3-static-website-service.module.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,OAAO,EAAgB,MAAM,EAAE,MAAM,eAAe,CAAC;AAC9D,OAAO,EAAE,+BAA+B,EAAE,MAAM,oEAAoE,CAAC;AACrH,OAAO,EAAE,qCAAqC,EAAE,MAAM,mBAAmB,CAAC;AAC1E,OAAO,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAEtE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AAEI,IAAM,+BAA+B,GAArC,MAAM,+BAAgC,SAAQ,OAGpD;IACC;;OAEG;IACH,KAAK,CAAC,MAAM,CAAC,MAA6C;QACxD,mCAAmC;QACnC,MAAM,sBAAsB,GAAG,IAAI,yBAAyB,CAAC,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC;QAE/F,sBAAsB;QACtB,MAAM,sBAAsB,CAAC,SAAS,CACpC,MAAM,CAAC,aAAa,EACpB,MAAM,CAAC,sBAAsB,IAAI,SAAS,EAC1C,MAAM,CAAC,MAAM,IAAI,SAAS,EAC1B,MAAM,CAAC,SAAS,IAAI,SAAS,CAC9B,CAAC;QAEF,OAAO,sBAAsB,CAAC;IAChC,CAAC;IAED;;OAEG;IACM,KAAK,CAAC,gBAAgB,CAC7B,MAA6C;QAE7C,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;QAC7B,MAAM,OAAO,GAAG,MAAM,CAAC,UAAU,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,EAAa,CAAC;QAEhE,qBAAqB;QACrB,MAAM,CAAC,cAAc,CAAC,GAAG,MAAM,MAAM,CAAC,wBAAwB,CAAC,+BAA+B,EAAE,EAAE,EAAE;YAClG,qBAAqB,EAAE,KAAK;SAC7B,CAAC,CAAC;QACH,MAAM,WAAW,GAAG,cAAc,CAAC,iBAAiB,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC;QAE9E,OAAO;YACL,YAAY,EAAE,OAAO,CAAC,SAAS;YAC/B,WAAW;SACZ,CAAC;IACJ,CAAC;CACF,CAAA;AA1CY,+BAA+B;IAD3C,MAAM,CAAkC,OAAO,EAAE,qCAAqC,CAAC;GAC3E,+BAA+B,CA0C3C"}
|
|
@@ -1,56 +1,4 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
/**
|
|
3
|
-
* Puts a CloudFront distribution in front of the website bucket.
|
|
4
|
-
*
|
|
5
|
-
* Declaring this closes the bucket: it is no longer reachable on its own, and the distribution
|
|
6
|
-
* becomes the only way in, serving the site over HTTPS from CloudFront's edge locations. It also
|
|
7
|
-
* means a deploy invalidates the edge caches, without which new files would sit behind the old ones
|
|
8
|
-
* for as long as a day.
|
|
9
|
-
*
|
|
10
|
-
* The distribution this builds is one opinion about serving a website out of a bucket. The resource
|
|
11
|
-
* underneath it can do a great deal more - several origins, a routing table over them, policies of
|
|
12
|
-
* its own - and a module wanting that writes its own distribution rather than widening this input.
|
|
13
|
-
*
|
|
14
|
-
* @group Modules/Service/AwsS3StaticWebsiteService
|
|
15
|
-
*
|
|
16
|
-
* @hideconstructor
|
|
17
|
-
*/
|
|
18
|
-
export declare class AwsS3StaticWebsiteServiceModuleCloudFrontSchema {
|
|
19
|
-
/**
|
|
20
|
-
* The custom domain names the distribution answers on, e.g. `docs.example.com`.
|
|
21
|
-
* Each one needs a DNS record pointing at the distribution, which this module does not create.
|
|
22
|
-
* Leaving this empty serves the site on the `*.cloudfront.net` domain CloudFront assigns.
|
|
23
|
-
*/
|
|
24
|
-
aliases?: string[] | undefined;
|
|
25
|
-
/**
|
|
26
|
-
* The ARN of the ACM certificate covering every entry in `aliases`.
|
|
27
|
-
* CloudFront only reads certificates from `us-east-1`, wherever the bucket itself lives.
|
|
28
|
-
* Required when `aliases` is set, and pointless without it.
|
|
29
|
-
*/
|
|
30
|
-
certificateArn?: string | null | undefined;
|
|
31
|
-
/**
|
|
32
|
-
* What a visitor gets for a path the bucket has nothing at. The two answers are opposites, and
|
|
33
|
-
* which one is right is a fact about the site rather than about CloudFront.
|
|
34
|
-
*
|
|
35
|
-
* * `error-document` returns a real `404` carrying the site's error document. This is what a
|
|
36
|
-
* content site wants: a missing page is missing, and a search engine should be told so.
|
|
37
|
-
* * `single-page-app` returns a `200` carrying the index document, so that the app's own router
|
|
38
|
-
* decides what the path means. A single-page app needs this, and a content site using it would
|
|
39
|
-
* report every typo as a working page.
|
|
40
|
-
*/
|
|
41
|
-
notFoundBehavior?: "error-document" | "single-page-app" | undefined;
|
|
42
|
-
/**
|
|
43
|
-
* Which edge locations serve the site, which is what the distribution costs.
|
|
44
|
-
* `PriceClass_100` is North America and Europe alone and is the cheapest;
|
|
45
|
-
* `PriceClass_All` serves from everywhere.
|
|
46
|
-
*/
|
|
47
|
-
priceClass?: "PriceClass_100" | "PriceClass_200" | "PriceClass_All" | undefined;
|
|
48
|
-
/**
|
|
49
|
-
* The ARN of a web ACL to put in front of the distribution, or `null` for none.
|
|
50
|
-
* The ACL is not created here, and CloudFront only reads one from `us-east-1`.
|
|
51
|
-
*/
|
|
52
|
-
webAclArn?: string | null | undefined;
|
|
53
|
-
}
|
|
1
|
+
import { type Region } from '@quadnix/octo';
|
|
54
2
|
/**
|
|
55
3
|
* `AwsS3StaticWebsiteServiceModuleSchema` is the input schema for the `AwsS3StaticWebsiteServiceModule` module.
|
|
56
4
|
* This schema defines the configuration for S3-based static website services including bucket naming,
|
|
@@ -63,27 +11,12 @@ export declare class AwsS3StaticWebsiteServiceModuleCloudFrontSchema {
|
|
|
63
11
|
* @see {@link AwsS3StaticWebsiteServiceModule} to learn more about the `AwsS3StaticWebsiteServiceModule` module.
|
|
64
12
|
*/
|
|
65
13
|
export declare class AwsS3StaticWebsiteServiceModuleSchema {
|
|
66
|
-
/**
|
|
67
|
-
* The AWS account that this service will be associated with.
|
|
68
|
-
* Only AWS account types are supported for this module.
|
|
69
|
-
*/
|
|
70
|
-
account: Account;
|
|
71
|
-
/**
|
|
72
|
-
* The AWS region that this service will be associated with.
|
|
73
|
-
*/
|
|
74
|
-
awsRegionId: string;
|
|
75
14
|
/**
|
|
76
15
|
* The name of the S3 bucket to create for the static website.
|
|
77
16
|
* This name must be globally unique across all AWS accounts and regions.
|
|
78
17
|
* Must follow S3 bucket naming conventions.
|
|
79
18
|
*/
|
|
80
19
|
bucketName: string;
|
|
81
|
-
/**
|
|
82
|
-
* Serves the bucket through a CloudFront distribution, and closes the bucket to everything else.
|
|
83
|
-
* Omitting this serves the bucket directly from its S3 website endpoint, over plain HTTP.
|
|
84
|
-
* See {@link AwsS3StaticWebsiteServiceModuleCloudFrontSchema} for options.
|
|
85
|
-
*/
|
|
86
|
-
cloudFront?: AwsS3StaticWebsiteServiceModuleCloudFrontSchema | null | undefined;
|
|
87
20
|
/**
|
|
88
21
|
* The local directory path containing the static website files.
|
|
89
22
|
* This is the source directory that will be synchronized to S3.
|
|
@@ -95,6 +28,10 @@ export declare class AwsS3StaticWebsiteServiceModuleSchema {
|
|
|
95
28
|
* Useful for excluding development files, system files, or temporary files.
|
|
96
29
|
*/
|
|
97
30
|
filter?: ((filePath: string) => boolean) | null | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* The region the website bucket is created in, as produced by the `AwsServerlessRegionModule` module.
|
|
33
|
+
*/
|
|
34
|
+
region: Region;
|
|
98
35
|
/**
|
|
99
36
|
* Optional subdirectory or specific file path within the source directory.
|
|
100
37
|
* When specified, only this subdirectory or file will be uploaded instead of the entire directory.,
|
|
@@ -7,91 +7,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
/**
|
|
13
|
-
* Puts a CloudFront distribution in front of the website bucket.
|
|
14
|
-
*
|
|
15
|
-
* Declaring this closes the bucket: it is no longer reachable on its own, and the distribution
|
|
16
|
-
* becomes the only way in, serving the site over HTTPS from CloudFront's edge locations. It also
|
|
17
|
-
* means a deploy invalidates the edge caches, without which new files would sit behind the old ones
|
|
18
|
-
* for as long as a day.
|
|
19
|
-
*
|
|
20
|
-
* The distribution this builds is one opinion about serving a website out of a bucket. The resource
|
|
21
|
-
* underneath it can do a great deal more - several origins, a routing table over them, policies of
|
|
22
|
-
* its own - and a module wanting that writes its own distribution rather than widening this input.
|
|
23
|
-
*
|
|
24
|
-
* @group Modules/Service/AwsS3StaticWebsiteService
|
|
25
|
-
*
|
|
26
|
-
* @hideconstructor
|
|
27
|
-
*/
|
|
28
|
-
export class AwsS3StaticWebsiteServiceModuleCloudFrontSchema {
|
|
29
|
-
constructor() {
|
|
30
|
-
/**
|
|
31
|
-
* The custom domain names the distribution answers on, e.g. `docs.example.com`.
|
|
32
|
-
* Each one needs a DNS record pointing at the distribution, which this module does not create.
|
|
33
|
-
* Leaving this empty serves the site on the `*.cloudfront.net` domain CloudFront assigns.
|
|
34
|
-
*/
|
|
35
|
-
this.aliases = Schema([]);
|
|
36
|
-
/**
|
|
37
|
-
* The ARN of the ACM certificate covering every entry in `aliases`.
|
|
38
|
-
* CloudFront only reads certificates from `us-east-1`, wherever the bucket itself lives.
|
|
39
|
-
* Required when `aliases` is set, and pointless without it.
|
|
40
|
-
*/
|
|
41
|
-
this.certificateArn = Schema(null);
|
|
42
|
-
/**
|
|
43
|
-
* What a visitor gets for a path the bucket has nothing at. The two answers are opposites, and
|
|
44
|
-
* which one is right is a fact about the site rather than about CloudFront.
|
|
45
|
-
*
|
|
46
|
-
* * `error-document` returns a real `404` carrying the site's error document. This is what a
|
|
47
|
-
* content site wants: a missing page is missing, and a search engine should be told so.
|
|
48
|
-
* * `single-page-app` returns a `200` carrying the index document, so that the app's own router
|
|
49
|
-
* decides what the path means. A single-page app needs this, and a content site using it would
|
|
50
|
-
* report every typo as a working page.
|
|
51
|
-
*/
|
|
52
|
-
this.notFoundBehavior = Schema('error-document');
|
|
53
|
-
/**
|
|
54
|
-
* Which edge locations serve the site, which is what the distribution costs.
|
|
55
|
-
* `PriceClass_100` is North America and Europe alone and is the cheapest;
|
|
56
|
-
* `PriceClass_All` serves from everywhere.
|
|
57
|
-
*/
|
|
58
|
-
this.priceClass = Schema('PriceClass_All');
|
|
59
|
-
/**
|
|
60
|
-
* The ARN of a web ACL to put in front of the distribution, or `null` for none.
|
|
61
|
-
* The ACL is not created here, and CloudFront only reads one from `us-east-1`.
|
|
62
|
-
*/
|
|
63
|
-
this.webAclArn = Schema(null);
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
__decorate([
|
|
67
|
-
Validate({
|
|
68
|
-
destruct: (value) => value,
|
|
69
|
-
options: { minLength: 1 },
|
|
70
|
-
}),
|
|
71
|
-
__metadata("design:type", Object)
|
|
72
|
-
], AwsS3StaticWebsiteServiceModuleCloudFrontSchema.prototype, "aliases", void 0);
|
|
73
|
-
__decorate([
|
|
74
|
-
Validate({
|
|
75
|
-
destruct: (value) => value ? [value] : [],
|
|
76
|
-
options: { minLength: 1 },
|
|
77
|
-
}),
|
|
78
|
-
__metadata("design:type", Object)
|
|
79
|
-
], AwsS3StaticWebsiteServiceModuleCloudFrontSchema.prototype, "certificateArn", void 0);
|
|
80
|
-
__decorate([
|
|
81
|
-
Validate({ options: { minLength: 1 } }),
|
|
82
|
-
__metadata("design:type", Object)
|
|
83
|
-
], AwsS3StaticWebsiteServiceModuleCloudFrontSchema.prototype, "notFoundBehavior", void 0);
|
|
84
|
-
__decorate([
|
|
85
|
-
Validate({ options: { minLength: 1 } }),
|
|
86
|
-
__metadata("design:type", Object)
|
|
87
|
-
], AwsS3StaticWebsiteServiceModuleCloudFrontSchema.prototype, "priceClass", void 0);
|
|
88
|
-
__decorate([
|
|
89
|
-
Validate({
|
|
90
|
-
destruct: (value) => (value ? [value] : []),
|
|
91
|
-
options: { minLength: 1 },
|
|
92
|
-
}),
|
|
93
|
-
__metadata("design:type", Object)
|
|
94
|
-
], AwsS3StaticWebsiteServiceModuleCloudFrontSchema.prototype, "webAclArn", void 0);
|
|
10
|
+
import { RegionSchema, Schema, Validate } from '@quadnix/octo';
|
|
11
|
+
import { AwsServerlessRegionAnchorSchema } from '../../../anchors/aws-region/aws-serverless-region.anchor.schema.js';
|
|
95
12
|
/**
|
|
96
13
|
* `AwsS3StaticWebsiteServiceModuleSchema` is the input schema for the `AwsS3StaticWebsiteServiceModule` module.
|
|
97
14
|
* This schema defines the configuration for S3-based static website services including bucket naming,
|
|
@@ -105,27 +22,12 @@ __decorate([
|
|
|
105
22
|
*/
|
|
106
23
|
export class AwsS3StaticWebsiteServiceModuleSchema {
|
|
107
24
|
constructor() {
|
|
108
|
-
/**
|
|
109
|
-
* The AWS account that this service will be associated with.
|
|
110
|
-
* Only AWS account types are supported for this module.
|
|
111
|
-
*/
|
|
112
|
-
this.account = Schema();
|
|
113
|
-
/**
|
|
114
|
-
* The AWS region that this service will be associated with.
|
|
115
|
-
*/
|
|
116
|
-
this.awsRegionId = Schema();
|
|
117
25
|
/**
|
|
118
26
|
* The name of the S3 bucket to create for the static website.
|
|
119
27
|
* This name must be globally unique across all AWS accounts and regions.
|
|
120
28
|
* Must follow S3 bucket naming conventions.
|
|
121
29
|
*/
|
|
122
30
|
this.bucketName = Schema();
|
|
123
|
-
/**
|
|
124
|
-
* Serves the bucket through a CloudFront distribution, and closes the bucket to everything else.
|
|
125
|
-
* Omitting this serves the bucket directly from its S3 website endpoint, over plain HTTP.
|
|
126
|
-
* See {@link AwsS3StaticWebsiteServiceModuleCloudFrontSchema} for options.
|
|
127
|
-
*/
|
|
128
|
-
this.cloudFront = Schema(null);
|
|
129
31
|
/**
|
|
130
32
|
* The local directory path containing the static website files.
|
|
131
33
|
* This is the source directory that will be synchronized to S3.
|
|
@@ -137,6 +39,10 @@ export class AwsS3StaticWebsiteServiceModuleSchema {
|
|
|
137
39
|
* Useful for excluding development files, system files, or temporary files.
|
|
138
40
|
*/
|
|
139
41
|
this.filter = Schema(null);
|
|
42
|
+
/**
|
|
43
|
+
* The region the website bucket is created in, as produced by the `AwsServerlessRegionModule` module.
|
|
44
|
+
*/
|
|
45
|
+
this.region = Schema();
|
|
140
46
|
/**
|
|
141
47
|
* Optional subdirectory or specific file path within the source directory.
|
|
142
48
|
* When specified, only this subdirectory or file will be uploaded instead of the entire directory.,
|
|
@@ -154,37 +60,10 @@ export class AwsS3StaticWebsiteServiceModuleSchema {
|
|
|
154
60
|
this.transform = Schema(null);
|
|
155
61
|
}
|
|
156
62
|
}
|
|
157
|
-
__decorate([
|
|
158
|
-
Validate([
|
|
159
|
-
{
|
|
160
|
-
options: {
|
|
161
|
-
isModel: { anchors: [{ schema: AwsAccountAnchorSchema }], NODE_NAME: 'account' },
|
|
162
|
-
},
|
|
163
|
-
},
|
|
164
|
-
{
|
|
165
|
-
destruct: (value) => [value.synth()],
|
|
166
|
-
options: {
|
|
167
|
-
isSchema: { schema: AccountSchema },
|
|
168
|
-
},
|
|
169
|
-
},
|
|
170
|
-
]),
|
|
171
|
-
__metadata("design:type", Object)
|
|
172
|
-
], AwsS3StaticWebsiteServiceModuleSchema.prototype, "account", void 0);
|
|
173
|
-
__decorate([
|
|
174
|
-
Validate({ options: { minLength: 1 } }),
|
|
175
|
-
__metadata("design:type", Object)
|
|
176
|
-
], AwsS3StaticWebsiteServiceModuleSchema.prototype, "awsRegionId", void 0);
|
|
177
63
|
__decorate([
|
|
178
64
|
Validate({ options: { minLength: 1 } }),
|
|
179
65
|
__metadata("design:type", Object)
|
|
180
66
|
], AwsS3StaticWebsiteServiceModuleSchema.prototype, "bucketName", void 0);
|
|
181
|
-
__decorate([
|
|
182
|
-
Validate({
|
|
183
|
-
destruct: (value) => (value ? [value] : []),
|
|
184
|
-
options: { isSchema: { schema: AwsS3StaticWebsiteServiceModuleCloudFrontSchema } },
|
|
185
|
-
}),
|
|
186
|
-
__metadata("design:type", Object)
|
|
187
|
-
], AwsS3StaticWebsiteServiceModuleSchema.prototype, "cloudFront", void 0);
|
|
188
67
|
__decorate([
|
|
189
68
|
Validate({ options: { minLength: 1 } }),
|
|
190
69
|
__metadata("design:type", Object)
|
|
@@ -204,6 +83,20 @@ __decorate([
|
|
|
204
83
|
}),
|
|
205
84
|
__metadata("design:type", Object)
|
|
206
85
|
], AwsS3StaticWebsiteServiceModuleSchema.prototype, "filter", void 0);
|
|
86
|
+
__decorate([
|
|
87
|
+
Validate([
|
|
88
|
+
{
|
|
89
|
+
options: {
|
|
90
|
+
isModel: { anchors: [{ schema: AwsServerlessRegionAnchorSchema }], NODE_NAME: 'region' },
|
|
91
|
+
},
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
destruct: (value) => [value.synth()],
|
|
95
|
+
options: { isSchema: { schema: RegionSchema } },
|
|
96
|
+
},
|
|
97
|
+
]),
|
|
98
|
+
__metadata("design:type", Object)
|
|
99
|
+
], AwsS3StaticWebsiteServiceModuleSchema.prototype, "region", void 0);
|
|
207
100
|
__decorate([
|
|
208
101
|
Validate({
|
|
209
102
|
destruct: (value) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.schema.js","sourceRoot":"","sources":["../../../../src/modules/service/aws-s3-static-website-service/index.schema.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.schema.js","sourceRoot":"","sources":["../../../../src/modules/service/aws-s3-static-website-service/index.schema.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAe,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAC5E,OAAO,EAAE,+BAA+B,EAAE,MAAM,oEAAoE,CAAC;AAErH;;;;;;;;;;GAUG;AACH,MAAM,OAAO,qCAAqC;IAAlD;QACE;;;;WAIG;QAEH,eAAU,GAAG,MAAM,EAAU,CAAC;QAE9B;;;WAGG;QAEH,kBAAa,GAAG,MAAM,EAAU,CAAC;QAEjC;;;;WAIG;QAaH,WAAM,GAAI,MAAM,CAAyC,IAAI,CAAC,CAAC;QAE/D;;WAEG;QAYH,WAAM,GAAG,MAAM,EAAU,CAAC;QAE1B;;;;;;;WAOG;QAWH,2BAAsB,GAAI,MAAM,CAAgB,IAAI,CAAC,CAAC;QAEtD;;;;WAIG;QAaH,cAAS,GAAI,MAAM,CAAwC,IAAI,CAAC,CAAC;IACnE,CAAC;CAAA;AAlFC;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,EAAE,CAAC;;yEACV;AAO9B;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,EAAE,CAAC;;4EACP;AAmBjC;IAZC,QAAQ,CAAC;QACR,QAAQ,EAAE,CAAC,KAAsD,EAAqC,EAAE;YACtG,MAAM,QAAQ,GAAsC,EAAE,CAAC;YACvD,IAAI,KAAK,EAAE,CAAC;gBACV,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YACvB,CAAC;YACD,OAAO,QAAQ,CAAC;QAClB,CAAC;QACD,OAAO,EAAE;YACP,MAAM,EAAE,CAAC,KAAwC,EAAW,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,UAAU,CAAC;SAC3G;KACF,CAAC;;qEAC6D;AAgB/D;IAXC,QAAQ,CAAC;QACR;YACE,OAAO,EAAE;gBACP,OAAO,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,MAAM,EAAE,+BAA+B,EAAE,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE;aACzF;SACF;QACD;YACE,QAAQ,EAAE,CAAC,KAAsD,EAAkB,EAAE,CAAC,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC;YACrG,OAAO,EAAE,EAAE,QAAQ,EAAE,EAAE,MAAM,EAAE,YAAY,EAAE,EAAE;SAChD;KACF,CAAC;;qEACwB;AAoB1B;IAVC,QAAQ,CAAC;QACR,QAAQ,EAAE,CAAC,KAAsE,EAAY,EAAE;YAC7F,MAAM,QAAQ,GAAa,EAAE,CAAC;YAC9B,IAAI,KAAK,EAAE,CAAC;gBACV,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YACvB,CAAC;YACD,OAAO,QAAQ,CAAC;QAClB,CAAC;QACD,OAAO,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE;KAC1B,CAAC;;qFACoD;AAmBtD;IAZC,QAAQ,CAAC;QACR,QAAQ,EAAE,CAAC,KAAyD,EAAoC,EAAE;YACxG,MAAM,QAAQ,GAAqC,EAAE,CAAC;YACtD,IAAI,KAAK,EAAE,CAAC;gBACV,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YACvB,CAAC;YACD,OAAO,QAAQ,CAAC;QAClB,CAAC;QACD,OAAO,EAAE;YACP,MAAM,EAAE,CAAC,KAAuC,EAAW,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,UAAU,CAAC;SAC1G;KACF,CAAC;;wEAC+D"}
|