@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
package/dist/modules/service/aws-ecs-alb-service/models/service/aws-ecs-alb-service.model.js
CHANGED
|
@@ -14,6 +14,9 @@ import { AwsEcsAlbServiceSchema } from './aws-ecs-alb-service.schema.js';
|
|
|
14
14
|
* @internal
|
|
15
15
|
*/
|
|
16
16
|
let AwsEcsAlbService = AwsEcsAlbService_1 = class AwsEcsAlbService extends Service {
|
|
17
|
+
/**
|
|
18
|
+
* @internal
|
|
19
|
+
*/
|
|
17
20
|
constructor(albName, subnets) {
|
|
18
21
|
super(`${albName}-alb`);
|
|
19
22
|
this.albName = albName;
|
|
@@ -21,6 +24,16 @@ let AwsEcsAlbService = AwsEcsAlbService_1 = class AwsEcsAlbService extends Servi
|
|
|
21
24
|
subnet.addChild('subnetId', this, 'serviceId');
|
|
22
25
|
}
|
|
23
26
|
}
|
|
27
|
+
/**
|
|
28
|
+
* @internal
|
|
29
|
+
*/
|
|
30
|
+
static async unSynth(service, deReferenceContext) {
|
|
31
|
+
const subnets = (await Promise.all(service.subnets.map((s) => deReferenceContext(s.context))));
|
|
32
|
+
return new AwsEcsAlbService_1(service.albName, subnets);
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* @internal
|
|
36
|
+
*/
|
|
24
37
|
setContext() {
|
|
25
38
|
const parents = this.getParents();
|
|
26
39
|
const app = parents['app']?.[0]?.to;
|
|
@@ -30,6 +43,9 @@ let AwsEcsAlbService = AwsEcsAlbService_1 = class AwsEcsAlbService extends Servi
|
|
|
30
43
|
}
|
|
31
44
|
return [`${Service.NODE_NAME}=${this.serviceId}`, ...subnets.map((s) => s.getContext()), app.getContext()].join(',');
|
|
32
45
|
}
|
|
46
|
+
/**
|
|
47
|
+
* @internal
|
|
48
|
+
*/
|
|
33
49
|
synth() {
|
|
34
50
|
const parents = this.getParents();
|
|
35
51
|
const subnets = parents['subnet'].map((d) => d.to);
|
|
@@ -39,10 +55,6 @@ let AwsEcsAlbService = AwsEcsAlbService_1 = class AwsEcsAlbService extends Servi
|
|
|
39
55
|
subnets: subnets.map((s) => ({ context: s.getContext() })),
|
|
40
56
|
};
|
|
41
57
|
}
|
|
42
|
-
static async unSynth(service, deReferenceContext) {
|
|
43
|
-
const subnets = (await Promise.all(service.subnets.map((s) => deReferenceContext(s.context))));
|
|
44
|
-
return new AwsEcsAlbService_1(service.albName, subnets);
|
|
45
|
-
}
|
|
46
58
|
};
|
|
47
59
|
__decorate([
|
|
48
60
|
Validate({ options: { maxLength: 32, minLength: 2, regex: /^(?!internal)[a-zA-Z0-9][\w-]*[a-zA-Z0-9]$/ } }),
|
package/dist/modules/service/aws-ecs-alb-service/models/service/aws-ecs-alb-service.model.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aws-ecs-alb-service.model.js","sourceRoot":"","sources":["../../../../../../src/modules/service/aws-ecs-alb-service/models/service/aws-ecs-alb-service.model.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAe,QAAQ,EAAE,MAAM,eAAe,CAAC;AAC9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AAEzE;;GAEG;AAEI,IAAM,gBAAgB,wBAAtB,MAAM,gBAAiB,SAAQ,OAAO;IAI3C,YAAY,OAA0C,EAAE,OAAiB;QACvE,KAAK,CAAC,GAAG,OAAO,MAAM,CAAC,CAAC;QAExB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QAEvB,KAAK,MAAM,MAAM,IAAI,OAAO,EAAE,CAAC;YAC7B,MAAM,CAAC,QAAQ,CAAC,UAAU,EAAE,IAAI,EAAE,WAAW,CAAC,CAAC;QACjD,CAAC;IACH,CAAC;
|
|
1
|
+
{"version":3,"file":"aws-ecs-alb-service.model.js","sourceRoot":"","sources":["../../../../../../src/modules/service/aws-ecs-alb-service/models/service/aws-ecs-alb-service.model.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAe,QAAQ,EAAE,MAAM,eAAe,CAAC;AAC9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AAEzE;;GAEG;AAEI,IAAM,gBAAgB,wBAAtB,MAAM,gBAAiB,SAAQ,OAAO;IAI3C;;OAEG;IACH,YAAY,OAA0C,EAAE,OAAiB;QACvE,KAAK,CAAC,GAAG,OAAO,MAAM,CAAC,CAAC;QAExB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QAEvB,KAAK,MAAM,MAAM,IAAI,OAAO,EAAE,CAAC;YAC7B,MAAM,CAAC,QAAQ,CAAC,UAAU,EAAE,IAAI,EAAE,WAAW,CAAC,CAAC;QACjD,CAAC;IACH,CAAC;IAED;;OAEG;IACH,MAAM,CAAU,KAAK,CAAC,OAAO,CAC3B,OAA+B,EAC/B,kBAAkE;QAElE,MAAM,OAAO,GAAG,CAAC,MAAM,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,kBAAkB,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAa,CAAC;QAC3G,OAAO,IAAI,kBAAgB,CAAC,OAAO,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IACxD,CAAC;IAED;;OAEG;IACM,UAAU;QACjB,MAAM,OAAO,GAAG,IAAI,CAAC,UAAU,EAAE,CAAC;QAClC,MAAM,GAAG,GAAG,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE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,7 +5,13 @@ import { AwsEcsAlbServiceOverlay } from '../aws-ecs-alb-service.overlay.js';
|
|
|
5
5
|
* @internal
|
|
6
6
|
*/
|
|
7
7
|
export declare class AddAwsEcsAlbServiceOverlayAction implements IModelAction<AwsEcsAlbServiceModule> {
|
|
8
|
+
/**
|
|
9
|
+
* @internal
|
|
10
|
+
*/
|
|
8
11
|
filter(diff: Diff): boolean;
|
|
12
|
+
/**
|
|
13
|
+
* @internal
|
|
14
|
+
*/
|
|
9
15
|
handle(diff: Diff<AwsEcsAlbServiceOverlay>, actionInputs: EnhancedModuleSchema<AwsEcsAlbServiceModule>, actionOutputs: ActionOutputs): Promise<ActionOutputs>;
|
|
10
16
|
}
|
|
11
17
|
/**
|
|
@@ -13,5 +19,8 @@ export declare class AddAwsEcsAlbServiceOverlayAction implements IModelAction<Aw
|
|
|
13
19
|
*/
|
|
14
20
|
export declare class AddAwsEcsAlbServiceOverlayActionFactory {
|
|
15
21
|
private static instance;
|
|
22
|
+
/**
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
16
25
|
static create(): Promise<AddAwsEcsAlbServiceOverlayAction>;
|
|
17
26
|
}
|
|
@@ -16,12 +16,18 @@ import { AwsEcsAlbServiceOverlay } from '../aws-ecs-alb-service.overlay.js';
|
|
|
16
16
|
* @internal
|
|
17
17
|
*/
|
|
18
18
|
let AddAwsEcsAlbServiceOverlayAction = class AddAwsEcsAlbServiceOverlayAction {
|
|
19
|
+
/**
|
|
20
|
+
* @internal
|
|
21
|
+
*/
|
|
19
22
|
filter(diff) {
|
|
20
23
|
return (diff.action === DiffAction.ADD &&
|
|
21
24
|
diff.node instanceof AwsEcsAlbServiceOverlay &&
|
|
22
25
|
hasNodeName(diff.node, 'aws-ecs-alb-service-overlay') &&
|
|
23
26
|
diff.field === 'overlayId');
|
|
24
27
|
}
|
|
28
|
+
/**
|
|
29
|
+
* @internal
|
|
30
|
+
*/
|
|
25
31
|
async handle(diff, actionInputs, actionOutputs) {
|
|
26
32
|
const albEcsExecutionOverlay = diff.node;
|
|
27
33
|
const { awsAccountId, awsRegionId } = actionInputs.metadata;
|
|
@@ -45,7 +51,6 @@ let AddAwsEcsAlbServiceOverlayAction = class AddAwsEcsAlbServiceOverlayAction {
|
|
|
45
51
|
actionOutputs[albTargetGroup.resourceId] = albTargetGroup;
|
|
46
52
|
albTargetGroups.push(albTargetGroup);
|
|
47
53
|
}
|
|
48
|
-
const albListeners = [];
|
|
49
54
|
for (const listener of actionInputs.inputs.listeners) {
|
|
50
55
|
const alb = actionInputs.resources[`alb-${actionInputs.inputs.region.regionId}-${actionInputs.inputs.albName}`];
|
|
51
56
|
const albListener = new AlbListener(`alb-listener-${actionInputs.inputs.albName}`, {
|
|
@@ -60,7 +65,6 @@ let AddAwsEcsAlbServiceOverlayAction = class AddAwsEcsAlbServiceOverlayAction {
|
|
|
60
65
|
...albTargetGroups.map((t) => new MatchingResource(t)),
|
|
61
66
|
]);
|
|
62
67
|
actionOutputs[albListener.resourceId] = albListener;
|
|
63
|
-
albListeners.push(albListener);
|
|
64
68
|
}
|
|
65
69
|
for (const target of actionInputs.inputs.targets) {
|
|
66
70
|
const [matchingEcsService] = await target.execution.getResourcesMatchingSchema(EcsServiceSchema, [
|
|
@@ -72,7 +76,7 @@ let AddAwsEcsAlbServiceOverlayAction = class AddAwsEcsAlbServiceOverlayAction {
|
|
|
72
76
|
if (!matchingEcsService) {
|
|
73
77
|
throw new OverlayActionExceptionTransactionError(`No ecs service found for execution "${target.execution.executionId}"!`, diff, this.constructor.name);
|
|
74
78
|
}
|
|
75
|
-
matchingEcsService.getActual().addAlbTargetGroup(new MatchingResource(albTargetGroups.find((t) => t.properties.Name === target.Name)),
|
|
79
|
+
matchingEcsService.getActual().addAlbTargetGroup(new MatchingResource(albTargetGroups.find((t) => t.properties.Name === target.Name)), target.containerName);
|
|
76
80
|
actionOutputs[matchingEcsService.getActual().resourceId] = matchingEcsService.getActual();
|
|
77
81
|
}
|
|
78
82
|
return actionOutputs;
|
|
@@ -86,6 +90,9 @@ export { AddAwsEcsAlbServiceOverlayAction };
|
|
|
86
90
|
* @internal
|
|
87
91
|
*/
|
|
88
92
|
let AddAwsEcsAlbServiceOverlayActionFactory = class AddAwsEcsAlbServiceOverlayActionFactory {
|
|
93
|
+
/**
|
|
94
|
+
* @internal
|
|
95
|
+
*/
|
|
89
96
|
static async create() {
|
|
90
97
|
if (!this.instance) {
|
|
91
98
|
this.instance = new AddAwsEcsAlbServiceOverlayAction();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-aws-ecs-alb-service.overlay.action.js","sourceRoot":"","sources":["../../../../../../../src/modules/service/aws-ecs-alb-service/overlays/aws-ecs-alb-service/actions/add-aws-ecs-alb-service.overlay.action.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EACL,MAAM,EAGN,UAAU,EAEV,OAAO,EAEP,gBAAgB,EAChB,sCAAsC,EACtC,WAAW,GACZ,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,GAAG,EAAE,MAAM,0CAA0C,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,mDAAmD,CAAC;AAChF,OAAO,EAAE,cAAc,EAAE,MAAM,uDAAuD,CAAC;AAEvF,OAAO,EAAE,UAAU,EAAE,MAAM,kDAAkD,CAAC;AAC9E,OAAO,EAAE,gBAAgB,EAAE,MAAM,yDAAyD,CAAC;AAC3F,OAAO,EAAE,SAAS,EAAE,MAAM,iDAAiD,CAAC;AAE5E,OAAO,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAE5E;;GAEG;AAEI,IAAM,gCAAgC,GAAtC,MAAM,gCAAgC;IAC3C,MAAM,CAAC,IAAU;QACf,OAAO,CACL,IAAI,CAAC,MAAM,KAAK,UAAU,CAAC,GAAG;YAC9B,IAAI,CAAC,IAAI,YAAY,uBAAuB;YAC5C,WAAW,CAAC,IAAI,CAAC,IAAI,EAAE,6BAA6B,CAAC;YACrD,IAAI,CAAC,KAAK,KAAK,WAAW,CAC3B,CAAC;IACJ,CAAC;IAED,KAAK,CAAC,MAAM,CACV,IAAmC,EACnC,YAA0D,EAC1D,aAA4B;QAE5B,MAAM,sBAAsB,GAAG,IAAI,CAAC,IAAI,CAAC;QAEzC,MAAM,EAAE,YAAY,EAAE,WAAW,EAAE,GAAG,YAAY,CAAC,QAAQ,CAAC;QAE5D,MAAM,CAAC,mBAAmB,CAAC,GAAG,MAAM,sBAAsB,CAAC,0BAA0B,CAAC,SAAS,EAAE;YAC/F,EAAE,GAAG,EAAE,cAAc,EAAE,KAAK,EAAE,YAAY,EAAE;YAC5C,EAAE,GAAG,EAAE,aAAa,EAAE,KAAK,EAAE,WAAW,EAAE;SAC3C,CAAC,CAAC;QAEH,MAAM,eAAe,GAAqB,EAAE,CAAC;QAC7C,KAAK,MAAM,MAAM,IAAI,YAAY,CAAC,MAAM,CAAC,OAAQ,EAAE,CAAC;YAClD,MAAM,cAAc,GAAG,IAAI,cAAc,CACvC,oBAAoB,MAAM,CAAC,SAAS,CAAC,WAAW,EAAE,EAClD;gBACE,YAAY;gBACZ,WAAW;gBACX,WAAW,EAAE,MAAM,CAAC,WAAW,IAAI,SAAS;gBAC5C,aAAa,EAAE,MAAM;gBACrB,IAAI,EAAE,MAAM,CAAC,IAAI;gBACjB,IAAI,EAAE,MAAM,CAAC,aAAa;gBAC1B,QAAQ,EAAE,MAAM;gBAChB,eAAe,EAAE,OAAO;gBACxB,UAAU,EAAE,IAAI;aACjB,EACD,CAAC,mBAAmB,CAAC,CACtB,CAAC;
|
|
1
|
+
{"version":3,"file":"add-aws-ecs-alb-service.overlay.action.js","sourceRoot":"","sources":["../../../../../../../src/modules/service/aws-ecs-alb-service/overlays/aws-ecs-alb-service/actions/add-aws-ecs-alb-service.overlay.action.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EACL,MAAM,EAGN,UAAU,EAEV,OAAO,EAEP,gBAAgB,EAChB,sCAAsC,EACtC,WAAW,GACZ,MAAM,eAAe,CAAC;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,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;CACF,CAAA;AAZY,uCAAuC;IADnD,OAAO,CAAmC,gCAAgC,CAAC;GAC/D,uCAAuC,CAYnD"}
|
|
@@ -7,6 +7,12 @@ import { AwsEcsAlbServiceOverlaySchema } from './aws-ecs-alb-service.schema.js';
|
|
|
7
7
|
*/
|
|
8
8
|
export declare class AwsEcsAlbServiceOverlay extends AOverlay<AwsEcsAlbServiceOverlaySchema, AwsEcsAlbServiceOverlay> {
|
|
9
9
|
properties: AwsEcsAlbServiceOverlaySchema['properties'];
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
10
13
|
constructor(overlayId: string, properties: AwsEcsAlbServiceOverlaySchema['properties'], anchors: [AwsEcsAlbAnchor, ...MatchingAnchor<AwsEcsServiceAnchorSchema>[]]);
|
|
14
|
+
/**
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
11
17
|
diffAnchors(): Promise<Diff[]>;
|
|
12
18
|
}
|
|
@@ -14,9 +14,15 @@ import { AwsEcsAlbServiceOverlaySchema } from './aws-ecs-alb-service.schema.js';
|
|
|
14
14
|
* @internal
|
|
15
15
|
*/
|
|
16
16
|
let AwsEcsAlbServiceOverlay = class AwsEcsAlbServiceOverlay extends AOverlay {
|
|
17
|
+
/**
|
|
18
|
+
* @internal
|
|
19
|
+
*/
|
|
17
20
|
constructor(overlayId, properties, anchors) {
|
|
18
21
|
super(overlayId, properties, anchors);
|
|
19
22
|
}
|
|
23
|
+
/**
|
|
24
|
+
* @internal
|
|
25
|
+
*/
|
|
20
26
|
async diffAnchors() {
|
|
21
27
|
return [];
|
|
22
28
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aws-ecs-alb-service.overlay.js","sourceRoot":"","sources":["../../../../../../src/modules/service/aws-ecs-alb-service/overlays/aws-ecs-alb-service/aws-ecs-alb-service.overlay.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,QAAQ,EAAkC,OAAO,EAAE,MAAM,eAAe,CAAC;AAClF,OAAO,EAAE,eAAe,EAAE,MAAM,sDAAsD,CAAC;AAEvF,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAEhF;;GAEG;AAEI,IAAM,uBAAuB,GAA7B,MAAM,uBAAwB,SAAQ,QAAgE;IAG3G,YACE,SAAiB,EACjB,UAAuD,EACvD,OAA0E;QAE1E,KAAK,CAAC,SAAS,EAAE,UAAU,EAAE,OAAO,CAAC,CAAC;IACxC,CAAC;
|
|
1
|
+
{"version":3,"file":"aws-ecs-alb-service.overlay.js","sourceRoot":"","sources":["../../../../../../src/modules/service/aws-ecs-alb-service/overlays/aws-ecs-alb-service/aws-ecs-alb-service.overlay.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,QAAQ,EAAkC,OAAO,EAAE,MAAM,eAAe,CAAC;AAClF,OAAO,EAAE,eAAe,EAAE,MAAM,sDAAsD,CAAC;AAEvF,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAEhF;;GAEG;AAEI,IAAM,uBAAuB,GAA7B,MAAM,uBAAwB,SAAQ,QAAgE;IAG3G;;OAEG;IACH,YACE,SAAiB,EACjB,UAAuD,EACvD,OAA0E;QAE1E,KAAK,CAAC,SAAS,EAAE,UAAU,EAAE,OAAO,CAAC,CAAC;IACxC,CAAC;IAED;;OAEG;IACM,KAAK,CAAC,WAAW;QACxB,OAAO,EAAE,CAAC;IACZ,CAAC;CACF,CAAA;AApBY,uBAAuB;IADnC,OAAO,CAAC,OAAO,EAAE,6BAA6B,EAAE,6BAA6B,CAAC;;GAClE,uBAAuB,CAoBnC"}
|
package/dist/modules/service/aws-s3-static-website-service/aws-s3-static-website-service.module.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AModule, type App
|
|
1
|
+
import { AModule, type App } from '@quadnix/octo';
|
|
2
2
|
import { AwsS3StaticWebsiteServiceModuleSchema } from './index.schema.js';
|
|
3
3
|
import { AwsS3StaticWebsiteService } from './models/service/index.js';
|
|
4
4
|
/**
|
|
@@ -16,10 +16,15 @@ import { AwsS3StaticWebsiteService } from './models/service/index.js';
|
|
|
16
16
|
* } from '@quadnix/octo-aws-cdk/modules/service/aws-s3-static-website-service';
|
|
17
17
|
*
|
|
18
18
|
* octo.loadModule(AwsS3StaticWebsiteServiceModule, 'my-website-module', {
|
|
19
|
+
* account: myAccount,
|
|
20
|
+
* awsRegionId: 'us-east-1',
|
|
19
21
|
* bucketName: 'my-static-website',
|
|
22
|
+
* cloudFront: {
|
|
23
|
+
* aliases: ['www.example.com'],
|
|
24
|
+
* certificateArn: 'arn:aws:acm:us-east-1:123456789012:certificate/<id>',
|
|
25
|
+
* },
|
|
20
26
|
* directoryPath: join(__dirname, 'website'),
|
|
21
27
|
* filter: (filePath) => !filePath.includes('.DS_Store'),
|
|
22
|
-
* region: 'us-east-1',
|
|
23
28
|
* subDirectoryOrFilePath: 'public',
|
|
24
29
|
* transform: (filePath) => `public/${filePath}`,
|
|
25
30
|
* });
|
|
@@ -27,22 +32,22 @@ import { AwsS3StaticWebsiteService } from './models/service/index.js';
|
|
|
27
32
|
*
|
|
28
33
|
* @group Modules/Service/AwsS3StaticWebsiteService
|
|
29
34
|
*
|
|
35
|
+
* @reference Resources {@link CloudFrontDistributionSchema}
|
|
36
|
+
* @reference Resources {@link CloudFrontInvalidationSchema}
|
|
30
37
|
* @reference Resources {@link S3WebsiteSchema}
|
|
31
38
|
*
|
|
32
39
|
* @see {@link AwsS3StaticWebsiteServiceModuleSchema} for the input schema.
|
|
33
40
|
* @see {@link AModule} to learn more about modules.
|
|
34
|
-
* @see
|
|
41
|
+
* @see [Service](/api/octo/class/Service) to learn more about the `Service` model.
|
|
35
42
|
*/
|
|
36
43
|
export declare class AwsS3StaticWebsiteServiceModule extends AModule<AwsS3StaticWebsiteServiceModuleSchema, AwsS3StaticWebsiteService> {
|
|
44
|
+
/**
|
|
45
|
+
* Creates the bucket service, and registers the local directory whose files it serves.
|
|
46
|
+
*/
|
|
37
47
|
onInit(inputs: AwsS3StaticWebsiteServiceModuleSchema): Promise<AwsS3StaticWebsiteService>;
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}[];
|
|
42
|
-
preCommitHooks?: {
|
|
43
|
-
handle: (app: App, modelTransaction: DiffMetadata[][]) => Promise<void>;
|
|
44
|
-
}[];
|
|
45
|
-
};
|
|
48
|
+
/**
|
|
49
|
+
* Resolves the app, account, and region this bucket is created in.
|
|
50
|
+
*/
|
|
46
51
|
registerMetadata(inputs: AwsS3StaticWebsiteServiceModuleSchema): Promise<{
|
|
47
52
|
app: App;
|
|
48
53
|
awsAccountId: string;
|
package/dist/modules/service/aws-s3-static-website-service/aws-s3-static-website-service.module.js
CHANGED
|
@@ -4,10 +4,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
4
4
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
|
-
import { AModule,
|
|
7
|
+
import { AModule, Module, ModuleError } from '@quadnix/octo';
|
|
8
8
|
import { AwsS3StaticWebsiteServiceModuleSchema } from './index.schema.js';
|
|
9
|
-
import { AddAwsS3StaticWebsiteServiceModelAction } from './models/service/actions/add-aws-s3-static-website-service.model.action.js';
|
|
10
|
-
import { UpdateAwsS3StaticWebsiteServiceSourcePathsModelAction } from './models/service/actions/update-aws-s3-static-website-service-source-paths.model.action.js';
|
|
11
9
|
import { AwsS3StaticWebsiteService } from './models/service/index.js';
|
|
12
10
|
/**
|
|
13
11
|
* `AwsS3StaticWebsiteServiceModule` is an S3-based AWS static website service module
|
|
@@ -24,10 +22,15 @@ import { AwsS3StaticWebsiteService } from './models/service/index.js';
|
|
|
24
22
|
* } from '@quadnix/octo-aws-cdk/modules/service/aws-s3-static-website-service';
|
|
25
23
|
*
|
|
26
24
|
* octo.loadModule(AwsS3StaticWebsiteServiceModule, 'my-website-module', {
|
|
25
|
+
* account: myAccount,
|
|
26
|
+
* awsRegionId: 'us-east-1',
|
|
27
27
|
* bucketName: 'my-static-website',
|
|
28
|
+
* cloudFront: {
|
|
29
|
+
* aliases: ['www.example.com'],
|
|
30
|
+
* certificateArn: 'arn:aws:acm:us-east-1:123456789012:certificate/<id>',
|
|
31
|
+
* },
|
|
28
32
|
* directoryPath: join(__dirname, 'website'),
|
|
29
33
|
* filter: (filePath) => !filePath.includes('.DS_Store'),
|
|
30
|
-
* region: 'us-east-1',
|
|
31
34
|
* subDirectoryOrFilePath: 'public',
|
|
32
35
|
* transform: (filePath) => `public/${filePath}`,
|
|
33
36
|
* });
|
|
@@ -35,15 +38,24 @@ import { AwsS3StaticWebsiteService } from './models/service/index.js';
|
|
|
35
38
|
*
|
|
36
39
|
* @group Modules/Service/AwsS3StaticWebsiteService
|
|
37
40
|
*
|
|
41
|
+
* @reference Resources {@link CloudFrontDistributionSchema}
|
|
42
|
+
* @reference Resources {@link CloudFrontInvalidationSchema}
|
|
38
43
|
* @reference Resources {@link S3WebsiteSchema}
|
|
39
44
|
*
|
|
40
45
|
* @see {@link AwsS3StaticWebsiteServiceModuleSchema} for the input schema.
|
|
41
46
|
* @see {@link AModule} to learn more about modules.
|
|
42
|
-
* @see
|
|
47
|
+
* @see [Service](/api/octo/class/Service) to learn more about the `Service` model.
|
|
43
48
|
*/
|
|
44
49
|
let AwsS3StaticWebsiteServiceModule = class AwsS3StaticWebsiteServiceModule extends AModule {
|
|
50
|
+
/**
|
|
51
|
+
* Creates the bucket service, and registers the local directory whose files it serves.
|
|
52
|
+
*/
|
|
45
53
|
async onInit(inputs) {
|
|
46
54
|
const { app } = await this.registerMetadata(inputs);
|
|
55
|
+
// Validate the distribution can serve the domains it answers on.
|
|
56
|
+
if (inputs.cloudFront?.aliases?.length && !inputs.cloudFront.certificateArn) {
|
|
57
|
+
throw new ModuleError('A CloudFront certificate is required to serve an alias!', this.constructor.name);
|
|
58
|
+
}
|
|
47
59
|
// Create a new s3-website service.
|
|
48
60
|
const s3StaticWebsiteService = new AwsS3StaticWebsiteService(inputs.bucketName);
|
|
49
61
|
app.addService(s3StaticWebsiteService);
|
|
@@ -51,60 +63,9 @@ let AwsS3StaticWebsiteServiceModule = class AwsS3StaticWebsiteServiceModule exte
|
|
|
51
63
|
await s3StaticWebsiteService.addSource(inputs.directoryPath, inputs.subDirectoryOrFilePath || undefined, inputs.filter || undefined, inputs.transform || undefined);
|
|
52
64
|
return s3StaticWebsiteService;
|
|
53
65
|
}
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
{
|
|
58
|
-
handle: async (_app, _modelTransaction, resourceTransaction) => {
|
|
59
|
-
let shouldSaveS3WebsiteSourceManifest = false;
|
|
60
|
-
loop1: for (const diffsProcessedInSameLevel of resourceTransaction) {
|
|
61
|
-
for (const d of diffsProcessedInSameLevel) {
|
|
62
|
-
if (d.node.getContext().startsWith('@octo/s3-website=') &&
|
|
63
|
-
d.field === 'resourceId' &&
|
|
64
|
-
d.action === DiffAction.DELETE) {
|
|
65
|
-
shouldSaveS3WebsiteSourceManifest = d.diff;
|
|
66
|
-
break loop1;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
if (shouldSaveS3WebsiteSourceManifest) {
|
|
71
|
-
const resource = shouldSaveS3WebsiteSourceManifest.node;
|
|
72
|
-
const bucketName = resource.properties.Bucket;
|
|
73
|
-
const container = Container.getInstance();
|
|
74
|
-
const stateManagementService = await container.get(StateManagementService);
|
|
75
|
-
const manifestFileName = `${bucketName}-manifest.json`;
|
|
76
|
-
const manifestData = {};
|
|
77
|
-
await stateManagementService.saveState(manifestFileName, Buffer.from(JSON.stringify(manifestData)));
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
|
-
},
|
|
81
|
-
],
|
|
82
|
-
preCommitHooks: [
|
|
83
|
-
{
|
|
84
|
-
handle: async (_app, modelTransaction) => {
|
|
85
|
-
let shouldSaveS3WebsiteSourceManifest = false;
|
|
86
|
-
loop1: for (const diffsProcessedInSameLevel of modelTransaction) {
|
|
87
|
-
for (const d of diffsProcessedInSameLevel) {
|
|
88
|
-
for (const a of d.actions) {
|
|
89
|
-
if ([
|
|
90
|
-
AddAwsS3StaticWebsiteServiceModelAction.name,
|
|
91
|
-
UpdateAwsS3StaticWebsiteServiceSourcePathsModelAction.name,
|
|
92
|
-
].includes(a.constructor.name)) {
|
|
93
|
-
shouldSaveS3WebsiteSourceManifest = d.diff;
|
|
94
|
-
break loop1;
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
if (shouldSaveS3WebsiteSourceManifest) {
|
|
100
|
-
const model = shouldSaveS3WebsiteSourceManifest.node;
|
|
101
|
-
await model.saveSourceManifest();
|
|
102
|
-
}
|
|
103
|
-
},
|
|
104
|
-
},
|
|
105
|
-
],
|
|
106
|
-
};
|
|
107
|
-
}
|
|
66
|
+
/**
|
|
67
|
+
* Resolves the app, account, and region this bucket is created in.
|
|
68
|
+
*/
|
|
108
69
|
async registerMetadata(inputs) {
|
|
109
70
|
const account = inputs.account;
|
|
110
71
|
const app = account.getParents()['app'][0].to;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aws-s3-static-website-service.module.js","sourceRoot":"","sources":["../../../../src/modules/service/aws-s3-static-website-service/aws-s3-static-website-service.module.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"aws-s3-static-website-service.module.js","sourceRoot":"","sources":["../../../../src/modules/service/aws-s3-static-website-service/aws-s3-static-website-service.module.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,OAAO,EAAY,MAAM,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACvE,OAAO,EAAE,qCAAqC,EAAE,MA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AC;IACJ,CAAC;CACF,CAAA;AA7CY,+BAA+B;IAD3C,MAAM,CAAkC,OAAO,EAAE,qCAAqC,CAAC;GAC3E,+BAA+B,CA6C3C"}
|
|
@@ -1,4 +1,56 @@
|
|
|
1
1
|
import { type Account } from '@quadnix/octo';
|
|
2
|
+
/**
|
|
3
|
+
* Puts a CloudFront distribution in front of the website bucket.
|
|
4
|
+
*
|
|
5
|
+
* Declaring this closes the bucket: it is no longer reachable on its own, and the distribution
|
|
6
|
+
* becomes the only way in, serving the site over HTTPS from CloudFront's edge locations. It also
|
|
7
|
+
* means a deploy invalidates the edge caches, without which new files would sit behind the old ones
|
|
8
|
+
* for as long as a day.
|
|
9
|
+
*
|
|
10
|
+
* The distribution this builds is one opinion about serving a website out of a bucket. The resource
|
|
11
|
+
* underneath it can do a great deal more - several origins, a routing table over them, policies of
|
|
12
|
+
* its own - and a module wanting that writes its own distribution rather than widening this input.
|
|
13
|
+
*
|
|
14
|
+
* @group Modules/Service/AwsS3StaticWebsiteService
|
|
15
|
+
*
|
|
16
|
+
* @hideconstructor
|
|
17
|
+
*/
|
|
18
|
+
export declare class AwsS3StaticWebsiteServiceModuleCloudFrontSchema {
|
|
19
|
+
/**
|
|
20
|
+
* The custom domain names the distribution answers on, e.g. `docs.example.com`.
|
|
21
|
+
* Each one needs a DNS record pointing at the distribution, which this module does not create.
|
|
22
|
+
* Leaving this empty serves the site on the `*.cloudfront.net` domain CloudFront assigns.
|
|
23
|
+
*/
|
|
24
|
+
aliases?: string[] | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* The ARN of the ACM certificate covering every entry in `aliases`.
|
|
27
|
+
* CloudFront only reads certificates from `us-east-1`, wherever the bucket itself lives.
|
|
28
|
+
* Required when `aliases` is set, and pointless without it.
|
|
29
|
+
*/
|
|
30
|
+
certificateArn?: string | null | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* What a visitor gets for a path the bucket has nothing at. The two answers are opposites, and
|
|
33
|
+
* which one is right is a fact about the site rather than about CloudFront.
|
|
34
|
+
*
|
|
35
|
+
* * `error-document` returns a real `404` carrying the site's error document. This is what a
|
|
36
|
+
* content site wants: a missing page is missing, and a search engine should be told so.
|
|
37
|
+
* * `single-page-app` returns a `200` carrying the index document, so that the app's own router
|
|
38
|
+
* decides what the path means. A single-page app needs this, and a content site using it would
|
|
39
|
+
* report every typo as a working page.
|
|
40
|
+
*/
|
|
41
|
+
notFoundBehavior?: "error-document" | "single-page-app" | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* Which edge locations serve the site, which is what the distribution costs.
|
|
44
|
+
* `PriceClass_100` is North America and Europe alone and is the cheapest;
|
|
45
|
+
* `PriceClass_All` serves from everywhere.
|
|
46
|
+
*/
|
|
47
|
+
priceClass?: "PriceClass_100" | "PriceClass_200" | "PriceClass_All" | undefined;
|
|
48
|
+
/**
|
|
49
|
+
* The ARN of a web ACL to put in front of the distribution, or `null` for none.
|
|
50
|
+
* The ACL is not created here, and CloudFront only reads one from `us-east-1`.
|
|
51
|
+
*/
|
|
52
|
+
webAclArn?: string | null | undefined;
|
|
53
|
+
}
|
|
2
54
|
/**
|
|
3
55
|
* `AwsS3StaticWebsiteServiceModuleSchema` is the input schema for the `AwsS3StaticWebsiteServiceModule` module.
|
|
4
56
|
* This schema defines the configuration for S3-based static website services including bucket naming,
|
|
@@ -26,6 +78,12 @@ export declare class AwsS3StaticWebsiteServiceModuleSchema {
|
|
|
26
78
|
* Must follow S3 bucket naming conventions.
|
|
27
79
|
*/
|
|
28
80
|
bucketName: string;
|
|
81
|
+
/**
|
|
82
|
+
* Serves the bucket through a CloudFront distribution, and closes the bucket to everything else.
|
|
83
|
+
* Omitting this serves the bucket directly from its S3 website endpoint, over plain HTTP.
|
|
84
|
+
* See {@link AwsS3StaticWebsiteServiceModuleCloudFrontSchema} for options.
|
|
85
|
+
*/
|
|
86
|
+
cloudFront?: AwsS3StaticWebsiteServiceModuleCloudFrontSchema | null | undefined;
|
|
29
87
|
/**
|
|
30
88
|
* The local directory path containing the static website files.
|
|
31
89
|
* This is the source directory that will be synchronized to S3.
|
|
@@ -9,6 +9,89 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
};
|
|
10
10
|
import { AccountSchema, Schema, Validate } from '@quadnix/octo';
|
|
11
11
|
import { AwsAccountAnchorSchema } from '../../../anchors/aws-account/aws-account.anchor.schema.js';
|
|
12
|
+
/**
|
|
13
|
+
* Puts a CloudFront distribution in front of the website bucket.
|
|
14
|
+
*
|
|
15
|
+
* Declaring this closes the bucket: it is no longer reachable on its own, and the distribution
|
|
16
|
+
* becomes the only way in, serving the site over HTTPS from CloudFront's edge locations. It also
|
|
17
|
+
* means a deploy invalidates the edge caches, without which new files would sit behind the old ones
|
|
18
|
+
* for as long as a day.
|
|
19
|
+
*
|
|
20
|
+
* The distribution this builds is one opinion about serving a website out of a bucket. The resource
|
|
21
|
+
* underneath it can do a great deal more - several origins, a routing table over them, policies of
|
|
22
|
+
* its own - and a module wanting that writes its own distribution rather than widening this input.
|
|
23
|
+
*
|
|
24
|
+
* @group Modules/Service/AwsS3StaticWebsiteService
|
|
25
|
+
*
|
|
26
|
+
* @hideconstructor
|
|
27
|
+
*/
|
|
28
|
+
export class AwsS3StaticWebsiteServiceModuleCloudFrontSchema {
|
|
29
|
+
constructor() {
|
|
30
|
+
/**
|
|
31
|
+
* The custom domain names the distribution answers on, e.g. `docs.example.com`.
|
|
32
|
+
* Each one needs a DNS record pointing at the distribution, which this module does not create.
|
|
33
|
+
* Leaving this empty serves the site on the `*.cloudfront.net` domain CloudFront assigns.
|
|
34
|
+
*/
|
|
35
|
+
this.aliases = Schema([]);
|
|
36
|
+
/**
|
|
37
|
+
* The ARN of the ACM certificate covering every entry in `aliases`.
|
|
38
|
+
* CloudFront only reads certificates from `us-east-1`, wherever the bucket itself lives.
|
|
39
|
+
* Required when `aliases` is set, and pointless without it.
|
|
40
|
+
*/
|
|
41
|
+
this.certificateArn = Schema(null);
|
|
42
|
+
/**
|
|
43
|
+
* What a visitor gets for a path the bucket has nothing at. The two answers are opposites, and
|
|
44
|
+
* which one is right is a fact about the site rather than about CloudFront.
|
|
45
|
+
*
|
|
46
|
+
* * `error-document` returns a real `404` carrying the site's error document. This is what a
|
|
47
|
+
* content site wants: a missing page is missing, and a search engine should be told so.
|
|
48
|
+
* * `single-page-app` returns a `200` carrying the index document, so that the app's own router
|
|
49
|
+
* decides what the path means. A single-page app needs this, and a content site using it would
|
|
50
|
+
* report every typo as a working page.
|
|
51
|
+
*/
|
|
52
|
+
this.notFoundBehavior = Schema('error-document');
|
|
53
|
+
/**
|
|
54
|
+
* Which edge locations serve the site, which is what the distribution costs.
|
|
55
|
+
* `PriceClass_100` is North America and Europe alone and is the cheapest;
|
|
56
|
+
* `PriceClass_All` serves from everywhere.
|
|
57
|
+
*/
|
|
58
|
+
this.priceClass = Schema('PriceClass_All');
|
|
59
|
+
/**
|
|
60
|
+
* The ARN of a web ACL to put in front of the distribution, or `null` for none.
|
|
61
|
+
* The ACL is not created here, and CloudFront only reads one from `us-east-1`.
|
|
62
|
+
*/
|
|
63
|
+
this.webAclArn = Schema(null);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
__decorate([
|
|
67
|
+
Validate({
|
|
68
|
+
destruct: (value) => value,
|
|
69
|
+
options: { minLength: 1 },
|
|
70
|
+
}),
|
|
71
|
+
__metadata("design:type", Object)
|
|
72
|
+
], AwsS3StaticWebsiteServiceModuleCloudFrontSchema.prototype, "aliases", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
Validate({
|
|
75
|
+
destruct: (value) => value ? [value] : [],
|
|
76
|
+
options: { minLength: 1 },
|
|
77
|
+
}),
|
|
78
|
+
__metadata("design:type", Object)
|
|
79
|
+
], AwsS3StaticWebsiteServiceModuleCloudFrontSchema.prototype, "certificateArn", void 0);
|
|
80
|
+
__decorate([
|
|
81
|
+
Validate({ options: { minLength: 1 } }),
|
|
82
|
+
__metadata("design:type", Object)
|
|
83
|
+
], AwsS3StaticWebsiteServiceModuleCloudFrontSchema.prototype, "notFoundBehavior", void 0);
|
|
84
|
+
__decorate([
|
|
85
|
+
Validate({ options: { minLength: 1 } }),
|
|
86
|
+
__metadata("design:type", Object)
|
|
87
|
+
], AwsS3StaticWebsiteServiceModuleCloudFrontSchema.prototype, "priceClass", void 0);
|
|
88
|
+
__decorate([
|
|
89
|
+
Validate({
|
|
90
|
+
destruct: (value) => (value ? [value] : []),
|
|
91
|
+
options: { minLength: 1 },
|
|
92
|
+
}),
|
|
93
|
+
__metadata("design:type", Object)
|
|
94
|
+
], AwsS3StaticWebsiteServiceModuleCloudFrontSchema.prototype, "webAclArn", void 0);
|
|
12
95
|
/**
|
|
13
96
|
* `AwsS3StaticWebsiteServiceModuleSchema` is the input schema for the `AwsS3StaticWebsiteServiceModule` module.
|
|
14
97
|
* This schema defines the configuration for S3-based static website services including bucket naming,
|
|
@@ -37,6 +120,12 @@ export class AwsS3StaticWebsiteServiceModuleSchema {
|
|
|
37
120
|
* Must follow S3 bucket naming conventions.
|
|
38
121
|
*/
|
|
39
122
|
this.bucketName = Schema();
|
|
123
|
+
/**
|
|
124
|
+
* Serves the bucket through a CloudFront distribution, and closes the bucket to everything else.
|
|
125
|
+
* Omitting this serves the bucket directly from its S3 website endpoint, over plain HTTP.
|
|
126
|
+
* See {@link AwsS3StaticWebsiteServiceModuleCloudFrontSchema} for options.
|
|
127
|
+
*/
|
|
128
|
+
this.cloudFront = Schema(null);
|
|
40
129
|
/**
|
|
41
130
|
* The local directory path containing the static website files.
|
|
42
131
|
* This is the source directory that will be synchronized to S3.
|
|
@@ -89,6 +178,13 @@ __decorate([
|
|
|
89
178
|
Validate({ options: { minLength: 1 } }),
|
|
90
179
|
__metadata("design:type", Object)
|
|
91
180
|
], AwsS3StaticWebsiteServiceModuleSchema.prototype, "bucketName", void 0);
|
|
181
|
+
__decorate([
|
|
182
|
+
Validate({
|
|
183
|
+
destruct: (value) => (value ? [value] : []),
|
|
184
|
+
options: { isSchema: { schema: AwsS3StaticWebsiteServiceModuleCloudFrontSchema } },
|
|
185
|
+
}),
|
|
186
|
+
__metadata("design:type", Object)
|
|
187
|
+
], AwsS3StaticWebsiteServiceModuleSchema.prototype, "cloudFront", void 0);
|
|
92
188
|
__decorate([
|
|
93
189
|
Validate({ options: { minLength: 1 } }),
|
|
94
190
|
__metadata("design:type", Object)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.schema.js","sourceRoot":"","sources":["../../../../src/modules/service/aws-s3-static-website-service/index.schema.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAgB,aAAa,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAC9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,2DAA2D,CAAC;AAEnG;;;;;;;;;;GAUG;AACH,MAAM,OAAO,qCAAqC;IAAlD;QACE;;;WAGG;QAcH,YAAO,GAAG,MAAM,EAAW,CAAC;QAE5B;;WAEG;QAEH,gBAAW,GAAG,MAAM,EAAU,CAAC;QAE/B;;;;WAIG;QAEH,eAAU,GAAG,MAAM,EAAU,CAAC;QAE9B;;;WAGG;QAEH,kBAAa,GAAG,MAAM,EAAU,CAAC;QAEjC;;;;WAIG;QAaH,WAAM,GAAI,MAAM,CAAyC,IAAI,CAAC,CAAC;QAE/D;;;;;;;WAOG;QAWH,2BAAsB,GAAI,MAAM,CAAgB,IAAI,CAAC,CAAC;QAEtD;;;;WAIG;QAaH,cAAS,GAAI,MAAM,CAAwC,IAAI,CAAC,CAAC;IACnE,CAAC;CAAA;
|
|
1
|
+
{"version":3,"file":"index.schema.js","sourceRoot":"","sources":["../../../../src/modules/service/aws-s3-static-website-service/index.schema.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAgB,aAAa,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAC9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,2DAA2D,CAAC;AAEnG;;;;;;;;;;;;;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OAAO,CAAC,KAAK,UAAU,CAAC;SAC1G;KACF,CAAC;;wEAC+D"}
|
|
@@ -5,7 +5,13 @@ import { AwsS3StaticWebsiteService } from '../aws-s3-static-website-service.mode
|
|
|
5
5
|
* @internal
|
|
6
6
|
*/
|
|
7
7
|
export declare class AddAwsS3StaticWebsiteServiceModelAction implements IModelAction<AwsS3StaticWebsiteServiceModule> {
|
|
8
|
+
/**
|
|
9
|
+
* @internal
|
|
10
|
+
*/
|
|
8
11
|
filter(diff: Diff): boolean;
|
|
12
|
+
/**
|
|
13
|
+
* @internal
|
|
14
|
+
*/
|
|
9
15
|
handle(diff: Diff<AwsS3StaticWebsiteService>, actionInputs: EnhancedModuleSchema<AwsS3StaticWebsiteServiceModule>, actionOutputs: ActionOutputs): Promise<ActionOutputs>;
|
|
10
16
|
}
|
|
11
17
|
/**
|
|
@@ -13,5 +19,8 @@ export declare class AddAwsS3StaticWebsiteServiceModelAction implements IModelAc
|
|
|
13
19
|
*/
|
|
14
20
|
export declare class AddAwsS3StaticWebsiteServiceModelActionFactory {
|
|
15
21
|
private static instance;
|
|
22
|
+
/**
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
16
25
|
static create(): Promise<AddAwsS3StaticWebsiteServiceModelAction>;
|
|
17
26
|
}
|