@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
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"add-ecs-service.resource.action.js","sourceRoot":"","sources":["../../../../src/resources/ecs-service/actions/add-ecs-service.resource.action.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,oBAAoB,EAAE,SAAS,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAC/F,OAAO,EACL,WAAW,EACX,MAAM,EAEN,UAAU,EACV,OAAO,EAGP,WAAW,GACZ,MAAM,eAAe,CAAC;AAIvB,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAGxD;;GAEG;AAEI,IAAM,2BAA2B,GAAjC,MAAM,2BAA4B,SAAQ,WAAW;IAG1D;QACE,KAAK,EAAE,CAAC;QAHV,sBAAiB,GAAW,MAAM,CAAC,CAAC,cAAc;IAIlD,CAAC;IAED,MAAM,CAAC,IAAU;QACf,OAAO,CACL,IAAI,CAAC,MAAM,KAAK,UAAU,CAAC,GAAG;YAC9B,IAAI,CAAC,IAAI,YAAY,UAAU;YAC/B,WAAW,CAAC,IAAI,CAAC,IAAI,EAAE,aAAa,CAAC;YACrC,IAAI,CAAC,KAAK,KAAK,YAAY,CAC5B,CAAC;IACJ,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,IAAsB;QACjC,kBAAkB;QAClB,MAAM,UAAU,GAAG,IAAI,CAAC,IAAI,CAAC;QAC7B,MAAM,UAAU,GAAG,UAAU,CAAC,UAAU,CAAC;QACzC,MAAM,IAAI,GAAG,UAAU,CAAC,IAAI,CAA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CAAC;SACnC,CACF,CAAC;QAEF,OAAO;YACL,UAAU,EAAE,IAAI,CAAC,OAAQ,CAAC,UAAW;SACtC,CAAC;IACJ,CAAC;IAED,KAAK,CAAC,IAAI,CACR,KAAuB,EACvB,OAA8C;QAE9C,OAAO;YACL,UAAU,EAAE,OAAO,CAAC,UAAW;SAChC,CAAC;IACJ,CAAC;CACF,CAAA;AA5FY,2BAA2B;IADvC,MAAM,CAAC,UAAU,CAAC;;GACN,2BAA2B,CA4FvC;;AAED;;GAEG;AAEI,IAAM,kCAAkC,GAAxC,MAAM,kCAAkC;IAG7C,MAAM,CAAC,KAAK,CAAC,MAAM;QACjB,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC;YACnB,IAAI,CAAC,QAAQ,GAAG,IAAI,2BAA2B,EAAE,CAAC;QACpD,CAAC;QACD,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;CACF,CAAA;AATY,kCAAkC;IAD9C,OAAO,CAA8B,2BAA2B,CAAC;GACrD,kCAAkC,CAS9C"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { ANodeAction, type Diff, type IResourceAction } from '@quadnix/octo';
|
|
2
|
-
import { EcsService } from '../ecs-service.resource.js';
|
|
3
|
-
/**
|
|
4
|
-
* @internal
|
|
5
|
-
*/
|
|
6
|
-
export declare class DeleteEcsServiceResourceAction extends ANodeAction implements IResourceAction<EcsService> {
|
|
7
|
-
actionTimeoutInMs: number;
|
|
8
|
-
constructor();
|
|
9
|
-
filter(diff: Diff): boolean;
|
|
10
|
-
handle(diff: Diff<EcsService>): Promise<void>;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* @internal
|
|
14
|
-
*/
|
|
15
|
-
export declare class DeleteEcsServiceResourceActionFactory {
|
|
16
|
-
private static instance;
|
|
17
|
-
static create(): Promise<DeleteEcsServiceResourceAction>;
|
|
18
|
-
}
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
-
};
|
|
10
|
-
import { DeleteServiceCommand, DescribeServicesCommand, ECSClient, UpdateServiceCommand } from '@aws-sdk/client-ecs';
|
|
11
|
-
import { ANodeAction, Action, DiffAction, Factory, hasNodeName } from '@quadnix/octo';
|
|
12
|
-
import { RetryUtility } from '../../../utilities/retry/retry.utility.js';
|
|
13
|
-
import { EcsService } from '../ecs-service.resource.js';
|
|
14
|
-
/**
|
|
15
|
-
* @internal
|
|
16
|
-
*/
|
|
17
|
-
let DeleteEcsServiceResourceAction = class DeleteEcsServiceResourceAction extends ANodeAction {
|
|
18
|
-
constructor() {
|
|
19
|
-
super();
|
|
20
|
-
this.actionTimeoutInMs = 900000; // 15 minutes.
|
|
21
|
-
}
|
|
22
|
-
filter(diff) {
|
|
23
|
-
return (diff.action === DiffAction.DELETE &&
|
|
24
|
-
diff.node instanceof EcsService &&
|
|
25
|
-
hasNodeName(diff.node, 'ecs-service') &&
|
|
26
|
-
diff.field === 'resourceId');
|
|
27
|
-
}
|
|
28
|
-
async handle(diff) {
|
|
29
|
-
// Get properties.
|
|
30
|
-
const ecsService = diff.node;
|
|
31
|
-
const properties = ecsService.properties;
|
|
32
|
-
const response = ecsService.response;
|
|
33
|
-
const ecsServiceEcsCluster = ecsService.parents[0];
|
|
34
|
-
// Get instances.
|
|
35
|
-
const ecsClient = await this.container.get(ECSClient, {
|
|
36
|
-
args: [properties.awsAccountId, properties.awsRegionId],
|
|
37
|
-
metadata: { package: '@octo' },
|
|
38
|
-
});
|
|
39
|
-
// Check if service is ACTIVE.
|
|
40
|
-
const describeResult = await ecsClient.send(new DescribeServicesCommand({
|
|
41
|
-
cluster: ecsServiceEcsCluster.getSchemaInstance().properties.clusterName,
|
|
42
|
-
services: [properties.serviceName],
|
|
43
|
-
}));
|
|
44
|
-
if (describeResult.services?.length === 0 || describeResult.services[0].status.toUpperCase() === 'INACTIVE') {
|
|
45
|
-
return;
|
|
46
|
-
}
|
|
47
|
-
// Scale down the service to 0.
|
|
48
|
-
await ecsClient.send(new UpdateServiceCommand({
|
|
49
|
-
cluster: ecsServiceEcsCluster.getSchemaInstance().properties.clusterName,
|
|
50
|
-
desiredCount: 0,
|
|
51
|
-
service: properties.serviceName,
|
|
52
|
-
}));
|
|
53
|
-
// Wait for tasks to be stopped.
|
|
54
|
-
await RetryUtility.retryPromise(async () => {
|
|
55
|
-
this.log('Waiting for ecs-service tasks to be stopped.');
|
|
56
|
-
const result = await ecsClient.send(new DescribeServicesCommand({
|
|
57
|
-
cluster: ecsServiceEcsCluster.getSchemaInstance().properties.clusterName,
|
|
58
|
-
services: [properties.serviceName],
|
|
59
|
-
}));
|
|
60
|
-
return result.services?.length === 1 && result.services[0].runningCount === 0;
|
|
61
|
-
}, {
|
|
62
|
-
maxRetries: 36,
|
|
63
|
-
retryDelayInMs: 5000,
|
|
64
|
-
});
|
|
65
|
-
// Delete the service.
|
|
66
|
-
await ecsClient.send(new DeleteServiceCommand({
|
|
67
|
-
cluster: ecsServiceEcsCluster.getSchemaInstance().properties.clusterName,
|
|
68
|
-
service: properties.serviceName,
|
|
69
|
-
}));
|
|
70
|
-
// Wait for service to be Inactive.
|
|
71
|
-
await RetryUtility.retryPromise(async () => {
|
|
72
|
-
this.log('Waiting for ecs-service to be Inactive.');
|
|
73
|
-
const result = await ecsClient.send(new DescribeServicesCommand({
|
|
74
|
-
cluster: ecsServiceEcsCluster.getSchemaInstance().properties.clusterName,
|
|
75
|
-
services: [properties.serviceName],
|
|
76
|
-
}));
|
|
77
|
-
if (!result.services || result.services.length === 0) {
|
|
78
|
-
return true;
|
|
79
|
-
}
|
|
80
|
-
return result.services?.length === 1 && result.services[0].status.toUpperCase() === 'INACTIVE';
|
|
81
|
-
}, {
|
|
82
|
-
maxRetries: 20,
|
|
83
|
-
retryDelayInMs: 30000,
|
|
84
|
-
});
|
|
85
|
-
// Wait for network interfaces used by the tasks to be deleted.
|
|
86
|
-
this.log('Waiting for network interfaces used by the tasks to be deleted.');
|
|
87
|
-
await new Promise((resolve) => setTimeout(resolve, 60000));
|
|
88
|
-
}
|
|
89
|
-
};
|
|
90
|
-
DeleteEcsServiceResourceAction = __decorate([
|
|
91
|
-
Action(EcsService),
|
|
92
|
-
__metadata("design:paramtypes", [])
|
|
93
|
-
], DeleteEcsServiceResourceAction);
|
|
94
|
-
export { DeleteEcsServiceResourceAction };
|
|
95
|
-
/**
|
|
96
|
-
* @internal
|
|
97
|
-
*/
|
|
98
|
-
let DeleteEcsServiceResourceActionFactory = class DeleteEcsServiceResourceActionFactory {
|
|
99
|
-
static async create() {
|
|
100
|
-
if (!this.instance) {
|
|
101
|
-
this.instance = new DeleteEcsServiceResourceAction();
|
|
102
|
-
}
|
|
103
|
-
return this.instance;
|
|
104
|
-
}
|
|
105
|
-
};
|
|
106
|
-
DeleteEcsServiceResourceActionFactory = __decorate([
|
|
107
|
-
Factory(DeleteEcsServiceResourceAction)
|
|
108
|
-
], DeleteEcsServiceResourceActionFactory);
|
|
109
|
-
export { DeleteEcsServiceResourceActionFactory };
|
|
110
|
-
//# sourceMappingURL=delete-ecs-service.resource.action.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"delete-ecs-service.resource.action.js","sourceRoot":"","sources":["../../../../src/resources/ecs-service/actions/delete-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C,IAAI,CAAC,QAAQ,EAAE,CAAC;YACnB,IAAI,CAAC,QAAQ,GAAG,IAAI,8BAA8B,EAAE,CAAC;QACvD,CAAC;QACD,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;CACF,CAAA;AATY,qCAAqC;IADjD,OAAO,CAAiC,8BAA8B,CAAC;GAC3D,qCAAqC,CASjD"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Container, type Diff, type DiffValueTypeTagUpdate, type IResourceAction } from '@quadnix/octo';
|
|
2
|
-
import { GenericResourceTaggingAction } from '../../../utilities/actions/generic-resource-tagging.action.js';
|
|
3
|
-
import { EcsService } from '../ecs-service.resource.js';
|
|
4
|
-
/**
|
|
5
|
-
* @internal
|
|
6
|
-
*/
|
|
7
|
-
export declare class UpdateEcsServiceTagsResourceAction extends GenericResourceTaggingAction implements IResourceAction<EcsService> {
|
|
8
|
-
constructor(container: Container);
|
|
9
|
-
filter(diff: Diff): boolean;
|
|
10
|
-
handle(diff: Diff<EcsService, DiffValueTypeTagUpdate>): Promise<void>;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* @internal
|
|
14
|
-
*/
|
|
15
|
-
export declare class UpdateEcsServiceTagsResourceActionFactory {
|
|
16
|
-
private static instance;
|
|
17
|
-
static create(): Promise<UpdateEcsServiceTagsResourceAction>;
|
|
18
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
-
};
|
|
10
|
-
import { Action, Container, Factory, } from '@quadnix/octo';
|
|
11
|
-
import { GenericResourceTaggingAction } from '../../../utilities/actions/generic-resource-tagging.action.js';
|
|
12
|
-
import { EcsService } from '../ecs-service.resource.js';
|
|
13
|
-
/**
|
|
14
|
-
* @internal
|
|
15
|
-
*/
|
|
16
|
-
let UpdateEcsServiceTagsResourceAction = class UpdateEcsServiceTagsResourceAction extends GenericResourceTaggingAction {
|
|
17
|
-
constructor(container) {
|
|
18
|
-
super(container);
|
|
19
|
-
}
|
|
20
|
-
filter(diff) {
|
|
21
|
-
return super.filter(diff);
|
|
22
|
-
}
|
|
23
|
-
async handle(diff) {
|
|
24
|
-
// Get properties.
|
|
25
|
-
const ecsService = diff.node;
|
|
26
|
-
const properties = ecsService.properties;
|
|
27
|
-
const response = ecsService.response;
|
|
28
|
-
await super.handle(diff, { ...properties, resourceArn: response.serviceArn });
|
|
29
|
-
}
|
|
30
|
-
};
|
|
31
|
-
UpdateEcsServiceTagsResourceAction = __decorate([
|
|
32
|
-
Action(EcsService),
|
|
33
|
-
__metadata("design:paramtypes", [Container])
|
|
34
|
-
], UpdateEcsServiceTagsResourceAction);
|
|
35
|
-
export { UpdateEcsServiceTagsResourceAction };
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
|
-
let UpdateEcsServiceTagsResourceActionFactory = class UpdateEcsServiceTagsResourceActionFactory {
|
|
40
|
-
static async create() {
|
|
41
|
-
if (!this.instance) {
|
|
42
|
-
const container = Container.getInstance();
|
|
43
|
-
this.instance = new UpdateEcsServiceTagsResourceAction(container);
|
|
44
|
-
}
|
|
45
|
-
return this.instance;
|
|
46
|
-
}
|
|
47
|
-
};
|
|
48
|
-
UpdateEcsServiceTagsResourceActionFactory = __decorate([
|
|
49
|
-
Factory(UpdateEcsServiceTagsResourceAction)
|
|
50
|
-
], UpdateEcsServiceTagsResourceActionFactory);
|
|
51
|
-
export { UpdateEcsServiceTagsResourceActionFactory };
|
|
52
|
-
//# sourceMappingURL=update-ecs-service-tags.resource.action.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"update-ecs-service-tags.resource.action.js","sourceRoot":"","sources":["../../../../src/resources/ecs-service/actions/update-ecs-service-tags.resource.action.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,MAAM,EACN,SAAS,EAGT,OAAO,GAER,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,4BAA4B,EAAE,MAAM,+DAA+D,CAAC;AAC7G,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAExD;;GAEG;AAEI,IAAM,kCAAkC,GAAxC,MAAM,kCACX,SAAQ,4BAA4B;IAGpC,YAAY,SAAoB;QAC9B,KAAK,CAAC,SAAS,CAAC,CAAC;IACnB,CAAC;IAEQ,MAAM,CAAC,IAAU;QACxB,OAAO,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IAC5B,CAAC;IAEQ,KAAK,CAAC,MAAM,CAAC,IAA8C;QAClE,kBAAkB;QAClB,MAAM,UAAU,GAAG,IAAI,CAAC,IAAI,CAAC;QAC7B,MAAM,UAAU,GAAG,UAAU,CAAC,UAAU,CAAC;QACzC,MAAM,QAAQ,GAAG,UAAU,CAAC,QAAQ,CAAC;QAErC,MAAM,KAAK,CAAC,MAAM,CAAC,IAAI,EAAE,EAAE,GAAG,UAAU,EAAE,WAAW,EAAE,QAAQ,CAAC,UAAW,EAAE,CAAC,CAAC;IACjF,CAAC;CACF,CAAA;AApBY,kCAAkC;IAD9C,MAAM,CAAC,UAAU,CAAC;qCAKM,SAAS;GAJrB,kCAAkC,CAoB9C;;AAED;;GAEG;AAEI,IAAM,yCAAyC,GAA/C,MAAM,yCAAyC;IAGpD,MAAM,CAAC,KAAK,CAAC,MAAM;QACjB,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC;YACnB,MAAM,SAAS,GAAG,SAAS,CAAC,WAAW,EAAE,CAAC;YAC1C,IAAI,CAAC,QAAQ,GAAG,IAAI,kCAAkC,CAAC,SAAS,CAAC,CAAC;QACpE,CAAC;QACD,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;CACF,CAAA;AAVY,yCAAyC;IADrD,OAAO,CAAqC,kCAAkC,CAAC;GACnE,yCAAyC,CAUrD"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { ANodeAction, type Diff, type IResourceAction } from '@quadnix/octo';
|
|
2
|
-
import { EcsService } from '../ecs-service.resource.js';
|
|
3
|
-
import type { EcsServiceSchema } from '../index.schema.js';
|
|
4
|
-
/**
|
|
5
|
-
* @internal
|
|
6
|
-
*/
|
|
7
|
-
export declare class UpdateEcsServiceResourceAction extends ANodeAction implements IResourceAction<EcsService> {
|
|
8
|
-
actionTimeoutInMs: number;
|
|
9
|
-
constructor();
|
|
10
|
-
filter(diff: Diff): boolean;
|
|
11
|
-
handle(diff: Diff<EcsService>): Promise<EcsServiceSchema['response']>;
|
|
12
|
-
mock(_diff: Diff<EcsService>, capture: Partial<EcsServiceSchema['response']>): Promise<EcsServiceSchema['response']>;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* @internal
|
|
16
|
-
*/
|
|
17
|
-
export declare class UpdateEcsServiceResourceActionFactory {
|
|
18
|
-
private static instance;
|
|
19
|
-
static create(): Promise<UpdateEcsServiceResourceAction>;
|
|
20
|
-
}
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
-
};
|
|
10
|
-
import { ECSClient, UpdateServiceCommand, waitUntilServicesStable } from '@aws-sdk/client-ecs';
|
|
11
|
-
import { ANodeAction, Action, DiffAction, Factory, hasNodeName, } from '@quadnix/octo';
|
|
12
|
-
import { EcsService } from '../ecs-service.resource.js';
|
|
13
|
-
/**
|
|
14
|
-
* @internal
|
|
15
|
-
*/
|
|
16
|
-
let UpdateEcsServiceResourceAction = class UpdateEcsServiceResourceAction extends ANodeAction {
|
|
17
|
-
constructor() {
|
|
18
|
-
super();
|
|
19
|
-
this.actionTimeoutInMs = 900000; // 15 minutes.
|
|
20
|
-
}
|
|
21
|
-
filter(diff) {
|
|
22
|
-
return (diff.action === DiffAction.UPDATE && diff.node instanceof EcsService && hasNodeName(diff.node, 'ecs-service'));
|
|
23
|
-
}
|
|
24
|
-
async handle(diff) {
|
|
25
|
-
// Get properties.
|
|
26
|
-
const ecsService = diff.node;
|
|
27
|
-
const properties = ecsService.properties;
|
|
28
|
-
const ecsServiceEcsCluster = ecsService.parents[0];
|
|
29
|
-
const ecsServiceTaskDefinition = ecsService.parents[1];
|
|
30
|
-
const ecsServiceSubnet = ecsService.parents[2];
|
|
31
|
-
const ecsServiceTargetGroupList = ecsService.parents
|
|
32
|
-
.slice(3)
|
|
33
|
-
.filter((p) => hasNodeName(p.getActual(), 'alb-target-group'));
|
|
34
|
-
const ecsServiceSecurityGroupList = ecsService.parents
|
|
35
|
-
.slice(3)
|
|
36
|
-
.filter((p) => hasNodeName(p.getActual(), 'security-group'));
|
|
37
|
-
// Get instances.
|
|
38
|
-
const ecsClient = await this.container.get(ECSClient, {
|
|
39
|
-
args: [properties.awsAccountId, properties.awsRegionId],
|
|
40
|
-
metadata: { package: '@octo' },
|
|
41
|
-
});
|
|
42
|
-
// Update the service.
|
|
43
|
-
const data = await ecsClient.send(new UpdateServiceCommand({
|
|
44
|
-
cluster: ecsServiceEcsCluster.getSchemaInstanceInResourceAction().properties.clusterName,
|
|
45
|
-
desiredCount: properties.desiredCount,
|
|
46
|
-
loadBalancers: properties.loadBalancers.map((lb) => ({
|
|
47
|
-
containerName: lb.containerName,
|
|
48
|
-
containerPort: lb.containerPort,
|
|
49
|
-
targetGroupArn: ecsServiceTargetGroupList
|
|
50
|
-
.find((tg) => tg.getSchemaInstanceInResourceAction().properties.Name === lb.targetGroupName)
|
|
51
|
-
.getSchemaInstanceInResourceAction().response.TargetGroupArn,
|
|
52
|
-
})),
|
|
53
|
-
networkConfiguration: {
|
|
54
|
-
awsvpcConfiguration: {
|
|
55
|
-
assignPublicIp: properties.assignPublicIp,
|
|
56
|
-
securityGroups: ecsServiceSecurityGroupList.map((sg) => sg.getSchemaInstanceInResourceAction().response.GroupId),
|
|
57
|
-
subnets: [ecsServiceSubnet.getSchemaInstanceInResourceAction().response.SubnetId],
|
|
58
|
-
},
|
|
59
|
-
},
|
|
60
|
-
service: properties.serviceName,
|
|
61
|
-
taskDefinition: ecsServiceTaskDefinition.getSchemaInstanceInResourceAction().response.taskDefinitionArn,
|
|
62
|
-
}));
|
|
63
|
-
// Wait for ECS Service to stabilize.
|
|
64
|
-
this.log('Waiting for ECS Service to stabilize.');
|
|
65
|
-
await waitUntilServicesStable({
|
|
66
|
-
client: ecsClient,
|
|
67
|
-
maxWaitTime: 840, // 14 minutes.
|
|
68
|
-
minDelay: 30,
|
|
69
|
-
}, {
|
|
70
|
-
cluster: ecsServiceEcsCluster.getSchemaInstanceInResourceAction().properties.clusterName,
|
|
71
|
-
services: [properties.serviceName],
|
|
72
|
-
});
|
|
73
|
-
return {
|
|
74
|
-
serviceArn: data.service.serviceArn,
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
|
-
async mock(_diff, capture) {
|
|
78
|
-
return {
|
|
79
|
-
serviceArn: capture.serviceArn,
|
|
80
|
-
};
|
|
81
|
-
}
|
|
82
|
-
};
|
|
83
|
-
UpdateEcsServiceResourceAction = __decorate([
|
|
84
|
-
Action(EcsService),
|
|
85
|
-
__metadata("design:paramtypes", [])
|
|
86
|
-
], UpdateEcsServiceResourceAction);
|
|
87
|
-
export { UpdateEcsServiceResourceAction };
|
|
88
|
-
/**
|
|
89
|
-
* @internal
|
|
90
|
-
*/
|
|
91
|
-
let UpdateEcsServiceResourceActionFactory = class UpdateEcsServiceResourceActionFactory {
|
|
92
|
-
static async create() {
|
|
93
|
-
if (!this.instance) {
|
|
94
|
-
this.instance = new UpdateEcsServiceResourceAction();
|
|
95
|
-
}
|
|
96
|
-
return this.instance;
|
|
97
|
-
}
|
|
98
|
-
};
|
|
99
|
-
UpdateEcsServiceResourceActionFactory = __decorate([
|
|
100
|
-
Factory(UpdateEcsServiceResourceAction)
|
|
101
|
-
], UpdateEcsServiceResourceActionFactory);
|
|
102
|
-
export { UpdateEcsServiceResourceActionFactory };
|
|
103
|
-
//# sourceMappingURL=update-ecs-service.resource.action.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"update-ecs-service.resource.action.js","sourceRoot":"","sources":["../../../../src/resources/ecs-service/actions/update-ecs-service.resource.action.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,oBAAoB,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAC/F,OAAO,EACL,WAAW,EACX,MAAM,EAEN,UAAU,EACV,OAAO,EAGP,WAAW,GACZ,MAAM,eAAe,CAAC;AAIvB,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAGxD;;GAEG;AAEI,IAAM,8BAA8B,GAApC,MAAM,8B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AChC,QAAQ,EAAE,EAAE;SACb,EACD;YACE,OAAO,EAAE,oBAAoB,CAAC,iCAAiC,EAAE,CAAC,UAAU,CAAC,WAAW;YACxF,QAAQ,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC;SACnC,CACF,CAAC;QAEF,OAAO;YACL,UAAU,EAAE,IAAI,CAAC,OAAQ,CAAC,UAAW;SACtC,CAAC;IACJ,CAAC;IAED,KAAK,CAAC,IAAI,CACR,KAAuB,EACvB,OAA8C;QAE9C,OAAO;YACL,UAAU,EAAE,OAAO,CAAC,UAAW;SAChC,CAAC;IACJ,CAAC;CACF,CAAA;AAtFY,8BAA8B;IAD1C,MAAM,CAAC,UAAU,CAAC;;GACN,8BAA8B,CAsF1C;;AAED;;GAEG;AAEI,IAAM,qCAAqC,GAA3C,MAAM,qCAAqC;IAGhD,MAAM,CAAC,KAAK,CAAC,MAAM;QACjB,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC;YACnB,IAAI,CAAC,QAAQ,GAAG,IAAI,8BAA8B,EAAE,CAAC;QACvD,CAAC;QACD,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;CACF,CAAA;AATY,qCAAqC;IADjD,OAAO,CAAiC,8BAA8B,CAAC;GAC3D,qCAAqC,CASjD"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ANodeAction, type Diff, type IResourceAction } from '@quadnix/octo';
|
|
2
|
-
import { EcsService } from '../ecs-service.resource.js';
|
|
3
|
-
/**
|
|
4
|
-
* @internal
|
|
5
|
-
*/
|
|
6
|
-
export declare class ValidateEcsServiceResourceAction extends ANodeAction implements IResourceAction<EcsService> {
|
|
7
|
-
constructor();
|
|
8
|
-
filter(diff: Diff): boolean;
|
|
9
|
-
handle(diff: Diff<EcsService>): Promise<void>;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* @internal
|
|
13
|
-
*/
|
|
14
|
-
export declare class ValidateEcsServiceResourceActionFactory {
|
|
15
|
-
private static instance;
|
|
16
|
-
static create(): Promise<ValidateEcsServiceResourceAction>;
|
|
17
|
-
}
|
|
@@ -1,153 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
-
};
|
|
10
|
-
import { DescribeServicesCommand, ECSClient } from '@aws-sdk/client-ecs';
|
|
11
|
-
import { ANodeAction, Action, DiffAction, Factory, TransactionError, hasNodeName, } from '@quadnix/octo';
|
|
12
|
-
import { EcsService } from '../ecs-service.resource.js';
|
|
13
|
-
/**
|
|
14
|
-
* @internal
|
|
15
|
-
*/
|
|
16
|
-
let ValidateEcsServiceResourceAction = class ValidateEcsServiceResourceAction extends ANodeAction {
|
|
17
|
-
constructor() {
|
|
18
|
-
super();
|
|
19
|
-
}
|
|
20
|
-
filter(diff) {
|
|
21
|
-
return (diff.action === DiffAction.VALIDATE &&
|
|
22
|
-
diff.node instanceof EcsService &&
|
|
23
|
-
hasNodeName(diff.node, 'ecs-service') &&
|
|
24
|
-
diff.field === 'resourceId');
|
|
25
|
-
}
|
|
26
|
-
async handle(diff) {
|
|
27
|
-
// Get properties.
|
|
28
|
-
const ecsService = diff.node;
|
|
29
|
-
const properties = ecsService.properties;
|
|
30
|
-
const response = ecsService.response;
|
|
31
|
-
const ecsServiceEcsCluster = ecsService.parents[0];
|
|
32
|
-
const ecsServiceTaskDefinition = ecsService.parents[1];
|
|
33
|
-
const ecsServiceSubnet = ecsService.parents[2];
|
|
34
|
-
const ecsServiceTargetGroupList = ecsService.parents
|
|
35
|
-
.slice(3)
|
|
36
|
-
.filter((p) => hasNodeName(p.getActual(), 'alb-target-group'));
|
|
37
|
-
const ecsServiceSecurityGroupList = ecsService.parents
|
|
38
|
-
.slice(3)
|
|
39
|
-
.filter((p) => hasNodeName(p.getActual(), 'security-group'));
|
|
40
|
-
// Get instances.
|
|
41
|
-
const ecsClient = await this.container.get(ECSClient, {
|
|
42
|
-
args: [properties.awsAccountId, properties.awsRegionId],
|
|
43
|
-
metadata: { package: '@octo' },
|
|
44
|
-
});
|
|
45
|
-
// Check if ECS Service exists.
|
|
46
|
-
const clusterName = ecsServiceEcsCluster.getSchemaInstanceInResourceAction().properties.clusterName;
|
|
47
|
-
let describeServicesResult;
|
|
48
|
-
try {
|
|
49
|
-
describeServicesResult = await ecsClient.send(new DescribeServicesCommand({
|
|
50
|
-
cluster: clusterName,
|
|
51
|
-
services: [response.serviceArn],
|
|
52
|
-
}));
|
|
53
|
-
}
|
|
54
|
-
catch (error) {
|
|
55
|
-
throw new TransactionError(`ECS Service with ARN ${response.serviceArn} does not exist!`);
|
|
56
|
-
}
|
|
57
|
-
if (!describeServicesResult.services || describeServicesResult.services.length === 0) {
|
|
58
|
-
throw new TransactionError(`ECS Service with ARN ${response.serviceArn} does not exist!`);
|
|
59
|
-
}
|
|
60
|
-
const actualService = describeServicesResult.services[0];
|
|
61
|
-
// Validate service status.
|
|
62
|
-
if (actualService.status !== 'ACTIVE') {
|
|
63
|
-
throw new TransactionError(`ECS Service ${response.serviceArn} is not in ACTIVE status. Current status: ${actualService.status}`);
|
|
64
|
-
}
|
|
65
|
-
// Validate service ARN.
|
|
66
|
-
if (actualService.serviceArn !== response.serviceArn) {
|
|
67
|
-
throw new TransactionError(`ECS Service ARN mismatch. Expected: ${response.serviceArn}, Actual: ${actualService.serviceArn || 'undefined'}`);
|
|
68
|
-
}
|
|
69
|
-
// Validate service name.
|
|
70
|
-
if (actualService.serviceName !== properties.serviceName) {
|
|
71
|
-
throw new TransactionError(`ECS Service name mismatch. Expected: ${properties.serviceName}, Actual: ${actualService.serviceName || 'undefined'}`);
|
|
72
|
-
}
|
|
73
|
-
// Validate cluster ARN.
|
|
74
|
-
const expectedClusterArn = ecsServiceEcsCluster.getSchemaInstanceInResourceAction().response.clusterArn;
|
|
75
|
-
if (actualService.clusterArn !== expectedClusterArn) {
|
|
76
|
-
throw new TransactionError(`ECS Service cluster ARN mismatch. Expected: ${expectedClusterArn}, Actual: ${actualService.clusterArn || 'undefined'}`);
|
|
77
|
-
}
|
|
78
|
-
// Validate desired count.
|
|
79
|
-
if (actualService.desiredCount !== properties.desiredCount) {
|
|
80
|
-
throw new TransactionError(`ECS Service desired count mismatch. Expected: ${properties.desiredCount}, Actual: ${actualService.desiredCount || 'undefined'}`);
|
|
81
|
-
}
|
|
82
|
-
// Validate launch type.
|
|
83
|
-
if (actualService.launchType !== 'FARGATE') {
|
|
84
|
-
throw new TransactionError(`ECS Service launch type mismatch. Expected: FARGATE, Actual: ${actualService.launchType || 'undefined'}`);
|
|
85
|
-
}
|
|
86
|
-
// Validate task definition.
|
|
87
|
-
const expectedTaskDefinitionArn = ecsServiceTaskDefinition.getSchemaInstanceInResourceAction().response.taskDefinitionArn;
|
|
88
|
-
if (actualService.taskDefinition !== expectedTaskDefinitionArn) {
|
|
89
|
-
throw new TransactionError(`ECS Service task definition mismatch. Expected: ${expectedTaskDefinitionArn}, Actual: ${actualService.taskDefinition || 'undefined'}`);
|
|
90
|
-
}
|
|
91
|
-
// Validate network configuration.
|
|
92
|
-
const actualNetworkConfig = actualService.networkConfiguration?.awsvpcConfiguration;
|
|
93
|
-
if (!actualNetworkConfig) {
|
|
94
|
-
throw new TransactionError('ECS Service does not have awsvpc network configuration!');
|
|
95
|
-
}
|
|
96
|
-
// Validate subnet.
|
|
97
|
-
const expectedSubnetId = ecsServiceSubnet.getSchemaInstanceInResourceAction().response.SubnetId;
|
|
98
|
-
if (!actualNetworkConfig.subnets?.includes(expectedSubnetId)) {
|
|
99
|
-
throw new TransactionError(`ECS Service subnet mismatch. Expected: ${expectedSubnetId}, Actual subnets: ${JSON.stringify(actualNetworkConfig.subnets)}`);
|
|
100
|
-
}
|
|
101
|
-
// Validate security groups.
|
|
102
|
-
const expectedSecurityGroupIds = ecsServiceSecurityGroupList.map((sg) => sg.getSchemaInstanceInResourceAction().response.GroupId);
|
|
103
|
-
const actualSecurityGroupIds = actualNetworkConfig.securityGroups || [];
|
|
104
|
-
if (actualSecurityGroupIds.length !== expectedSecurityGroupIds.length) {
|
|
105
|
-
throw new TransactionError(`ECS Service security groups count mismatch. Expected: ${expectedSecurityGroupIds.length}, Actual: ${actualSecurityGroupIds.length}`);
|
|
106
|
-
}
|
|
107
|
-
for (const expectedSgId of expectedSecurityGroupIds) {
|
|
108
|
-
if (!actualSecurityGroupIds.includes(expectedSgId)) {
|
|
109
|
-
throw new TransactionError(`ECS Service missing security group: ${expectedSgId}. Current security groups: ${JSON.stringify(actualSecurityGroupIds)}`);
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
// Validate assign public IP.
|
|
113
|
-
if (actualNetworkConfig.assignPublicIp !== properties.assignPublicIp) {
|
|
114
|
-
throw new TransactionError(`ECS Service assignPublicIp mismatch. Expected: ${properties.assignPublicIp}, Actual: ${actualNetworkConfig.assignPublicIp || 'undefined'}`);
|
|
115
|
-
}
|
|
116
|
-
// Validate load balancers.
|
|
117
|
-
if (actualService.loadBalancers?.length !== properties.loadBalancers.length) {
|
|
118
|
-
throw new TransactionError(`ECS Service load balancers count mismatch. Expected: ${properties.loadBalancers.length}, Actual: ${actualService.loadBalancers?.length || 0}`);
|
|
119
|
-
}
|
|
120
|
-
for (const expectedLb of properties.loadBalancers) {
|
|
121
|
-
const expectedTargetGroupArn = ecsServiceTargetGroupList
|
|
122
|
-
.find((tg) => tg.getSchemaInstanceInResourceAction().properties.Name === expectedLb.targetGroupName)
|
|
123
|
-
.getSchemaInstanceInResourceAction().response.TargetGroupArn;
|
|
124
|
-
const actualLb = actualService.loadBalancers?.find((lb) => lb.targetGroupArn === expectedTargetGroupArn &&
|
|
125
|
-
lb.containerName === expectedLb.containerName &&
|
|
126
|
-
lb.containerPort === expectedLb.containerPort);
|
|
127
|
-
if (!actualLb) {
|
|
128
|
-
throw new TransactionError(`ECS Service missing load balancer configuration: targetGroup=${expectedLb.targetGroupName}, container=${expectedLb.containerName}, port=${expectedLb.containerPort}`);
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
};
|
|
133
|
-
ValidateEcsServiceResourceAction = __decorate([
|
|
134
|
-
Action(EcsService),
|
|
135
|
-
__metadata("design:paramtypes", [])
|
|
136
|
-
], ValidateEcsServiceResourceAction);
|
|
137
|
-
export { ValidateEcsServiceResourceAction };
|
|
138
|
-
/**
|
|
139
|
-
* @internal
|
|
140
|
-
*/
|
|
141
|
-
let ValidateEcsServiceResourceActionFactory = class ValidateEcsServiceResourceActionFactory {
|
|
142
|
-
static async create() {
|
|
143
|
-
if (!this.instance) {
|
|
144
|
-
this.instance = new ValidateEcsServiceResourceAction();
|
|
145
|
-
}
|
|
146
|
-
return this.instance;
|
|
147
|
-
}
|
|
148
|
-
};
|
|
149
|
-
ValidateEcsServiceResourceActionFactory = __decorate([
|
|
150
|
-
Factory(ValidateEcsServiceResourceAction)
|
|
151
|
-
], ValidateEcsServiceResourceActionFactory);
|
|
152
|
-
export { ValidateEcsServiceResourceActionFactory };
|
|
153
|
-
//# sourceMappingURL=validate-ecs-service.resource.action.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"validate-ecs-service.resource.action.js","sourceRoot":"","sources":["../../../../src/resources/ecs-service/actions/validate-ecs-service.resource.action.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,uBAAu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C;IACH,CAAC;CACF,CAAA;AA9KY,gCAAgC;IAD5C,MAAM,CAAC,UAAU,CAAC;;GACN,gCAAgC,CA8K5C;;AAED;;GAEG;AAEI,IAAM,uCAAuC,GAA7C,MAAM,uCAAuC;IAGlD,MAAM,CAAC,KAAK,CAAC,MAAM;QACjB,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC;YACnB,IAAI,CAAC,QAAQ,GAAG,IAAI,gCAAgC,EAAE,CAAC;QACzD,CAAC;QACD,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;CACF,CAAA;AATY,uCAAuC;IADnD,OAAO,CAAmC,gCAAgC,CAAC;GAC/D,uCAAuC,CASnD"}
|
package/dist/resources/ecs-task-definition/actions/add-ecs-task-definition.resource.action.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Container, type Diff, type IResourceAction } from '@quadnix/octo';
|
|
2
|
-
import { EcsTaskDefinition } from '../ecs-task-definition.resource.js';
|
|
3
|
-
import type { EcsTaskDefinitionSchema } from '../index.schema.js';
|
|
4
|
-
/**
|
|
5
|
-
* @internal
|
|
6
|
-
*/
|
|
7
|
-
export declare class AddEcsTaskDefinitionResourceAction implements IResourceAction<EcsTaskDefinition> {
|
|
8
|
-
private readonly container;
|
|
9
|
-
constructor(container: Container);
|
|
10
|
-
filter(diff: Diff): boolean;
|
|
11
|
-
handle(diff: Diff<EcsTaskDefinition>): Promise<EcsTaskDefinitionSchema['response']>;
|
|
12
|
-
mock(_diff: Diff<EcsTaskDefinition>, capture: Partial<EcsTaskDefinitionSchema['response']>): Promise<EcsTaskDefinitionSchema['response']>;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* @internal
|
|
16
|
-
*/
|
|
17
|
-
export declare class AddEcsTaskDefinitionResourceActionFactory {
|
|
18
|
-
private static instance;
|
|
19
|
-
static create(): Promise<AddEcsTaskDefinitionResourceAction>;
|
|
20
|
-
}
|