@quadnix/octo-aws-cdk 0.0.19 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +661 -0
- package/README.md +25 -3
- package/dist/anchors/aws-account/aws-account.anchor.d.ts +3 -0
- package/dist/anchors/aws-account/aws-account.anchor.js +3 -0
- package/dist/anchors/aws-account/aws-account.anchor.js.map +1 -1
- package/dist/anchors/aws-account/aws-account.anchor.schema.d.ts +3 -0
- package/dist/anchors/aws-account/aws-account.anchor.schema.js +3 -0
- package/dist/anchors/aws-account/aws-account.anchor.schema.js.map +1 -1
- package/dist/anchors/aws-dynamodb/aws-dynamodb-global.anchor.d.ts +12 -0
- package/dist/anchors/aws-dynamodb/aws-dynamodb-global.anchor.js +27 -0
- package/dist/anchors/aws-dynamodb/aws-dynamodb-global.anchor.js.map +1 -0
- package/dist/anchors/aws-dynamodb/aws-dynamodb-global.anchor.schema.d.ts +24 -0
- package/dist/anchors/aws-dynamodb/aws-dynamodb-global.anchor.schema.js +38 -0
- package/dist/anchors/aws-dynamodb/aws-dynamodb-global.anchor.schema.js.map +1 -0
- package/dist/anchors/aws-dynamodb/aws-dynamodb.anchor.d.ts +12 -0
- package/dist/anchors/aws-dynamodb/aws-dynamodb.anchor.js +27 -0
- package/dist/anchors/aws-dynamodb/aws-dynamodb.anchor.js.map +1 -0
- package/dist/anchors/aws-dynamodb/aws-dynamodb.anchor.schema.d.ts +24 -0
- package/dist/anchors/aws-dynamodb/aws-dynamodb.anchor.schema.js +38 -0
- package/dist/anchors/aws-dynamodb/aws-dynamodb.anchor.schema.js.map +1 -0
- package/dist/anchors/aws-ecr/aws-ecr-image.anchor.d.ts +12 -0
- package/dist/anchors/aws-ecr/aws-ecr-image.anchor.js +27 -0
- package/dist/anchors/aws-ecr/aws-ecr-image.anchor.js.map +1 -0
- package/dist/anchors/aws-ecr/aws-ecr-image.anchor.schema.d.ts +25 -0
- package/dist/anchors/aws-ecr/aws-ecr-image.anchor.schema.js +39 -0
- package/dist/anchors/aws-ecr/aws-ecr-image.anchor.schema.js.map +1 -0
- package/dist/anchors/aws-ecs/aws-ecs-alb.anchor.d.ts +3 -0
- package/dist/anchors/aws-ecs/aws-ecs-alb.anchor.js +3 -0
- package/dist/anchors/aws-ecs/aws-ecs-alb.anchor.js.map +1 -1
- package/dist/anchors/aws-ecs/aws-ecs-alb.anchor.schema.d.ts +3 -0
- package/dist/anchors/aws-ecs/aws-ecs-alb.anchor.schema.js +3 -0
- package/dist/anchors/aws-ecs/aws-ecs-alb.anchor.schema.js.map +1 -1
- package/dist/anchors/aws-ecs/aws-ecs-cluster.anchor.d.ts +3 -0
- package/dist/anchors/aws-ecs/aws-ecs-cluster.anchor.js +3 -0
- package/dist/anchors/aws-ecs/aws-ecs-cluster.anchor.js.map +1 -1
- package/dist/anchors/aws-ecs/aws-ecs-cluster.anchor.schema.d.ts +3 -0
- package/dist/anchors/aws-ecs/aws-ecs-cluster.anchor.schema.js +3 -0
- package/dist/anchors/aws-ecs/aws-ecs-cluster.anchor.schema.js.map +1 -1
- package/dist/anchors/aws-ecs/aws-ecs-execution.anchor.d.ts +3 -0
- package/dist/anchors/aws-ecs/aws-ecs-execution.anchor.js +3 -0
- package/dist/anchors/aws-ecs/aws-ecs-execution.anchor.js.map +1 -1
- package/dist/anchors/aws-ecs/aws-ecs-execution.anchor.schema.d.ts +3 -0
- package/dist/anchors/aws-ecs/aws-ecs-execution.anchor.schema.js +3 -0
- package/dist/anchors/aws-ecs/aws-ecs-execution.anchor.schema.js.map +1 -1
- package/dist/anchors/aws-ecs/aws-ecs-server.anchor.d.ts +3 -0
- package/dist/anchors/aws-ecs/aws-ecs-server.anchor.js +3 -0
- package/dist/anchors/aws-ecs/aws-ecs-server.anchor.js.map +1 -1
- package/dist/anchors/aws-ecs/aws-ecs-server.anchor.schema.d.ts +3 -0
- package/dist/anchors/aws-ecs/aws-ecs-server.anchor.schema.js +3 -0
- package/dist/anchors/aws-ecs/aws-ecs-server.anchor.schema.js.map +1 -1
- package/dist/anchors/aws-ecs/aws-ecs-service.anchor.d.ts +3 -0
- package/dist/anchors/aws-ecs/aws-ecs-service.anchor.js +3 -0
- package/dist/anchors/aws-ecs/aws-ecs-service.anchor.js.map +1 -1
- package/dist/anchors/aws-ecs/aws-ecs-service.anchor.schema.d.ts +3 -0
- package/dist/anchors/aws-ecs/aws-ecs-service.anchor.schema.js +3 -0
- package/dist/anchors/aws-ecs/aws-ecs-service.anchor.schema.js.map +1 -1
- package/dist/anchors/aws-ecs/aws-ecs-task-definition.anchor.d.ts +3 -0
- package/dist/anchors/aws-ecs/aws-ecs-task-definition.anchor.js +3 -0
- package/dist/anchors/aws-ecs/aws-ecs-task-definition.anchor.js.map +1 -1
- package/dist/anchors/aws-ecs/aws-ecs-task-definition.anchor.schema.d.ts +3 -0
- package/dist/anchors/aws-ecs/aws-ecs-task-definition.anchor.schema.js +3 -0
- package/dist/anchors/aws-ecs/aws-ecs-task-definition.anchor.schema.js.map +1 -1
- package/dist/anchors/aws-efs/aws-efs.anchor.d.ts +3 -0
- package/dist/anchors/aws-efs/aws-efs.anchor.js +3 -0
- package/dist/anchors/aws-efs/aws-efs.anchor.js.map +1 -1
- package/dist/anchors/aws-efs/aws-efs.anchor.schema.d.ts +3 -0
- package/dist/anchors/aws-efs/aws-efs.anchor.schema.js +3 -0
- package/dist/anchors/aws-efs/aws-efs.anchor.schema.js.map +1 -1
- package/dist/anchors/aws-iam/aws-iam-role.anchor.d.ts +3 -0
- package/dist/anchors/aws-iam/aws-iam-role.anchor.js +3 -0
- package/dist/anchors/aws-iam/aws-iam-role.anchor.js.map +1 -1
- package/dist/anchors/aws-iam/aws-iam-role.anchor.schema.d.ts +3 -0
- package/dist/anchors/aws-iam/aws-iam-role.anchor.schema.js +3 -0
- package/dist/anchors/aws-iam/aws-iam-role.anchor.schema.js.map +1 -1
- package/dist/anchors/aws-region/aws-region.anchor.d.ts +3 -0
- package/dist/anchors/aws-region/aws-region.anchor.js +3 -0
- package/dist/anchors/aws-region/aws-region.anchor.js.map +1 -1
- package/dist/anchors/aws-region/aws-region.anchor.schema.d.ts +3 -0
- package/dist/anchors/aws-region/aws-region.anchor.schema.js +3 -0
- package/dist/anchors/aws-region/aws-region.anchor.schema.js.map +1 -1
- package/dist/anchors/aws-s3-storage-service/aws-s3-storage-service-directory.anchor.d.ts +3 -0
- package/dist/anchors/aws-s3-storage-service/aws-s3-storage-service-directory.anchor.js +3 -0
- package/dist/anchors/aws-s3-storage-service/aws-s3-storage-service-directory.anchor.js.map +1 -1
- package/dist/anchors/aws-s3-storage-service/aws-s3-storage-service-directory.anchor.schema.d.ts +3 -0
- package/dist/anchors/aws-s3-storage-service/aws-s3-storage-service-directory.anchor.schema.js +3 -0
- package/dist/anchors/aws-s3-storage-service/aws-s3-storage-service-directory.anchor.schema.js.map +1 -1
- package/dist/anchors/aws-s3-storage-service/aws-s3-storage-service.anchor.d.ts +3 -0
- package/dist/anchors/aws-s3-storage-service/aws-s3-storage-service.anchor.js +3 -0
- package/dist/anchors/aws-s3-storage-service/aws-s3-storage-service.anchor.js.map +1 -1
- 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.d.ts +3 -0
- package/dist/anchors/aws-security-group/aws-security-group.anchor.js +3 -0
- package/dist/anchors/aws-security-group/aws-security-group.anchor.js.map +1 -1
- package/dist/anchors/aws-security-group/aws-security-group.anchor.schema.d.ts +3 -0
- package/dist/anchors/aws-security-group/aws-security-group.anchor.schema.js +3 -0
- package/dist/anchors/aws-security-group/aws-security-group.anchor.schema.js.map +1 -1
- package/dist/anchors/aws-subnet/aws-subnet-local-filesystem-mount.anchor.d.ts +3 -0
- package/dist/anchors/aws-subnet/aws-subnet-local-filesystem-mount.anchor.js +3 -0
- package/dist/anchors/aws-subnet/aws-subnet-local-filesystem-mount.anchor.js.map +1 -1
- package/dist/anchors/aws-subnet/aws-subnet-local-filesystem-mount.anchor.schema.d.ts +3 -0
- package/dist/anchors/aws-subnet/aws-subnet-local-filesystem-mount.anchor.schema.js +3 -0
- package/dist/anchors/aws-subnet/aws-subnet-local-filesystem-mount.anchor.schema.js.map +1 -1
- package/dist/anchors/aws-subnet/aws-subnet.anchor.d.ts +3 -0
- package/dist/anchors/aws-subnet/aws-subnet.anchor.js +3 -0
- package/dist/anchors/aws-subnet/aws-subnet.anchor.js.map +1 -1
- package/dist/anchors/aws-subnet/aws-subnet.anchor.schema.d.ts +3 -0
- package/dist/anchors/aws-subnet/aws-subnet.anchor.schema.js +3 -0
- package/dist/anchors/aws-subnet/aws-subnet.anchor.schema.js.map +1 -1
- package/dist/factories/aws-client.factory.d.ts +73 -63
- package/dist/factories/aws-client.factory.js +94 -145
- package/dist/factories/aws-client.factory.js.map +1 -1
- package/dist/modules/account/aws-credentials-account/aws-credentials-account.module.d.ts +5 -2
- package/dist/modules/account/aws-credentials-account/aws-credentials-account.module.js +11 -24
- package/dist/modules/account/aws-credentials-account/aws-credentials-account.module.js.map +1 -1
- package/dist/modules/account/aws-credentials-account/index.schema.d.ts +3 -4
- package/dist/modules/account/aws-credentials-account/index.schema.js +5 -6
- package/dist/modules/account/aws-credentials-account/index.schema.js.map +1 -1
- package/dist/modules/account/aws-credentials-account/models/account/actions/add-aws-credentials-account.model.action.d.ts +9 -0
- package/dist/modules/account/aws-credentials-account/models/account/actions/add-aws-credentials-account.model.action.js +9 -0
- package/dist/modules/account/aws-credentials-account/models/account/actions/add-aws-credentials-account.model.action.js.map +1 -1
- package/dist/modules/account/aws-credentials-account/models/account/aws-credentials-account.model.d.ts +15 -1
- package/dist/modules/account/aws-credentials-account/models/account/aws-credentials-account.model.js +17 -3
- package/dist/modules/account/aws-credentials-account/models/account/aws-credentials-account.model.js.map +1 -1
- package/dist/modules/account/aws-ini-account/aws-ini-account.module.d.ts +4 -1
- package/dist/modules/account/aws-ini-account/aws-ini-account.module.js +10 -17
- package/dist/modules/account/aws-ini-account/aws-ini-account.module.js.map +1 -1
- package/dist/modules/account/aws-ini-account/index.schema.d.ts +5 -0
- package/dist/modules/account/aws-ini-account/index.schema.js +12 -0
- package/dist/modules/account/aws-ini-account/index.schema.js.map +1 -1
- package/dist/modules/account/aws-ini-account/models/account/actions/add-aws-ini-account.model.action.d.ts +9 -0
- package/dist/modules/account/aws-ini-account/models/account/actions/add-aws-ini-account.model.action.js +9 -0
- package/dist/modules/account/aws-ini-account/models/account/actions/add-aws-ini-account.model.action.js.map +1 -1
- package/dist/modules/account/aws-ini-account/models/account/aws-ini-account.model.d.ts +15 -1
- package/dist/modules/account/aws-ini-account/models/account/aws-ini-account.model.js +18 -4
- package/dist/modules/account/aws-ini-account/models/account/aws-ini-account.model.js.map +1 -1
- package/dist/modules/account/aws-localstack-account/aws-localstack-account.module.d.ts +5 -3
- package/dist/modules/account/aws-localstack-account/aws-localstack-account.module.js +11 -37
- package/dist/modules/account/aws-localstack-account/aws-localstack-account.module.js.map +1 -1
- package/dist/modules/account/aws-localstack-account/index.schema.d.ts +3 -10
- package/dist/modules/account/aws-localstack-account/index.schema.js +5 -19
- package/dist/modules/account/aws-localstack-account/index.schema.js.map +1 -1
- package/dist/modules/account/aws-localstack-account/models/account/actions/add-aws-localstack-account.model.action.d.ts +9 -0
- package/dist/modules/account/aws-localstack-account/models/account/actions/add-aws-localstack-account.model.action.js +9 -0
- package/dist/modules/account/aws-localstack-account/models/account/actions/add-aws-localstack-account.model.action.js.map +1 -1
- package/dist/modules/account/aws-localstack-account/models/account/aws-localstack-account.model.d.ts +15 -1
- package/dist/modules/account/aws-localstack-account/models/account/aws-localstack-account.model.js +17 -3
- package/dist/modules/account/aws-localstack-account/models/account/aws-localstack-account.model.js.map +1 -1
- package/dist/modules/account/aws-moto-account/aws-moto-account.module.d.ts +5 -2
- package/dist/modules/account/aws-moto-account/aws-moto-account.module.js +11 -22
- package/dist/modules/account/aws-moto-account/aws-moto-account.module.js.map +1 -1
- package/dist/modules/account/aws-moto-account/index.schema.d.ts +3 -4
- package/dist/modules/account/aws-moto-account/index.schema.js +5 -6
- package/dist/modules/account/aws-moto-account/index.schema.js.map +1 -1
- package/dist/modules/account/aws-moto-account/models/account/actions/add-aws-moto-account.model.action.d.ts +9 -0
- package/dist/modules/account/aws-moto-account/models/account/actions/add-aws-moto-account.model.action.js +9 -0
- package/dist/modules/account/aws-moto-account/models/account/actions/add-aws-moto-account.model.action.js.map +1 -1
- package/dist/modules/account/aws-moto-account/models/account/aws-moto-account.model.d.ts +15 -1
- package/dist/modules/account/aws-moto-account/models/account/aws-moto-account.model.js +17 -3
- package/dist/modules/account/aws-moto-account/models/account/aws-moto-account.model.js.map +1 -1
- package/dist/modules/app/simple-app/models/app/actions/add-simple-app.model.action.d.ts +9 -0
- package/dist/modules/app/simple-app/models/app/actions/add-simple-app.model.action.js +9 -0
- package/dist/modules/app/simple-app/models/app/actions/add-simple-app.model.action.js.map +1 -1
- package/dist/modules/app/simple-app/simple-app.module.d.ts +4 -1
- package/dist/modules/app/simple-app/simple-app.module.js +4 -1
- package/dist/modules/app/simple-app/simple-app.module.js.map +1 -1
- package/dist/modules/deployment/aws-ecs-deployment/aws-ecs-deployment.module.d.ts +4 -1
- package/dist/modules/deployment/aws-ecs-deployment/aws-ecs-deployment.module.js +4 -1
- package/dist/modules/deployment/aws-ecs-deployment/aws-ecs-deployment.module.js.map +1 -1
- package/dist/modules/deployment/aws-ecs-deployment/models/deployment/actions/add-aws-ecs-deployment.model.action.d.ts +9 -0
- package/dist/modules/deployment/aws-ecs-deployment/models/deployment/actions/add-aws-ecs-deployment.model.action.js +9 -0
- package/dist/modules/deployment/aws-ecs-deployment/models/deployment/actions/add-aws-ecs-deployment.model.action.js.map +1 -1
- package/dist/modules/deployment/aws-ecs-deployment/models/deployment/aws-ecs-deployment.model.d.ts +3 -0
- package/dist/modules/deployment/aws-ecs-deployment/models/deployment/aws-ecs-deployment.model.js +3 -0
- package/dist/modules/deployment/aws-ecs-deployment/models/deployment/aws-ecs-deployment.model.js.map +1 -1
- package/dist/modules/environment/aws-ecs-environment/aws-ecs-environment.module.d.ts +7 -1
- package/dist/modules/environment/aws-ecs-environment/aws-ecs-environment.module.js +7 -1
- package/dist/modules/environment/aws-ecs-environment/aws-ecs-environment.module.js.map +1 -1
- package/dist/modules/environment/aws-ecs-environment/models/environment/actions/add-aws-ecs-environment.model.action.d.ts +9 -0
- package/dist/modules/environment/aws-ecs-environment/models/environment/actions/add-aws-ecs-environment.model.action.js +9 -0
- package/dist/modules/environment/aws-ecs-environment/models/environment/actions/add-aws-ecs-environment.model.action.js.map +1 -1
- package/dist/modules/environment/aws-ecs-environment/models/environment/aws-ecs-environment.model.d.ts +3 -0
- package/dist/modules/environment/aws-ecs-environment/models/environment/aws-ecs-environment.model.js +3 -0
- package/dist/modules/environment/aws-ecs-environment/models/environment/aws-ecs-environment.model.js.map +1 -1
- package/dist/modules/execution/aws-ecs-execution/aws-ecs-execution.module.d.ts +7 -1
- package/dist/modules/execution/aws-ecs-execution/aws-ecs-execution.module.js +7 -1
- package/dist/modules/execution/aws-ecs-execution/aws-ecs-execution.module.js.map +1 -1
- package/dist/modules/execution/aws-ecs-execution/models/execution/actions/add-aws-ecs-execution.model.action.d.ts +9 -0
- package/dist/modules/execution/aws-ecs-execution/models/execution/actions/add-aws-ecs-execution.model.action.js +9 -0
- package/dist/modules/execution/aws-ecs-execution/models/execution/actions/add-aws-ecs-execution.model.action.js.map +1 -1
- package/dist/modules/execution/aws-ecs-execution/models/execution/aws-ecs-execution.model.d.ts +18 -3
- package/dist/modules/execution/aws-ecs-execution/models/execution/aws-ecs-execution.model.js +30 -15
- 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.d.ts +9 -0
- package/dist/modules/execution/aws-ecs-execution/overlays/aws-ecs-execution/actions/add-aws-ecs-execution.overlay.action.js +30 -1
- 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 +6 -0
- package/dist/modules/execution/aws-ecs-execution/overlays/aws-ecs-execution/aws-ecs-execution.overlay.js +6 -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-server-security-group/actions/add-aws-ecs-execution-server-security-group.overlay.action.d.ts +9 -0
- 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 +9 -0
- 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 +6 -0
- package/dist/modules/execution/aws-ecs-execution/overlays/aws-ecs-execution-server-security-group/aws-ecs-execution-server-security-group.overlay.js +6 -0
- 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/filesystem/aws-efs-filesystem/aws-efs-filesystem.module.d.ts +7 -1
- package/dist/modules/filesystem/aws-efs-filesystem/aws-efs-filesystem.module.js +7 -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.d.ts +9 -0
- package/dist/modules/filesystem/aws-efs-filesystem/models/filesystem/actions/add-aws-efs-filesystem.model.action.js +9 -0
- package/dist/modules/filesystem/aws-efs-filesystem/models/filesystem/actions/add-aws-efs-filesystem.model.action.js.map +1 -1
- package/dist/modules/filesystem/aws-efs-filesystem/models/filesystem/aws-efs-filesystem.model.d.ts +3 -0
- package/dist/modules/filesystem/aws-efs-filesystem/models/filesystem/aws-efs-filesystem.model.js +3 -0
- package/dist/modules/filesystem/aws-efs-filesystem/models/filesystem/aws-efs-filesystem.model.js.map +1 -1
- package/dist/modules/image/aws-ecr-image/aws-ecr-image.module.d.ts +9 -12
- package/dist/modules/image/aws-ecr-image/aws-ecr-image.module.js +13 -33
- package/dist/modules/image/aws-ecr-image/aws-ecr-image.module.js.map +1 -1
- package/dist/modules/image/aws-ecr-image/models/image/actions/add-aws-ecr-image.model.action.d.ts +9 -0
- package/dist/modules/image/aws-ecr-image/models/image/actions/add-aws-ecr-image.model.action.js +9 -0
- 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/aws-ecr-image.model.d.ts +3 -0
- package/dist/modules/image/aws-ecr-image/models/image/aws-ecr-image.model.js +3 -0
- package/dist/modules/image/aws-ecr-image/models/image/aws-ecr-image.model.js.map +1 -1
- package/dist/modules/image/aws-ecr-image-tag/aws-ecr-image-tag.module.d.ts +41 -0
- package/dist/modules/image/aws-ecr-image-tag/aws-ecr-image-tag.module.js +73 -0
- package/dist/modules/image/aws-ecr-image-tag/aws-ecr-image-tag.module.js.map +1 -0
- package/dist/modules/image/aws-ecr-image-tag/index.d.ts +1 -0
- package/dist/modules/image/aws-ecr-image-tag/index.js +2 -0
- package/dist/modules/image/aws-ecr-image-tag/index.js.map +1 -0
- package/dist/modules/image/aws-ecr-image-tag/index.schema.d.ts +42 -0
- package/dist/modules/image/aws-ecr-image-tag/index.schema.js +83 -0
- package/dist/modules/image/aws-ecr-image-tag/index.schema.js.map +1 -0
- package/dist/modules/image/aws-ecr-image-tag/overlays/aws-ecr-image-tag/actions/add-aws-ecr-image-tag.overlay.action.d.ts +26 -0
- package/dist/modules/image/aws-ecr-image-tag/overlays/aws-ecr-image-tag/actions/add-aws-ecr-image-tag.overlay.action.js +77 -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 -0
- package/dist/modules/image/aws-ecr-image-tag/overlays/aws-ecr-image-tag/aws-ecr-image-tag.overlay.d.ts +26 -0
- package/dist/modules/image/aws-ecr-image-tag/overlays/aws-ecr-image-tag/aws-ecr-image-tag.overlay.js +43 -0
- package/dist/modules/image/aws-ecr-image-tag/overlays/aws-ecr-image-tag/aws-ecr-image-tag.overlay.js.map +1 -0
- package/dist/modules/image/aws-ecr-image-tag/overlays/aws-ecr-image-tag/aws-ecr-image-tag.schema.d.ts +12 -0
- package/dist/modules/image/aws-ecr-image-tag/overlays/aws-ecr-image-tag/aws-ecr-image-tag.schema.js +32 -0
- package/dist/modules/image/aws-ecr-image-tag/overlays/aws-ecr-image-tag/aws-ecr-image-tag.schema.js.map +1 -0
- package/dist/modules/image/aws-ecr-image-tag/overlays/aws-ecr-image-tag/index.d.ts +2 -0
- package/dist/modules/image/aws-ecr-image-tag/overlays/aws-ecr-image-tag/index.js +3 -0
- package/dist/modules/image/aws-ecr-image-tag/overlays/aws-ecr-image-tag/index.js.map +1 -0
- package/dist/modules/region/aws-multi-az-region/aws-multi-az-region.module.d.ts +6 -2
- package/dist/modules/region/aws-multi-az-region/aws-multi-az-region.module.js +12 -3
- 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/actions/add-aws-multi-az-region.model.action.d.ts +9 -0
- package/dist/modules/region/aws-multi-az-region/models/region/actions/add-aws-multi-az-region.model.action.js +9 -0
- package/dist/modules/region/aws-multi-az-region/models/region/actions/add-aws-multi-az-region.model.action.js.map +1 -1
- package/dist/modules/region/aws-multi-az-region/models/region/aws-multi-az-region.model.d.ts +13 -1
- package/dist/modules/region/aws-multi-az-region/models/region/aws-multi-az-region.model.js +15 -3
- package/dist/modules/region/aws-multi-az-region/models/region/aws-multi-az-region.model.js.map +1 -1
- package/dist/modules/region/aws-single-az-region/aws-single-az-region.module.d.ts +6 -2
- package/dist/modules/region/aws-single-az-region/aws-single-az-region.module.js +12 -3
- 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/actions/add-aws-single-az-region.model.action.d.ts +9 -0
- package/dist/modules/region/aws-single-az-region/models/region/actions/add-aws-single-az-region.model.action.js +9 -0
- package/dist/modules/region/aws-single-az-region/models/region/actions/add-aws-single-az-region.model.action.js.map +1 -1
- package/dist/modules/region/aws-single-az-region/models/region/aws-single-az-region.model.d.ts +13 -1
- package/dist/modules/region/aws-single-az-region/models/region/aws-single-az-region.model.js +15 -3
- package/dist/modules/region/aws-single-az-region/models/region/aws-single-az-region.model.js.map +1 -1
- package/dist/modules/server/aws-ecs-server/aws-ecs-server.module.d.ts +7 -1
- package/dist/modules/server/aws-ecs-server/aws-ecs-server.module.js +7 -1
- package/dist/modules/server/aws-ecs-server/aws-ecs-server.module.js.map +1 -1
- package/dist/modules/server/aws-ecs-server/index.schema.d.ts +9 -3
- package/dist/modules/server/aws-ecs-server/index.schema.js +9 -3
- package/dist/modules/server/aws-ecs-server/index.schema.js.map +1 -1
- package/dist/modules/server/aws-ecs-server/models/server/actions/add-aws-ecs-server.model.action.d.ts +9 -0
- package/dist/modules/server/aws-ecs-server/models/server/actions/add-aws-ecs-server.model.action.js +9 -0
- package/dist/modules/server/aws-ecs-server/models/server/actions/add-aws-ecs-server.model.action.js.map +1 -1
- package/dist/modules/server/aws-ecs-server/models/server/aws-ecs-server.model.d.ts +3 -0
- package/dist/modules/server/aws-ecs-server/models/server/aws-ecs-server.model.js +3 -0
- package/dist/modules/server/aws-ecs-server/models/server/aws-ecs-server.model.js.map +1 -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 +9 -0
- package/dist/modules/server/aws-ecs-server/overlays/aws-ecs-server-s3-access/actions/add-aws-ecs-server-s3-access.overlay.action.js +9 -0
- package/dist/modules/server/aws-ecs-server/overlays/aws-ecs-server-s3-access/actions/add-aws-ecs-server-s3-access.overlay.action.js.map +1 -1
- package/dist/modules/server/aws-ecs-server/overlays/aws-ecs-server-s3-access/aws-ecs-server-s3-access.overlay.d.ts +6 -0
- package/dist/modules/server/aws-ecs-server/overlays/aws-ecs-server-s3-access/aws-ecs-server-s3-access.overlay.js +6 -0
- package/dist/modules/server/aws-ecs-server/overlays/aws-ecs-server-s3-access/aws-ecs-server-s3-access.overlay.js.map +1 -1
- package/dist/modules/service/aws-dynamodb-global-service/aws-dynamodb-global-service.module.d.ts +39 -0
- package/dist/modules/service/aws-dynamodb-global-service/aws-dynamodb-global-service.module.js +70 -0
- package/dist/modules/service/aws-dynamodb-global-service/aws-dynamodb-global-service.module.js.map +1 -0
- package/dist/modules/service/aws-dynamodb-global-service/index.d.ts +1 -0
- package/dist/modules/service/aws-dynamodb-global-service/index.js +2 -0
- package/dist/modules/service/aws-dynamodb-global-service/index.js.map +1 -0
- package/dist/modules/service/aws-dynamodb-global-service/index.schema.d.ts +41 -0
- package/dist/modules/service/aws-dynamodb-global-service/index.schema.js +103 -0
- package/dist/modules/service/aws-dynamodb-global-service/index.schema.js.map +1 -0
- package/dist/modules/service/aws-dynamodb-global-service/models/service/actions/add-aws-dynamodb-global-service.model.action.d.ts +26 -0
- package/dist/modules/service/aws-dynamodb-global-service/models/service/actions/add-aws-dynamodb-global-service.model.action.js +79 -0
- package/dist/modules/service/aws-dynamodb-global-service/models/service/actions/add-aws-dynamodb-global-service.model.action.js.map +1 -0
- package/dist/modules/service/aws-dynamodb-global-service/models/service/aws-dynamodb-global-service.model.d.ts +20 -0
- package/dist/modules/service/aws-dynamodb-global-service/models/service/aws-dynamodb-global-service.model.js +49 -0
- package/dist/modules/service/aws-dynamodb-global-service/models/service/aws-dynamodb-global-service.model.js.map +1 -0
- package/dist/modules/service/aws-dynamodb-global-service/models/service/aws-dynamodb-global-service.schema.d.ts +7 -0
- package/dist/modules/service/aws-dynamodb-global-service/models/service/aws-dynamodb-global-service.schema.js +24 -0
- package/dist/modules/service/aws-dynamodb-global-service/models/service/aws-dynamodb-global-service.schema.js.map +1 -0
- package/dist/modules/service/aws-dynamodb-global-service/models/service/index.d.ts +2 -0
- package/dist/modules/service/aws-dynamodb-global-service/models/service/index.js +3 -0
- package/dist/modules/service/aws-dynamodb-global-service/models/service/index.js.map +1 -0
- package/dist/modules/service/aws-dynamodb-service/aws-dynamodb-service.module.d.ts +44 -0
- package/dist/modules/service/aws-dynamodb-service/aws-dynamodb-service.module.js +76 -0
- package/dist/modules/service/aws-dynamodb-service/aws-dynamodb-service.module.js.map +1 -0
- package/dist/modules/service/aws-dynamodb-service/index.d.ts +1 -0
- package/dist/modules/service/aws-dynamodb-service/index.js +2 -0
- package/dist/modules/service/aws-dynamodb-service/index.js.map +1 -0
- package/dist/modules/service/aws-dynamodb-service/index.schema.d.ts +66 -0
- package/dist/modules/service/aws-dynamodb-service/index.schema.js +161 -0
- package/dist/modules/service/aws-dynamodb-service/index.schema.js.map +1 -0
- package/dist/modules/service/aws-dynamodb-service/models/service/actions/add-aws-dynamodb-service.model.action.d.ts +26 -0
- package/dist/modules/service/aws-dynamodb-service/models/service/actions/add-aws-dynamodb-service.model.action.js +70 -0
- package/dist/modules/service/aws-dynamodb-service/models/service/actions/add-aws-dynamodb-service.model.action.js.map +1 -0
- package/dist/modules/service/aws-dynamodb-service/models/service/aws-dynamodb-service.model.d.ts +20 -0
- package/dist/modules/service/aws-dynamodb-service/models/service/aws-dynamodb-service.model.js +49 -0
- package/dist/modules/service/aws-dynamodb-service/models/service/aws-dynamodb-service.model.js.map +1 -0
- package/dist/modules/service/aws-dynamodb-service/models/service/aws-dynamodb-service.schema.d.ts +7 -0
- package/dist/modules/service/aws-dynamodb-service/models/service/aws-dynamodb-service.schema.js +24 -0
- package/dist/modules/service/aws-dynamodb-service/models/service/aws-dynamodb-service.schema.js.map +1 -0
- package/dist/modules/service/aws-dynamodb-service/models/service/index.d.ts +2 -0
- package/dist/modules/service/aws-dynamodb-service/models/service/index.js +3 -0
- package/dist/modules/service/aws-dynamodb-service/models/service/index.js.map +1 -0
- package/dist/modules/service/aws-ecs-alb-service/aws-ecs-alb-service.module.d.ts +7 -1
- package/dist/modules/service/aws-ecs-alb-service/aws-ecs-alb-service.module.js +7 -1
- 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.d.ts +9 -0
- package/dist/modules/service/aws-ecs-alb-service/models/service/actions/add-aws-ecs-alb-service.model.action.js +9 -0
- 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 +13 -1
- package/dist/modules/service/aws-ecs-alb-service/models/service/aws-ecs-alb-service.model.js +16 -4
- 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/overlays/aws-ecs-alb-service/actions/add-aws-ecs-alb-service.overlay.action.d.ts +9 -0
- package/dist/modules/service/aws-ecs-alb-service/overlays/aws-ecs-alb-service/actions/add-aws-ecs-alb-service.overlay.action.js +10 -3
- 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-ecs-alb-service/overlays/aws-ecs-alb-service/aws-ecs-alb-service.overlay.d.ts +6 -0
- package/dist/modules/service/aws-ecs-alb-service/overlays/aws-ecs-alb-service/aws-ecs-alb-service.overlay.js +6 -0
- package/dist/modules/service/aws-ecs-alb-service/overlays/aws-ecs-alb-service/aws-ecs-alb-service.overlay.js.map +1 -1
- package/dist/modules/service/aws-s3-static-website-service/aws-s3-static-website-service.module.d.ts +16 -11
- package/dist/modules/service/aws-s3-static-website-service/aws-s3-static-website-service.module.js +20 -59
- 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 +58 -0
- package/dist/modules/service/aws-s3-static-website-service/index.schema.js +96 -0
- 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.d.ts +9 -0
- package/dist/modules/service/aws-s3-static-website-service/models/service/actions/add-aws-s3-static-website-service.model.action.js +98 -4
- 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 +11 -2
- package/dist/modules/service/aws-s3-static-website-service/models/service/actions/update-aws-s3-static-website-service-source-paths.model.action.js +27 -2
- 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 +26 -8
- package/dist/modules/service/aws-s3-static-website-service/models/service/aws-s3-static-website-service.model.js +55 -69
- 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 +7 -1
- package/dist/modules/service/aws-s3-storage-service/aws-s3-storage-service.module.js +7 -1
- 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/models/service/actions/add-aws-s3-storage-service.model.action.d.ts +9 -0
- package/dist/modules/service/aws-s3-storage-service/models/service/actions/add-aws-s3-storage-service.model.action.js +9 -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/aws-s3-storage-service.model.d.ts +13 -1
- package/dist/modules/service/aws-s3-storage-service/models/service/aws-s3-storage-service.model.js +17 -5
- package/dist/modules/service/aws-s3-storage-service/models/service/aws-s3-storage-service.model.js.map +1 -1
- package/dist/modules/subnet/aws-simple-subnet/aws-simple-subnet.module.d.ts +7 -1
- package/dist/modules/subnet/aws-simple-subnet/aws-simple-subnet.module.js +9 -3
- 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.d.ts +9 -0
- package/dist/modules/subnet/aws-simple-subnet/models/subnet/actions/add-aws-simple-subnet.model.action.js +9 -0
- 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/models/subnet/actions/update-aws-simple-subnet-association.model.action.d.ts +9 -0
- package/dist/modules/subnet/aws-simple-subnet/models/subnet/actions/update-aws-simple-subnet-association.model.action.js +11 -2
- package/dist/modules/subnet/aws-simple-subnet/models/subnet/actions/update-aws-simple-subnet-association.model.action.js.map +1 -1
- package/dist/modules/subnet/aws-simple-subnet/models/subnet/aws-simple-subnet.model.d.ts +10 -1
- package/dist/modules/subnet/aws-simple-subnet/models/subnet/aws-simple-subnet.model.js +9 -0
- package/dist/modules/subnet/aws-simple-subnet/models/subnet/aws-simple-subnet.model.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.d.ts +9 -0
- 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 +9 -0
- 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 +6 -0
- package/dist/modules/subnet/aws-simple-subnet/overlays/aws-simple-subnet-local-filesystem-mount/aws-simple-subnet-local-filesystem-mount.overlay.js +6 -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.d.ts +15 -2
- package/dist/resources/alb/alb.resource.js +41 -4
- package/dist/resources/alb/alb.resource.js.map +1 -1
- package/dist/resources/alb/index.d.ts +0 -6
- package/dist/resources/alb/index.js +0 -6
- package/dist/resources/alb/index.js.map +1 -1
- package/dist/resources/alb/index.schema.d.ts +2 -2
- package/dist/resources/alb/index.schema.js +6 -3
- package/dist/resources/alb/index.schema.js.map +1 -1
- package/dist/resources/alb-listener/alb-listener.resource.d.ts +22 -29
- package/dist/resources/alb-listener/alb-listener.resource.js +134 -68
- package/dist/resources/alb-listener/alb-listener.resource.js.map +1 -1
- package/dist/resources/alb-listener/index.d.ts +0 -6
- package/dist/resources/alb-listener/index.js +0 -6
- package/dist/resources/alb-listener/index.js.map +1 -1
- package/dist/resources/alb-listener/index.schema.d.ts +4 -10
- package/dist/resources/alb-listener/index.schema.js +8 -12
- package/dist/resources/alb-listener/index.schema.js.map +1 -1
- package/dist/resources/alb-target-group/alb-target-group.resource.d.ts +12 -3
- package/dist/resources/alb-target-group/alb-target-group.resource.js +50 -14
- package/dist/resources/alb-target-group/alb-target-group.resource.js.map +1 -1
- package/dist/resources/alb-target-group/index.d.ts +0 -5
- package/dist/resources/alb-target-group/index.js +0 -5
- package/dist/resources/alb-target-group/index.js.map +1 -1
- package/dist/resources/alb-target-group/index.schema.d.ts +2 -2
- package/dist/resources/alb-target-group/index.schema.js +5 -3
- package/dist/resources/alb-target-group/index.schema.js.map +1 -1
- package/dist/resources/cloudfront-distribution/cloudfront-distribution.resource.d.ts +97 -0
- package/dist/resources/cloudfront-distribution/cloudfront-distribution.resource.js +613 -0
- package/dist/resources/cloudfront-distribution/cloudfront-distribution.resource.js.map +1 -0
- package/dist/resources/cloudfront-distribution/index.d.ts +1 -0
- package/dist/resources/cloudfront-distribution/index.js +2 -0
- package/dist/resources/cloudfront-distribution/index.js.map +1 -0
- package/dist/resources/cloudfront-distribution/index.schema.d.ts +522 -0
- package/dist/resources/cloudfront-distribution/index.schema.js +754 -0
- package/dist/resources/cloudfront-distribution/index.schema.js.map +1 -0
- package/dist/resources/cloudfront-invalidation/actions/add-cloudfront-invalidation.resource.action.d.ts +36 -0
- package/dist/resources/cloudfront-invalidation/actions/add-cloudfront-invalidation.resource.action.js +90 -0
- package/dist/resources/cloudfront-invalidation/actions/add-cloudfront-invalidation.resource.action.js.map +1 -0
- package/dist/resources/cloudfront-invalidation/actions/delete-cloudfront-invalidation.resource.action.d.ts +39 -0
- package/dist/resources/cloudfront-invalidation/actions/delete-cloudfront-invalidation.resource.action.js +69 -0
- package/dist/resources/cloudfront-invalidation/actions/delete-cloudfront-invalidation.resource.action.js.map +1 -0
- package/dist/resources/cloudfront-invalidation/actions/update-cloudfront-invalidation.resource.action.d.ts +37 -0
- package/dist/resources/cloudfront-invalidation/actions/update-cloudfront-invalidation.resource.action.js +91 -0
- package/dist/resources/cloudfront-invalidation/actions/update-cloudfront-invalidation.resource.action.js.map +1 -0
- package/dist/resources/cloudfront-invalidation/cloudfront-invalidation.resource.d.ts +62 -0
- package/dist/resources/cloudfront-invalidation/cloudfront-invalidation.resource.js +89 -0
- package/dist/resources/cloudfront-invalidation/cloudfront-invalidation.resource.js.map +1 -0
- package/dist/resources/cloudfront-invalidation/index.d.ts +5 -0
- package/dist/resources/cloudfront-invalidation/index.js +6 -0
- package/dist/resources/cloudfront-invalidation/index.js.map +1 -0
- package/dist/resources/cloudfront-invalidation/index.schema.d.ts +61 -0
- package/dist/resources/cloudfront-invalidation/index.schema.js +110 -0
- package/dist/resources/cloudfront-invalidation/index.schema.js.map +1 -0
- package/dist/resources/dynamodb/dynamodb.resource.d.ts +34 -0
- package/dist/resources/dynamodb/dynamodb.resource.js +273 -0
- package/dist/resources/dynamodb/dynamodb.resource.js.map +1 -0
- package/dist/resources/dynamodb/index.d.ts +1 -0
- package/dist/resources/dynamodb/index.js +2 -0
- package/dist/resources/dynamodb/index.js.map +1 -0
- package/dist/resources/dynamodb/index.schema.d.ts +125 -0
- package/dist/resources/dynamodb/index.schema.js +274 -0
- package/dist/resources/dynamodb/index.schema.js.map +1 -0
- package/dist/resources/dynamodb-global/dynamodb-global.resource.d.ts +52 -0
- package/dist/resources/dynamodb-global/dynamodb-global.resource.js +177 -0
- package/dist/resources/dynamodb-global/dynamodb-global.resource.js.map +1 -0
- package/dist/resources/dynamodb-global/index.d.ts +1 -0
- package/dist/resources/dynamodb-global/index.js +2 -0
- package/dist/resources/dynamodb-global/index.js.map +1 -0
- package/dist/resources/dynamodb-global/index.schema.d.ts +48 -0
- package/dist/resources/dynamodb-global/index.schema.js +96 -0
- package/dist/resources/dynamodb-global/index.schema.js.map +1 -0
- package/dist/resources/ecr/ecr-image.resource.d.ts +12 -2
- package/dist/resources/ecr/ecr-image.resource.js +34 -3
- package/dist/resources/ecr/ecr-image.resource.js.map +1 -1
- package/dist/resources/ecr/index.d.ts +0 -4
- package/dist/resources/ecr/index.js +0 -4
- package/dist/resources/ecr/index.js.map +1 -1
- package/dist/resources/ecr/index.schema.d.ts +5 -3
- package/dist/resources/ecr/index.schema.js +11 -4
- package/dist/resources/ecr/index.schema.js.map +1 -1
- package/dist/resources/ecr-image-tag/actions/add-ecr-image-tag.resource.action.d.ts +46 -0
- package/dist/resources/ecr-image-tag/actions/add-ecr-image-tag.resource.action.js +123 -0
- package/dist/resources/ecr-image-tag/actions/add-ecr-image-tag.resource.action.js.map +1 -0
- package/dist/resources/ecr-image-tag/actions/delete-ecr-image-tag.resource.action.d.ts +36 -0
- package/dist/resources/ecr-image-tag/actions/delete-ecr-image-tag.resource.action.js +89 -0
- package/dist/resources/ecr-image-tag/actions/delete-ecr-image-tag.resource.action.js.map +1 -0
- package/dist/resources/ecr-image-tag/ecr-image-tag.resource.d.ts +56 -0
- package/dist/resources/ecr-image-tag/ecr-image-tag.resource.js +75 -0
- package/dist/resources/ecr-image-tag/ecr-image-tag.resource.js.map +1 -0
- package/dist/resources/ecr-image-tag/index.d.ts +4 -0
- package/dist/resources/ecr-image-tag/index.js +5 -0
- package/dist/resources/ecr-image-tag/index.js.map +1 -0
- package/dist/resources/ecr-image-tag/index.schema.d.ts +59 -0
- package/dist/resources/ecr-image-tag/index.schema.js +104 -0
- package/dist/resources/ecr-image-tag/index.schema.js.map +1 -0
- package/dist/resources/ecs-cluster/ecs-cluster.resource.d.ts +12 -2
- package/dist/resources/ecs-cluster/ecs-cluster.resource.js +30 -4
- package/dist/resources/ecs-cluster/ecs-cluster.resource.js.map +1 -1
- package/dist/resources/ecs-cluster/index.d.ts +0 -4
- package/dist/resources/ecs-cluster/index.js +0 -4
- package/dist/resources/ecs-cluster/index.js.map +1 -1
- package/dist/resources/ecs-cluster/index.schema.d.ts +2 -2
- package/dist/resources/ecs-cluster/index.schema.js +5 -3
- package/dist/resources/ecs-cluster/index.schema.js.map +1 -1
- package/dist/resources/ecs-service/ecs-service.resource.d.ts +29 -6
- package/dist/resources/ecs-service/ecs-service.resource.js +109 -35
- package/dist/resources/ecs-service/ecs-service.resource.js.map +1 -1
- package/dist/resources/ecs-service/index.d.ts +0 -5
- package/dist/resources/ecs-service/index.js +0 -5
- package/dist/resources/ecs-service/index.js.map +1 -1
- package/dist/resources/ecs-service/index.schema.d.ts +2 -2
- package/dist/resources/ecs-service/index.schema.js +5 -3
- package/dist/resources/ecs-service/index.schema.js.map +1 -1
- package/dist/resources/ecs-task-definition/ecs-task-definition.resource.d.ts +54 -5
- package/dist/resources/ecs-task-definition/ecs-task-definition.resource.js +133 -11
- package/dist/resources/ecs-task-definition/ecs-task-definition.resource.js.map +1 -1
- package/dist/resources/ecs-task-definition/index.d.ts +0 -5
- package/dist/resources/ecs-task-definition/index.js +0 -5
- package/dist/resources/ecs-task-definition/index.js.map +1 -1
- package/dist/resources/ecs-task-definition/index.schema.d.ts +4 -3
- package/dist/resources/ecs-task-definition/index.schema.js +8 -4
- package/dist/resources/ecs-task-definition/index.schema.js.map +1 -1
- package/dist/resources/efs/efs.resource.d.ts +12 -2
- package/dist/resources/efs/efs.resource.js +37 -4
- package/dist/resources/efs/efs.resource.js.map +1 -1
- package/dist/resources/efs/index.d.ts +0 -4
- package/dist/resources/efs/index.js +0 -4
- package/dist/resources/efs/index.js.map +1 -1
- package/dist/resources/efs/index.schema.d.ts +3 -2
- package/dist/resources/efs/index.schema.js +7 -3
- package/dist/resources/efs/index.schema.js.map +1 -1
- package/dist/resources/efs-mount-target/efs-mount-target.resource.d.ts +12 -2
- package/dist/resources/efs-mount-target/efs-mount-target.resource.js +32 -4
- package/dist/resources/efs-mount-target/efs-mount-target.resource.js.map +1 -1
- package/dist/resources/efs-mount-target/index.d.ts +0 -4
- package/dist/resources/efs-mount-target/index.js +0 -4
- package/dist/resources/efs-mount-target/index.js.map +1 -1
- package/dist/resources/efs-mount-target/index.schema.d.ts +2 -2
- package/dist/resources/efs-mount-target/index.schema.js +6 -3
- package/dist/resources/efs-mount-target/index.schema.js.map +1 -1
- package/dist/resources/iam-role/iam-role.resource.d.ts +27 -15
- package/dist/resources/iam-role/iam-role.resource.js +123 -48
- package/dist/resources/iam-role/iam-role.resource.js.map +1 -1
- package/dist/resources/iam-role/index.d.ts +0 -7
- package/dist/resources/iam-role/index.js +0 -7
- package/dist/resources/iam-role/index.js.map +1 -1
- package/dist/resources/iam-role/index.schema.d.ts +2 -6
- package/dist/resources/iam-role/index.schema.js +7 -7
- package/dist/resources/iam-role/index.schema.js.map +1 -1
- package/dist/resources/iam-user/iam-user.resource.d.ts +21 -15
- package/dist/resources/iam-user/iam-user.resource.js +90 -41
- package/dist/resources/iam-user/iam-user.resource.js.map +1 -1
- package/dist/resources/iam-user/index.d.ts +0 -5
- package/dist/resources/iam-user/index.js +0 -5
- package/dist/resources/iam-user/index.js.map +1 -1
- package/dist/resources/iam-user/index.schema.d.ts +2 -6
- package/dist/resources/iam-user/index.schema.js +7 -7
- package/dist/resources/iam-user/index.schema.js.map +1 -1
- package/dist/resources/internet-gateway/index.d.ts +0 -4
- package/dist/resources/internet-gateway/index.js +0 -4
- package/dist/resources/internet-gateway/index.js.map +1 -1
- package/dist/resources/internet-gateway/index.schema.d.ts +2 -2
- package/dist/resources/internet-gateway/index.schema.js +6 -3
- package/dist/resources/internet-gateway/index.schema.js.map +1 -1
- package/dist/resources/internet-gateway/internet-gateway.resource.d.ts +12 -2
- package/dist/resources/internet-gateway/internet-gateway.resource.js +30 -4
- package/dist/resources/internet-gateway/internet-gateway.resource.js.map +1 -1
- package/dist/resources/nat-gateway/index.d.ts +0 -4
- package/dist/resources/nat-gateway/index.js +0 -4
- package/dist/resources/nat-gateway/index.js.map +1 -1
- package/dist/resources/nat-gateway/index.schema.d.ts +3 -4
- package/dist/resources/nat-gateway/index.schema.js +7 -7
- package/dist/resources/nat-gateway/index.schema.js.map +1 -1
- package/dist/resources/nat-gateway/nat-gateway.resource.d.ts +12 -2
- package/dist/resources/nat-gateway/nat-gateway.resource.js +37 -4
- package/dist/resources/nat-gateway/nat-gateway.resource.js.map +1 -1
- package/dist/resources/network-acl/index.d.ts +0 -5
- package/dist/resources/network-acl/index.js +0 -5
- package/dist/resources/network-acl/index.js.map +1 -1
- package/dist/resources/network-acl/index.schema.d.ts +2 -8
- package/dist/resources/network-acl/index.schema.js +5 -15
- package/dist/resources/network-acl/index.schema.js.map +1 -1
- package/dist/resources/network-acl/network-acl.resource.d.ts +15 -2
- package/dist/resources/network-acl/network-acl.resource.js +59 -3
- package/dist/resources/network-acl/network-acl.resource.js.map +1 -1
- package/dist/resources/route-table/index.d.ts +0 -5
- package/dist/resources/route-table/index.js +0 -5
- package/dist/resources/route-table/index.js.map +1 -1
- package/dist/resources/route-table/index.schema.d.ts +3 -4
- package/dist/resources/route-table/index.schema.js +7 -7
- package/dist/resources/route-table/index.schema.js.map +1 -1
- package/dist/resources/route-table/route-table.resource.d.ts +18 -3
- package/dist/resources/route-table/route-table.resource.js +61 -17
- package/dist/resources/route-table/route-table.resource.js.map +1 -1
- package/dist/resources/s3-storage/index.d.ts +0 -6
- package/dist/resources/s3-storage/index.js +0 -6
- package/dist/resources/s3-storage/index.js.map +1 -1
- package/dist/resources/s3-storage/index.schema.d.ts +3 -2
- package/dist/resources/s3-storage/index.schema.js +9 -4
- package/dist/resources/s3-storage/index.schema.js.map +1 -1
- package/dist/resources/s3-storage/s3-storage.resource.d.ts +21 -3
- package/dist/resources/s3-storage/s3-storage.resource.js +76 -13
- package/dist/resources/s3-storage/s3-storage.resource.js.map +1 -1
- package/dist/resources/s3-website/index.d.ts +0 -5
- package/dist/resources/s3-website/index.js +0 -5
- package/dist/resources/s3-website/index.js.map +1 -1
- package/dist/resources/s3-website/index.schema.d.ts +25 -2
- package/dist/resources/s3-website/index.schema.js +45 -3
- package/dist/resources/s3-website/index.schema.js.map +1 -1
- package/dist/resources/s3-website/s3-website.resource.d.ts +55 -9
- package/dist/resources/s3-website/s3-website.resource.js +168 -27
- package/dist/resources/s3-website/s3-website.resource.js.map +1 -1
- package/dist/resources/security-group/index.d.ts +0 -5
- package/dist/resources/security-group/index.js +0 -5
- package/dist/resources/security-group/index.js.map +1 -1
- package/dist/resources/security-group/index.schema.d.ts +3 -9
- package/dist/resources/security-group/index.schema.js +7 -11
- package/dist/resources/security-group/index.schema.js.map +1 -1
- package/dist/resources/security-group/security-group.resource.d.ts +12 -2
- package/dist/resources/security-group/security-group.resource.js +59 -3
- package/dist/resources/security-group/security-group.resource.js.map +1 -1
- package/dist/resources/subnet/index.d.ts +0 -4
- package/dist/resources/subnet/index.js +0 -4
- package/dist/resources/subnet/index.js.map +1 -1
- package/dist/resources/subnet/index.schema.d.ts +2 -2
- package/dist/resources/subnet/index.schema.js +6 -3
- package/dist/resources/subnet/index.schema.js.map +1 -1
- package/dist/resources/subnet/subnet.resource.d.ts +12 -2
- package/dist/resources/subnet/subnet.resource.js +32 -4
- package/dist/resources/subnet/subnet.resource.js.map +1 -1
- package/dist/resources/vpc/index.d.ts +0 -4
- package/dist/resources/vpc/index.js +0 -4
- package/dist/resources/vpc/index.js.map +1 -1
- package/dist/resources/vpc/index.schema.d.ts +2 -2
- package/dist/resources/vpc/index.schema.js +28 -13
- package/dist/resources/vpc/index.schema.js.map +1 -1
- package/dist/resources/vpc/vpc.resource.d.ts +12 -2
- package/dist/resources/vpc/vpc.resource.js +34 -5
- package/dist/resources/vpc/vpc.resource.js.map +1 -1
- package/dist/services/docker/docker.service.d.ts +54 -0
- package/dist/services/docker/docker.service.js +112 -0
- package/dist/services/docker/docker.service.js.map +1 -0
- package/dist/utilities/cidr/cidr.utility.d.ts +13 -2
- package/dist/utilities/cidr/cidr.utility.js +58 -5
- package/dist/utilities/cidr/cidr.utility.js.map +1 -1
- package/dist/utilities/common/common.utility.d.ts +6 -0
- package/dist/utilities/common/common.utility.js +6 -0
- package/dist/utilities/common/common.utility.js.map +1 -1
- package/dist/utilities/ecr-image-uri/ecr-image-uri.utility.d.ts +20 -0
- package/dist/utilities/ecr-image-uri/ecr-image-uri.utility.js +33 -0
- package/dist/utilities/ecr-image-uri/ecr-image-uri.utility.js.map +1 -0
- package/dist/utilities/file/file.utility.d.ts +9 -0
- package/dist/utilities/file/file.utility.js +9 -0
- package/dist/utilities/file/file.utility.js.map +1 -1
- package/dist/utilities/hcl/hcl.utility.d.ts +34 -0
- package/dist/utilities/hcl/hcl.utility.js +163 -0
- package/dist/utilities/hcl/hcl.utility.js.map +1 -0
- package/dist/utilities/network-acl/network-acl.utility.d.ts +12 -2
- package/dist/utilities/network-acl/network-acl.utility.js +17 -0
- package/dist/utilities/network-acl/network-acl.utility.js.map +1 -1
- package/dist/utilities/policy/policy.utility.d.ts +3 -11
- package/dist/utilities/policy/policy.utility.js +3 -46
- package/dist/utilities/policy/policy.utility.js.map +1 -1
- package/dist/utilities/retry/retry.utility.d.ts +6 -0
- package/dist/utilities/retry/retry.utility.js +6 -0
- package/dist/utilities/retry/retry.utility.js.map +1 -1
- package/dist/utilities/task-definition/task-definition.utility.d.ts +6 -0
- package/dist/utilities/task-definition/task-definition.utility.js +6 -0
- package/dist/utilities/task-definition/task-definition.utility.js.map +1 -1
- package/package.json +28 -19
- package/dist/resources/alb/actions/add-alb.resource.action.d.ts +0 -20
- package/dist/resources/alb/actions/add-alb.resource.action.js +0 -92
- package/dist/resources/alb/actions/add-alb.resource.action.js.map +0 -1
- package/dist/resources/alb/actions/delete-alb.resource.action.d.ts +0 -18
- package/dist/resources/alb/actions/delete-alb.resource.action.js +0 -97
- package/dist/resources/alb/actions/delete-alb.resource.action.js.map +0 -1
- package/dist/resources/alb/actions/update-alb-security-groups.resource.action.d.ts +0 -17
- package/dist/resources/alb/actions/update-alb-security-groups.resource.action.js +0 -65
- package/dist/resources/alb/actions/update-alb-security-groups.resource.action.js.map +0 -1
- package/dist/resources/alb/actions/update-alb-subnets.resource.action.d.ts +0 -17
- package/dist/resources/alb/actions/update-alb-subnets.resource.action.js +0 -65
- package/dist/resources/alb/actions/update-alb-subnets.resource.action.js.map +0 -1
- package/dist/resources/alb/actions/update-alb-tags.resource.action.d.ts +0 -18
- package/dist/resources/alb/actions/update-alb-tags.resource.action.js +0 -52
- package/dist/resources/alb/actions/update-alb-tags.resource.action.js.map +0 -1
- package/dist/resources/alb/actions/validate-alb.resource.action.d.ts +0 -17
- package/dist/resources/alb/actions/validate-alb.resource.action.js +0 -129
- package/dist/resources/alb/actions/validate-alb.resource.action.js.map +0 -1
- package/dist/resources/alb-listener/actions/add-alb-listener.resource.action.d.ts +0 -20
- package/dist/resources/alb-listener/actions/add-alb-listener.resource.action.js +0 -89
- package/dist/resources/alb-listener/actions/add-alb-listener.resource.action.js.map +0 -1
- package/dist/resources/alb-listener/actions/delete-alb-listener.resource.action.d.ts +0 -18
- package/dist/resources/alb-listener/actions/delete-alb-listener.resource.action.js +0 -63
- package/dist/resources/alb-listener/actions/delete-alb-listener.resource.action.js.map +0 -1
- package/dist/resources/alb-listener/actions/update-alb-listener-rule.resource.action.d.ts +0 -20
- package/dist/resources/alb-listener/actions/update-alb-listener-rule.resource.action.js +0 -262
- package/dist/resources/alb-listener/actions/update-alb-listener-rule.resource.action.js.map +0 -1
- package/dist/resources/alb-listener/actions/update-alb-listener-tags.resource.action.d.ts +0 -18
- package/dist/resources/alb-listener/actions/update-alb-listener-tags.resource.action.js +0 -52
- package/dist/resources/alb-listener/actions/update-alb-listener-tags.resource.action.js.map +0 -1
- package/dist/resources/alb-listener/actions/update-alb-listener.resource.action.d.ts +0 -18
- package/dist/resources/alb-listener/actions/update-alb-listener.resource.action.js +0 -122
- package/dist/resources/alb-listener/actions/update-alb-listener.resource.action.js.map +0 -1
- package/dist/resources/alb-listener/actions/validate-alb-listener.resource.action.d.ts +0 -17
- package/dist/resources/alb-listener/actions/validate-alb-listener.resource.action.js +0 -347
- package/dist/resources/alb-listener/actions/validate-alb-listener.resource.action.js.map +0 -1
- package/dist/resources/alb-target-group/actions/add-alb-target-group.resource.action.d.ts +0 -20
- package/dist/resources/alb-target-group/actions/add-alb-target-group.resource.action.js +0 -98
- package/dist/resources/alb-target-group/actions/add-alb-target-group.resource.action.js.map +0 -1
- package/dist/resources/alb-target-group/actions/delete-alb-target-group.resource.action.d.ts +0 -18
- package/dist/resources/alb-target-group/actions/delete-alb-target-group.resource.action.js +0 -64
- package/dist/resources/alb-target-group/actions/delete-alb-target-group.resource.action.js.map +0 -1
- package/dist/resources/alb-target-group/actions/update-alb-target-group-tags.resource.action.d.ts +0 -18
- package/dist/resources/alb-target-group/actions/update-alb-target-group-tags.resource.action.js +0 -52
- package/dist/resources/alb-target-group/actions/update-alb-target-group-tags.resource.action.js.map +0 -1
- package/dist/resources/alb-target-group/actions/update-alb-target-group.resource.action.d.ts +0 -18
- package/dist/resources/alb-target-group/actions/update-alb-target-group.resource.action.js +0 -79
- package/dist/resources/alb-target-group/actions/update-alb-target-group.resource.action.js.map +0 -1
- package/dist/resources/alb-target-group/actions/validate-alb-target-group.resource.action.d.ts +0 -17
- package/dist/resources/alb-target-group/actions/validate-alb-target-group.resource.action.js +0 -151
- package/dist/resources/alb-target-group/actions/validate-alb-target-group.resource.action.js.map +0 -1
- package/dist/resources/ecr/actions/add-ecr-image.resource.action.d.ts +0 -20
- package/dist/resources/ecr/actions/add-ecr-image.resource.action.js +0 -84
- package/dist/resources/ecr/actions/add-ecr-image.resource.action.js.map +0 -1
- package/dist/resources/ecr/actions/delete-ecr-image.resource.action.d.ts +0 -18
- package/dist/resources/ecr/actions/delete-ecr-image.resource.action.js +0 -63
- package/dist/resources/ecr/actions/delete-ecr-image.resource.action.js.map +0 -1
- package/dist/resources/ecr/actions/update-ecr-image-tags.resource.action.d.ts +0 -18
- package/dist/resources/ecr/actions/update-ecr-image-tags.resource.action.js +0 -52
- package/dist/resources/ecr/actions/update-ecr-image-tags.resource.action.js.map +0 -1
- package/dist/resources/ecr/actions/validate-ecr-image.resource.action.d.ts +0 -17
- package/dist/resources/ecr/actions/validate-ecr-image.resource.action.js +0 -111
- package/dist/resources/ecr/actions/validate-ecr-image.resource.action.js.map +0 -1
- package/dist/resources/ecs-cluster/actions/add-ecs-cluster.resource.action.d.ts +0 -20
- package/dist/resources/ecs-cluster/actions/add-ecs-cluster.resource.action.js +0 -72
- package/dist/resources/ecs-cluster/actions/add-ecs-cluster.resource.action.js.map +0 -1
- package/dist/resources/ecs-cluster/actions/delete-ecs-cluster.resource.action.d.ts +0 -18
- package/dist/resources/ecs-cluster/actions/delete-ecs-cluster.resource.action.js +0 -62
- package/dist/resources/ecs-cluster/actions/delete-ecs-cluster.resource.action.js.map +0 -1
- package/dist/resources/ecs-cluster/actions/update-ecs-cluster-tags.resource.action.d.ts +0 -18
- package/dist/resources/ecs-cluster/actions/update-ecs-cluster-tags.resource.action.js +0 -52
- package/dist/resources/ecs-cluster/actions/update-ecs-cluster-tags.resource.action.js.map +0 -1
- package/dist/resources/ecs-cluster/actions/validate-ecs-cluster.resource.action.d.ts +0 -17
- package/dist/resources/ecs-cluster/actions/validate-ecs-cluster.resource.action.js +0 -89
- package/dist/resources/ecs-cluster/actions/validate-ecs-cluster.resource.action.js.map +0 -1
- package/dist/resources/ecs-service/actions/add-ecs-service.resource.action.d.ts +0 -20
- package/dist/resources/ecs-service/actions/add-ecs-service.resource.action.js +0 -109
- package/dist/resources/ecs-service/actions/add-ecs-service.resource.action.js.map +0 -1
- package/dist/resources/ecs-service/actions/delete-ecs-service.resource.action.d.ts +0 -18
- package/dist/resources/ecs-service/actions/delete-ecs-service.resource.action.js +0 -110
- package/dist/resources/ecs-service/actions/delete-ecs-service.resource.action.js.map +0 -1
- package/dist/resources/ecs-service/actions/update-ecs-service-tags.resource.action.d.ts +0 -18
- package/dist/resources/ecs-service/actions/update-ecs-service-tags.resource.action.js +0 -52
- package/dist/resources/ecs-service/actions/update-ecs-service-tags.resource.action.js.map +0 -1
- package/dist/resources/ecs-service/actions/update-ecs-service.resource.action.d.ts +0 -20
- package/dist/resources/ecs-service/actions/update-ecs-service.resource.action.js +0 -103
- package/dist/resources/ecs-service/actions/update-ecs-service.resource.action.js.map +0 -1
- package/dist/resources/ecs-service/actions/validate-ecs-service.resource.action.d.ts +0 -17
- package/dist/resources/ecs-service/actions/validate-ecs-service.resource.action.js +0 -153
- package/dist/resources/ecs-service/actions/validate-ecs-service.resource.action.js.map +0 -1
- package/dist/resources/ecs-task-definition/actions/add-ecs-task-definition.resource.action.d.ts +0 -20
- package/dist/resources/ecs-task-definition/actions/add-ecs-task-definition.resource.action.js +0 -103
- package/dist/resources/ecs-task-definition/actions/add-ecs-task-definition.resource.action.js.map +0 -1
- package/dist/resources/ecs-task-definition/actions/delete-ecs-task-definition.resource.action.d.ts +0 -18
- package/dist/resources/ecs-task-definition/actions/delete-ecs-task-definition.resource.action.js +0 -73
- package/dist/resources/ecs-task-definition/actions/delete-ecs-task-definition.resource.action.js.map +0 -1
- package/dist/resources/ecs-task-definition/actions/update-ecs-task-definition-tags.resource.action.d.ts +0 -18
- package/dist/resources/ecs-task-definition/actions/update-ecs-task-definition-tags.resource.action.js +0 -52
- package/dist/resources/ecs-task-definition/actions/update-ecs-task-definition-tags.resource.action.js.map +0 -1
- package/dist/resources/ecs-task-definition/actions/update-ecs-task-definition.resource.action.d.ts +0 -20
- package/dist/resources/ecs-task-definition/actions/update-ecs-task-definition.resource.action.js +0 -115
- package/dist/resources/ecs-task-definition/actions/update-ecs-task-definition.resource.action.js.map +0 -1
- package/dist/resources/ecs-task-definition/actions/validate-ecs-task-definition.resource.action.d.ts +0 -17
- package/dist/resources/ecs-task-definition/actions/validate-ecs-task-definition.resource.action.js +0 -192
- package/dist/resources/ecs-task-definition/actions/validate-ecs-task-definition.resource.action.js.map +0 -1
- package/dist/resources/efs/actions/add-efs.resource.action.d.ts +0 -20
- package/dist/resources/efs/actions/add-efs.resource.action.js +0 -97
- package/dist/resources/efs/actions/add-efs.resource.action.js.map +0 -1
- package/dist/resources/efs/actions/delete-efs.resource.action.d.ts +0 -18
- package/dist/resources/efs/actions/delete-efs.resource.action.js +0 -90
- package/dist/resources/efs/actions/delete-efs.resource.action.js.map +0 -1
- package/dist/resources/efs/actions/update-efs-tags.resource.action.d.ts +0 -18
- package/dist/resources/efs/actions/update-efs-tags.resource.action.js +0 -52
- package/dist/resources/efs/actions/update-efs-tags.resource.action.js.map +0 -1
- package/dist/resources/efs/actions/validate-efs.resource.action.d.ts +0 -17
- package/dist/resources/efs/actions/validate-efs.resource.action.js +0 -102
- package/dist/resources/efs/actions/validate-efs.resource.action.js.map +0 -1
- package/dist/resources/efs-mount-target/actions/add-efs-mount-target.resource.action.d.ts +0 -20
- package/dist/resources/efs-mount-target/actions/add-efs-mount-target.resource.action.js +0 -96
- package/dist/resources/efs-mount-target/actions/add-efs-mount-target.resource.action.js.map +0 -1
- package/dist/resources/efs-mount-target/actions/delete-efs-mount-target.resource.action.d.ts +0 -18
- package/dist/resources/efs-mount-target/actions/delete-efs-mount-target.resource.action.js +0 -92
- package/dist/resources/efs-mount-target/actions/delete-efs-mount-target.resource.action.js.map +0 -1
- package/dist/resources/efs-mount-target/actions/update-efs-mount-target-tags.resource.action.d.ts +0 -16
- package/dist/resources/efs-mount-target/actions/update-efs-mount-target-tags.resource.action.js +0 -40
- package/dist/resources/efs-mount-target/actions/update-efs-mount-target-tags.resource.action.js.map +0 -1
- package/dist/resources/efs-mount-target/actions/validate-efs-mount-target.resource.action.d.ts +0 -17
- package/dist/resources/efs-mount-target/actions/validate-efs-mount-target.resource.action.js +0 -104
- package/dist/resources/efs-mount-target/actions/validate-efs-mount-target.resource.action.js.map +0 -1
- package/dist/resources/iam-role/actions/add-iam-role.resource.action.d.ts +0 -20
- package/dist/resources/iam-role/actions/add-iam-role.resource.action.js +0 -109
- package/dist/resources/iam-role/actions/add-iam-role.resource.action.js.map +0 -1
- package/dist/resources/iam-role/actions/delete-iam-role.resource.action.d.ts +0 -18
- package/dist/resources/iam-role/actions/delete-iam-role.resource.action.js +0 -63
- package/dist/resources/iam-role/actions/delete-iam-role.resource.action.js.map +0 -1
- package/dist/resources/iam-role/actions/update-iam-role-assume-role-policy.resource.action.d.ts +0 -18
- package/dist/resources/iam-role/actions/update-iam-role-assume-role-policy.resource.action.js +0 -80
- package/dist/resources/iam-role/actions/update-iam-role-assume-role-policy.resource.action.js.map +0 -1
- package/dist/resources/iam-role/actions/update-iam-role-tags.resource.action.d.ts +0 -18
- package/dist/resources/iam-role/actions/update-iam-role-tags.resource.action.js +0 -53
- package/dist/resources/iam-role/actions/update-iam-role-tags.resource.action.js.map +0 -1
- package/dist/resources/iam-role/actions/update-iam-role-with-aws-policy.resource.action.d.ts +0 -20
- package/dist/resources/iam-role/actions/update-iam-role-with-aws-policy.resource.action.js +0 -115
- package/dist/resources/iam-role/actions/update-iam-role-with-aws-policy.resource.action.js.map +0 -1
- package/dist/resources/iam-role/actions/update-iam-role-with-s3-storage-policy.resource.action.d.ts +0 -20
- package/dist/resources/iam-role/actions/update-iam-role-with-s3-storage-policy.resource.action.js +0 -157
- package/dist/resources/iam-role/actions/update-iam-role-with-s3-storage-policy.resource.action.js.map +0 -1
- package/dist/resources/iam-role/actions/validate-iam-role.resource.action.d.ts +0 -17
- package/dist/resources/iam-role/actions/validate-iam-role.resource.action.js +0 -207
- package/dist/resources/iam-role/actions/validate-iam-role.resource.action.js.map +0 -1
- package/dist/resources/iam-user/actions/add-iam-user.resource.action.d.ts +0 -20
- package/dist/resources/iam-user/actions/add-iam-user.resource.action.js +0 -92
- package/dist/resources/iam-user/actions/add-iam-user.resource.action.js.map +0 -1
- package/dist/resources/iam-user/actions/delete-iam-user.resource.action.d.ts +0 -18
- package/dist/resources/iam-user/actions/delete-iam-user.resource.action.js +0 -63
- package/dist/resources/iam-user/actions/delete-iam-user.resource.action.js.map +0 -1
- package/dist/resources/iam-user/actions/update-iam-user-tags.resource.action.d.ts +0 -18
- package/dist/resources/iam-user/actions/update-iam-user-tags.resource.action.js +0 -53
- package/dist/resources/iam-user/actions/update-iam-user-tags.resource.action.js.map +0 -1
- package/dist/resources/iam-user/actions/update-iam-user-with-s3-storage-policy.resource.action.d.ts +0 -20
- package/dist/resources/iam-user/actions/update-iam-user-with-s3-storage-policy.resource.action.js +0 -157
- package/dist/resources/iam-user/actions/update-iam-user-with-s3-storage-policy.resource.action.js.map +0 -1
- package/dist/resources/iam-user/actions/validate-iam-user.resource.action.d.ts +0 -17
- package/dist/resources/iam-user/actions/validate-iam-user.resource.action.js +0 -181
- package/dist/resources/iam-user/actions/validate-iam-user.resource.action.js.map +0 -1
- package/dist/resources/internet-gateway/actions/add-internet-gateway.resource.action.d.ts +0 -19
- package/dist/resources/internet-gateway/actions/add-internet-gateway.resource.action.js +0 -95
- package/dist/resources/internet-gateway/actions/add-internet-gateway.resource.action.js.map +0 -1
- package/dist/resources/internet-gateway/actions/delete-internet-gateway.resource.action.d.ts +0 -18
- package/dist/resources/internet-gateway/actions/delete-internet-gateway.resource.action.js +0 -80
- package/dist/resources/internet-gateway/actions/delete-internet-gateway.resource.action.js.map +0 -1
- package/dist/resources/internet-gateway/actions/update-internet-gateway-tags.resource.action.d.ts +0 -18
- package/dist/resources/internet-gateway/actions/update-internet-gateway-tags.resource.action.js +0 -52
- package/dist/resources/internet-gateway/actions/update-internet-gateway-tags.resource.action.js.map +0 -1
- package/dist/resources/internet-gateway/actions/validate-internet-gateway.resource.action.d.ts +0 -17
- package/dist/resources/internet-gateway/actions/validate-internet-gateway.resource.action.js +0 -88
- package/dist/resources/internet-gateway/actions/validate-internet-gateway.resource.action.js.map +0 -1
- package/dist/resources/nat-gateway/actions/add-nat-gateway.resource.action.d.ts +0 -20
- package/dist/resources/nat-gateway/actions/add-nat-gateway.resource.action.js +0 -112
- package/dist/resources/nat-gateway/actions/add-nat-gateway.resource.action.js.map +0 -1
- package/dist/resources/nat-gateway/actions/delete-nat-gateway.resource.action.d.ts +0 -18
- package/dist/resources/nat-gateway/actions/delete-nat-gateway.resource.action.js +0 -92
- package/dist/resources/nat-gateway/actions/delete-nat-gateway.resource.action.js.map +0 -1
- package/dist/resources/nat-gateway/actions/update-eip-tags.resource.action.d.ts +0 -18
- package/dist/resources/nat-gateway/actions/update-eip-tags.resource.action.js +0 -77
- package/dist/resources/nat-gateway/actions/update-eip-tags.resource.action.js.map +0 -1
- package/dist/resources/nat-gateway/actions/update-nat-gateway-tags.resource.action.d.ts +0 -18
- package/dist/resources/nat-gateway/actions/update-nat-gateway-tags.resource.action.js +0 -52
- package/dist/resources/nat-gateway/actions/update-nat-gateway-tags.resource.action.js.map +0 -1
- package/dist/resources/nat-gateway/actions/validate-nat-gateway.resource.action.d.ts +0 -17
- package/dist/resources/nat-gateway/actions/validate-nat-gateway.resource.action.js +0 -115
- package/dist/resources/nat-gateway/actions/validate-nat-gateway.resource.action.js.map +0 -1
- package/dist/resources/network-acl/actions/add-network-acl.resource.action.d.ts +0 -20
- package/dist/resources/network-acl/actions/add-network-acl.resource.action.js +0 -119
- package/dist/resources/network-acl/actions/add-network-acl.resource.action.js.map +0 -1
- package/dist/resources/network-acl/actions/delete-network-acl.resource.action.d.ts +0 -18
- package/dist/resources/network-acl/actions/delete-network-acl.resource.action.js +0 -69
- package/dist/resources/network-acl/actions/delete-network-acl.resource.action.js.map +0 -1
- package/dist/resources/network-acl/actions/update-network-acl-entries.resource.action.d.ts +0 -18
- package/dist/resources/network-acl/actions/update-network-acl-entries.resource.action.js +0 -143
- package/dist/resources/network-acl/actions/update-network-acl-entries.resource.action.js.map +0 -1
- package/dist/resources/network-acl/actions/update-network-acl-tags.resource.action.d.ts +0 -18
- package/dist/resources/network-acl/actions/update-network-acl-tags.resource.action.js +0 -52
- package/dist/resources/network-acl/actions/update-network-acl-tags.resource.action.js.map +0 -1
- package/dist/resources/network-acl/actions/validate-network-acl.resource.action.d.ts +0 -17
- package/dist/resources/network-acl/actions/validate-network-acl.resource.action.js +0 -126
- package/dist/resources/network-acl/actions/validate-network-acl.resource.action.js.map +0 -1
- package/dist/resources/route-table/actions/add-route-table.resource.action.d.ts +0 -20
- package/dist/resources/route-table/actions/add-route-table.resource.action.js +0 -105
- package/dist/resources/route-table/actions/add-route-table.resource.action.js.map +0 -1
- package/dist/resources/route-table/actions/delete-route-table.resource.action.d.ts +0 -18
- package/dist/resources/route-table/actions/delete-route-table.resource.action.js +0 -68
- package/dist/resources/route-table/actions/delete-route-table.resource.action.js.map +0 -1
- package/dist/resources/route-table/actions/update-nat-gateway-parent-in-route-table.resource.action.d.ts +0 -19
- package/dist/resources/route-table/actions/update-nat-gateway-parent-in-route-table.resource.action.js +0 -85
- package/dist/resources/route-table/actions/update-nat-gateway-parent-in-route-table.resource.action.js.map +0 -1
- package/dist/resources/route-table/actions/update-route-table-tags.resource.action.d.ts +0 -18
- package/dist/resources/route-table/actions/update-route-table-tags.resource.action.js +0 -52
- package/dist/resources/route-table/actions/update-route-table-tags.resource.action.js.map +0 -1
- package/dist/resources/route-table/actions/validate-route-table.resource.action.d.ts +0 -17
- package/dist/resources/route-table/actions/validate-route-table.resource.action.js +0 -124
- package/dist/resources/route-table/actions/validate-route-table.resource.action.js.map +0 -1
- package/dist/resources/s3-storage/actions/add-s3-storage.resource.action.d.ts +0 -20
- package/dist/resources/s3-storage/actions/add-s3-storage.resource.action.js +0 -73
- package/dist/resources/s3-storage/actions/add-s3-storage.resource.action.js.map +0 -1
- package/dist/resources/s3-storage/actions/delete-s3-storage.resource.action.d.ts +0 -18
- package/dist/resources/s3-storage/actions/delete-s3-storage.resource.action.js +0 -82
- package/dist/resources/s3-storage/actions/delete-s3-storage.resource.action.js.map +0 -1
- package/dist/resources/s3-storage/actions/update-parent-in-s3-storage.resource.action.d.ts +0 -16
- package/dist/resources/s3-storage/actions/update-parent-in-s3-storage.resource.action.js +0 -40
- package/dist/resources/s3-storage/actions/update-parent-in-s3-storage.resource.action.js.map +0 -1
- package/dist/resources/s3-storage/actions/update-permissions-in-s3-storage.resource.action.d.ts +0 -18
- package/dist/resources/s3-storage/actions/update-permissions-in-s3-storage.resource.action.js +0 -110
- package/dist/resources/s3-storage/actions/update-permissions-in-s3-storage.resource.action.js.map +0 -1
- package/dist/resources/s3-storage/actions/update-s3-storage-tags.resource.action.d.ts +0 -18
- package/dist/resources/s3-storage/actions/update-s3-storage-tags.resource.action.js +0 -52
- package/dist/resources/s3-storage/actions/update-s3-storage-tags.resource.action.js.map +0 -1
- package/dist/resources/s3-storage/actions/validate-s3-storage.resource.action.d.ts +0 -17
- package/dist/resources/s3-storage/actions/validate-s3-storage.resource.action.js +0 -181
- package/dist/resources/s3-storage/actions/validate-s3-storage.resource.action.js.map +0 -1
- package/dist/resources/s3-website/actions/add-s3-website.resource.action.d.ts +0 -20
- package/dist/resources/s3-website/actions/add-s3-website.resource.action.js +0 -114
- package/dist/resources/s3-website/actions/add-s3-website.resource.action.js.map +0 -1
- package/dist/resources/s3-website/actions/delete-s3-website.resource.action.d.ts +0 -18
- package/dist/resources/s3-website/actions/delete-s3-website.resource.action.js +0 -82
- package/dist/resources/s3-website/actions/delete-s3-website.resource.action.js.map +0 -1
- package/dist/resources/s3-website/actions/update-s3-website-tags.resource.action.d.ts +0 -18
- package/dist/resources/s3-website/actions/update-s3-website-tags.resource.action.js +0 -52
- package/dist/resources/s3-website/actions/update-s3-website-tags.resource.action.js.map +0 -1
- package/dist/resources/s3-website/actions/update-source-paths-in-s3-website.resource.action.d.ts +0 -18
- package/dist/resources/s3-website/actions/update-source-paths-in-s3-website.resource.action.js +0 -89
- package/dist/resources/s3-website/actions/update-source-paths-in-s3-website.resource.action.js.map +0 -1
- package/dist/resources/s3-website/actions/validate-s3-website.resource.action.d.ts +0 -17
- package/dist/resources/s3-website/actions/validate-s3-website.resource.action.js +0 -154
- package/dist/resources/s3-website/actions/validate-s3-website.resource.action.js.map +0 -1
- package/dist/resources/security-group/actions/add-security-group.resource.action.d.ts +0 -20
- package/dist/resources/security-group/actions/add-security-group.resource.action.js +0 -141
- package/dist/resources/security-group/actions/add-security-group.resource.action.js.map +0 -1
- package/dist/resources/security-group/actions/delete-security-group.resource.action.d.ts +0 -18
- package/dist/resources/security-group/actions/delete-security-group.resource.action.js +0 -73
- package/dist/resources/security-group/actions/delete-security-group.resource.action.js.map +0 -1
- package/dist/resources/security-group/actions/update-security-group-rules.resource.action.d.ts +0 -20
- package/dist/resources/security-group/actions/update-security-group-rules.resource.action.js +0 -139
- package/dist/resources/security-group/actions/update-security-group-rules.resource.action.js.map +0 -1
- package/dist/resources/security-group/actions/update-security-group-tags.resource.action.d.ts +0 -18
- package/dist/resources/security-group/actions/update-security-group-tags.resource.action.js +0 -52
- package/dist/resources/security-group/actions/update-security-group-tags.resource.action.js.map +0 -1
- package/dist/resources/security-group/actions/validate-security-group.resource.action.d.ts +0 -17
- package/dist/resources/security-group/actions/validate-security-group.resource.action.js +0 -132
- package/dist/resources/security-group/actions/validate-security-group.resource.action.js.map +0 -1
- package/dist/resources/subnet/actions/add-subnet.resource.action.d.ts +0 -20
- package/dist/resources/subnet/actions/add-subnet.resource.action.js +0 -89
- package/dist/resources/subnet/actions/add-subnet.resource.action.js.map +0 -1
- package/dist/resources/subnet/actions/delete-subnet.resource.action.d.ts +0 -18
- package/dist/resources/subnet/actions/delete-subnet.resource.action.js +0 -64
- package/dist/resources/subnet/actions/delete-subnet.resource.action.js.map +0 -1
- package/dist/resources/subnet/actions/update-subnet-tags.resource.action.d.ts +0 -18
- package/dist/resources/subnet/actions/update-subnet-tags.resource.action.js +0 -52
- package/dist/resources/subnet/actions/update-subnet-tags.resource.action.js.map +0 -1
- package/dist/resources/subnet/actions/validate-subnet.resource.action.d.ts +0 -17
- package/dist/resources/subnet/actions/validate-subnet.resource.action.js +0 -90
- package/dist/resources/subnet/actions/validate-subnet.resource.action.js.map +0 -1
- package/dist/resources/vpc/actions/add-vpc.resource.action.d.ts +0 -20
- package/dist/resources/vpc/actions/add-vpc.resource.action.js +0 -93
- package/dist/resources/vpc/actions/add-vpc.resource.action.js.map +0 -1
- package/dist/resources/vpc/actions/delete-vpc.resource.action.d.ts +0 -18
- package/dist/resources/vpc/actions/delete-vpc.resource.action.js +0 -64
- package/dist/resources/vpc/actions/delete-vpc.resource.action.js.map +0 -1
- package/dist/resources/vpc/actions/update-vpc-tags.resource.action.d.ts +0 -18
- package/dist/resources/vpc/actions/update-vpc-tags.resource.action.js +0 -52
- package/dist/resources/vpc/actions/update-vpc-tags.resource.action.js.map +0 -1
- package/dist/resources/vpc/actions/validate-vpc.resource.action.d.ts +0 -17
- package/dist/resources/vpc/actions/validate-vpc.resource.action.js +0 -100
- package/dist/resources/vpc/actions/validate-vpc.resource.action.js.map +0 -1
- package/dist/utilities/actions/generic-resource-tagging.action.d.ts +0 -14
- package/dist/utilities/actions/generic-resource-tagging.action.js +0 -34
- package/dist/utilities/actions/generic-resource-tagging.action.js.map +0 -1
- package/dist/utilities/process/process.utility.d.ts +0 -7
- package/dist/utilities/process/process.utility.js +0 -17
- package/dist/utilities/process/process.utility.js.map +0 -1
- package/dist/utilities/security-group/security-group.utility.d.ts +0 -7
- package/dist/utilities/security-group/security-group.utility.js +0 -13
- package/dist/utilities/security-group/security-group.utility.js.map +0 -1
|
@@ -0,0 +1,754 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
import { BaseResourceSchema, Schema, Validate } from '@quadnix/octo';
|
|
11
|
+
/**
|
|
12
|
+
* One origin the distribution can serve from.
|
|
13
|
+
*
|
|
14
|
+
* @group Resources/CloudFrontDistribution
|
|
15
|
+
*
|
|
16
|
+
* @hideconstructor
|
|
17
|
+
*/
|
|
18
|
+
export class CloudFrontOriginSchema {
|
|
19
|
+
constructor() {
|
|
20
|
+
/**
|
|
21
|
+
* How many times CloudFront retries the origin before giving up. Between 1 and 3.
|
|
22
|
+
*/
|
|
23
|
+
this.connectionAttempts = Schema(3);
|
|
24
|
+
/**
|
|
25
|
+
* How long CloudFront waits to establish a connection to the origin, in seconds. Between 1 and 10.
|
|
26
|
+
*/
|
|
27
|
+
this.connectionTimeout = Schema(10);
|
|
28
|
+
/**
|
|
29
|
+
* Headers CloudFront adds to every request it sends to this origin.
|
|
30
|
+
* This is how a load balancer rejects anything that did not arrive through the distribution.
|
|
31
|
+
*/
|
|
32
|
+
this.customHeaders = Schema({});
|
|
33
|
+
/**
|
|
34
|
+
* What kind of origin this is, and the settings that only apply to that kind.
|
|
35
|
+
*
|
|
36
|
+
* * `s3` is a bucket reached privately. The distribution emits an origin access control for it,
|
|
37
|
+
* and builds the hostname from `bucketName` and `bucketRegion` rather than referencing the bucket,
|
|
38
|
+
* because the bucket's own policy already references this distribution. Granting the distribution
|
|
39
|
+
* read on the bucket is the bucket's job, driven by an overlay.
|
|
40
|
+
* * `custom` is anything that speaks HTTP - a load balancer, an EC2 instance, an API, a third
|
|
41
|
+
* party, or an S3 website endpoint.
|
|
42
|
+
*/
|
|
43
|
+
this.kind = Schema();
|
|
44
|
+
/**
|
|
45
|
+
* How this origin is named by behaviors and origin groups. Unique across origins and origin groups.
|
|
46
|
+
*/
|
|
47
|
+
this.originId = Schema();
|
|
48
|
+
/**
|
|
49
|
+
* A prefix CloudFront prepends to the path before asking the origin for it.
|
|
50
|
+
* Empty asks the origin for the path the viewer requested.
|
|
51
|
+
*/
|
|
52
|
+
this.originPath = Schema('');
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
__decorate([
|
|
56
|
+
Validate({ options: { maxLength: 3, minLength: 1 } }),
|
|
57
|
+
__metadata("design:type", Object)
|
|
58
|
+
], CloudFrontOriginSchema.prototype, "connectionAttempts", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
Validate({ options: { maxLength: 10, minLength: 1 } }),
|
|
61
|
+
__metadata("design:type", Object)
|
|
62
|
+
], CloudFrontOriginSchema.prototype, "connectionTimeout", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
Validate({
|
|
65
|
+
destruct: (value) => Object.keys(value),
|
|
66
|
+
options: { minLength: 1 },
|
|
67
|
+
}),
|
|
68
|
+
__metadata("design:type", Object)
|
|
69
|
+
], CloudFrontOriginSchema.prototype, "customHeaders", void 0);
|
|
70
|
+
__decorate([
|
|
71
|
+
Validate({
|
|
72
|
+
destruct: (value) => value.kind === 's3'
|
|
73
|
+
? [value.bucketName, value.bucketRegion]
|
|
74
|
+
: [value.originProtocolPolicy, ...value.sslProtocols],
|
|
75
|
+
options: { minLength: 1 },
|
|
76
|
+
}),
|
|
77
|
+
__metadata("design:type", Object)
|
|
78
|
+
], CloudFrontOriginSchema.prototype, "kind", void 0);
|
|
79
|
+
__decorate([
|
|
80
|
+
Validate({ options: { minLength: 1 } }),
|
|
81
|
+
__metadata("design:type", Object)
|
|
82
|
+
], CloudFrontOriginSchema.prototype, "originId", void 0);
|
|
83
|
+
/**
|
|
84
|
+
* A primary origin and the origin CloudFront falls back to when the primary answers with one of
|
|
85
|
+
* `failoverStatusCodes`.
|
|
86
|
+
*
|
|
87
|
+
* @group Resources/CloudFrontDistribution
|
|
88
|
+
*
|
|
89
|
+
* @hideconstructor
|
|
90
|
+
*/
|
|
91
|
+
export class CloudFrontOriginGroupSchema {
|
|
92
|
+
constructor() {
|
|
93
|
+
/**
|
|
94
|
+
* The origin id CloudFront falls back to.
|
|
95
|
+
*/
|
|
96
|
+
this.failoverOriginId = Schema();
|
|
97
|
+
/**
|
|
98
|
+
* The status codes from the primary origin that trigger the failover.
|
|
99
|
+
*/
|
|
100
|
+
this.failoverStatusCodes = Schema();
|
|
101
|
+
/**
|
|
102
|
+
* How this group is named by behaviors. Unique across origins and origin groups.
|
|
103
|
+
*/
|
|
104
|
+
this.originGroupId = Schema();
|
|
105
|
+
/**
|
|
106
|
+
* The origin id CloudFront tries first.
|
|
107
|
+
*/
|
|
108
|
+
this.primaryOriginId = Schema();
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
__decorate([
|
|
112
|
+
Validate({ options: { minLength: 1 } }),
|
|
113
|
+
__metadata("design:type", Object)
|
|
114
|
+
], CloudFrontOriginGroupSchema.prototype, "failoverOriginId", void 0);
|
|
115
|
+
__decorate([
|
|
116
|
+
Validate({
|
|
117
|
+
destruct: (value) => value,
|
|
118
|
+
options: { maxLength: 599, minLength: 100 },
|
|
119
|
+
}),
|
|
120
|
+
__metadata("design:type", Object)
|
|
121
|
+
], CloudFrontOriginGroupSchema.prototype, "failoverStatusCodes", void 0);
|
|
122
|
+
__decorate([
|
|
123
|
+
Validate({ options: { minLength: 1 } }),
|
|
124
|
+
__metadata("design:type", Object)
|
|
125
|
+
], CloudFrontOriginGroupSchema.prototype, "originGroupId", void 0);
|
|
126
|
+
__decorate([
|
|
127
|
+
Validate({ options: { minLength: 1 } }),
|
|
128
|
+
__metadata("design:type", Object)
|
|
129
|
+
], CloudFrontOriginGroupSchema.prototype, "primaryOriginId", void 0);
|
|
130
|
+
/**
|
|
131
|
+
* An edge function CloudFront runs for a behavior. The function itself is not created here - pass
|
|
132
|
+
* the ARN of one that already exists.
|
|
133
|
+
*
|
|
134
|
+
* @group Resources/CloudFrontDistribution
|
|
135
|
+
*
|
|
136
|
+
* @hideconstructor
|
|
137
|
+
*/
|
|
138
|
+
export class CloudFrontFunctionAssociationSchema {
|
|
139
|
+
constructor() {
|
|
140
|
+
/**
|
|
141
|
+
* The ARN of the CloudFront Function or the Lambda@Edge function version.
|
|
142
|
+
*/
|
|
143
|
+
this.arn = Schema();
|
|
144
|
+
/**
|
|
145
|
+
* Which lifecycle event the function runs on. See {@link ICloudFrontFunctionEventType}.
|
|
146
|
+
*/
|
|
147
|
+
this.eventType = Schema();
|
|
148
|
+
/**
|
|
149
|
+
* Which engine runs it. A `cloudfront-function` is JavaScript at the edge and may only bind to a
|
|
150
|
+
* viewer event; `lambda-edge` may bind to any of the four.
|
|
151
|
+
*/
|
|
152
|
+
this.kind = Schema();
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
__decorate([
|
|
156
|
+
Validate({ options: { minLength: 1 } }),
|
|
157
|
+
__metadata("design:type", Object)
|
|
158
|
+
], CloudFrontFunctionAssociationSchema.prototype, "arn", void 0);
|
|
159
|
+
__decorate([
|
|
160
|
+
Validate({ options: { minLength: 1 } }),
|
|
161
|
+
__metadata("design:type", Object)
|
|
162
|
+
], CloudFrontFunctionAssociationSchema.prototype, "eventType", void 0);
|
|
163
|
+
__decorate([
|
|
164
|
+
Validate({ options: { minLength: 1 } }),
|
|
165
|
+
__metadata("design:type", Object)
|
|
166
|
+
], CloudFrontFunctionAssociationSchema.prototype, "kind", void 0);
|
|
167
|
+
/**
|
|
168
|
+
* One rule binding a set of paths to an origin, and deciding everything about how those paths are
|
|
169
|
+
* served.
|
|
170
|
+
*
|
|
171
|
+
* @group Resources/CloudFrontDistribution
|
|
172
|
+
*
|
|
173
|
+
* @hideconstructor
|
|
174
|
+
*/
|
|
175
|
+
export class CloudFrontBehaviorSchema {
|
|
176
|
+
constructor() {
|
|
177
|
+
/**
|
|
178
|
+
* The HTTP methods CloudFront forwards to the origin.
|
|
179
|
+
* `['GET', 'HEAD']` is a CDN; the full set makes the distribution a reverse proxy.
|
|
180
|
+
*/
|
|
181
|
+
this.allowedMethods = Schema(['GET', 'HEAD']);
|
|
182
|
+
/**
|
|
183
|
+
* The subset of `allowedMethods` whose responses CloudFront caches.
|
|
184
|
+
*/
|
|
185
|
+
this.cachedMethods = Schema(['GET', 'HEAD']);
|
|
186
|
+
/**
|
|
187
|
+
* Which policy decides the cache key and the TTLs. See {@link ICloudFrontPolicyReference}.
|
|
188
|
+
*/
|
|
189
|
+
this.cachePolicy = Schema();
|
|
190
|
+
/**
|
|
191
|
+
* Whether CloudFront compresses the response for viewers that accept it.
|
|
192
|
+
*/
|
|
193
|
+
this.compress = Schema(true);
|
|
194
|
+
/**
|
|
195
|
+
* Edge functions to run for this behavior. See {@link CloudFrontFunctionAssociationSchema}.
|
|
196
|
+
*/
|
|
197
|
+
this.functionAssociations = Schema([]);
|
|
198
|
+
/**
|
|
199
|
+
* Which policy decides what reaches the origin, independently of the cache key.
|
|
200
|
+
* `null` forwards only what the cache policy already selected.
|
|
201
|
+
*/
|
|
202
|
+
this.originRequestPolicy = Schema(null);
|
|
203
|
+
/**
|
|
204
|
+
* The paths this behavior claims, e.g. `/api/*`. Absent on the default behavior, which claims
|
|
205
|
+
* everything no other behavior did.
|
|
206
|
+
*/
|
|
207
|
+
this.pathPattern = Schema(null);
|
|
208
|
+
/**
|
|
209
|
+
* Which policy decides the headers CloudFront adds on the way out - CORS, HSTS, and the app's own
|
|
210
|
+
* content security policy. `null` adds nothing.
|
|
211
|
+
*/
|
|
212
|
+
this.responseHeadersPolicy = Schema(null);
|
|
213
|
+
/**
|
|
214
|
+
* The origin or origin group serving these paths.
|
|
215
|
+
*/
|
|
216
|
+
this.targetOriginId = Schema();
|
|
217
|
+
/**
|
|
218
|
+
* What CloudFront does with a plain HTTP request.
|
|
219
|
+
*/
|
|
220
|
+
this.viewerProtocolPolicy = Schema('redirect-to-https');
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
__decorate([
|
|
224
|
+
Validate({
|
|
225
|
+
destruct: (value) => value,
|
|
226
|
+
options: { minLength: 1 },
|
|
227
|
+
}),
|
|
228
|
+
__metadata("design:type", Object)
|
|
229
|
+
], CloudFrontBehaviorSchema.prototype, "allowedMethods", void 0);
|
|
230
|
+
__decorate([
|
|
231
|
+
Validate({
|
|
232
|
+
destruct: (value) => value,
|
|
233
|
+
options: { minLength: 1 },
|
|
234
|
+
}),
|
|
235
|
+
__metadata("design:type", Object)
|
|
236
|
+
], CloudFrontBehaviorSchema.prototype, "cachedMethods", void 0);
|
|
237
|
+
__decorate([
|
|
238
|
+
Validate({
|
|
239
|
+
destruct: (value) => [value.kind, value.name],
|
|
240
|
+
options: { minLength: 1 },
|
|
241
|
+
}),
|
|
242
|
+
__metadata("design:type", Object)
|
|
243
|
+
], CloudFrontBehaviorSchema.prototype, "cachePolicy", void 0);
|
|
244
|
+
__decorate([
|
|
245
|
+
Validate({
|
|
246
|
+
destruct: (value) => value,
|
|
247
|
+
options: { isSchema: { schema: CloudFrontFunctionAssociationSchema } },
|
|
248
|
+
}),
|
|
249
|
+
__metadata("design:type", Object)
|
|
250
|
+
], CloudFrontBehaviorSchema.prototype, "functionAssociations", void 0);
|
|
251
|
+
__decorate([
|
|
252
|
+
Validate({
|
|
253
|
+
destruct: (value) => value ? [value.kind, value.name] : [],
|
|
254
|
+
options: { minLength: 1 },
|
|
255
|
+
}),
|
|
256
|
+
__metadata("design:type", Object)
|
|
257
|
+
], CloudFrontBehaviorSchema.prototype, "originRequestPolicy", void 0);
|
|
258
|
+
__decorate([
|
|
259
|
+
Validate({
|
|
260
|
+
destruct: (value) => (value ? [value] : []),
|
|
261
|
+
options: { minLength: 1 },
|
|
262
|
+
}),
|
|
263
|
+
__metadata("design:type", Object)
|
|
264
|
+
], CloudFrontBehaviorSchema.prototype, "pathPattern", void 0);
|
|
265
|
+
__decorate([
|
|
266
|
+
Validate({
|
|
267
|
+
destruct: (value) => value ? [value.kind, value.name] : [],
|
|
268
|
+
options: { minLength: 1 },
|
|
269
|
+
}),
|
|
270
|
+
__metadata("design:type", Object)
|
|
271
|
+
], CloudFrontBehaviorSchema.prototype, "responseHeadersPolicy", void 0);
|
|
272
|
+
__decorate([
|
|
273
|
+
Validate({ options: { minLength: 1 } }),
|
|
274
|
+
__metadata("design:type", Object)
|
|
275
|
+
], CloudFrontBehaviorSchema.prototype, "targetOriginId", void 0);
|
|
276
|
+
__decorate([
|
|
277
|
+
Validate({ options: { minLength: 1 } }),
|
|
278
|
+
__metadata("design:type", Object)
|
|
279
|
+
], CloudFrontBehaviorSchema.prototype, "viewerProtocolPolicy", void 0);
|
|
280
|
+
/**
|
|
281
|
+
* What the viewer gets when the origin answers with a status code CloudFront was told to handle.
|
|
282
|
+
*
|
|
283
|
+
* The same field set expresses opposite intents. A single-page app maps `403` and `404` to a `200`
|
|
284
|
+
* carrying `/index.html` with a short TTL, so the client-side router can take over; a content site
|
|
285
|
+
* maps them to a real `404` carrying an error page.
|
|
286
|
+
*
|
|
287
|
+
* @group Resources/CloudFrontDistribution
|
|
288
|
+
*
|
|
289
|
+
* @hideconstructor
|
|
290
|
+
*/
|
|
291
|
+
export class CloudFrontCustomErrorResponseSchema {
|
|
292
|
+
constructor() {
|
|
293
|
+
/**
|
|
294
|
+
* How long CloudFront caches this error before asking the origin again, in seconds.
|
|
295
|
+
*/
|
|
296
|
+
this.errorCachingMinTtl = Schema(10);
|
|
297
|
+
/**
|
|
298
|
+
* The status code the origin answered with.
|
|
299
|
+
*/
|
|
300
|
+
this.errorCode = Schema();
|
|
301
|
+
/**
|
|
302
|
+
* The status code the viewer sees.
|
|
303
|
+
*/
|
|
304
|
+
this.responseCode = Schema();
|
|
305
|
+
/**
|
|
306
|
+
* The object served in place of the error, e.g. `/index.html`.
|
|
307
|
+
*/
|
|
308
|
+
this.responsePagePath = Schema();
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
__decorate([
|
|
312
|
+
Validate({ options: { minLength: 0 } }),
|
|
313
|
+
__metadata("design:type", Object)
|
|
314
|
+
], CloudFrontCustomErrorResponseSchema.prototype, "errorCachingMinTtl", void 0);
|
|
315
|
+
__decorate([
|
|
316
|
+
Validate({ options: { maxLength: 599, minLength: 100 } }),
|
|
317
|
+
__metadata("design:type", Object)
|
|
318
|
+
], CloudFrontCustomErrorResponseSchema.prototype, "errorCode", void 0);
|
|
319
|
+
__decorate([
|
|
320
|
+
Validate({ options: { maxLength: 599, minLength: 100 } }),
|
|
321
|
+
__metadata("design:type", Object)
|
|
322
|
+
], CloudFrontCustomErrorResponseSchema.prototype, "responseCode", void 0);
|
|
323
|
+
__decorate([
|
|
324
|
+
Validate({ options: { minLength: 1 } }),
|
|
325
|
+
__metadata("design:type", Object)
|
|
326
|
+
], CloudFrontCustomErrorResponseSchema.prototype, "responsePagePath", void 0);
|
|
327
|
+
/**
|
|
328
|
+
* A cache policy this distribution declares, referenced by a behavior under
|
|
329
|
+
* `{ kind: 'custom', name }`.
|
|
330
|
+
*
|
|
331
|
+
* @group Resources/CloudFrontDistribution
|
|
332
|
+
*
|
|
333
|
+
* @hideconstructor
|
|
334
|
+
*/
|
|
335
|
+
export class CloudFrontCachePolicySchema {
|
|
336
|
+
constructor() {
|
|
337
|
+
/**
|
|
338
|
+
* Which cookies are part of the cache key.
|
|
339
|
+
*/
|
|
340
|
+
this.cookies = Schema({ kind: 'none' });
|
|
341
|
+
/**
|
|
342
|
+
* How long CloudFront serves an object without asking the origin, when the origin sent no
|
|
343
|
+
* caching headers of its own. In seconds.
|
|
344
|
+
*/
|
|
345
|
+
this.defaultTtl = Schema(86400);
|
|
346
|
+
/**
|
|
347
|
+
* Whether CloudFront may store and serve a brotli-compressed copy.
|
|
348
|
+
*/
|
|
349
|
+
this.enableBrotli = Schema(true);
|
|
350
|
+
/**
|
|
351
|
+
* Whether CloudFront may store and serve a gzip-compressed copy.
|
|
352
|
+
*/
|
|
353
|
+
this.enableGzip = Schema(true);
|
|
354
|
+
/**
|
|
355
|
+
* Which request headers are part of the cache key.
|
|
356
|
+
*/
|
|
357
|
+
this.headers = Schema({ kind: 'none' });
|
|
358
|
+
/**
|
|
359
|
+
* The longest CloudFront will serve an object without asking the origin, whatever the origin's
|
|
360
|
+
* own caching headers said. In seconds.
|
|
361
|
+
*/
|
|
362
|
+
this.maxTtl = Schema(31536000);
|
|
363
|
+
/**
|
|
364
|
+
* The shortest CloudFront will serve an object without asking the origin. In seconds.
|
|
365
|
+
*/
|
|
366
|
+
this.minTtl = Schema(1);
|
|
367
|
+
/**
|
|
368
|
+
* How a behavior names this policy.
|
|
369
|
+
*/
|
|
370
|
+
this.name = Schema();
|
|
371
|
+
/**
|
|
372
|
+
* Which query strings are part of the cache key.
|
|
373
|
+
*/
|
|
374
|
+
this.queryStrings = Schema({ kind: 'none' });
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
__decorate([
|
|
378
|
+
Validate({
|
|
379
|
+
destruct: (value) => [value.kind],
|
|
380
|
+
options: { minLength: 1 },
|
|
381
|
+
}),
|
|
382
|
+
__metadata("design:type", Object)
|
|
383
|
+
], CloudFrontCachePolicySchema.prototype, "cookies", void 0);
|
|
384
|
+
__decorate([
|
|
385
|
+
Validate({ options: { minLength: 0 } }),
|
|
386
|
+
__metadata("design:type", Object)
|
|
387
|
+
], CloudFrontCachePolicySchema.prototype, "defaultTtl", void 0);
|
|
388
|
+
__decorate([
|
|
389
|
+
Validate({
|
|
390
|
+
destruct: (value) => [value.kind],
|
|
391
|
+
options: { minLength: 1 },
|
|
392
|
+
}),
|
|
393
|
+
__metadata("design:type", Object)
|
|
394
|
+
], CloudFrontCachePolicySchema.prototype, "headers", void 0);
|
|
395
|
+
__decorate([
|
|
396
|
+
Validate({ options: { minLength: 0 } }),
|
|
397
|
+
__metadata("design:type", Object)
|
|
398
|
+
], CloudFrontCachePolicySchema.prototype, "maxTtl", void 0);
|
|
399
|
+
__decorate([
|
|
400
|
+
Validate({ options: { minLength: 0 } }),
|
|
401
|
+
__metadata("design:type", Object)
|
|
402
|
+
], CloudFrontCachePolicySchema.prototype, "minTtl", void 0);
|
|
403
|
+
__decorate([
|
|
404
|
+
Validate({ options: { minLength: 1 } }),
|
|
405
|
+
__metadata("design:type", Object)
|
|
406
|
+
], CloudFrontCachePolicySchema.prototype, "name", void 0);
|
|
407
|
+
__decorate([
|
|
408
|
+
Validate({
|
|
409
|
+
destruct: (value) => [value.kind],
|
|
410
|
+
options: { minLength: 1 },
|
|
411
|
+
}),
|
|
412
|
+
__metadata("design:type", Object)
|
|
413
|
+
], CloudFrontCachePolicySchema.prototype, "queryStrings", void 0);
|
|
414
|
+
/**
|
|
415
|
+
* An origin request policy this distribution declares, referenced by a behavior under
|
|
416
|
+
* `{ kind: 'custom', name }`.
|
|
417
|
+
*
|
|
418
|
+
* This is what reaches the origin, and it is separate from the cache key on purpose: an origin can
|
|
419
|
+
* be told the viewer's `Authorization` header without every distinct token becoming its own cache
|
|
420
|
+
* entry.
|
|
421
|
+
*
|
|
422
|
+
* @group Resources/CloudFrontDistribution
|
|
423
|
+
*
|
|
424
|
+
* @hideconstructor
|
|
425
|
+
*/
|
|
426
|
+
export class CloudFrontOriginRequestPolicySchema {
|
|
427
|
+
constructor() {
|
|
428
|
+
/**
|
|
429
|
+
* Which cookies reach the origin.
|
|
430
|
+
*/
|
|
431
|
+
this.cookies = Schema({ kind: 'none' });
|
|
432
|
+
/**
|
|
433
|
+
* Which request headers reach the origin.
|
|
434
|
+
*/
|
|
435
|
+
this.headers = Schema({ kind: 'none' });
|
|
436
|
+
/**
|
|
437
|
+
* How a behavior names this policy.
|
|
438
|
+
*/
|
|
439
|
+
this.name = Schema();
|
|
440
|
+
/**
|
|
441
|
+
* Which query strings reach the origin.
|
|
442
|
+
*/
|
|
443
|
+
this.queryStrings = Schema({ kind: 'none' });
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
__decorate([
|
|
447
|
+
Validate({
|
|
448
|
+
destruct: (value) => [value.kind],
|
|
449
|
+
options: { minLength: 1 },
|
|
450
|
+
}),
|
|
451
|
+
__metadata("design:type", Object)
|
|
452
|
+
], CloudFrontOriginRequestPolicySchema.prototype, "cookies", void 0);
|
|
453
|
+
__decorate([
|
|
454
|
+
Validate({
|
|
455
|
+
destruct: (value) => [value.kind],
|
|
456
|
+
options: { minLength: 1 },
|
|
457
|
+
}),
|
|
458
|
+
__metadata("design:type", Object)
|
|
459
|
+
], CloudFrontOriginRequestPolicySchema.prototype, "headers", void 0);
|
|
460
|
+
__decorate([
|
|
461
|
+
Validate({ options: { minLength: 1 } }),
|
|
462
|
+
__metadata("design:type", Object)
|
|
463
|
+
], CloudFrontOriginRequestPolicySchema.prototype, "name", void 0);
|
|
464
|
+
__decorate([
|
|
465
|
+
Validate({
|
|
466
|
+
destruct: (value) => [value.kind],
|
|
467
|
+
options: { minLength: 1 },
|
|
468
|
+
}),
|
|
469
|
+
__metadata("design:type", Object)
|
|
470
|
+
], CloudFrontOriginRequestPolicySchema.prototype, "queryStrings", void 0);
|
|
471
|
+
/**
|
|
472
|
+
* The security headers a response headers policy adds. Every field is optional; a `null` field adds
|
|
473
|
+
* nothing for that header.
|
|
474
|
+
*
|
|
475
|
+
* @group Resources/CloudFrontDistribution
|
|
476
|
+
*
|
|
477
|
+
* @hideconstructor
|
|
478
|
+
*/
|
|
479
|
+
export class CloudFrontSecurityHeadersSchema {
|
|
480
|
+
constructor() {
|
|
481
|
+
/**
|
|
482
|
+
* The app's own content security policy, verbatim.
|
|
483
|
+
*/
|
|
484
|
+
this.contentSecurityPolicy = Schema(null);
|
|
485
|
+
/**
|
|
486
|
+
* Whether to send `X-Content-Type-Options`, which tells a browser to trust the declared content
|
|
487
|
+
* type rather than guessing one from the bytes.
|
|
488
|
+
*/
|
|
489
|
+
this.contentTypeOptions = Schema(true);
|
|
490
|
+
/**
|
|
491
|
+
* The value of `X-Frame-Options`, or `null` to send none.
|
|
492
|
+
*/
|
|
493
|
+
this.frameOptions = Schema('SAMEORIGIN');
|
|
494
|
+
/**
|
|
495
|
+
* The value of `Referrer-Policy`, or `null` to send none.
|
|
496
|
+
*/
|
|
497
|
+
this.referrerPolicy = Schema(null);
|
|
498
|
+
/**
|
|
499
|
+
* How long a viewer should keep using HTTPS for this host, in seconds. `null` sends no
|
|
500
|
+
* `Strict-Transport-Security` header at all.
|
|
501
|
+
*/
|
|
502
|
+
this.strictTransportSecurityMaxAge = Schema(31536000);
|
|
503
|
+
}
|
|
504
|
+
}
|
|
505
|
+
__decorate([
|
|
506
|
+
Validate({
|
|
507
|
+
destruct: (value) => (value ? [value] : []),
|
|
508
|
+
options: { minLength: 1 },
|
|
509
|
+
}),
|
|
510
|
+
__metadata("design:type", Object)
|
|
511
|
+
], CloudFrontSecurityHeadersSchema.prototype, "contentSecurityPolicy", void 0);
|
|
512
|
+
__decorate([
|
|
513
|
+
Validate({
|
|
514
|
+
destruct: (value) => (value ? [value] : []),
|
|
515
|
+
options: { minLength: 1 },
|
|
516
|
+
}),
|
|
517
|
+
__metadata("design:type", Object)
|
|
518
|
+
], CloudFrontSecurityHeadersSchema.prototype, "frameOptions", void 0);
|
|
519
|
+
__decorate([
|
|
520
|
+
Validate({
|
|
521
|
+
destruct: (value) => (value ? [value] : []),
|
|
522
|
+
options: { minLength: 1 },
|
|
523
|
+
}),
|
|
524
|
+
__metadata("design:type", Object)
|
|
525
|
+
], CloudFrontSecurityHeadersSchema.prototype, "referrerPolicy", void 0);
|
|
526
|
+
__decorate([
|
|
527
|
+
Validate({
|
|
528
|
+
destruct: (value) => value === null || value === undefined ? [] : [value],
|
|
529
|
+
options: { minLength: 0 },
|
|
530
|
+
}),
|
|
531
|
+
__metadata("design:type", Object)
|
|
532
|
+
], CloudFrontSecurityHeadersSchema.prototype, "strictTransportSecurityMaxAge", void 0);
|
|
533
|
+
/**
|
|
534
|
+
* A response headers policy this distribution declares, referenced by a behavior under
|
|
535
|
+
* `{ kind: 'custom', name }`.
|
|
536
|
+
*
|
|
537
|
+
* @group Resources/CloudFrontDistribution
|
|
538
|
+
*
|
|
539
|
+
* @hideconstructor
|
|
540
|
+
*/
|
|
541
|
+
export class CloudFrontResponseHeadersPolicySchema {
|
|
542
|
+
constructor() {
|
|
543
|
+
/**
|
|
544
|
+
* A cross-origin resource sharing configuration, or `null` for none.
|
|
545
|
+
*/
|
|
546
|
+
this.cors = Schema(null);
|
|
547
|
+
/**
|
|
548
|
+
* Headers CloudFront adds verbatim. `override` decides what happens when the origin already sent
|
|
549
|
+
* one of the same name.
|
|
550
|
+
*/
|
|
551
|
+
this.customHeaders = Schema([]);
|
|
552
|
+
/**
|
|
553
|
+
* How a behavior names this policy.
|
|
554
|
+
*/
|
|
555
|
+
this.name = Schema();
|
|
556
|
+
/**
|
|
557
|
+
* Headers CloudFront strips from the origin's response before the viewer sees it.
|
|
558
|
+
*/
|
|
559
|
+
this.removeHeaders = Schema([]);
|
|
560
|
+
/**
|
|
561
|
+
* The security headers to add, or `null` to add none.
|
|
562
|
+
* See {@link CloudFrontSecurityHeadersSchema}.
|
|
563
|
+
*/
|
|
564
|
+
this.securityHeaders = Schema(null);
|
|
565
|
+
}
|
|
566
|
+
}
|
|
567
|
+
__decorate([
|
|
568
|
+
Validate({
|
|
569
|
+
destruct: (value) => value ? [...value.allowHeaders, ...value.allowMethods, ...value.allowOrigins] : [],
|
|
570
|
+
options: { minLength: 1 },
|
|
571
|
+
}),
|
|
572
|
+
__metadata("design:type", Object)
|
|
573
|
+
], CloudFrontResponseHeadersPolicySchema.prototype, "cors", void 0);
|
|
574
|
+
__decorate([
|
|
575
|
+
Validate({
|
|
576
|
+
destruct: (value) => value.flatMap((v) => [v.header, v.value]),
|
|
577
|
+
options: { minLength: 1 },
|
|
578
|
+
}),
|
|
579
|
+
__metadata("design:type", Object)
|
|
580
|
+
], CloudFrontResponseHeadersPolicySchema.prototype, "customHeaders", void 0);
|
|
581
|
+
__decorate([
|
|
582
|
+
Validate({ options: { minLength: 1 } }),
|
|
583
|
+
__metadata("design:type", Object)
|
|
584
|
+
], CloudFrontResponseHeadersPolicySchema.prototype, "name", void 0);
|
|
585
|
+
__decorate([
|
|
586
|
+
Validate({
|
|
587
|
+
destruct: (value) => value,
|
|
588
|
+
options: { minLength: 1 },
|
|
589
|
+
}),
|
|
590
|
+
__metadata("design:type", Object)
|
|
591
|
+
], CloudFrontResponseHeadersPolicySchema.prototype, "removeHeaders", void 0);
|
|
592
|
+
__decorate([
|
|
593
|
+
Validate({
|
|
594
|
+
destruct: (value) => value ? [value] : [],
|
|
595
|
+
options: { isSchema: { schema: CloudFrontSecurityHeadersSchema } },
|
|
596
|
+
}),
|
|
597
|
+
__metadata("design:type", Object)
|
|
598
|
+
], CloudFrontResponseHeadersPolicySchema.prototype, "securityHeaders", void 0);
|
|
599
|
+
/**
|
|
600
|
+
* The `CloudFrontDistributionSchema` class is the schema for the `CloudFrontDistribution` resource,
|
|
601
|
+
* which represents an AWS CloudFront distribution. Terraform provisions it as
|
|
602
|
+
* [`aws_cloudfront_distribution`](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/cloudfront_distribution),
|
|
603
|
+
* alongside an
|
|
604
|
+
* [`aws_cloudfront_origin_access_control`](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/cloudfront_origin_access_control)
|
|
605
|
+
* per S3 origin and one terraform resource per policy the distribution declares.
|
|
606
|
+
*
|
|
607
|
+
* The distribution is deliberately open. It carries several origins of mixed kinds, a routing table
|
|
608
|
+
* of behaviors over them, and the security layer around both, so that one module can serve a
|
|
609
|
+
* single-page app out of a bucket while another puts the same resource in front of a load balancer.
|
|
610
|
+
* The opinion about which of those a caller gets belongs to the module, not here.
|
|
611
|
+
*
|
|
612
|
+
* @group Resources/CloudFrontDistribution
|
|
613
|
+
*
|
|
614
|
+
* @hideconstructor
|
|
615
|
+
*
|
|
616
|
+
* @overrideProperty parents - Every managed origin that is not an S3 bucket. The distribution reads
|
|
617
|
+
* such an origin's hostname out of its response, so it is a child of it. An S3 origin runs the other
|
|
618
|
+
* way - the bucket's policy has to name this distribution's ARN, which AWS assigns, so the bucket is
|
|
619
|
+
* the child and this distribution writes the bucket's hostname literally.
|
|
620
|
+
* ```mermaid
|
|
621
|
+
* graph TD;
|
|
622
|
+
* origin((Origin<br>Resource)) --> cloudfront_distribution((CloudFront<br>Distribution))
|
|
623
|
+
* cloudfront_distribution --> s3_bucket((S3<br>Bucket))
|
|
624
|
+
* ```
|
|
625
|
+
* @overrideProperty resourceId - The resource id is of format `cloudfront-<distribution-name>`.
|
|
626
|
+
* There is no region in it: CloudFront is global, and the provider is found on the account alone.
|
|
627
|
+
*/
|
|
628
|
+
export class CloudFrontDistributionSchema extends BaseResourceSchema {
|
|
629
|
+
constructor() {
|
|
630
|
+
super(...arguments);
|
|
631
|
+
/**
|
|
632
|
+
* Input properties.
|
|
633
|
+
* * `properties.aliases` - The custom domain names the distribution answers on. Each one needs a
|
|
634
|
+
* DNS record pointing at the distribution, which this resource does not create. Empty serves only
|
|
635
|
+
* the `*.cloudfront.net` domain CloudFront assigns.
|
|
636
|
+
* * `properties.awsAccountId` - The AWS account id.
|
|
637
|
+
* * `properties.behaviors` - The routing table. Exactly one entry has no `pathPattern` and is the
|
|
638
|
+
* default behavior; the rest are matched in order before it.
|
|
639
|
+
* See {@link CloudFrontBehaviorSchema}.
|
|
640
|
+
* * `properties.cachePolicies` - Cache policies this distribution declares.
|
|
641
|
+
* See {@link CloudFrontCachePolicySchema}.
|
|
642
|
+
* * `properties.comment` - A human-readable label. It is the only name a distribution carries in
|
|
643
|
+
* the console.
|
|
644
|
+
* * `properties.customErrorResponses` - What the viewer gets for an origin error.
|
|
645
|
+
* See {@link CloudFrontCustomErrorResponseSchema}.
|
|
646
|
+
* * `properties.defaultRootObject` - The object served for a request to the site root.
|
|
647
|
+
* * `properties.distributionName` - What names this distribution. Part of its identity.
|
|
648
|
+
* * `properties.enabled` - Whether the distribution serves traffic. Disabling is also the first
|
|
649
|
+
* half of deleting one, which AWS makes a slow operation.
|
|
650
|
+
* * `properties.geoRestriction` - Which countries may reach the distribution.
|
|
651
|
+
* * `properties.httpVersion` - The newest HTTP version viewers may negotiate.
|
|
652
|
+
* * `properties.isIpv6Enabled` - Whether the distribution answers over IP version 6.
|
|
653
|
+
* * `properties.logging` - Where CloudFront writes its access logs, or `null` for none. The bucket
|
|
654
|
+
* is not created here.
|
|
655
|
+
* * `properties.originGroups` - Fail-over pairs over the origins.
|
|
656
|
+
* See {@link CloudFrontOriginGroupSchema}.
|
|
657
|
+
* * `properties.originRequestPolicies` - Origin request policies this distribution declares.
|
|
658
|
+
* See {@link CloudFrontOriginRequestPolicySchema}.
|
|
659
|
+
* * `properties.origins` - Where content comes from. See {@link CloudFrontOriginSchema}.
|
|
660
|
+
* * `properties.priceClass` - Which edge locations serve the traffic, which is what the
|
|
661
|
+
* distribution costs. `PriceClass_100` is North America and Europe alone.
|
|
662
|
+
* * `properties.responseHeadersPolicies` - Response headers policies this distribution declares.
|
|
663
|
+
* See {@link CloudFrontResponseHeadersPolicySchema}.
|
|
664
|
+
* * `properties.viewerCertificate` - The certificate viewers see. `default` serves CloudFront's
|
|
665
|
+
* own, which is valid only for the assigned `*.cloudfront.net` domain; `acm` serves a certificate
|
|
666
|
+
* of yours, which CloudFront reads from `us-east-1` alone.
|
|
667
|
+
* * `properties.webAclArn` - The web ACL guarding the distribution, or `null` for none. The
|
|
668
|
+
* ACL is not created here, and CloudFront reads it from `us-east-1` alone.
|
|
669
|
+
*/
|
|
670
|
+
this.properties = Schema();
|
|
671
|
+
/**
|
|
672
|
+
* Saved response.
|
|
673
|
+
* * `response.Arn` - The ARN of the distribution. A bucket admitting this distribution names it.
|
|
674
|
+
* * `response.DistributionId` - The distribution id, which is what an invalidation is issued against.
|
|
675
|
+
* * `response.DomainName` - The `*.cloudfront.net` domain CloudFront assigned. Point a DNS record
|
|
676
|
+
* at this.
|
|
677
|
+
* * `response.HostedZoneId` - The zone a Route 53 alias record pointing at this distribution needs.
|
|
678
|
+
* It is the same constant for every CloudFront distribution, and it is published here so that a
|
|
679
|
+
* DNS module never has to know that.
|
|
680
|
+
*/
|
|
681
|
+
this.response = Schema({
|
|
682
|
+
Arn: 'arn:aws:cloudfront::000000000000:distribution/E000000000000',
|
|
683
|
+
DistributionId: 'E000000000000',
|
|
684
|
+
DomainName: 'd000000000000.cloudfront.net',
|
|
685
|
+
HostedZoneId: 'Z2FDTNDATAQYW2',
|
|
686
|
+
});
|
|
687
|
+
}
|
|
688
|
+
}
|
|
689
|
+
__decorate([
|
|
690
|
+
Validate([
|
|
691
|
+
{
|
|
692
|
+
destruct: (value) => [
|
|
693
|
+
...value.aliases,
|
|
694
|
+
value.awsAccountId,
|
|
695
|
+
value.distributionName,
|
|
696
|
+
value.httpVersion,
|
|
697
|
+
value.priceClass,
|
|
698
|
+
],
|
|
699
|
+
options: { minLength: 1 },
|
|
700
|
+
},
|
|
701
|
+
{
|
|
702
|
+
destruct: (value) => value.origins,
|
|
703
|
+
options: { isSchema: { schema: CloudFrontOriginSchema } },
|
|
704
|
+
},
|
|
705
|
+
{
|
|
706
|
+
destruct: (value) => value.originGroups,
|
|
707
|
+
options: { isSchema: { schema: CloudFrontOriginGroupSchema } },
|
|
708
|
+
},
|
|
709
|
+
{
|
|
710
|
+
destruct: (value) => value.behaviors,
|
|
711
|
+
options: { isSchema: { schema: CloudFrontBehaviorSchema } },
|
|
712
|
+
},
|
|
713
|
+
{
|
|
714
|
+
destruct: (value) => value.customErrorResponses,
|
|
715
|
+
options: { isSchema: { schema: CloudFrontCustomErrorResponseSchema } },
|
|
716
|
+
},
|
|
717
|
+
{
|
|
718
|
+
destruct: (value) => value.cachePolicies,
|
|
719
|
+
options: { isSchema: { schema: CloudFrontCachePolicySchema } },
|
|
720
|
+
},
|
|
721
|
+
{
|
|
722
|
+
destruct: (value) => value.originRequestPolicies,
|
|
723
|
+
options: { isSchema: { schema: CloudFrontOriginRequestPolicySchema } },
|
|
724
|
+
},
|
|
725
|
+
{
|
|
726
|
+
destruct: (value) => value.responseHeadersPolicies,
|
|
727
|
+
options: { isSchema: { schema: CloudFrontResponseHeadersPolicySchema } },
|
|
728
|
+
},
|
|
729
|
+
]),
|
|
730
|
+
__metadata("design:type", Object)
|
|
731
|
+
], CloudFrontDistributionSchema.prototype, "properties", void 0);
|
|
732
|
+
__decorate([
|
|
733
|
+
Validate({
|
|
734
|
+
destruct: (value) => {
|
|
735
|
+
const subjects = [];
|
|
736
|
+
if (value.Arn) {
|
|
737
|
+
subjects.push(value.Arn);
|
|
738
|
+
}
|
|
739
|
+
if (value.DistributionId) {
|
|
740
|
+
subjects.push(value.DistributionId);
|
|
741
|
+
}
|
|
742
|
+
if (value.DomainName) {
|
|
743
|
+
subjects.push(value.DomainName);
|
|
744
|
+
}
|
|
745
|
+
if (value.HostedZoneId) {
|
|
746
|
+
subjects.push(value.HostedZoneId);
|
|
747
|
+
}
|
|
748
|
+
return subjects;
|
|
749
|
+
},
|
|
750
|
+
options: { minLength: 1 },
|
|
751
|
+
}),
|
|
752
|
+
__metadata("design:type", Object)
|
|
753
|
+
], CloudFrontDistributionSchema.prototype, "response", void 0);
|
|
754
|
+
//# sourceMappingURL=index.schema.js.map
|