@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
|
@@ -1,402 +1,46 @@
|
|
|
1
1
|
import { BaseResourceSchema } from '@quadnix/octo';
|
|
2
|
+
import { CLOUDFRONT_ALLOWED_METHODS, CLOUDFRONT_CACHED_METHODS, CLOUDFRONT_VIEWER_PROTOCOL_POLICIES, CloudFrontBehaviorSchema, CloudFrontFunctionAssociationSchema, type ICloudFrontAllowedMethods, type ICloudFrontCachedMethods, type ICloudFrontFunctionEventType, type ICloudFrontFunctionKind, type ICloudFrontViewerProtocolPolicy } from './cloudfront-behavior.schema.js';
|
|
3
|
+
import { CloudFrontOriginGroupSchema, CloudFrontOriginSchema } from './cloudfront-origin.schema.js';
|
|
4
|
+
import { CLOUDFRONT_MANAGED_CACHE_POLICIES, CLOUDFRONT_MANAGED_ORIGIN_REQUEST_POLICIES, CLOUDFRONT_MANAGED_RESPONSE_HEADERS_POLICIES, CloudFrontCachePolicySchema, CloudFrontCorsSchema, CloudFrontCustomHeaderSchema, CloudFrontOriginRequestPolicySchema, CloudFrontResponseHeadersPolicySchema, CloudFrontSecurityHeadersSchema, type ICloudFrontCorsMethod, type ICloudFrontFrameOption, type ICloudFrontManagedCachePolicy, type ICloudFrontManagedOriginRequestPolicy, type ICloudFrontManagedResponseHeadersPolicy, type ICloudFrontPolicyReference, type ICloudFrontReferrerPolicy, type ICloudFrontValueSelection } from './cloudfront-policy.schema.js';
|
|
5
|
+
import { CloudFrontCustomErrorResponseSchema } from './cloudfront-response.schema.js';
|
|
6
|
+
export { CLOUDFRONT_ALLOWED_METHODS, CLOUDFRONT_CACHED_METHODS, CLOUDFRONT_MANAGED_CACHE_POLICIES, CLOUDFRONT_MANAGED_ORIGIN_REQUEST_POLICIES, CLOUDFRONT_MANAGED_RESPONSE_HEADERS_POLICIES, CLOUDFRONT_VIEWER_PROTOCOL_POLICIES, CloudFrontBehaviorSchema, CloudFrontCachePolicySchema, CloudFrontCorsSchema, CloudFrontCustomErrorResponseSchema, CloudFrontCustomHeaderSchema, CloudFrontFunctionAssociationSchema, CloudFrontOriginGroupSchema, CloudFrontOriginRequestPolicySchema, CloudFrontOriginSchema, CloudFrontResponseHeadersPolicySchema, CloudFrontSecurityHeadersSchema, };
|
|
7
|
+
export type { ICloudFrontAllowedMethods, ICloudFrontCachedMethods, ICloudFrontCorsMethod, ICloudFrontFrameOption, ICloudFrontFunctionEventType, ICloudFrontFunctionKind, ICloudFrontManagedCachePolicy, ICloudFrontManagedOriginRequestPolicy, ICloudFrontManagedResponseHeadersPolicy, ICloudFrontPolicyReference, ICloudFrontReferrerPolicy, ICloudFrontValueSelection, ICloudFrontViewerProtocolPolicy, };
|
|
8
|
+
declare const CLOUDFRONT_HTTP_VERSIONS: readonly ["http1.1", "http2", "http2and3"];
|
|
2
9
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* * `
|
|
7
|
-
*
|
|
8
|
-
* There is deliberately no way to pass a raw policy id. A name is enough for both, and offering two
|
|
9
|
-
* ways to say one thing only makes a caller wonder which is right.
|
|
10
|
+
* The newest HTTP version viewers may negotiate. A viewer that cannot speak it falls back to an older
|
|
11
|
+
* one.
|
|
12
|
+
* * `http1.1` - HTTP/1.1 alone.
|
|
13
|
+
* * `http2` - HTTP/2, for viewers with TLS 1.2 and SNI.
|
|
14
|
+
* * `http2and3` - HTTP/3 as well, for viewers with TLS 1.3.
|
|
10
15
|
*
|
|
11
16
|
* @group Resources/CloudFrontDistribution
|
|
12
17
|
*/
|
|
13
|
-
export type
|
|
14
|
-
|
|
15
|
-
name: string;
|
|
16
|
-
};
|
|
18
|
+
export type ICloudFrontHttpVersion = (typeof CLOUDFRONT_HTTP_VERSIONS)[number];
|
|
19
|
+
declare const CLOUDFRONT_MINIMUM_PROTOCOL_VERSIONS: readonly ["TLSv1", "TLSv1.1_2016", "TLSv1.2_2018", "TLSv1.2_2019", "TLSv1.2_2021", "TLSv1.2_2025", "TLSv1.3_2025", "TLSv1_2016"];
|
|
17
20
|
/**
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
* the hostname, because resources do not agree on what to call it - an ALB publishes `DNSName`, an
|
|
22
|
-
* S3 website bucket publishes `RegionalDomainName`. The module author writes this next to the
|
|
23
|
-
* resource they are pointing at, so it is never an end user's problem.
|
|
24
|
-
* * `literal` is a hostname octo does not manage - a legacy origin, or a third party.
|
|
21
|
+
* The oldest TLS version a viewer may connect with, and, through the year, which ciphers CloudFront
|
|
22
|
+
* offers. `TLSv1.2_2021` suits a site with no viewers on old devices.
|
|
23
|
+
* [AWS: protocols and ciphers per policy](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/secure-connections-supported-viewer-protocols-ciphers.html).
|
|
25
24
|
*
|
|
26
25
|
* @group Resources/CloudFrontDistribution
|
|
27
26
|
*/
|
|
28
|
-
export type
|
|
29
|
-
domainName: string;
|
|
30
|
-
kind: 'literal';
|
|
31
|
-
} | {
|
|
32
|
-
kind: 'resource';
|
|
33
|
-
resourceId: string;
|
|
34
|
-
responseKey: string;
|
|
35
|
-
};
|
|
27
|
+
export type ICloudFrontMinimumProtocolVersion = (typeof CLOUDFRONT_MINIMUM_PROTOCOL_VERSIONS)[number];
|
|
36
28
|
/**
|
|
37
|
-
*
|
|
38
|
-
* * `none` selects nothing.
|
|
39
|
-
* * `all` selects everything the viewer sent.
|
|
40
|
-
* * `allViewerAndWhitelistCloudFront` is an origin-request-only selection that forwards everything
|
|
41
|
-
* the viewer sent plus the named CloudFront headers.
|
|
42
|
-
* * `allowList` selects only the named values.
|
|
43
|
-
*
|
|
44
|
-
* @group Resources/CloudFrontDistribution
|
|
29
|
+
* @internal
|
|
45
30
|
*/
|
|
46
|
-
export
|
|
47
|
-
kind: 'all' | 'allViewerAndWhitelistCloudFront' | 'none';
|
|
48
|
-
} | {
|
|
49
|
-
kind: 'allowList';
|
|
50
|
-
values: string[];
|
|
51
|
-
};
|
|
31
|
+
export declare const CLOUDFRONT_PRICE_CLASSES: readonly ["PriceClass_100", "PriceClass_200", "PriceClass_All"];
|
|
52
32
|
/**
|
|
53
|
-
* Which
|
|
54
|
-
*
|
|
33
|
+
* Which edge locations serve the distribution, which sets what it costs. A viewer outside the chosen
|
|
34
|
+
* locations is served from the nearest one inside them, more slowly.
|
|
35
|
+
* * `PriceClass_100` - North America and Europe. The cheapest.
|
|
36
|
+
* * `PriceClass_200` - `PriceClass_100`, plus most of Asia, the Middle East, and Africa.
|
|
37
|
+
* * `PriceClass_All` - Every edge location.
|
|
55
38
|
*
|
|
56
|
-
*
|
|
57
|
-
*/
|
|
58
|
-
export type ICloudFrontFunctionEventType = 'origin-request' | 'origin-response' | 'viewer-request' | 'viewer-response';
|
|
59
|
-
/**
|
|
60
|
-
* One origin the distribution can serve from.
|
|
39
|
+
* [AWS: price classes](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PriceClass.html).
|
|
61
40
|
*
|
|
62
41
|
* @group Resources/CloudFrontDistribution
|
|
63
|
-
*
|
|
64
|
-
* @hideconstructor
|
|
65
42
|
*/
|
|
66
|
-
export
|
|
67
|
-
/**
|
|
68
|
-
* How many times CloudFront retries the origin before giving up. Between 1 and 3.
|
|
69
|
-
*/
|
|
70
|
-
connectionAttempts?: number | undefined;
|
|
71
|
-
/**
|
|
72
|
-
* How long CloudFront waits to establish a connection to the origin, in seconds. Between 1 and 10.
|
|
73
|
-
*/
|
|
74
|
-
connectionTimeout?: number | undefined;
|
|
75
|
-
/**
|
|
76
|
-
* Headers CloudFront adds to every request it sends to this origin.
|
|
77
|
-
* This is how a load balancer rejects anything that did not arrive through the distribution.
|
|
78
|
-
*/
|
|
79
|
-
customHeaders?: {
|
|
80
|
-
[key: string]: string;
|
|
81
|
-
} | undefined;
|
|
82
|
-
/**
|
|
83
|
-
* What kind of origin this is, and the settings that only apply to that kind.
|
|
84
|
-
*
|
|
85
|
-
* * `s3` is a bucket reached privately. The distribution emits an origin access control for it,
|
|
86
|
-
* and builds the hostname from `bucketName` and `bucketRegion` rather than referencing the bucket,
|
|
87
|
-
* because the bucket's own policy already references this distribution. Granting the distribution
|
|
88
|
-
* read on the bucket is the bucket's job, driven by an overlay.
|
|
89
|
-
* * `custom` is anything that speaks HTTP - a load balancer, an EC2 instance, an API, a third
|
|
90
|
-
* party, or an S3 website endpoint.
|
|
91
|
-
*/
|
|
92
|
-
kind: {
|
|
93
|
-
bucketName: string;
|
|
94
|
-
bucketRegion: string;
|
|
95
|
-
kind: "s3";
|
|
96
|
-
} | {
|
|
97
|
-
httpPort: number;
|
|
98
|
-
httpsPort: number;
|
|
99
|
-
keepaliveTimeout: number;
|
|
100
|
-
kind: "custom";
|
|
101
|
-
originProtocolPolicy: "http-only" | "https-only" | "match-viewer";
|
|
102
|
-
readTimeout: number;
|
|
103
|
-
source: ICloudFrontOriginSource;
|
|
104
|
-
sslProtocols: string[];
|
|
105
|
-
};
|
|
106
|
-
/**
|
|
107
|
-
* How this origin is named by behaviors and origin groups. Unique across origins and origin groups.
|
|
108
|
-
*/
|
|
109
|
-
originId: string;
|
|
110
|
-
/**
|
|
111
|
-
* A prefix CloudFront prepends to the path before asking the origin for it.
|
|
112
|
-
* Empty asks the origin for the path the viewer requested.
|
|
113
|
-
*/
|
|
114
|
-
originPath?: string | undefined;
|
|
115
|
-
}
|
|
116
|
-
/**
|
|
117
|
-
* A primary origin and the origin CloudFront falls back to when the primary answers with one of
|
|
118
|
-
* `failoverStatusCodes`.
|
|
119
|
-
*
|
|
120
|
-
* @group Resources/CloudFrontDistribution
|
|
121
|
-
*
|
|
122
|
-
* @hideconstructor
|
|
123
|
-
*/
|
|
124
|
-
export declare class CloudFrontOriginGroupSchema {
|
|
125
|
-
/**
|
|
126
|
-
* The origin id CloudFront falls back to.
|
|
127
|
-
*/
|
|
128
|
-
failoverOriginId: string;
|
|
129
|
-
/**
|
|
130
|
-
* The status codes from the primary origin that trigger the failover.
|
|
131
|
-
*/
|
|
132
|
-
failoverStatusCodes: number[];
|
|
133
|
-
/**
|
|
134
|
-
* How this group is named by behaviors. Unique across origins and origin groups.
|
|
135
|
-
*/
|
|
136
|
-
originGroupId: string;
|
|
137
|
-
/**
|
|
138
|
-
* The origin id CloudFront tries first.
|
|
139
|
-
*/
|
|
140
|
-
primaryOriginId: string;
|
|
141
|
-
}
|
|
142
|
-
/**
|
|
143
|
-
* An edge function CloudFront runs for a behavior. The function itself is not created here - pass
|
|
144
|
-
* the ARN of one that already exists.
|
|
145
|
-
*
|
|
146
|
-
* @group Resources/CloudFrontDistribution
|
|
147
|
-
*
|
|
148
|
-
* @hideconstructor
|
|
149
|
-
*/
|
|
150
|
-
export declare class CloudFrontFunctionAssociationSchema {
|
|
151
|
-
/**
|
|
152
|
-
* The ARN of the CloudFront Function or the Lambda@Edge function version.
|
|
153
|
-
*/
|
|
154
|
-
arn: string;
|
|
155
|
-
/**
|
|
156
|
-
* Which lifecycle event the function runs on. See {@link ICloudFrontFunctionEventType}.
|
|
157
|
-
*/
|
|
158
|
-
eventType: ICloudFrontFunctionEventType;
|
|
159
|
-
/**
|
|
160
|
-
* Which engine runs it. A `cloudfront-function` is JavaScript at the edge and may only bind to a
|
|
161
|
-
* viewer event; `lambda-edge` may bind to any of the four.
|
|
162
|
-
*/
|
|
163
|
-
kind: "cloudfront-function" | "lambda-edge";
|
|
164
|
-
}
|
|
165
|
-
/**
|
|
166
|
-
* One rule binding a set of paths to an origin, and deciding everything about how those paths are
|
|
167
|
-
* served.
|
|
168
|
-
*
|
|
169
|
-
* @group Resources/CloudFrontDistribution
|
|
170
|
-
*
|
|
171
|
-
* @hideconstructor
|
|
172
|
-
*/
|
|
173
|
-
export declare class CloudFrontBehaviorSchema {
|
|
174
|
-
/**
|
|
175
|
-
* The HTTP methods CloudFront forwards to the origin.
|
|
176
|
-
* `['GET', 'HEAD']` is a CDN; the full set makes the distribution a reverse proxy.
|
|
177
|
-
*/
|
|
178
|
-
allowedMethods?: string[] | undefined;
|
|
179
|
-
/**
|
|
180
|
-
* The subset of `allowedMethods` whose responses CloudFront caches.
|
|
181
|
-
*/
|
|
182
|
-
cachedMethods?: string[] | undefined;
|
|
183
|
-
/**
|
|
184
|
-
* Which policy decides the cache key and the TTLs. See {@link ICloudFrontPolicyReference}.
|
|
185
|
-
*/
|
|
186
|
-
cachePolicy: ICloudFrontPolicyReference;
|
|
187
|
-
/**
|
|
188
|
-
* Whether CloudFront compresses the response for viewers that accept it.
|
|
189
|
-
*/
|
|
190
|
-
compress?: boolean | undefined;
|
|
191
|
-
/**
|
|
192
|
-
* Edge functions to run for this behavior. See {@link CloudFrontFunctionAssociationSchema}.
|
|
193
|
-
*/
|
|
194
|
-
functionAssociations?: CloudFrontFunctionAssociationSchema[] | undefined;
|
|
195
|
-
/**
|
|
196
|
-
* Which policy decides what reaches the origin, independently of the cache key.
|
|
197
|
-
* `null` forwards only what the cache policy already selected.
|
|
198
|
-
*/
|
|
199
|
-
originRequestPolicy?: ICloudFrontPolicyReference | null | undefined;
|
|
200
|
-
/**
|
|
201
|
-
* The paths this behavior claims, e.g. `/api/*`. Absent on the default behavior, which claims
|
|
202
|
-
* everything no other behavior did.
|
|
203
|
-
*/
|
|
204
|
-
pathPattern?: string | null | undefined;
|
|
205
|
-
/**
|
|
206
|
-
* Which policy decides the headers CloudFront adds on the way out - CORS, HSTS, and the app's own
|
|
207
|
-
* content security policy. `null` adds nothing.
|
|
208
|
-
*/
|
|
209
|
-
responseHeadersPolicy?: ICloudFrontPolicyReference | null | undefined;
|
|
210
|
-
/**
|
|
211
|
-
* The origin or origin group serving these paths.
|
|
212
|
-
*/
|
|
213
|
-
targetOriginId: string;
|
|
214
|
-
/**
|
|
215
|
-
* What CloudFront does with a plain HTTP request.
|
|
216
|
-
*/
|
|
217
|
-
viewerProtocolPolicy?: "https-only" | "allow-all" | "redirect-to-https" | undefined;
|
|
218
|
-
}
|
|
219
|
-
/**
|
|
220
|
-
* What the viewer gets when the origin answers with a status code CloudFront was told to handle.
|
|
221
|
-
*
|
|
222
|
-
* The same field set expresses opposite intents. A single-page app maps `403` and `404` to a `200`
|
|
223
|
-
* carrying `/index.html` with a short TTL, so the client-side router can take over; a content site
|
|
224
|
-
* maps them to a real `404` carrying an error page.
|
|
225
|
-
*
|
|
226
|
-
* @group Resources/CloudFrontDistribution
|
|
227
|
-
*
|
|
228
|
-
* @hideconstructor
|
|
229
|
-
*/
|
|
230
|
-
export declare class CloudFrontCustomErrorResponseSchema {
|
|
231
|
-
/**
|
|
232
|
-
* How long CloudFront caches this error before asking the origin again, in seconds.
|
|
233
|
-
*/
|
|
234
|
-
errorCachingMinTtl?: number | undefined;
|
|
235
|
-
/**
|
|
236
|
-
* The status code the origin answered with.
|
|
237
|
-
*/
|
|
238
|
-
errorCode: number;
|
|
239
|
-
/**
|
|
240
|
-
* The status code the viewer sees.
|
|
241
|
-
*/
|
|
242
|
-
responseCode: number;
|
|
243
|
-
/**
|
|
244
|
-
* The object served in place of the error, e.g. `/index.html`.
|
|
245
|
-
*/
|
|
246
|
-
responsePagePath: string;
|
|
247
|
-
}
|
|
248
|
-
/**
|
|
249
|
-
* A cache policy this distribution declares, referenced by a behavior under
|
|
250
|
-
* `{ kind: 'custom', name }`.
|
|
251
|
-
*
|
|
252
|
-
* @group Resources/CloudFrontDistribution
|
|
253
|
-
*
|
|
254
|
-
* @hideconstructor
|
|
255
|
-
*/
|
|
256
|
-
export declare class CloudFrontCachePolicySchema {
|
|
257
|
-
/**
|
|
258
|
-
* Which cookies are part of the cache key.
|
|
259
|
-
*/
|
|
260
|
-
cookies?: ICloudFrontValueSelection | undefined;
|
|
261
|
-
/**
|
|
262
|
-
* How long CloudFront serves an object without asking the origin, when the origin sent no
|
|
263
|
-
* caching headers of its own. In seconds.
|
|
264
|
-
*/
|
|
265
|
-
defaultTtl?: number | undefined;
|
|
266
|
-
/**
|
|
267
|
-
* Whether CloudFront may store and serve a brotli-compressed copy.
|
|
268
|
-
*/
|
|
269
|
-
enableBrotli?: boolean | undefined;
|
|
270
|
-
/**
|
|
271
|
-
* Whether CloudFront may store and serve a gzip-compressed copy.
|
|
272
|
-
*/
|
|
273
|
-
enableGzip?: boolean | undefined;
|
|
274
|
-
/**
|
|
275
|
-
* Which request headers are part of the cache key.
|
|
276
|
-
*/
|
|
277
|
-
headers?: ICloudFrontValueSelection | undefined;
|
|
278
|
-
/**
|
|
279
|
-
* The longest CloudFront will serve an object without asking the origin, whatever the origin's
|
|
280
|
-
* own caching headers said. In seconds.
|
|
281
|
-
*/
|
|
282
|
-
maxTtl?: number | undefined;
|
|
283
|
-
/**
|
|
284
|
-
* The shortest CloudFront will serve an object without asking the origin. In seconds.
|
|
285
|
-
*/
|
|
286
|
-
minTtl?: number | undefined;
|
|
287
|
-
/**
|
|
288
|
-
* How a behavior names this policy.
|
|
289
|
-
*/
|
|
290
|
-
name: string;
|
|
291
|
-
/**
|
|
292
|
-
* Which query strings are part of the cache key.
|
|
293
|
-
*/
|
|
294
|
-
queryStrings?: ICloudFrontValueSelection | undefined;
|
|
295
|
-
}
|
|
296
|
-
/**
|
|
297
|
-
* An origin request policy this distribution declares, referenced by a behavior under
|
|
298
|
-
* `{ kind: 'custom', name }`.
|
|
299
|
-
*
|
|
300
|
-
* This is what reaches the origin, and it is separate from the cache key on purpose: an origin can
|
|
301
|
-
* be told the viewer's `Authorization` header without every distinct token becoming its own cache
|
|
302
|
-
* entry.
|
|
303
|
-
*
|
|
304
|
-
* @group Resources/CloudFrontDistribution
|
|
305
|
-
*
|
|
306
|
-
* @hideconstructor
|
|
307
|
-
*/
|
|
308
|
-
export declare class CloudFrontOriginRequestPolicySchema {
|
|
309
|
-
/**
|
|
310
|
-
* Which cookies reach the origin.
|
|
311
|
-
*/
|
|
312
|
-
cookies?: ICloudFrontValueSelection | undefined;
|
|
313
|
-
/**
|
|
314
|
-
* Which request headers reach the origin.
|
|
315
|
-
*/
|
|
316
|
-
headers?: ICloudFrontValueSelection | undefined;
|
|
317
|
-
/**
|
|
318
|
-
* How a behavior names this policy.
|
|
319
|
-
*/
|
|
320
|
-
name: string;
|
|
321
|
-
/**
|
|
322
|
-
* Which query strings reach the origin.
|
|
323
|
-
*/
|
|
324
|
-
queryStrings?: ICloudFrontValueSelection | undefined;
|
|
325
|
-
}
|
|
326
|
-
/**
|
|
327
|
-
* The security headers a response headers policy adds. Every field is optional; a `null` field adds
|
|
328
|
-
* nothing for that header.
|
|
329
|
-
*
|
|
330
|
-
* @group Resources/CloudFrontDistribution
|
|
331
|
-
*
|
|
332
|
-
* @hideconstructor
|
|
333
|
-
*/
|
|
334
|
-
export declare class CloudFrontSecurityHeadersSchema {
|
|
335
|
-
/**
|
|
336
|
-
* The app's own content security policy, verbatim.
|
|
337
|
-
*/
|
|
338
|
-
contentSecurityPolicy?: string | null | undefined;
|
|
339
|
-
/**
|
|
340
|
-
* Whether to send `X-Content-Type-Options`, which tells a browser to trust the declared content
|
|
341
|
-
* type rather than guessing one from the bytes.
|
|
342
|
-
*/
|
|
343
|
-
contentTypeOptions?: boolean | undefined;
|
|
344
|
-
/**
|
|
345
|
-
* The value of `X-Frame-Options`, or `null` to send none.
|
|
346
|
-
*/
|
|
347
|
-
frameOptions?: "DENY" | "SAMEORIGIN" | null | undefined;
|
|
348
|
-
/**
|
|
349
|
-
* The value of `Referrer-Policy`, or `null` to send none.
|
|
350
|
-
*/
|
|
351
|
-
referrerPolicy?: string | null | undefined;
|
|
352
|
-
/**
|
|
353
|
-
* How long a viewer should keep using HTTPS for this host, in seconds. `null` sends no
|
|
354
|
-
* `Strict-Transport-Security` header at all.
|
|
355
|
-
*/
|
|
356
|
-
strictTransportSecurityMaxAge?: number | null | undefined;
|
|
357
|
-
}
|
|
358
|
-
/**
|
|
359
|
-
* A response headers policy this distribution declares, referenced by a behavior under
|
|
360
|
-
* `{ kind: 'custom', name }`.
|
|
361
|
-
*
|
|
362
|
-
* @group Resources/CloudFrontDistribution
|
|
363
|
-
*
|
|
364
|
-
* @hideconstructor
|
|
365
|
-
*/
|
|
366
|
-
export declare class CloudFrontResponseHeadersPolicySchema {
|
|
367
|
-
/**
|
|
368
|
-
* A cross-origin resource sharing configuration, or `null` for none.
|
|
369
|
-
*/
|
|
370
|
-
cors?: {
|
|
371
|
-
allowCredentials: boolean;
|
|
372
|
-
allowHeaders: string[];
|
|
373
|
-
allowMethods: string[];
|
|
374
|
-
allowOrigins: string[];
|
|
375
|
-
maxAgeSeconds: number;
|
|
376
|
-
} | null | undefined;
|
|
377
|
-
/**
|
|
378
|
-
* Headers CloudFront adds verbatim. `override` decides what happens when the origin already sent
|
|
379
|
-
* one of the same name.
|
|
380
|
-
*/
|
|
381
|
-
customHeaders?: {
|
|
382
|
-
header: string;
|
|
383
|
-
override: boolean;
|
|
384
|
-
value: string;
|
|
385
|
-
}[] | undefined;
|
|
386
|
-
/**
|
|
387
|
-
* How a behavior names this policy.
|
|
388
|
-
*/
|
|
389
|
-
name: string;
|
|
390
|
-
/**
|
|
391
|
-
* Headers CloudFront strips from the origin's response before the viewer sees it.
|
|
392
|
-
*/
|
|
393
|
-
removeHeaders?: string[] | undefined;
|
|
394
|
-
/**
|
|
395
|
-
* The security headers to add, or `null` to add none.
|
|
396
|
-
* See {@link CloudFrontSecurityHeadersSchema}.
|
|
397
|
-
*/
|
|
398
|
-
securityHeaders?: CloudFrontSecurityHeadersSchema | null | undefined;
|
|
399
|
-
}
|
|
43
|
+
export type ICloudFrontPriceClass = (typeof CLOUDFRONT_PRICE_CLASSES)[number];
|
|
400
44
|
/**
|
|
401
45
|
* The `CloudFrontDistributionSchema` class is the schema for the `CloudFrontDistribution` resource,
|
|
402
46
|
* which represents an AWS CloudFront distribution. Terraform provisions it as
|
|
@@ -405,66 +49,59 @@ export declare class CloudFrontResponseHeadersPolicySchema {
|
|
|
405
49
|
* [`aws_cloudfront_origin_access_control`](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/cloudfront_origin_access_control)
|
|
406
50
|
* per S3 origin and one terraform resource per policy the distribution declares.
|
|
407
51
|
*
|
|
408
|
-
* The distribution is deliberately open. It carries several origins of mixed kinds, a routing table
|
|
409
|
-
* of behaviors over them, and the security layer around both, so that one module can serve a
|
|
410
|
-
* single-page app out of a bucket while another puts the same resource in front of a load balancer.
|
|
411
|
-
* The opinion about which of those a caller gets belongs to the module, not here.
|
|
412
|
-
*
|
|
413
52
|
* @group Resources/CloudFrontDistribution
|
|
414
53
|
*
|
|
415
54
|
* @hideconstructor
|
|
416
55
|
*
|
|
417
|
-
* @overrideProperty parents -
|
|
418
|
-
*
|
|
419
|
-
*
|
|
420
|
-
* the child and this distribution writes the bucket's hostname literally.
|
|
56
|
+
* @overrideProperty parents - The Lambda functions and ALBs it serves, each attached after
|
|
57
|
+
* construction, with `addLambdaOrigin()` and `addAlbOrigin()`. An S3 bucket is a child of the
|
|
58
|
+
* distribution instead.
|
|
421
59
|
* ```mermaid
|
|
422
60
|
* graph TD;
|
|
423
|
-
*
|
|
61
|
+
* alb((ALB)) --> cloudfront_distribution((CloudFront<br>Distribution))
|
|
62
|
+
* lambda((Lambda<br>Function)) --> cloudfront_distribution
|
|
424
63
|
* cloudfront_distribution --> s3_bucket((S3<br>Bucket))
|
|
425
64
|
* ```
|
|
426
65
|
* @overrideProperty resourceId - The resource id is of format `cloudfront-<distribution-name>`.
|
|
427
|
-
* There is no region in it: CloudFront is global, and the provider is found on the account alone.
|
|
428
66
|
*/
|
|
429
67
|
export declare class CloudFrontDistributionSchema extends BaseResourceSchema {
|
|
430
68
|
/**
|
|
431
69
|
* Input properties.
|
|
432
|
-
* * `properties.aliases` - The custom domain names the distribution answers on.
|
|
433
|
-
*
|
|
434
|
-
* the `*.cloudfront.net`
|
|
70
|
+
* * `properties.aliases` - The custom domain names the distribution answers on, e.g.
|
|
71
|
+
* `www.example.com`, or `*.example.com` for every host under `example.com`. Each one needs a DNS record pointing at
|
|
72
|
+
* the distribution, which this resource does not create. Empty serves only the `*.cloudfront.net`
|
|
73
|
+
* domain CloudFront assigns.
|
|
435
74
|
* * `properties.awsAccountId` - The AWS account id.
|
|
436
75
|
* * `properties.behaviors` - The routing table. Exactly one entry has no `pathPattern` and is the
|
|
437
76
|
* default behavior; the rest are matched in order before it.
|
|
438
77
|
* See {@link CloudFrontBehaviorSchema}.
|
|
439
78
|
* * `properties.cachePolicies` - Cache policies this distribution declares.
|
|
440
79
|
* See {@link CloudFrontCachePolicySchema}.
|
|
441
|
-
* * `properties.comment` - A human-readable label. It is the only name a
|
|
442
|
-
* the console.
|
|
80
|
+
* * `properties.comment` - A human-readable label, at most 128 characters. It is the only name a
|
|
81
|
+
* distribution carries in the console.
|
|
443
82
|
* * `properties.customErrorResponses` - What the viewer gets for an origin error.
|
|
444
83
|
* See {@link CloudFrontCustomErrorResponseSchema}.
|
|
445
|
-
* * `properties.defaultRootObject` - The object served for a request to the site root.
|
|
84
|
+
* * `properties.defaultRootObject` - The object served for a request to the site root, e.g.
|
|
85
|
+
* `index.html` or `docs/index.html`, never starting with `/`. Empty passes the request to the origin
|
|
86
|
+
* as it is.
|
|
446
87
|
* * `properties.distributionName` - What names this distribution. Part of its identity.
|
|
447
88
|
* * `properties.enabled` - Whether the distribution serves traffic. Disabling is also the first
|
|
448
89
|
* half of deleting one, which AWS makes a slow operation.
|
|
449
|
-
* * `properties.geoRestriction` - Which countries may reach the distribution
|
|
450
|
-
*
|
|
451
|
-
* * `properties.
|
|
452
|
-
* * `properties.logging` - Where CloudFront writes its access logs, or `null` for none. The bucket
|
|
453
|
-
* is not created here.
|
|
90
|
+
* * `properties.geoRestriction` - Which countries may reach the distribution, each an uppercase
|
|
91
|
+
* two-letter ISO 3166-1 code, e.g. `DE`.
|
|
92
|
+
* * `properties.httpVersion` - See {@link ICloudFrontHttpVersion}.
|
|
454
93
|
* * `properties.originGroups` - Fail-over pairs over the origins.
|
|
455
94
|
* See {@link CloudFrontOriginGroupSchema}.
|
|
456
95
|
* * `properties.originRequestPolicies` - Origin request policies this distribution declares.
|
|
457
96
|
* See {@link CloudFrontOriginRequestPolicySchema}.
|
|
458
97
|
* * `properties.origins` - Where content comes from. See {@link CloudFrontOriginSchema}.
|
|
459
|
-
* * `properties.priceClass` -
|
|
460
|
-
* distribution costs. `PriceClass_100` is North America and Europe alone.
|
|
98
|
+
* * `properties.priceClass` - See {@link ICloudFrontPriceClass}.
|
|
461
99
|
* * `properties.responseHeadersPolicies` - Response headers policies this distribution declares.
|
|
462
100
|
* See {@link CloudFrontResponseHeadersPolicySchema}.
|
|
463
101
|
* * `properties.viewerCertificate` - The certificate viewers see. `default` serves CloudFront's
|
|
464
102
|
* own, which is valid only for the assigned `*.cloudfront.net` domain; `acm` serves a certificate
|
|
465
|
-
* of yours, which CloudFront reads from `us-east-1` alone.
|
|
466
|
-
*
|
|
467
|
-
* ACL is not created here, and CloudFront reads it from `us-east-1` alone.
|
|
103
|
+
* of yours, which CloudFront reads from `us-east-1` alone. See
|
|
104
|
+
* {@link ICloudFrontMinimumProtocolVersion}.
|
|
468
105
|
*/
|
|
469
106
|
properties: {
|
|
470
107
|
aliases: string[];
|
|
@@ -482,26 +119,19 @@ export declare class CloudFrontDistributionSchema extends BaseResourceSchema {
|
|
|
482
119
|
} | {
|
|
483
120
|
kind: "none";
|
|
484
121
|
};
|
|
485
|
-
httpVersion:
|
|
486
|
-
isIpv6Enabled: boolean;
|
|
487
|
-
logging: {
|
|
488
|
-
bucketDomainName: string;
|
|
489
|
-
includeCookies: boolean;
|
|
490
|
-
prefix: string;
|
|
491
|
-
} | null;
|
|
122
|
+
httpVersion: ICloudFrontHttpVersion;
|
|
492
123
|
originGroups: CloudFrontOriginGroupSchema[];
|
|
493
124
|
originRequestPolicies: CloudFrontOriginRequestPolicySchema[];
|
|
494
125
|
origins: CloudFrontOriginSchema[];
|
|
495
|
-
priceClass:
|
|
126
|
+
priceClass: ICloudFrontPriceClass;
|
|
496
127
|
responseHeadersPolicies: CloudFrontResponseHeadersPolicySchema[];
|
|
497
128
|
viewerCertificate: {
|
|
498
129
|
certificateArn: string;
|
|
499
130
|
kind: "acm";
|
|
500
|
-
minimumProtocolVersion:
|
|
131
|
+
minimumProtocolVersion: ICloudFrontMinimumProtocolVersion;
|
|
501
132
|
} | {
|
|
502
133
|
kind: "default";
|
|
503
134
|
};
|
|
504
|
-
webAclArn: string | null;
|
|
505
135
|
};
|
|
506
136
|
/**
|
|
507
137
|
* Saved response.
|
|
@@ -510,8 +140,6 @@ export declare class CloudFrontDistributionSchema extends BaseResourceSchema {
|
|
|
510
140
|
* * `response.DomainName` - The `*.cloudfront.net` domain CloudFront assigned. Point a DNS record
|
|
511
141
|
* at this.
|
|
512
142
|
* * `response.HostedZoneId` - The zone a Route 53 alias record pointing at this distribution needs.
|
|
513
|
-
* It is the same constant for every CloudFront distribution, and it is published here so that a
|
|
514
|
-
* DNS module never has to know that.
|
|
515
143
|
*/
|
|
516
144
|
response: {
|
|
517
145
|
Arn?: string;
|