@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
|
@@ -6,6 +6,7 @@ import { AwsSimpleSubnetLocalFilesystemMountOverlaySchema } from './aws-simple-s
|
|
|
6
6
|
* @internal
|
|
7
7
|
*/
|
|
8
8
|
export declare class AwsSimpleSubnetLocalFilesystemMountOverlay extends AOverlay<AwsSimpleSubnetLocalFilesystemMountOverlaySchema, AwsSimpleSubnetLocalFilesystemMountOverlay> {
|
|
9
|
+
anchors: [MatchingAnchor<AwsEfsAnchorSchema>, AwsSubnetAnchor];
|
|
9
10
|
properties: AwsSimpleSubnetLocalFilesystemMountOverlaySchema['properties'];
|
|
10
11
|
/**
|
|
11
12
|
* @internal
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aws-simple-subnet-local-filesystem-mount.overlay.js","sourceRoot":"","sources":["../../../../../../src/modules/subnet/aws-simple-subnet/overlays/aws-simple-subnet-local-filesystem-mount/aws-simple-subnet-local-filesystem-mount.overlay.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,QAAQ,EAAkC,OAAO,EAAE,MAAM,eAAe,CAAC;AAGlF,OAAO,EAAE,gDAAgD,EAAE,MAAM,sDAAsD,CAAC;AAExH;;GAEG;AAEI,IAAM,0CAA0C,GAAhD,MAAM,0CAA2C,SAAQ,QAG/D;
|
|
1
|
+
{"version":3,"file":"aws-simple-subnet-local-filesystem-mount.overlay.js","sourceRoot":"","sources":["../../../../../../src/modules/subnet/aws-simple-subnet/overlays/aws-simple-subnet-local-filesystem-mount/aws-simple-subnet-local-filesystem-mount.overlay.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,QAAQ,EAAkC,OAAO,EAAE,MAAM,eAAe,CAAC;AAGlF,OAAO,EAAE,gDAAgD,EAAE,MAAM,sDAAsD,CAAC;AAExH;;GAEG;AAEI,IAAM,0CAA0C,GAAhD,MAAM,0CAA2C,SAAQ,QAG/D;IAIC;;OAEG;IACH,YACE,SAAiB,EACjB,UAA0E,EAC1E,OAA8D;QAE9D,KAAK,CAAC,SAAS,EAAE,UAAU,EAAE,OAAO,CAAC,CAAC;IACxC,CAAC;IAED;;OAEG;IACM,KAAK,CAAC,WAAW;QACxB,OAAO,EAAE,CAAC;IACZ,CAAC;CACF,CAAA;AAxBY,0CAA0C;IADtD,OAAO,CAAC,OAAO,EAAE,kDAAkD,EAAE,gDAAgD,CAAC;;GAC1G,0CAA0C,CAwBtD"}
|
|
@@ -85,7 +85,9 @@ let Alb = class Alb extends ATerraformResource {
|
|
|
85
85
|
}
|
|
86
86
|
};
|
|
87
87
|
Alb = __decorate([
|
|
88
|
-
Resource('@octo', 'alb', AlbSchema
|
|
88
|
+
Resource('@octo', 'alb', AlbSchema, {
|
|
89
|
+
uniqueProperties: [{ path: 'Name', within: ['awsAccountId', 'awsRegionId'] }],
|
|
90
|
+
}),
|
|
89
91
|
__metadata("design:paramtypes", [String, Object, Array])
|
|
90
92
|
], Alb);
|
|
91
93
|
export { Alb };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alb.resource.js","sourceRoot":"","sources":["../../../src/resources/alb/alb.resource.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAA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B,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC,cAAc,EAAE,aAAa,CAAC,EAAE,CAAC;KAC9E,CAAC;;GACW,GAAG,CAsGf"}
|
|
@@ -189,7 +189,7 @@ export declare class AlbListenerRuleHttpRequestMethodConditionSchema {
|
|
|
189
189
|
* Matches on the value of the path in the HTTP request.
|
|
190
190
|
* You must provide one or more paths to match on.
|
|
191
191
|
*
|
|
192
|
-
* For more information on
|
|
192
|
+
* For more information on path patterns, please refer to the AWS documentation.
|
|
193
193
|
*
|
|
194
194
|
* @group Resources/AlbListener
|
|
195
195
|
*
|
|
@@ -241,7 +241,7 @@ export declare class AlbListenerRuleSourceIpConditionSchema {
|
|
|
241
241
|
* alb((Alb)) --> alb_listener((Alb<br>Listener))
|
|
242
242
|
* alb_target_group((Alb<br>Target<br>Group)) --> alb_listener
|
|
243
243
|
* ```
|
|
244
|
-
* @overrideProperty resourceId - The resource id is of format `alb-listener-<alb-name>`
|
|
244
|
+
* @overrideProperty resourceId - The resource id is of format `alb-listener-<alb-name>-<port>`
|
|
245
245
|
*/
|
|
246
246
|
export declare class AlbListenerSchema extends BaseResourceSchema {
|
|
247
247
|
/**
|
|
@@ -271,7 +271,7 @@ __decorate([
|
|
|
271
271
|
* Matches on the value of the path in the HTTP request.
|
|
272
272
|
* You must provide one or more paths to match on.
|
|
273
273
|
*
|
|
274
|
-
* For more information on
|
|
274
|
+
* For more information on path patterns, please refer to the AWS documentation.
|
|
275
275
|
*
|
|
276
276
|
* @group Resources/AlbListener
|
|
277
277
|
*
|
|
@@ -359,7 +359,7 @@ __decorate([
|
|
|
359
359
|
* alb((Alb)) --> alb_listener((Alb<br>Listener))
|
|
360
360
|
* alb_target_group((Alb<br>Target<br>Group)) --> alb_listener
|
|
361
361
|
* ```
|
|
362
|
-
* @overrideProperty resourceId - The resource id is of format `alb-listener-<alb-name>`
|
|
362
|
+
* @overrideProperty resourceId - The resource id is of format `alb-listener-<alb-name>-<port>`
|
|
363
363
|
*/
|
|
364
364
|
export class AlbListenerSchema extends BaseResourceSchema {
|
|
365
365
|
constructor() {
|
|
@@ -72,7 +72,9 @@ let AlbTargetGroup = class AlbTargetGroup extends ATerraformResource {
|
|
|
72
72
|
}
|
|
73
73
|
};
|
|
74
74
|
AlbTargetGroup = __decorate([
|
|
75
|
-
Resource('@octo', 'alb-target-group', AlbTargetGroupSchema
|
|
75
|
+
Resource('@octo', 'alb-target-group', AlbTargetGroupSchema, {
|
|
76
|
+
uniqueProperties: [{ path: 'Name', within: ['awsAccountId', 'awsRegionId'] }],
|
|
77
|
+
}),
|
|
76
78
|
__metadata("design:paramtypes", [String, Object, Array])
|
|
77
79
|
], AlbTargetGroup);
|
|
78
80
|
export { AlbTargetGroup };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alb-target-group.resource.js","sourceRoot":"","sources":["../../../src/resources/alb-target-group/alb-target-group.resource.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,kBAAkB,EAClB,IAAI,EACJ,UAAU,EACV,WAAW,EAEX,QAAQ,GAET,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAEzD;;GAEG;
|
|
1
|
+
{"version":3,"file":"alb-target-group.resource.js","sourceRoot":"","sources":["../../../src/resources/alb-target-group/alb-target-group.resource.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,kBAAkB,EAClB,IAAI,EACJ,UAAU,EACV,WAAW,EAEX,QAAQ,GAET,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAEzD;;GAEG;AAII,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,kBAAwD;IAK1F;;OAEG;IACH,YACE,UAAkB,EAClB,UAA8C,EAC9C,OAAsC;QAEtC,KAAK,CAAC,UAAU,EAAE,UAAU,EAAE,OAAO,CAAC,CAAC;IACzC,CAA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AH1B,QAAQ,CAAiB,OAAO,EAAE,kBAAkB,EAAE,oBAAoB,EAAE;QAC3E,gBAAgB,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC,cAAc,EAAE,aAAa,CAAC,EAAE,CAAC;KAC9E,CAAC;;GACW,cAAc,CAoF1B"}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import { type ICloudFrontPolicyReference } from './cloudfront-policy.schema.js';
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
5
|
+
export declare const CLOUDFRONT_ALLOWED_METHODS: readonly [readonly ["GET", "HEAD"], readonly ["GET", "HEAD", "OPTIONS"], readonly ["GET", "HEAD", "OPTIONS", "PUT", "POST", "PATCH", "DELETE"]];
|
|
6
|
+
/**
|
|
7
|
+
* The HTTP methods CloudFront forwards to the origin. CloudFront accepts these three sets alone. The
|
|
8
|
+
* type lists each in the order AWS does; validation accepts any order.
|
|
9
|
+
* * `['GET', 'HEAD']` - A CDN of static files.
|
|
10
|
+
* * `['GET', 'HEAD', 'OPTIONS']` - Static files, plus CORS preflight requests.
|
|
11
|
+
* * `['GET', 'HEAD', 'OPTIONS', 'PUT', 'POST', 'PATCH', 'DELETE']` - A reverse proxy in front of an API.
|
|
12
|
+
*
|
|
13
|
+
* @group Resources/CloudFrontDistribution
|
|
14
|
+
*/
|
|
15
|
+
export type ICloudFrontAllowedMethods = (typeof CLOUDFRONT_ALLOWED_METHODS)[number];
|
|
16
|
+
/**
|
|
17
|
+
* @internal
|
|
18
|
+
*/
|
|
19
|
+
export declare const CLOUDFRONT_CACHED_METHODS: readonly [readonly ["GET", "HEAD"], readonly ["GET", "HEAD", "OPTIONS"]];
|
|
20
|
+
/**
|
|
21
|
+
* The HTTP methods whose responses CloudFront caches. CloudFront accepts these two sets alone, and
|
|
22
|
+
* the set must be within the allowed methods. Validation accepts any order.
|
|
23
|
+
*
|
|
24
|
+
* @group Resources/CloudFrontDistribution
|
|
25
|
+
*/
|
|
26
|
+
export type ICloudFrontCachedMethods = (typeof CLOUDFRONT_CACHED_METHODS)[number];
|
|
27
|
+
declare const CLOUDFRONT_FUNCTION_EVENT_TYPES: readonly ["origin-request", "origin-response", "viewer-request", "viewer-response"];
|
|
28
|
+
/**
|
|
29
|
+
* Which event in the request lifecycle an edge function runs on.
|
|
30
|
+
* CloudFront Functions may only run on a viewer event; Lambda@Edge may run on any of the four.
|
|
31
|
+
*
|
|
32
|
+
* @group Resources/CloudFrontDistribution
|
|
33
|
+
*/
|
|
34
|
+
export type ICloudFrontFunctionEventType = (typeof CLOUDFRONT_FUNCTION_EVENT_TYPES)[number];
|
|
35
|
+
declare const CLOUDFRONT_FUNCTION_KINDS: readonly ["cloudfront-function", "lambda-edge"];
|
|
36
|
+
/**
|
|
37
|
+
* Which engine runs an edge function.
|
|
38
|
+
* * `cloudfront-function` - JavaScript at the edge. It may only bind to a viewer event.
|
|
39
|
+
* * `lambda-edge` - Lambda@Edge. It may bind to any of the four events.
|
|
40
|
+
*
|
|
41
|
+
* @group Resources/CloudFrontDistribution
|
|
42
|
+
*/
|
|
43
|
+
export type ICloudFrontFunctionKind = (typeof CLOUDFRONT_FUNCTION_KINDS)[number];
|
|
44
|
+
/**
|
|
45
|
+
* @internal
|
|
46
|
+
*/
|
|
47
|
+
export declare const CLOUDFRONT_VIEWER_PROTOCOL_POLICIES: readonly ["allow-all", "https-only", "redirect-to-https"];
|
|
48
|
+
/**
|
|
49
|
+
* What CloudFront does with a plain HTTP request.
|
|
50
|
+
* * `allow-all` - Serves it over HTTP.
|
|
51
|
+
* * `https-only` - Refuses it with a `403`.
|
|
52
|
+
* * `redirect-to-https` - Redirects it to HTTPS with a `301`.
|
|
53
|
+
*
|
|
54
|
+
* @group Resources/CloudFrontDistribution
|
|
55
|
+
*/
|
|
56
|
+
export type ICloudFrontViewerProtocolPolicy = (typeof CLOUDFRONT_VIEWER_PROTOCOL_POLICIES)[number];
|
|
57
|
+
/**
|
|
58
|
+
* An edge function CloudFront runs for a behavior. The function itself is not created here - pass
|
|
59
|
+
* the ARN of one that already exists.
|
|
60
|
+
*
|
|
61
|
+
* @group Resources/CloudFrontDistribution
|
|
62
|
+
*
|
|
63
|
+
* @hideconstructor
|
|
64
|
+
*/
|
|
65
|
+
export declare class CloudFrontFunctionAssociationSchema {
|
|
66
|
+
/**
|
|
67
|
+
* The ARN of the CloudFront Function or the Lambda@Edge function version.
|
|
68
|
+
*/
|
|
69
|
+
arn: string;
|
|
70
|
+
/**
|
|
71
|
+
* Which lifecycle event the function runs on. See {@link ICloudFrontFunctionEventType}.
|
|
72
|
+
*/
|
|
73
|
+
eventType: "origin-request" | "origin-response" | "viewer-request" | "viewer-response";
|
|
74
|
+
/**
|
|
75
|
+
* Which engine runs it. See {@link ICloudFrontFunctionKind}.
|
|
76
|
+
*/
|
|
77
|
+
kind: "cloudfront-function" | "lambda-edge";
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* One rule binding a set of paths to an origin, and deciding everything about how those paths are
|
|
81
|
+
* served.
|
|
82
|
+
*
|
|
83
|
+
* @group Resources/CloudFrontDistribution
|
|
84
|
+
*
|
|
85
|
+
* @hideconstructor
|
|
86
|
+
*/
|
|
87
|
+
export declare class CloudFrontBehaviorSchema {
|
|
88
|
+
/**
|
|
89
|
+
* The HTTP methods CloudFront forwards to the origin. See {@link ICloudFrontAllowedMethods}.
|
|
90
|
+
*/
|
|
91
|
+
allowedMethods?: readonly ["GET", "HEAD"] | readonly ["GET", "HEAD", "OPTIONS"] | readonly ["GET", "HEAD", "OPTIONS", "PUT", "POST", "PATCH", "DELETE"] | undefined;
|
|
92
|
+
/**
|
|
93
|
+
* The subset of `allowedMethods` whose responses CloudFront caches. See
|
|
94
|
+
* {@link ICloudFrontCachedMethods}.
|
|
95
|
+
*/
|
|
96
|
+
cachedMethods?: readonly ["GET", "HEAD"] | readonly ["GET", "HEAD", "OPTIONS"] | undefined;
|
|
97
|
+
/**
|
|
98
|
+
* Which policy decides the cache key and the TTLs. See {@link ICloudFrontPolicyReference}, and
|
|
99
|
+
* {@link ICloudFrontManagedCachePolicy} for the managed ones.
|
|
100
|
+
*/
|
|
101
|
+
cachePolicy: ICloudFrontPolicyReference<"Managed-CachingDisabled" | "Managed-CachingOptimized" | "Managed-CachingOptimizedForUncompressedObjects" | "UseOriginCacheControlHeaders" | "UseOriginCacheControlHeaders-QueryStrings">;
|
|
102
|
+
/**
|
|
103
|
+
* Whether CloudFront compresses the response for viewers that accept it.
|
|
104
|
+
*/
|
|
105
|
+
compress?: boolean | undefined;
|
|
106
|
+
/**
|
|
107
|
+
* Edge functions to run for this behavior. See {@link CloudFrontFunctionAssociationSchema}.
|
|
108
|
+
*/
|
|
109
|
+
functionAssociations?: CloudFrontFunctionAssociationSchema[] | undefined;
|
|
110
|
+
/**
|
|
111
|
+
* Which policy decides what reaches the origin, independently of the cache key.
|
|
112
|
+
* `null` forwards only what the cache policy already selected.
|
|
113
|
+
* See {@link ICloudFrontManagedOriginRequestPolicy} for the managed ones.
|
|
114
|
+
*/
|
|
115
|
+
originRequestPolicy?: ICloudFrontPolicyReference<"Managed-AllViewer" | "Managed-AllViewerAndCloudFrontHeaders-2022-06" | "Managed-AllViewerExceptHostHeader" | "Managed-CORS-CustomOrigin" | "Managed-CORS-S3Origin" | "Managed-HostHeaderOnly" | "Managed-UserAgentRefererHeaders"> | null | undefined;
|
|
116
|
+
/**
|
|
117
|
+
* The paths this behavior claims, e.g. `/api/*`. Absent on the default behavior, which claims
|
|
118
|
+
* everything no other behavior did.
|
|
119
|
+
*/
|
|
120
|
+
pathPattern?: string | null | undefined;
|
|
121
|
+
/**
|
|
122
|
+
* Which policy decides the headers CloudFront adds on the way out - CORS, HSTS, and the app's own
|
|
123
|
+
* content security policy.
|
|
124
|
+
* See {@link ICloudFrontManagedResponseHeadersPolicy} for the managed ones.
|
|
125
|
+
*/
|
|
126
|
+
responseHeadersPolicy?: ICloudFrontPolicyReference<"Managed-CORS-and-SecurityHeadersPolicy" | "Managed-CORS-With-Preflight" | "Managed-CORS-with-preflight-and-SecurityHeadersPolicy" | "Managed-SecurityHeadersPolicy" | "Managed-SimpleCORS"> | null | undefined;
|
|
127
|
+
/**
|
|
128
|
+
* The `originId` or `originGroupId` serving these paths.
|
|
129
|
+
*/
|
|
130
|
+
targetOriginId: string;
|
|
131
|
+
/**
|
|
132
|
+
* What CloudFront does with a plain HTTP request. See {@link ICloudFrontViewerProtocolPolicy}.
|
|
133
|
+
*/
|
|
134
|
+
viewerProtocolPolicy?: "allow-all" | "https-only" | "redirect-to-https" | undefined;
|
|
135
|
+
}
|
|
136
|
+
export {};
|
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
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
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
import { Schema, Validate } from '@quadnix/octo';
|
|
11
|
+
import { CLOUDFRONT_MANAGED_CACHE_POLICIES, CLOUDFRONT_MANAGED_ORIGIN_REQUEST_POLICIES, CLOUDFRONT_MANAGED_RESPONSE_HEADERS_POLICIES, } from './cloudfront-policy.schema.js';
|
|
12
|
+
/**
|
|
13
|
+
* @internal
|
|
14
|
+
*/
|
|
15
|
+
export const CLOUDFRONT_ALLOWED_METHODS = [
|
|
16
|
+
['GET', 'HEAD'],
|
|
17
|
+
['GET', 'HEAD', 'OPTIONS'],
|
|
18
|
+
['GET', 'HEAD', 'OPTIONS', 'PUT', 'POST', 'PATCH', 'DELETE'],
|
|
19
|
+
];
|
|
20
|
+
/**
|
|
21
|
+
* @internal
|
|
22
|
+
*/
|
|
23
|
+
export const CLOUDFRONT_CACHED_METHODS = [
|
|
24
|
+
['GET', 'HEAD'],
|
|
25
|
+
['GET', 'HEAD', 'OPTIONS'],
|
|
26
|
+
];
|
|
27
|
+
const CLOUDFRONT_FUNCTION_EVENT_TYPES = [
|
|
28
|
+
'origin-request',
|
|
29
|
+
'origin-response',
|
|
30
|
+
'viewer-request',
|
|
31
|
+
'viewer-response',
|
|
32
|
+
];
|
|
33
|
+
const CLOUDFRONT_FUNCTION_KINDS = ['cloudfront-function', 'lambda-edge'];
|
|
34
|
+
/**
|
|
35
|
+
* @internal
|
|
36
|
+
*/
|
|
37
|
+
export const CLOUDFRONT_VIEWER_PROTOCOL_POLICIES = ['allow-all', 'https-only', 'redirect-to-https'];
|
|
38
|
+
/**
|
|
39
|
+
* An edge function CloudFront runs for a behavior. The function itself is not created here - pass
|
|
40
|
+
* the ARN of one that already exists.
|
|
41
|
+
*
|
|
42
|
+
* @group Resources/CloudFrontDistribution
|
|
43
|
+
*
|
|
44
|
+
* @hideconstructor
|
|
45
|
+
*/
|
|
46
|
+
export class CloudFrontFunctionAssociationSchema {
|
|
47
|
+
constructor() {
|
|
48
|
+
/**
|
|
49
|
+
* The ARN of the CloudFront Function or the Lambda@Edge function version.
|
|
50
|
+
*/
|
|
51
|
+
this.arn = Schema();
|
|
52
|
+
/**
|
|
53
|
+
* Which lifecycle event the function runs on. See {@link ICloudFrontFunctionEventType}.
|
|
54
|
+
*/
|
|
55
|
+
this.eventType = Schema();
|
|
56
|
+
/**
|
|
57
|
+
* Which engine runs it. See {@link ICloudFrontFunctionKind}.
|
|
58
|
+
*/
|
|
59
|
+
this.kind = Schema();
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
__decorate([
|
|
63
|
+
Validate({ options: { minLength: 1 } }),
|
|
64
|
+
__metadata("design:type", Object)
|
|
65
|
+
], CloudFrontFunctionAssociationSchema.prototype, "arn", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
Validate({
|
|
68
|
+
options: {
|
|
69
|
+
custom: (value) => CLOUDFRONT_FUNCTION_EVENT_TYPES.includes(value),
|
|
70
|
+
},
|
|
71
|
+
}),
|
|
72
|
+
__metadata("design:type", Object)
|
|
73
|
+
], CloudFrontFunctionAssociationSchema.prototype, "eventType", void 0);
|
|
74
|
+
__decorate([
|
|
75
|
+
Validate({
|
|
76
|
+
options: { custom: (value) => CLOUDFRONT_FUNCTION_KINDS.includes(value) },
|
|
77
|
+
}),
|
|
78
|
+
__metadata("design:type", Object)
|
|
79
|
+
], CloudFrontFunctionAssociationSchema.prototype, "kind", void 0);
|
|
80
|
+
/**
|
|
81
|
+
* One rule binding a set of paths to an origin, and deciding everything about how those paths are
|
|
82
|
+
* served.
|
|
83
|
+
*
|
|
84
|
+
* @group Resources/CloudFrontDistribution
|
|
85
|
+
*
|
|
86
|
+
* @hideconstructor
|
|
87
|
+
*/
|
|
88
|
+
export class CloudFrontBehaviorSchema {
|
|
89
|
+
constructor() {
|
|
90
|
+
/**
|
|
91
|
+
* The HTTP methods CloudFront forwards to the origin. See {@link ICloudFrontAllowedMethods}.
|
|
92
|
+
*/
|
|
93
|
+
this.allowedMethods = Schema(['GET', 'HEAD']);
|
|
94
|
+
/**
|
|
95
|
+
* The subset of `allowedMethods` whose responses CloudFront caches. See
|
|
96
|
+
* {@link ICloudFrontCachedMethods}.
|
|
97
|
+
*/
|
|
98
|
+
this.cachedMethods = Schema(['GET', 'HEAD']);
|
|
99
|
+
/**
|
|
100
|
+
* Which policy decides the cache key and the TTLs. See {@link ICloudFrontPolicyReference}, and
|
|
101
|
+
* {@link ICloudFrontManagedCachePolicy} for the managed ones.
|
|
102
|
+
*/
|
|
103
|
+
this.cachePolicy = Schema();
|
|
104
|
+
/**
|
|
105
|
+
* Whether CloudFront compresses the response for viewers that accept it.
|
|
106
|
+
*/
|
|
107
|
+
this.compress = Schema(true);
|
|
108
|
+
/**
|
|
109
|
+
* Edge functions to run for this behavior. See {@link CloudFrontFunctionAssociationSchema}.
|
|
110
|
+
*/
|
|
111
|
+
this.functionAssociations = Schema([]);
|
|
112
|
+
/**
|
|
113
|
+
* Which policy decides what reaches the origin, independently of the cache key.
|
|
114
|
+
* `null` forwards only what the cache policy already selected.
|
|
115
|
+
* See {@link ICloudFrontManagedOriginRequestPolicy} for the managed ones.
|
|
116
|
+
*/
|
|
117
|
+
this.originRequestPolicy = Schema(null);
|
|
118
|
+
/**
|
|
119
|
+
* The paths this behavior claims, e.g. `/api/*`. Absent on the default behavior, which claims
|
|
120
|
+
* everything no other behavior did.
|
|
121
|
+
*/
|
|
122
|
+
this.pathPattern = Schema(null);
|
|
123
|
+
/**
|
|
124
|
+
* Which policy decides the headers CloudFront adds on the way out - CORS, HSTS, and the app's own
|
|
125
|
+
* content security policy.
|
|
126
|
+
* See {@link ICloudFrontManagedResponseHeadersPolicy} for the managed ones.
|
|
127
|
+
*/
|
|
128
|
+
this.responseHeadersPolicy = Schema(null);
|
|
129
|
+
/**
|
|
130
|
+
* The `originId` or `originGroupId` serving these paths.
|
|
131
|
+
*/
|
|
132
|
+
this.targetOriginId = Schema();
|
|
133
|
+
/**
|
|
134
|
+
* What CloudFront does with a plain HTTP request. See {@link ICloudFrontViewerProtocolPolicy}.
|
|
135
|
+
*/
|
|
136
|
+
this.viewerProtocolPolicy = Schema('redirect-to-https');
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
__decorate([
|
|
140
|
+
Validate({
|
|
141
|
+
destruct: (value) => [[...value]],
|
|
142
|
+
options: {
|
|
143
|
+
custom: (value) => CLOUDFRONT_ALLOWED_METHODS.some((m) => m.length === value.length && m.every((method) => value.includes(method))),
|
|
144
|
+
},
|
|
145
|
+
}),
|
|
146
|
+
__metadata("design:type", Object)
|
|
147
|
+
], CloudFrontBehaviorSchema.prototype, "allowedMethods", void 0);
|
|
148
|
+
__decorate([
|
|
149
|
+
Validate({
|
|
150
|
+
destruct: (value) => [[...value]],
|
|
151
|
+
options: {
|
|
152
|
+
custom: (value) => CLOUDFRONT_CACHED_METHODS.some((m) => m.length === value.length && m.every((method) => value.includes(method))),
|
|
153
|
+
},
|
|
154
|
+
}),
|
|
155
|
+
__metadata("design:type", Object)
|
|
156
|
+
], CloudFrontBehaviorSchema.prototype, "cachedMethods", void 0);
|
|
157
|
+
__decorate([
|
|
158
|
+
Validate({
|
|
159
|
+
options: {
|
|
160
|
+
custom: (value) => value.kind === 'managed'
|
|
161
|
+
? CLOUDFRONT_MANAGED_CACHE_POLICIES.includes(value.name)
|
|
162
|
+
: value.kind === 'custom' && value.name.length > 0,
|
|
163
|
+
},
|
|
164
|
+
}),
|
|
165
|
+
__metadata("design:type", Object)
|
|
166
|
+
], CloudFrontBehaviorSchema.prototype, "cachePolicy", void 0);
|
|
167
|
+
__decorate([
|
|
168
|
+
Validate({
|
|
169
|
+
destruct: (value) => value,
|
|
170
|
+
options: { isSchema: { schema: CloudFrontFunctionAssociationSchema } },
|
|
171
|
+
}),
|
|
172
|
+
__metadata("design:type", Object)
|
|
173
|
+
], CloudFrontBehaviorSchema.prototype, "functionAssociations", void 0);
|
|
174
|
+
__decorate([
|
|
175
|
+
Validate({
|
|
176
|
+
destruct: (value) => value ? [value] : [],
|
|
177
|
+
options: {
|
|
178
|
+
custom: (value) => value.kind === 'managed'
|
|
179
|
+
? CLOUDFRONT_MANAGED_ORIGIN_REQUEST_POLICIES.includes(value.name)
|
|
180
|
+
: value.kind === 'custom' && value.name.length > 0,
|
|
181
|
+
},
|
|
182
|
+
}),
|
|
183
|
+
__metadata("design:type", Object)
|
|
184
|
+
], CloudFrontBehaviorSchema.prototype, "originRequestPolicy", void 0);
|
|
185
|
+
__decorate([
|
|
186
|
+
Validate({
|
|
187
|
+
destruct: (value) => (value ? [value] : []),
|
|
188
|
+
options: { minLength: 1 },
|
|
189
|
+
}),
|
|
190
|
+
__metadata("design:type", Object)
|
|
191
|
+
], CloudFrontBehaviorSchema.prototype, "pathPattern", void 0);
|
|
192
|
+
__decorate([
|
|
193
|
+
Validate({
|
|
194
|
+
destruct: (value) => value ? [value] : [],
|
|
195
|
+
options: {
|
|
196
|
+
custom: (value) => value.kind === 'managed'
|
|
197
|
+
? CLOUDFRONT_MANAGED_RESPONSE_HEADERS_POLICIES.includes(value.name)
|
|
198
|
+
: value.kind === 'custom' && value.name.length > 0,
|
|
199
|
+
},
|
|
200
|
+
}),
|
|
201
|
+
__metadata("design:type", Object)
|
|
202
|
+
], CloudFrontBehaviorSchema.prototype, "responseHeadersPolicy", void 0);
|
|
203
|
+
__decorate([
|
|
204
|
+
Validate({ options: { minLength: 1 } }),
|
|
205
|
+
__metadata("design:type", Object)
|
|
206
|
+
], CloudFrontBehaviorSchema.prototype, "targetOriginId", void 0);
|
|
207
|
+
__decorate([
|
|
208
|
+
Validate({
|
|
209
|
+
options: {
|
|
210
|
+
custom: (value) => CLOUDFRONT_VIEWER_PROTOCOL_POLICIES.includes(value),
|
|
211
|
+
},
|
|
212
|
+
}),
|
|
213
|
+
__metadata("design:type", Object)
|
|
214
|
+
], CloudFrontBehaviorSchema.prototype, "viewerProtocolPolicy", void 0);
|
|
215
|
+
//# sourceMappingURL=cloudfront-behavior.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cloudfront-behavior.schema.js","sourceRoot":"","sources":["../../../src/resources/cloudfront-distribution/cloudfront-behavior.schema.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EACL,iCAAiC,EACjC,0CAA0C,EAC1C,4CAA4C,GAK7C,MAAM,+BAA+B,CAAC;AAEvC;;GAEG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC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ACvD;KACF,CAAC;;qEAC4G;AAU9G;IAJC,QAAQ,CAAC;QACR,QAAQ,EAAE,CAAC,KAA8C,EAAY,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QAC9F,OAAO,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE;KAC1B,CAAC;;6DACyC;AAiB3C;IAVC,QAAQ,CAAC;QACR,QAAQ,EAAE,CAAC,KAAwD,EAAgC,EAAE,CACnG,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE;QACtB,OAAO,EAAE;YACP,MAAM,EAAE,CAAC,KAAiC,EAAW,EAAE,CACrD,KAAK,CAAC,IAAI,KAAK,SAAS;gBACtB,CAAC,CAAE,4CAAkE,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC;gBAC1F,CAAC,CAAC,KAAK,CAAC,IAAI,KAAK,QAAQ,IAAI,KAAK,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC;SACvD;KACF,CAAC;;uEACgH;AAMlH;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,EAAE,CAAC;;gEACN;AAUlC;IALC,QAAQ,CAAC;QACR,OAAO,EAAE;YACP,MAAM,EAAE,CAAC,KAAa,EAAW,EAAE,CAAE,mCAAyD,CAAC,QAAQ,CAAC,KAAK,CAAC;SAC/G;KACF,CAAC;;sEACmF"}
|
|
@@ -1,33 +1,52 @@
|
|
|
1
|
-
import { ATerraformResource,
|
|
1
|
+
import { ATerraformResource, Diff, type MatchingResource, type TerraformModuleScope } from '@quadnix/octo';
|
|
2
|
+
import type { AlbSchema } from '../alb/index.schema.js';
|
|
3
|
+
import type { LambdaFunctionSchema } from '../lambda-function/index.schema.js';
|
|
2
4
|
import { CloudFrontDistributionSchema } from './index.schema.js';
|
|
3
5
|
/**
|
|
4
6
|
* @internal
|
|
5
7
|
*/
|
|
6
8
|
export declare class CloudFrontDistribution extends ATerraformResource<CloudFrontDistributionSchema, CloudFrontDistribution> {
|
|
7
|
-
parents: MatchingResource<
|
|
9
|
+
parents: (MatchingResource<AlbSchema> | MatchingResource<LambdaFunctionSchema>)[];
|
|
8
10
|
properties: CloudFrontDistributionSchema['properties'];
|
|
9
11
|
response: CloudFrontDistributionSchema['response'];
|
|
10
12
|
/**
|
|
13
|
+
* A distribution is built with no parents. The functions and ALBs it serves are attached later,
|
|
14
|
+
* with `addLambdaOrigin()` and `addAlbOrigin()`, by the actions that find them.
|
|
15
|
+
*
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
constructor(resourceId: string, properties: CloudFrontDistributionSchema['properties']);
|
|
19
|
+
/**
|
|
20
|
+
* How a policy reference is looked up once every policy has been emitted.
|
|
21
|
+
*
|
|
11
22
|
* @internal
|
|
12
23
|
*/
|
|
13
|
-
|
|
24
|
+
private static policyKey;
|
|
14
25
|
/**
|
|
15
|
-
*
|
|
26
|
+
* Attaches an ALB to the `alb` origin `originId`, making the ALB a parent of this distribution.
|
|
27
|
+
* The origin reads its host name off the ALB, which AWS assigns when the ALB is created, so the ALB
|
|
28
|
+
* has to exist first.
|
|
16
29
|
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
* what is cut is replaced by a digest of the whole name: two names that differ anywhere still
|
|
20
|
-
* differ here, and the same name always renders the same way.
|
|
30
|
+
* The origin itself is declared with the distribution, since behaviors name it from the start.
|
|
31
|
+
* This method only supplies the ALB behind it.
|
|
21
32
|
*
|
|
22
33
|
* @internal
|
|
23
34
|
*/
|
|
24
|
-
|
|
35
|
+
addAlbOrigin(originId: string, alb: MatchingResource<AlbSchema>): void;
|
|
25
36
|
/**
|
|
26
|
-
*
|
|
37
|
+
* Attaches a Lambda function to the `lambda` origin `originId`, making the function a parent of
|
|
38
|
+
* this distribution. The origin reads its host name off the function's URL, which AWS assigns when
|
|
39
|
+
* the URL is created, so the function has to exist first.
|
|
40
|
+
*
|
|
41
|
+
* The origin itself is declared with the distribution, since behaviors name it from the start.
|
|
42
|
+
* This method only supplies the function behind it.
|
|
43
|
+
*
|
|
44
|
+
* CloudFront waits 60 seconds for the function to answer, so a function allowed to run longer is
|
|
45
|
+
* refused: CloudFront would give up on a request the function is still serving.
|
|
27
46
|
*
|
|
28
47
|
* @internal
|
|
29
48
|
*/
|
|
30
|
-
|
|
49
|
+
addLambdaOrigin(originId: string, lambdaFunction: MatchingResource<LambdaFunctionSchema>): void;
|
|
31
50
|
/**
|
|
32
51
|
* Nothing about a distribution is force-new. Origins, behaviors, aliases, the certificate, the WAF
|
|
33
52
|
* association - AWS edits all of them in place on a live distribution, so every change is an
|
|
@@ -41,6 +60,13 @@ export declare class CloudFrontDistribution extends ATerraformResource<CloudFron
|
|
|
41
60
|
* @internal
|
|
42
61
|
*/
|
|
43
62
|
toHCL(terraform: TerraformModuleScope): Promise<void>;
|
|
63
|
+
/**
|
|
64
|
+
* Makes the resource behind an `alb` or `lambda` origin a parent of this distribution, and records
|
|
65
|
+
* its resource id on the origin.
|
|
66
|
+
*
|
|
67
|
+
* @internal
|
|
68
|
+
*/
|
|
69
|
+
private attachOriginParent;
|
|
44
70
|
/**
|
|
45
71
|
* Every managed policy a behavior names, paired with the slot it fills.
|
|
46
72
|
*
|
|
@@ -59,6 +85,12 @@ export declare class CloudFrontDistribution extends ATerraformResource<CloudFron
|
|
|
59
85
|
* @internal
|
|
60
86
|
*/
|
|
61
87
|
private getOrderedBehaviors;
|
|
88
|
+
/**
|
|
89
|
+
* The parent an origin reads its hostname from.
|
|
90
|
+
*
|
|
91
|
+
* @internal
|
|
92
|
+
*/
|
|
93
|
+
private getOriginParent;
|
|
62
94
|
/**
|
|
63
95
|
* @internal
|
|
64
96
|
*/
|
|
@@ -68,8 +100,8 @@ export declare class CloudFrontDistribution extends ATerraformResource<CloudFron
|
|
|
68
100
|
*/
|
|
69
101
|
private renderOrigin;
|
|
70
102
|
/**
|
|
71
|
-
* One origin access control per S3 origin. It is what lets the distribution sign its
|
|
72
|
-
* a bucket that admits nothing else.
|
|
103
|
+
* One origin access control per S3 or Lambda origin. It is what lets the distribution sign its
|
|
104
|
+
* requests to a bucket or a function URL that admits nothing else.
|
|
73
105
|
*
|
|
74
106
|
* @internal
|
|
75
107
|
*/
|
|
@@ -89,9 +121,9 @@ export declare class CloudFrontDistribution extends ATerraformResource<CloudFron
|
|
|
89
121
|
* would accept and then serve wrongly.
|
|
90
122
|
*
|
|
91
123
|
* @internal
|
|
92
|
-
* @throws If ids collide or do not resolve, if an alias has no certificate to serve it, if
|
|
93
|
-
* certificate
|
|
94
|
-
* an event it cannot run on.
|
|
124
|
+
* @throws If ids collide or do not resolve, if an alias has no certificate to serve it, if the
|
|
125
|
+
* certificate is not one CloudFront can read, if a behavior caches a method it does not allow, or if
|
|
126
|
+
* a CloudFront Function is bound to an event it cannot run on.
|
|
95
127
|
*/
|
|
96
128
|
private validateReferences;
|
|
97
129
|
}
|