@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,347 +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 { DescribeListenersCommand, DescribeRulesCommand, ElasticLoadBalancingV2Client, } from '@aws-sdk/client-elastic-load-balancing-v2';
|
|
11
|
-
import { ANodeAction, Action, DiffAction, Factory, TransactionError, hasNodeName, } from '@quadnix/octo';
|
|
12
|
-
import { AlbListener } from '../alb-listener.resource.js';
|
|
13
|
-
/**
|
|
14
|
-
* @internal
|
|
15
|
-
*/
|
|
16
|
-
let ValidateAlbListenerResourceAction = class ValidateAlbListenerResourceAction extends ANodeAction {
|
|
17
|
-
constructor() {
|
|
18
|
-
super();
|
|
19
|
-
}
|
|
20
|
-
filter(diff) {
|
|
21
|
-
return (diff.action === DiffAction.VALIDATE &&
|
|
22
|
-
diff.node instanceof AlbListener &&
|
|
23
|
-
hasNodeName(diff.node, 'alb-listener') &&
|
|
24
|
-
diff.field === 'resourceId');
|
|
25
|
-
}
|
|
26
|
-
async handle(diff) {
|
|
27
|
-
// Get properties.
|
|
28
|
-
const albListener = diff.node;
|
|
29
|
-
const properties = albListener.properties;
|
|
30
|
-
const response = albListener.response;
|
|
31
|
-
const matchingAlb = albListener.parents[0];
|
|
32
|
-
const matchingAlbTargetGroups = albListener.parents.slice(1);
|
|
33
|
-
// Get instances.
|
|
34
|
-
const elbv2Client = await this.container.get(ElasticLoadBalancingV2Client, {
|
|
35
|
-
args: [properties.awsAccountId, properties.awsRegionId],
|
|
36
|
-
metadata: { package: '@octo' },
|
|
37
|
-
});
|
|
38
|
-
// Check if ALB Listener exists.
|
|
39
|
-
let describeListenersResult;
|
|
40
|
-
try {
|
|
41
|
-
describeListenersResult = await elbv2Client.send(new DescribeListenersCommand({
|
|
42
|
-
ListenerArns: [response.ListenerArn],
|
|
43
|
-
}));
|
|
44
|
-
}
|
|
45
|
-
catch (error) {
|
|
46
|
-
if (error.name === 'ListenerNotFoundException') {
|
|
47
|
-
throw new TransactionError(`ALB Listener with ARN ${response.ListenerArn} does not exist!`);
|
|
48
|
-
}
|
|
49
|
-
throw error;
|
|
50
|
-
}
|
|
51
|
-
if (!describeListenersResult.Listeners || describeListenersResult.Listeners.length === 0) {
|
|
52
|
-
throw new TransactionError(`ALB Listener with ARN ${response.ListenerArn} does not exist!`);
|
|
53
|
-
}
|
|
54
|
-
const actualListener = describeListenersResult.Listeners[0];
|
|
55
|
-
// Validate listener ARN.
|
|
56
|
-
if (actualListener.ListenerArn !== response.ListenerArn) {
|
|
57
|
-
throw new TransactionError(`ALB Listener ARN mismatch. Expected: ${response.ListenerArn}, Actual: ${actualListener.ListenerArn || 'undefined'}`);
|
|
58
|
-
}
|
|
59
|
-
// Validate load balancer ARN (parent).
|
|
60
|
-
const expectedLoadBalancerArn = matchingAlb.getSchemaInstanceInResourceAction().response.LoadBalancerArn;
|
|
61
|
-
if (actualListener.LoadBalancerArn !== expectedLoadBalancerArn) {
|
|
62
|
-
throw new TransactionError(`ALB Listener load balancer ARN mismatch. Expected: ${expectedLoadBalancerArn}, Actual: ${actualListener.LoadBalancerArn || 'undefined'}`);
|
|
63
|
-
}
|
|
64
|
-
// Validate port.
|
|
65
|
-
if (actualListener.Port !== properties.Port) {
|
|
66
|
-
throw new TransactionError(`ALB Listener port mismatch. Expected: ${properties.Port}, Actual: ${actualListener.Port || 'undefined'}`);
|
|
67
|
-
}
|
|
68
|
-
// Validate protocol.
|
|
69
|
-
if (actualListener.Protocol !== properties.Protocol) {
|
|
70
|
-
throw new TransactionError(`ALB Listener protocol mismatch. Expected: ${properties.Protocol}, Actual: ${actualListener.Protocol || 'undefined'}`);
|
|
71
|
-
}
|
|
72
|
-
// Validate ARN format (account and region should match).
|
|
73
|
-
const expectedArnPrefix = `arn:aws:elasticloadbalancing:${properties.awsRegionId}:${properties.awsAccountId}:listener/`;
|
|
74
|
-
if (!response.ListenerArn.startsWith(expectedArnPrefix)) {
|
|
75
|
-
throw new TransactionError(`ALB Listener ARN region/account mismatch. Expected prefix: ${expectedArnPrefix}, Actual: ${response.ListenerArn}`);
|
|
76
|
-
}
|
|
77
|
-
// Validate default actions.
|
|
78
|
-
if (!actualListener.DefaultActions || actualListener.DefaultActions.length !== properties.DefaultActions.length) {
|
|
79
|
-
throw new TransactionError(`ALB Listener default actions count mismatch. Expected: ${properties.DefaultActions.length}, Actual: ${actualListener.DefaultActions?.length || 0}`);
|
|
80
|
-
}
|
|
81
|
-
for (const expectedAction of properties.DefaultActions) {
|
|
82
|
-
if (expectedAction.actionType === 'fixed-response') {
|
|
83
|
-
const actualAction = actualListener.DefaultActions.find((a) => a.Type === 'fixed-response');
|
|
84
|
-
if (!actualAction) {
|
|
85
|
-
throw new TransactionError('ALB Listener missing fixed-response default action');
|
|
86
|
-
}
|
|
87
|
-
if (actualAction.FixedResponseConfig?.ContentType !== expectedAction.action.ContentType) {
|
|
88
|
-
throw new TransactionError(`ALB Listener fixed-response content type mismatch. Expected: ${expectedAction.action.ContentType}, Actual: ${actualAction.FixedResponseConfig?.ContentType || 'undefined'}`);
|
|
89
|
-
}
|
|
90
|
-
if (actualAction.FixedResponseConfig?.MessageBody !== expectedAction.action.MessageBody) {
|
|
91
|
-
throw new TransactionError(`ALB Listener fixed-response message body mismatch. Expected: ${expectedAction.action.MessageBody}, Actual: ${actualAction.FixedResponseConfig?.MessageBody || 'undefined'}`);
|
|
92
|
-
}
|
|
93
|
-
if (actualAction.FixedResponseConfig?.StatusCode !== String(expectedAction.action.StatusCode)) {
|
|
94
|
-
throw new TransactionError(`ALB Listener fixed-response status code mismatch. Expected: ${expectedAction.action.StatusCode}, Actual: ${actualAction.FixedResponseConfig?.StatusCode || 'undefined'}`);
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
else if (expectedAction.actionType === 'forward') {
|
|
98
|
-
const actualAction = actualListener.DefaultActions.find((a) => a.Type === 'forward');
|
|
99
|
-
if (!actualAction) {
|
|
100
|
-
throw new TransactionError('ALB Listener missing forward default action');
|
|
101
|
-
}
|
|
102
|
-
const expectedTargetGroups = expectedAction.action.TargetGroups;
|
|
103
|
-
const actualTargetGroups = actualAction.ForwardConfig?.TargetGroups || [];
|
|
104
|
-
if (actualTargetGroups.length !== expectedTargetGroups.length) {
|
|
105
|
-
throw new TransactionError(`ALB Listener forward action target groups count mismatch. Expected: ${expectedTargetGroups.length}, Actual: ${actualTargetGroups.length}`);
|
|
106
|
-
}
|
|
107
|
-
for (const expectedTg of expectedTargetGroups) {
|
|
108
|
-
const expectedTgArn = matchingAlbTargetGroups
|
|
109
|
-
.find((mt) => mt.getSchemaInstance().properties.Name === expectedTg.targetGroupName)
|
|
110
|
-
.getSchemaInstanceInResourceAction().response.TargetGroupArn;
|
|
111
|
-
const actualTg = actualTargetGroups.find((t) => t.TargetGroupArn === expectedTgArn);
|
|
112
|
-
if (!actualTg) {
|
|
113
|
-
throw new TransactionError(`ALB Listener forward action missing target group: ${expectedTg.targetGroupName}`);
|
|
114
|
-
}
|
|
115
|
-
if (actualTg.Weight !== expectedTg.Weight) {
|
|
116
|
-
throw new TransactionError(`ALB Listener forward action target group ${expectedTg.targetGroupName} weight mismatch. Expected: ${expectedTg.Weight}, Actual: ${actualTg.Weight}`);
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
// Validate stickiness config.
|
|
120
|
-
if (expectedAction.action.TargetGroupStickinessConfig) {
|
|
121
|
-
if (!actualAction.ForwardConfig?.TargetGroupStickinessConfig) {
|
|
122
|
-
throw new TransactionError('ALB Listener forward action missing stickiness configuration');
|
|
123
|
-
}
|
|
124
|
-
if (actualAction.ForwardConfig.TargetGroupStickinessConfig.Enabled !==
|
|
125
|
-
expectedAction.action.TargetGroupStickinessConfig.Enabled) {
|
|
126
|
-
throw new TransactionError(`ALB Listener forward action stickiness enabled mismatch. Expected: ${expectedAction.action.TargetGroupStickinessConfig.Enabled}, Actual: ${actualAction.ForwardConfig.TargetGroupStickinessConfig.Enabled}`);
|
|
127
|
-
}
|
|
128
|
-
if (actualAction.ForwardConfig.TargetGroupStickinessConfig.DurationSeconds !==
|
|
129
|
-
expectedAction.action.TargetGroupStickinessConfig.DurationSeconds) {
|
|
130
|
-
throw new TransactionError(`ALB Listener forward action stickiness duration mismatch. Expected: ${expectedAction.action.TargetGroupStickinessConfig.DurationSeconds}, Actual: ${actualAction.ForwardConfig.TargetGroupStickinessConfig.DurationSeconds}`);
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
else if (expectedAction.actionType === 'redirect') {
|
|
135
|
-
const actualAction = actualListener.DefaultActions.find((a) => a.Type === 'redirect');
|
|
136
|
-
if (!actualAction) {
|
|
137
|
-
throw new TransactionError('ALB Listener missing redirect default action');
|
|
138
|
-
}
|
|
139
|
-
const expectedRedirect = expectedAction.action;
|
|
140
|
-
const actualRedirect = actualAction.RedirectConfig;
|
|
141
|
-
if (actualRedirect?.Host !== (expectedRedirect.Host ?? undefined)) {
|
|
142
|
-
throw new TransactionError(`ALB Listener redirect host mismatch. Expected: ${expectedRedirect.Host}, Actual: ${actualRedirect?.Host || 'undefined'}`);
|
|
143
|
-
}
|
|
144
|
-
if (actualRedirect?.Path !== (expectedRedirect.Path ?? undefined)) {
|
|
145
|
-
throw new TransactionError(`ALB Listener redirect path mismatch. Expected: ${expectedRedirect.Path}, Actual: ${actualRedirect?.Path || 'undefined'}`);
|
|
146
|
-
}
|
|
147
|
-
if (actualRedirect?.Port !== (expectedRedirect.Port ? String(expectedRedirect.Port) : undefined)) {
|
|
148
|
-
throw new TransactionError(`ALB Listener redirect port mismatch. Expected: ${expectedRedirect.Port}, Actual: ${actualRedirect?.Port || 'undefined'}`);
|
|
149
|
-
}
|
|
150
|
-
if (actualRedirect?.Protocol !== (expectedRedirect.Protocol ?? undefined)) {
|
|
151
|
-
throw new TransactionError(`ALB Listener redirect protocol mismatch. Expected: ${expectedRedirect.Protocol}, Actual: ${actualRedirect?.Protocol || 'undefined'}`);
|
|
152
|
-
}
|
|
153
|
-
if (actualRedirect?.Query !== (expectedRedirect.Query ?? undefined)) {
|
|
154
|
-
throw new TransactionError(`ALB Listener redirect query mismatch. Expected: ${expectedRedirect.Query}, Actual: ${actualRedirect?.Query || 'undefined'}`);
|
|
155
|
-
}
|
|
156
|
-
const expectedStatusCode = expectedRedirect.StatusCode ? `HTTP_${expectedRedirect.StatusCode}` : undefined;
|
|
157
|
-
if (actualRedirect?.StatusCode !== expectedStatusCode) {
|
|
158
|
-
throw new TransactionError(`ALB Listener redirect status code mismatch. Expected: ${expectedStatusCode}, Actual: ${actualRedirect?.StatusCode || 'undefined'}`);
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
// Validate rules.
|
|
163
|
-
if (properties.rules.length > 0) {
|
|
164
|
-
const describeRulesResult = await elbv2Client.send(new DescribeRulesCommand({
|
|
165
|
-
ListenerArn: response.ListenerArn,
|
|
166
|
-
}));
|
|
167
|
-
const actualRules = (describeRulesResult.Rules || []).filter((r) => !r.IsDefault);
|
|
168
|
-
if (actualRules.length !== properties.rules.length) {
|
|
169
|
-
throw new TransactionError(`ALB Listener rules count mismatch. Expected: ${properties.rules.length}, Actual: ${actualRules.length}`);
|
|
170
|
-
}
|
|
171
|
-
for (const expectedRule of properties.rules) {
|
|
172
|
-
const expectedRuleResponse = response.Rules?.find((r) => r.Priority === expectedRule.Priority);
|
|
173
|
-
if (!expectedRuleResponse) {
|
|
174
|
-
throw new TransactionError(`ALB Listener missing rule response for priority: ${expectedRule.Priority}`);
|
|
175
|
-
}
|
|
176
|
-
const actualRule = actualRules.find((r) => r.RuleArn === expectedRuleResponse.RuleArn);
|
|
177
|
-
if (!actualRule) {
|
|
178
|
-
throw new TransactionError(`ALB Listener missing rule with ARN: ${expectedRuleResponse.RuleArn} at priority ${expectedRule.Priority}`);
|
|
179
|
-
}
|
|
180
|
-
// Validate rule priority.
|
|
181
|
-
if (actualRule.Priority !== String(expectedRule.Priority)) {
|
|
182
|
-
throw new TransactionError(`ALB Listener rule priority mismatch. Expected: ${expectedRule.Priority}, Actual: ${actualRule.Priority || 'undefined'}`);
|
|
183
|
-
}
|
|
184
|
-
// Validate rule conditions.
|
|
185
|
-
const actualConditions = actualRule.Conditions || [];
|
|
186
|
-
if (actualConditions.length !== expectedRule.conditions.length) {
|
|
187
|
-
throw new TransactionError(`ALB Listener rule (priority ${expectedRule.Priority}) conditions count mismatch. Expected: ${expectedRule.conditions.length}, Actual: ${actualConditions.length}`);
|
|
188
|
-
}
|
|
189
|
-
for (const expectedCondition of expectedRule.conditions) {
|
|
190
|
-
const actualCondition = actualConditions.find((c) => c.Field === expectedCondition.conditionType);
|
|
191
|
-
if (!actualCondition) {
|
|
192
|
-
throw new TransactionError(`ALB Listener rule (priority ${expectedRule.Priority}) missing condition type: ${expectedCondition.conditionType}`);
|
|
193
|
-
}
|
|
194
|
-
// Validate condition values based on type.
|
|
195
|
-
switch (expectedCondition.conditionType) {
|
|
196
|
-
case 'host-header':
|
|
197
|
-
if (JSON.stringify(actualCondition.HostHeaderConfig?.Values) !==
|
|
198
|
-
JSON.stringify(expectedCondition.condition.Values)) {
|
|
199
|
-
throw new TransactionError(`ALB Listener rule (priority ${expectedRule.Priority}) host-header values mismatch. Expected: ${JSON.stringify(expectedCondition.condition.Values)}, Actual: ${JSON.stringify(actualCondition.HostHeaderConfig?.Values)}`);
|
|
200
|
-
}
|
|
201
|
-
break;
|
|
202
|
-
case 'http-header':
|
|
203
|
-
if (actualCondition.HttpHeaderConfig?.HttpHeaderName !== expectedCondition.condition.HttpHeaderName) {
|
|
204
|
-
throw new TransactionError(`ALB Listener rule (priority ${expectedRule.Priority}) http-header name mismatch. Expected: ${expectedCondition.condition.HttpHeaderName}, Actual: ${actualCondition.HttpHeaderConfig?.HttpHeaderName}`);
|
|
205
|
-
}
|
|
206
|
-
if (JSON.stringify(actualCondition.HttpHeaderConfig?.Values) !==
|
|
207
|
-
JSON.stringify(expectedCondition.condition.Values)) {
|
|
208
|
-
throw new TransactionError(`ALB Listener rule (priority ${expectedRule.Priority}) http-header values mismatch. Expected: ${JSON.stringify(expectedCondition.condition.Values)}, Actual: ${JSON.stringify(actualCondition.HttpHeaderConfig?.Values)}`);
|
|
209
|
-
}
|
|
210
|
-
break;
|
|
211
|
-
case 'http-request-method':
|
|
212
|
-
if (JSON.stringify(actualCondition.HttpRequestMethodConfig?.Values) !==
|
|
213
|
-
JSON.stringify(expectedCondition.condition.Values)) {
|
|
214
|
-
throw new TransactionError(`ALB Listener rule (priority ${expectedRule.Priority}) http-request-method values mismatch. Expected: ${JSON.stringify(expectedCondition.condition.Values)}, Actual: ${JSON.stringify(actualCondition.HttpRequestMethodConfig?.Values)}`);
|
|
215
|
-
}
|
|
216
|
-
break;
|
|
217
|
-
case 'path-pattern':
|
|
218
|
-
if (JSON.stringify(actualCondition.PathPatternConfig?.Values) !==
|
|
219
|
-
JSON.stringify(expectedCondition.condition.Values)) {
|
|
220
|
-
throw new TransactionError(`ALB Listener rule (priority ${expectedRule.Priority}) path-pattern values mismatch. Expected: ${JSON.stringify(expectedCondition.condition.Values)}, Actual: ${JSON.stringify(actualCondition.PathPatternConfig?.Values)}`);
|
|
221
|
-
}
|
|
222
|
-
break;
|
|
223
|
-
case 'query-string':
|
|
224
|
-
if (JSON.stringify(actualCondition.QueryStringConfig?.Values) !==
|
|
225
|
-
JSON.stringify(expectedCondition.condition.Values)) {
|
|
226
|
-
throw new TransactionError(`ALB Listener rule (priority ${expectedRule.Priority}) query-string values mismatch. Expected: ${JSON.stringify(expectedCondition.condition.Values)}, Actual: ${JSON.stringify(actualCondition.QueryStringConfig?.Values)}`);
|
|
227
|
-
}
|
|
228
|
-
break;
|
|
229
|
-
case 'source-ip':
|
|
230
|
-
if (JSON.stringify(actualCondition.SourceIpConfig?.Values) !==
|
|
231
|
-
JSON.stringify(expectedCondition.condition.Values)) {
|
|
232
|
-
throw new TransactionError(`ALB Listener rule (priority ${expectedRule.Priority}) source-ip values mismatch. Expected: ${JSON.stringify(expectedCondition.condition.Values)}, Actual: ${JSON.stringify(actualCondition.SourceIpConfig?.Values)}`);
|
|
233
|
-
}
|
|
234
|
-
break;
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
// Validate rule actions.
|
|
238
|
-
const actualActions = actualRule.Actions || [];
|
|
239
|
-
if (actualActions.length !== expectedRule.actions.length) {
|
|
240
|
-
throw new TransactionError(`ALB Listener rule (priority ${expectedRule.Priority}) actions count mismatch. Expected: ${expectedRule.actions.length}, Actual: ${actualActions.length}`);
|
|
241
|
-
}
|
|
242
|
-
for (const expectedAction of expectedRule.actions) {
|
|
243
|
-
if (expectedAction.actionType === 'fixed-response') {
|
|
244
|
-
const actualAction = actualActions.find((a) => a.Type === 'fixed-response');
|
|
245
|
-
if (!actualAction) {
|
|
246
|
-
throw new TransactionError(`ALB Listener rule (priority ${expectedRule.Priority}) missing fixed-response action`);
|
|
247
|
-
}
|
|
248
|
-
if (actualAction.FixedResponseConfig?.ContentType !== expectedAction.action.ContentType) {
|
|
249
|
-
throw new TransactionError(`ALB Listener rule (priority ${expectedRule.Priority}) fixed-response content type mismatch. Expected: ${expectedAction.action.ContentType}, Actual: ${actualAction.FixedResponseConfig?.ContentType}`);
|
|
250
|
-
}
|
|
251
|
-
if (actualAction.FixedResponseConfig?.MessageBody !== expectedAction.action.MessageBody) {
|
|
252
|
-
throw new TransactionError(`ALB Listener rule (priority ${expectedRule.Priority}) fixed-response message body mismatch. Expected: ${expectedAction.action.MessageBody}, Actual: ${actualAction.FixedResponseConfig?.MessageBody}`);
|
|
253
|
-
}
|
|
254
|
-
if (actualAction.FixedResponseConfig?.StatusCode !== String(expectedAction.action.StatusCode)) {
|
|
255
|
-
throw new TransactionError(`ALB Listener rule (priority ${expectedRule.Priority}) fixed-response status code mismatch. Expected: ${expectedAction.action.StatusCode}, Actual: ${actualAction.FixedResponseConfig?.StatusCode}`);
|
|
256
|
-
}
|
|
257
|
-
}
|
|
258
|
-
else if (expectedAction.actionType === 'forward') {
|
|
259
|
-
const actualAction = actualActions.find((a) => a.Type === 'forward');
|
|
260
|
-
if (!actualAction) {
|
|
261
|
-
throw new TransactionError(`ALB Listener rule (priority ${expectedRule.Priority}) missing forward action`);
|
|
262
|
-
}
|
|
263
|
-
const expectedTargetGroups = expectedAction.action.TargetGroups;
|
|
264
|
-
const actualTargetGroups = actualAction.ForwardConfig?.TargetGroups || [];
|
|
265
|
-
if (actualTargetGroups.length !== expectedTargetGroups.length) {
|
|
266
|
-
throw new TransactionError(`ALB Listener rule (priority ${expectedRule.Priority}) forward action target groups count mismatch. Expected: ${expectedTargetGroups.length}, Actual: ${actualTargetGroups.length}`);
|
|
267
|
-
}
|
|
268
|
-
for (const expectedTg of expectedTargetGroups) {
|
|
269
|
-
const expectedTgArn = matchingAlbTargetGroups
|
|
270
|
-
.find((mt) => mt.getSchemaInstance().properties.Name === expectedTg.targetGroupName)
|
|
271
|
-
.getSchemaInstanceInResourceAction().response.TargetGroupArn;
|
|
272
|
-
const actualTg = actualTargetGroups.find((t) => t.TargetGroupArn === expectedTgArn);
|
|
273
|
-
if (!actualTg) {
|
|
274
|
-
throw new TransactionError(`ALB Listener rule (priority ${expectedRule.Priority}) forward action missing target group: ${expectedTg.targetGroupName}`);
|
|
275
|
-
}
|
|
276
|
-
if (actualTg.Weight !== expectedTg.Weight) {
|
|
277
|
-
throw new TransactionError(`ALB Listener rule (priority ${expectedRule.Priority}) forward action target group ${expectedTg.targetGroupName} weight mismatch. Expected: ${expectedTg.Weight}, Actual: ${actualTg.Weight}`);
|
|
278
|
-
}
|
|
279
|
-
}
|
|
280
|
-
// Validate stickiness config.
|
|
281
|
-
if (expectedAction.action.TargetGroupStickinessConfig) {
|
|
282
|
-
if (!actualAction.ForwardConfig?.TargetGroupStickinessConfig) {
|
|
283
|
-
throw new TransactionError(`ALB Listener rule (priority ${expectedRule.Priority}) forward action missing stickiness configuration`);
|
|
284
|
-
}
|
|
285
|
-
if (actualAction.ForwardConfig.TargetGroupStickinessConfig.Enabled !==
|
|
286
|
-
expectedAction.action.TargetGroupStickinessConfig.Enabled) {
|
|
287
|
-
throw new TransactionError(`ALB Listener rule (priority ${expectedRule.Priority}) forward action stickiness enabled mismatch. Expected: ${expectedAction.action.TargetGroupStickinessConfig.Enabled}, Actual: ${actualAction.ForwardConfig.TargetGroupStickinessConfig.Enabled}`);
|
|
288
|
-
}
|
|
289
|
-
if (actualAction.ForwardConfig.TargetGroupStickinessConfig.DurationSeconds !==
|
|
290
|
-
expectedAction.action.TargetGroupStickinessConfig.DurationSeconds) {
|
|
291
|
-
throw new TransactionError(`ALB Listener rule (priority ${expectedRule.Priority}) forward action stickiness duration mismatch. Expected: ${expectedAction.action.TargetGroupStickinessConfig.DurationSeconds}, Actual: ${actualAction.ForwardConfig.TargetGroupStickinessConfig.DurationSeconds}`);
|
|
292
|
-
}
|
|
293
|
-
}
|
|
294
|
-
}
|
|
295
|
-
else if (expectedAction.actionType === 'redirect') {
|
|
296
|
-
const actualAction = actualActions.find((a) => a.Type === 'redirect');
|
|
297
|
-
if (!actualAction) {
|
|
298
|
-
throw new TransactionError(`ALB Listener rule (priority ${expectedRule.Priority}) missing redirect action`);
|
|
299
|
-
}
|
|
300
|
-
const expectedRedirect = expectedAction.action;
|
|
301
|
-
const actualRedirect = actualAction.RedirectConfig;
|
|
302
|
-
if (actualRedirect?.Host !== (expectedRedirect.Host ?? undefined)) {
|
|
303
|
-
throw new TransactionError(`ALB Listener rule (priority ${expectedRule.Priority}) redirect host mismatch. Expected: ${expectedRedirect.Host}, Actual: ${actualRedirect?.Host}`);
|
|
304
|
-
}
|
|
305
|
-
if (actualRedirect?.Path !== (expectedRedirect.Path ?? undefined)) {
|
|
306
|
-
throw new TransactionError(`ALB Listener rule (priority ${expectedRule.Priority}) redirect path mismatch. Expected: ${expectedRedirect.Path}, Actual: ${actualRedirect?.Path}`);
|
|
307
|
-
}
|
|
308
|
-
if (actualRedirect?.Port !== (expectedRedirect.Port ? String(expectedRedirect.Port) : undefined)) {
|
|
309
|
-
throw new TransactionError(`ALB Listener rule (priority ${expectedRule.Priority}) redirect port mismatch. Expected: ${expectedRedirect.Port}, Actual: ${actualRedirect?.Port}`);
|
|
310
|
-
}
|
|
311
|
-
if (actualRedirect?.Protocol !== (expectedRedirect.Protocol ?? undefined)) {
|
|
312
|
-
throw new TransactionError(`ALB Listener rule (priority ${expectedRule.Priority}) redirect protocol mismatch. Expected: ${expectedRedirect.Protocol}, Actual: ${actualRedirect?.Protocol}`);
|
|
313
|
-
}
|
|
314
|
-
if (actualRedirect?.Query !== (expectedRedirect.Query ?? undefined)) {
|
|
315
|
-
throw new TransactionError(`ALB Listener rule (priority ${expectedRule.Priority}) redirect query mismatch. Expected: ${expectedRedirect.Query}, Actual: ${actualRedirect?.Query}`);
|
|
316
|
-
}
|
|
317
|
-
const expectedStatusCode = expectedRedirect.StatusCode ? `HTTP_${expectedRedirect.StatusCode}` : undefined;
|
|
318
|
-
if (actualRedirect?.StatusCode !== expectedStatusCode) {
|
|
319
|
-
throw new TransactionError(`ALB Listener rule (priority ${expectedRule.Priority}) redirect status code mismatch. Expected: ${expectedStatusCode}, Actual: ${actualRedirect?.StatusCode}`);
|
|
320
|
-
}
|
|
321
|
-
}
|
|
322
|
-
}
|
|
323
|
-
}
|
|
324
|
-
}
|
|
325
|
-
}
|
|
326
|
-
};
|
|
327
|
-
ValidateAlbListenerResourceAction = __decorate([
|
|
328
|
-
Action(AlbListener),
|
|
329
|
-
__metadata("design:paramtypes", [])
|
|
330
|
-
], ValidateAlbListenerResourceAction);
|
|
331
|
-
export { ValidateAlbListenerResourceAction };
|
|
332
|
-
/**
|
|
333
|
-
* @internal
|
|
334
|
-
*/
|
|
335
|
-
let ValidateAlbListenerResourceActionFactory = class ValidateAlbListenerResourceActionFactory {
|
|
336
|
-
static async create() {
|
|
337
|
-
if (!this.instance) {
|
|
338
|
-
this.instance = new ValidateAlbListenerResourceAction();
|
|
339
|
-
}
|
|
340
|
-
return this.instance;
|
|
341
|
-
}
|
|
342
|
-
};
|
|
343
|
-
ValidateAlbListenerResourceActionFactory = __decorate([
|
|
344
|
-
Factory(ValidateAlbListenerResourceAction)
|
|
345
|
-
], ValidateAlbListenerResourceActionFactory);
|
|
346
|
-
export { ValidateAlbListenerResourceActionFactory };
|
|
347
|
-
//# sourceMappingURL=validate-alb-listener.resource.action.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"validate-alb-listener.resource.action.js","sourceRoot":"","sources":["../../../../src/resources/alb-listener/actions/validate-alb-listener.resource.action.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,wBAAwB,EAExB,oBAAoB,EACpB,4BAA4B,GAC7B,MAAM,2CAA2C,CAAC;AACnD,OAAO,EACL,WAAW,EACX,MAAM,EAEN,UAAU,EACV,OAAO,EAGP,gBAAgB,EAChB,WAAW,GACZ,MAAM,e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C,CAAC;GACjE,wCAAwC,CASpD"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { ANodeAction, type Diff, type IResourceAction } from '@quadnix/octo';
|
|
2
|
-
import { AlbTargetGroup } from '../alb-target-group.resource.js';
|
|
3
|
-
import type { AlbTargetGroupSchema } from '../index.schema.js';
|
|
4
|
-
/**
|
|
5
|
-
* @internal
|
|
6
|
-
*/
|
|
7
|
-
export declare class AddAlbTargetGroupResourceAction extends ANodeAction implements IResourceAction<AlbTargetGroup> {
|
|
8
|
-
actionTimeoutInMs: number;
|
|
9
|
-
constructor();
|
|
10
|
-
filter(diff: Diff): boolean;
|
|
11
|
-
handle(diff: Diff<AlbTargetGroup>): Promise<AlbTargetGroupSchema['response']>;
|
|
12
|
-
mock(_diff: Diff<AlbTargetGroup>, capture: Partial<AlbTargetGroupSchema['response']>): Promise<AlbTargetGroupSchema['response']>;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* @internal
|
|
16
|
-
*/
|
|
17
|
-
export declare class AddAlbTargetGroupResourceActionFactory {
|
|
18
|
-
private static instance;
|
|
19
|
-
static create(): Promise<AddAlbTargetGroupResourceAction>;
|
|
20
|
-
}
|
|
@@ -1,98 +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 { CreateTargetGroupCommand, ElasticLoadBalancingV2Client, } from '@aws-sdk/client-elastic-load-balancing-v2';
|
|
11
|
-
import { ANodeAction, Action, DiffAction, Factory, hasNodeName } from '@quadnix/octo';
|
|
12
|
-
import { ElasticLoadBalancingV2ClientFactory } from '../../../factories/aws-client.factory.js';
|
|
13
|
-
import { AlbTargetGroup } from '../alb-target-group.resource.js';
|
|
14
|
-
/**
|
|
15
|
-
* @internal
|
|
16
|
-
*/
|
|
17
|
-
let AddAlbTargetGroupResourceAction = class AddAlbTargetGroupResourceAction extends ANodeAction {
|
|
18
|
-
constructor() {
|
|
19
|
-
super();
|
|
20
|
-
this.actionTimeoutInMs = 900000; // 15 minutes.
|
|
21
|
-
}
|
|
22
|
-
filter(diff) {
|
|
23
|
-
return (diff.action === DiffAction.ADD &&
|
|
24
|
-
diff.node instanceof AlbTargetGroup &&
|
|
25
|
-
hasNodeName(diff.node, 'alb-target-group') &&
|
|
26
|
-
diff.field === 'resourceId');
|
|
27
|
-
}
|
|
28
|
-
async handle(diff) {
|
|
29
|
-
// Get properties.
|
|
30
|
-
const albTargetGroup = diff.node;
|
|
31
|
-
const properties = albTargetGroup.properties;
|
|
32
|
-
const tags = albTargetGroup.tags;
|
|
33
|
-
const matchingAlbTargetGroupVpc = albTargetGroup.parents[0];
|
|
34
|
-
// Get instances.
|
|
35
|
-
const elbv2Client = await this.container.get(ElasticLoadBalancingV2Client, {
|
|
36
|
-
args: [properties.awsAccountId, properties.awsRegionId],
|
|
37
|
-
metadata: { package: '@octo' },
|
|
38
|
-
});
|
|
39
|
-
const targetGroupHealthCheck = {};
|
|
40
|
-
if (properties.healthCheck) {
|
|
41
|
-
targetGroupHealthCheck.HealthCheckEnabled = true;
|
|
42
|
-
targetGroupHealthCheck.HealthCheckIntervalSeconds = properties.healthCheck.HealthCheckIntervalSeconds;
|
|
43
|
-
targetGroupHealthCheck.HealthCheckPath = properties.healthCheck.HealthCheckPath;
|
|
44
|
-
targetGroupHealthCheck.HealthCheckPort = String(properties.healthCheck.HealthCheckPort);
|
|
45
|
-
targetGroupHealthCheck.HealthCheckProtocol = properties.healthCheck.HealthCheckProtocol;
|
|
46
|
-
targetGroupHealthCheck.HealthCheckTimeoutSeconds = properties.healthCheck.HealthCheckTimeoutSeconds;
|
|
47
|
-
targetGroupHealthCheck.HealthyThresholdCount = properties.healthCheck.HealthyThresholdCount;
|
|
48
|
-
targetGroupHealthCheck.Matcher = {
|
|
49
|
-
HttpCode: String(properties.healthCheck.Matcher.HttpCode),
|
|
50
|
-
};
|
|
51
|
-
targetGroupHealthCheck.UnhealthyThresholdCount = properties.healthCheck.UnhealthyThresholdCount;
|
|
52
|
-
}
|
|
53
|
-
// Create ALB Target Group.
|
|
54
|
-
const createTargetGroupOutput = await elbv2Client.send(new CreateTargetGroupCommand({
|
|
55
|
-
IpAddressType: properties.IpAddressType,
|
|
56
|
-
Name: properties.Name,
|
|
57
|
-
Port: properties.Port,
|
|
58
|
-
Protocol: properties.Protocol,
|
|
59
|
-
ProtocolVersion: properties.ProtocolVersion,
|
|
60
|
-
Tags: Object.keys(tags).length > 0
|
|
61
|
-
? Object.entries(tags).map(([key, value]) => ({ Key: key, Value: value }))
|
|
62
|
-
: undefined,
|
|
63
|
-
TargetType: properties.TargetType,
|
|
64
|
-
VpcId: matchingAlbTargetGroupVpc.getSchemaInstanceInResourceAction().response.VpcId,
|
|
65
|
-
...(Object.keys(targetGroupHealthCheck).length > 0 ? targetGroupHealthCheck : { HealthCheckEnabled: false }),
|
|
66
|
-
}));
|
|
67
|
-
const TargetGroupArn = createTargetGroupOutput.TargetGroups[0].TargetGroupArn;
|
|
68
|
-
return {
|
|
69
|
-
TargetGroupArn,
|
|
70
|
-
};
|
|
71
|
-
}
|
|
72
|
-
async mock(_diff, capture) {
|
|
73
|
-
return {
|
|
74
|
-
TargetGroupArn: capture.TargetGroupArn,
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
|
-
};
|
|
78
|
-
AddAlbTargetGroupResourceAction = __decorate([
|
|
79
|
-
Action(AlbTargetGroup),
|
|
80
|
-
__metadata("design:paramtypes", [])
|
|
81
|
-
], AddAlbTargetGroupResourceAction);
|
|
82
|
-
export { AddAlbTargetGroupResourceAction };
|
|
83
|
-
/**
|
|
84
|
-
* @internal
|
|
85
|
-
*/
|
|
86
|
-
let AddAlbTargetGroupResourceActionFactory = class AddAlbTargetGroupResourceActionFactory {
|
|
87
|
-
static async create() {
|
|
88
|
-
if (!this.instance) {
|
|
89
|
-
this.instance = new AddAlbTargetGroupResourceAction();
|
|
90
|
-
}
|
|
91
|
-
return this.instance;
|
|
92
|
-
}
|
|
93
|
-
};
|
|
94
|
-
AddAlbTargetGroupResourceActionFactory = __decorate([
|
|
95
|
-
Factory(AddAlbTargetGroupResourceAction)
|
|
96
|
-
], AddAlbTargetGroupResourceActionFactory);
|
|
97
|
-
export { AddAlbTargetGroupResourceActionFactory };
|
|
98
|
-
//# sourceMappingURL=add-alb-target-group.resource.action.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"add-alb-target-group.resource.action.js","sourceRoot":"","sources":["../../../../src/resources/alb-target-group/actions/add-alb-target-group.resource.action.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,wBAAwB,EAExB,4BAA4B,GAC7B,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,EAAa,UAAU,EAAE,OAAO,EAAwB,WAAW,EAAE,MAAM,eAAe,CAAC;AACvH,OAAO,EAAE,mCAAmC,EAAE,MAAM,0CAA0C,CAAC;AAC/F,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAGjE;;GAEG;AAEI,IAAM,+BAA+B,GAArC,MAAM,+BAAgC,SAAQ,WAAW;IAG9D;QACE,KAAK,EAAE,CAAC;QAHV,sBAAiB,GAAW,MAAM,CAAC,CAAC,cAAc;IAIlD,CAAC;IAED,MAAM,C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C,cAAe,CAAC;QAEhF,OAAO;YACL,cAAc;SACf,CAAC;IACJ,CAAC;IAED,KAAK,CAAC,IAAI,CACR,KAA2B,EAC3B,OAAkD;QAElD,OAAO;YACL,cAAc,EAAE,OAAO,CAAC,cAAc;SACvC,CAAC;IACJ,CAAC;CACF,CAAA;AA/EY,+BAA+B;IAD3C,MAAM,CAAC,cAAc,CAAC;;GACV,+BAA+B,CA+E3C;;AAED;;GAEG;AAEI,IAAM,sCAAsC,GAA5C,MAAM,sCAAsC;IAGjD,MAAM,CAAC,KAAK,CAAC,MAAM;QACjB,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC;YACnB,IAAI,CAAC,QAAQ,GAAG,IAAI,+BAA+B,EAAE,CAAC;QACxD,CAAC;QACD,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;CACF,CAAA;AATY,sCAAsC;IADlD,OAAO,CAAkC,+BAA+B,CAAC;GAC7D,sCAAsC,CASlD"}
|
package/dist/resources/alb-target-group/actions/delete-alb-target-group.resource.action.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Container, type Diff, type IResourceAction } from '@quadnix/octo';
|
|
2
|
-
import { AlbTargetGroup } from '../alb-target-group.resource.js';
|
|
3
|
-
/**
|
|
4
|
-
* @internal
|
|
5
|
-
*/
|
|
6
|
-
export declare class DeleteAlbTargetGroupResourceAction implements IResourceAction<AlbTargetGroup> {
|
|
7
|
-
private readonly container;
|
|
8
|
-
constructor(container: Container);
|
|
9
|
-
filter(diff: Diff): boolean;
|
|
10
|
-
handle(diff: Diff<AlbTargetGroup>): Promise<void>;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* @internal
|
|
14
|
-
*/
|
|
15
|
-
export declare class DeleteAlbTargetGroupResourceActionFactory {
|
|
16
|
-
private static instance;
|
|
17
|
-
static create(): Promise<DeleteAlbTargetGroupResourceAction>;
|
|
18
|
-
}
|
|
@@ -1,64 +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 { DeleteTargetGroupCommand, ElasticLoadBalancingV2Client } from '@aws-sdk/client-elastic-load-balancing-v2';
|
|
11
|
-
import { Action, Container, DiffAction, Factory, hasNodeName } from '@quadnix/octo';
|
|
12
|
-
import { ElasticLoadBalancingV2ClientFactory } from '../../../factories/aws-client.factory.js';
|
|
13
|
-
import { AlbTargetGroup } from '../alb-target-group.resource.js';
|
|
14
|
-
/**
|
|
15
|
-
* @internal
|
|
16
|
-
*/
|
|
17
|
-
let DeleteAlbTargetGroupResourceAction = class DeleteAlbTargetGroupResourceAction {
|
|
18
|
-
constructor(container) {
|
|
19
|
-
this.container = container;
|
|
20
|
-
}
|
|
21
|
-
filter(diff) {
|
|
22
|
-
return (diff.action === DiffAction.DELETE &&
|
|
23
|
-
diff.node instanceof AlbTargetGroup &&
|
|
24
|
-
hasNodeName(diff.node, 'alb-target-group') &&
|
|
25
|
-
diff.field === 'resourceId');
|
|
26
|
-
}
|
|
27
|
-
async handle(diff) {
|
|
28
|
-
// Get properties.
|
|
29
|
-
const albTargetGroup = diff.node;
|
|
30
|
-
const properties = albTargetGroup.properties;
|
|
31
|
-
const response = albTargetGroup.response;
|
|
32
|
-
// Get instances.
|
|
33
|
-
const elbv2Client = await this.container.get(ElasticLoadBalancingV2Client, {
|
|
34
|
-
args: [properties.awsAccountId, properties.awsRegionId],
|
|
35
|
-
metadata: { package: '@octo' },
|
|
36
|
-
});
|
|
37
|
-
// Delete ALB Target Group
|
|
38
|
-
await elbv2Client.send(new DeleteTargetGroupCommand({
|
|
39
|
-
TargetGroupArn: response.TargetGroupArn,
|
|
40
|
-
}));
|
|
41
|
-
}
|
|
42
|
-
};
|
|
43
|
-
DeleteAlbTargetGroupResourceAction = __decorate([
|
|
44
|
-
Action(AlbTargetGroup),
|
|
45
|
-
__metadata("design:paramtypes", [Container])
|
|
46
|
-
], DeleteAlbTargetGroupResourceAction);
|
|
47
|
-
export { DeleteAlbTargetGroupResourceAction };
|
|
48
|
-
/**
|
|
49
|
-
* @internal
|
|
50
|
-
*/
|
|
51
|
-
let DeleteAlbTargetGroupResourceActionFactory = class DeleteAlbTargetGroupResourceActionFactory {
|
|
52
|
-
static async create() {
|
|
53
|
-
if (!this.instance) {
|
|
54
|
-
const container = Container.getInstance();
|
|
55
|
-
this.instance = new DeleteAlbTargetGroupResourceAction(container);
|
|
56
|
-
}
|
|
57
|
-
return this.instance;
|
|
58
|
-
}
|
|
59
|
-
};
|
|
60
|
-
DeleteAlbTargetGroupResourceActionFactory = __decorate([
|
|
61
|
-
Factory(DeleteAlbTargetGroupResourceAction)
|
|
62
|
-
], DeleteAlbTargetGroupResourceActionFactory);
|
|
63
|
-
export { DeleteAlbTargetGroupResourceActionFactory };
|
|
64
|
-
//# sourceMappingURL=delete-alb-target-group.resource.action.js.map
|
package/dist/resources/alb-target-group/actions/delete-alb-target-group.resource.action.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"delete-alb-target-group.resource.action.js","sourceRoot":"","sources":["../../../../src/resources/alb-target-group/actions/delete-alb-target-group.resource.action.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,wBAAwB,EAAE,4BAA4B,EAAE,MA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;GADtC,kCAAkC,CAkC9C;;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"}
|
package/dist/resources/alb-target-group/actions/update-alb-target-group-tags.resource.action.d.ts
DELETED
|
@@ -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 { AlbTargetGroup } from '../alb-target-group.resource.js';
|
|
4
|
-
/**
|
|
5
|
-
* @internal
|
|
6
|
-
*/
|
|
7
|
-
export declare class UpdateAlbTargetGroupTagsResourceAction extends GenericResourceTaggingAction implements IResourceAction<AlbTargetGroup> {
|
|
8
|
-
constructor(container: Container);
|
|
9
|
-
filter(diff: Diff): boolean;
|
|
10
|
-
handle(diff: Diff<AlbTargetGroup, DiffValueTypeTagUpdate>): Promise<void>;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* @internal
|
|
14
|
-
*/
|
|
15
|
-
export declare class UpdateAlbTargetGroupTagsResourceActionFactory {
|
|
16
|
-
private static instance;
|
|
17
|
-
static create(): Promise<UpdateAlbTargetGroupTagsResourceAction>;
|
|
18
|
-
}
|