@quadnix/octo-aws-cdk 0.0.11 → 0.0.13
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/dist/anchors/aws-account/aws-account.anchor.d.ts +9 -0
- package/dist/anchors/aws-account/aws-account.anchor.js +24 -0
- package/dist/anchors/aws-account/aws-account.anchor.js.map +1 -0
- package/dist/anchors/aws-account/aws-account.anchor.schema.d.ts +21 -0
- package/dist/anchors/aws-account/aws-account.anchor.schema.js +35 -0
- package/dist/anchors/aws-account/aws-account.anchor.schema.js.map +1 -0
- package/dist/anchors/aws-ecs/aws-ecs-alb.anchor.d.ts +9 -0
- package/dist/anchors/aws-ecs/aws-ecs-alb.anchor.js +24 -0
- package/dist/anchors/aws-ecs/aws-ecs-alb.anchor.js.map +1 -0
- package/dist/anchors/aws-ecs/aws-ecs-alb.anchor.schema.d.ts +21 -0
- package/dist/anchors/aws-ecs/aws-ecs-alb.anchor.schema.js +35 -0
- package/dist/anchors/aws-ecs/aws-ecs-alb.anchor.schema.js.map +1 -0
- package/dist/anchors/aws-ecs/aws-ecs-cluster.anchor.d.ts +9 -0
- package/dist/anchors/aws-ecs/aws-ecs-cluster.anchor.js +24 -0
- package/dist/anchors/aws-ecs/aws-ecs-cluster.anchor.js.map +1 -0
- package/dist/anchors/aws-ecs/aws-ecs-cluster.anchor.schema.d.ts +24 -0
- package/dist/anchors/aws-ecs/aws-ecs-cluster.anchor.schema.js +47 -0
- package/dist/anchors/aws-ecs/aws-ecs-cluster.anchor.schema.js.map +1 -0
- package/dist/anchors/aws-ecs/aws-ecs-execution.anchor.d.ts +9 -0
- package/dist/anchors/aws-ecs/aws-ecs-execution.anchor.js +24 -0
- package/dist/anchors/aws-ecs/aws-ecs-execution.anchor.js.map +1 -0
- package/dist/anchors/aws-ecs/aws-ecs-execution.anchor.schema.d.ts +23 -0
- package/dist/anchors/aws-ecs/aws-ecs-execution.anchor.schema.js +46 -0
- package/dist/anchors/aws-ecs/aws-ecs-execution.anchor.schema.js.map +1 -0
- package/dist/anchors/aws-ecs/aws-ecs-server.anchor.d.ts +9 -0
- package/dist/anchors/aws-ecs/aws-ecs-server.anchor.js +24 -0
- package/dist/anchors/aws-ecs/aws-ecs-server.anchor.js.map +1 -0
- package/dist/anchors/aws-ecs/aws-ecs-server.anchor.schema.d.ts +24 -0
- package/dist/anchors/aws-ecs/aws-ecs-server.anchor.schema.js +43 -0
- package/dist/anchors/aws-ecs/aws-ecs-server.anchor.schema.js.map +1 -0
- package/dist/anchors/aws-ecs/aws-ecs-service.anchor.d.ts +9 -0
- package/dist/anchors/aws-ecs/aws-ecs-service.anchor.js +24 -0
- package/dist/anchors/aws-ecs/aws-ecs-service.anchor.js.map +1 -0
- package/dist/anchors/aws-ecs/aws-ecs-service.anchor.schema.d.ts +21 -0
- package/dist/anchors/aws-ecs/aws-ecs-service.anchor.schema.js +35 -0
- package/dist/anchors/aws-ecs/aws-ecs-service.anchor.schema.js.map +1 -0
- package/dist/anchors/aws-ecs/aws-ecs-task-definition.anchor.d.ts +9 -0
- package/dist/anchors/aws-ecs/aws-ecs-task-definition.anchor.js +24 -0
- package/dist/anchors/aws-ecs/aws-ecs-task-definition.anchor.js.map +1 -0
- package/dist/anchors/aws-ecs/aws-ecs-task-definition.anchor.schema.d.ts +85 -0
- package/dist/anchors/aws-ecs/aws-ecs-task-definition.anchor.schema.js +135 -0
- package/dist/anchors/aws-ecs/aws-ecs-task-definition.anchor.schema.js.map +1 -0
- package/dist/anchors/aws-efs/aws-efs.anchor.d.ts +9 -0
- package/dist/anchors/aws-efs/aws-efs.anchor.js +24 -0
- package/dist/anchors/aws-efs/aws-efs.anchor.js.map +1 -0
- package/dist/anchors/aws-efs/aws-efs.anchor.schema.d.ts +21 -0
- package/dist/anchors/aws-efs/aws-efs.anchor.schema.js +35 -0
- package/dist/anchors/aws-efs/aws-efs.anchor.schema.js.map +1 -0
- package/dist/anchors/aws-iam/aws-iam-role.anchor.d.ts +9 -0
- package/dist/anchors/aws-iam/aws-iam-role.anchor.js +24 -0
- package/dist/anchors/aws-iam/aws-iam-role.anchor.js.map +1 -0
- package/dist/anchors/aws-iam/aws-iam-role.anchor.schema.d.ts +21 -0
- package/dist/anchors/aws-iam/aws-iam-role.anchor.schema.js +35 -0
- package/dist/anchors/aws-iam/aws-iam-role.anchor.schema.js.map +1 -0
- package/dist/anchors/aws-region/aws-region.anchor.d.ts +9 -0
- package/dist/anchors/aws-region/aws-region.anchor.js +24 -0
- package/dist/anchors/aws-region/aws-region.anchor.js.map +1 -0
- package/dist/anchors/aws-region/aws-region.anchor.schema.d.ts +27 -0
- package/dist/anchors/aws-region/aws-region.anchor.schema.js +43 -0
- package/dist/anchors/aws-region/aws-region.anchor.schema.js.map +1 -0
- package/dist/anchors/aws-s3-storage-service/aws-s3-storage-service-directory.anchor.d.ts +9 -0
- package/dist/anchors/aws-s3-storage-service/aws-s3-storage-service-directory.anchor.js +24 -0
- package/dist/anchors/aws-s3-storage-service/aws-s3-storage-service-directory.anchor.js.map +1 -0
- package/dist/anchors/aws-s3-storage-service/aws-s3-storage-service-directory.anchor.schema.d.ts +23 -0
- package/dist/anchors/aws-s3-storage-service/aws-s3-storage-service-directory.anchor.schema.js +39 -0
- package/dist/anchors/aws-s3-storage-service/aws-s3-storage-service-directory.anchor.schema.js.map +1 -0
- package/dist/anchors/aws-s3-storage-service/aws-s3-storage-service.anchor.d.ts +9 -0
- package/dist/anchors/aws-s3-storage-service/aws-s3-storage-service.anchor.js +24 -0
- package/dist/anchors/aws-s3-storage-service/aws-s3-storage-service.anchor.js.map +1 -0
- package/dist/anchors/aws-s3-storage-service/aws-s3-storage-service.anchor.schema.d.ts +25 -0
- package/dist/anchors/aws-s3-storage-service/aws-s3-storage-service.anchor.schema.js +41 -0
- package/dist/anchors/aws-s3-storage-service/aws-s3-storage-service.anchor.schema.js.map +1 -0
- package/dist/anchors/aws-security-group/aws-security-group.anchor.d.ts +9 -0
- package/dist/anchors/aws-security-group/aws-security-group.anchor.js +24 -0
- package/dist/anchors/aws-security-group/aws-security-group.anchor.js.map +1 -0
- package/dist/anchors/aws-security-group/aws-security-group.anchor.schema.d.ts +56 -0
- package/dist/anchors/aws-security-group/aws-security-group.anchor.schema.js +97 -0
- package/dist/anchors/aws-security-group/aws-security-group.anchor.schema.js.map +1 -0
- package/dist/anchors/aws-subnet/aws-subnet-local-filesystem-mount.anchor.d.ts +9 -0
- package/dist/anchors/aws-subnet/aws-subnet-local-filesystem-mount.anchor.js +24 -0
- package/dist/anchors/aws-subnet/aws-subnet-local-filesystem-mount.anchor.js.map +1 -0
- package/dist/anchors/aws-subnet/aws-subnet-local-filesystem-mount.anchor.schema.d.ts +27 -0
- package/dist/anchors/aws-subnet/aws-subnet-local-filesystem-mount.anchor.schema.js +43 -0
- package/dist/anchors/aws-subnet/aws-subnet-local-filesystem-mount.anchor.schema.js.map +1 -0
- package/dist/anchors/aws-subnet/aws-subnet.anchor.d.ts +9 -0
- package/dist/anchors/aws-subnet/aws-subnet.anchor.js +24 -0
- package/dist/anchors/aws-subnet/aws-subnet.anchor.js.map +1 -0
- package/dist/anchors/aws-subnet/aws-subnet.anchor.schema.d.ts +29 -0
- package/dist/anchors/aws-subnet/aws-subnet.anchor.schema.js +45 -0
- package/dist/anchors/aws-subnet/aws-subnet.anchor.schema.js.map +1 -0
- package/dist/factories/aws-client.factory.d.ts +80 -0
- package/dist/factories/aws-client.factory.js +189 -0
- package/dist/factories/aws-client.factory.js.map +1 -0
- package/dist/modules/account/aws-credentials-account/aws-credentials-account.module.d.ts +35 -0
- package/dist/modules/account/aws-credentials-account/aws-credentials-account.module.js +77 -0
- package/dist/modules/account/aws-credentials-account/aws-credentials-account.module.js.map +1 -0
- package/dist/modules/account/aws-credentials-account/index.d.ts +1 -0
- package/dist/modules/account/aws-credentials-account/index.js +2 -0
- package/dist/modules/account/aws-credentials-account/index.js.map +1 -0
- package/dist/modules/account/aws-credentials-account/index.schema.d.ts +39 -0
- package/dist/modules/account/aws-credentials-account/index.schema.js +73 -0
- package/dist/modules/account/aws-credentials-account/index.schema.js.map +1 -0
- package/dist/modules/account/aws-credentials-account/models/account/actions/add-aws-credentials-account.model.action.d.ts +16 -0
- package/dist/modules/account/aws-credentials-account/models/account/actions/add-aws-credentials-account.model.action.js +42 -0
- package/dist/modules/account/aws-credentials-account/models/account/actions/add-aws-credentials-account.model.action.js.map +1 -0
- package/dist/modules/account/aws-credentials-account/models/account/aws-credentials-account.model.d.ts +13 -0
- package/dist/modules/account/aws-credentials-account/models/account/aws-credentials-account.model.js +43 -0
- package/dist/modules/account/aws-credentials-account/models/account/aws-credentials-account.model.js.map +1 -0
- package/dist/modules/account/aws-credentials-account/models/account/aws-credentials-account.schema.d.ts +10 -0
- package/dist/modules/account/aws-credentials-account/models/account/aws-credentials-account.schema.js +30 -0
- package/dist/modules/account/aws-credentials-account/models/account/aws-credentials-account.schema.js.map +1 -0
- package/dist/modules/account/aws-credentials-account/models/account/index.d.ts +2 -0
- package/dist/modules/account/aws-credentials-account/models/account/index.js +3 -0
- package/dist/modules/account/aws-credentials-account/models/account/index.js.map +1 -0
- package/dist/modules/account/aws-ini-account/aws-ini-account.module.d.ts +30 -0
- package/dist/modules/account/aws-ini-account/aws-ini-account.module.js +66 -0
- package/dist/modules/account/aws-ini-account/aws-ini-account.module.js.map +1 -0
- package/dist/modules/account/aws-ini-account/index.d.ts +1 -0
- package/dist/modules/account/aws-ini-account/index.js +2 -0
- package/dist/modules/account/aws-ini-account/index.js.map +1 -0
- package/dist/modules/account/aws-ini-account/index.schema.d.ts +30 -0
- package/dist/modules/account/aws-ini-account/index.schema.js +54 -0
- package/dist/modules/account/aws-ini-account/index.schema.js.map +1 -0
- package/dist/modules/account/aws-ini-account/models/account/actions/add-aws-ini-account.model.action.d.ts +16 -0
- package/dist/modules/account/aws-ini-account/models/account/actions/add-aws-ini-account.model.action.js +42 -0
- package/dist/modules/account/aws-ini-account/models/account/actions/add-aws-ini-account.model.action.js.map +1 -0
- package/dist/modules/account/aws-ini-account/models/account/aws-ini-account.model.d.ts +13 -0
- package/dist/modules/account/aws-ini-account/models/account/aws-ini-account.model.js +41 -0
- package/dist/modules/account/aws-ini-account/models/account/aws-ini-account.model.js.map +1 -0
- package/dist/modules/account/aws-ini-account/models/account/aws-ini-account.schema.d.ts +7 -0
- package/dist/modules/account/aws-ini-account/models/account/aws-ini-account.schema.js +24 -0
- package/dist/modules/account/aws-ini-account/models/account/aws-ini-account.schema.js.map +1 -0
- package/dist/modules/account/aws-ini-account/models/account/index.d.ts +2 -0
- package/dist/modules/account/aws-ini-account/models/account/index.js +3 -0
- package/dist/modules/account/aws-ini-account/models/account/index.js.map +1 -0
- package/dist/modules/account/aws-localstack-account/aws-localstack-account.module.d.ts +30 -0
- package/dist/modules/account/aws-localstack-account/aws-localstack-account.module.js +85 -0
- package/dist/modules/account/aws-localstack-account/aws-localstack-account.module.js.map +1 -0
- package/dist/modules/account/aws-localstack-account/index.d.ts +1 -0
- package/dist/modules/account/aws-localstack-account/index.js +2 -0
- package/dist/modules/account/aws-localstack-account/index.js.map +1 -0
- package/dist/modules/account/aws-localstack-account/index.schema.d.ts +31 -0
- package/dist/modules/account/aws-localstack-account/index.schema.js +61 -0
- package/dist/modules/account/aws-localstack-account/index.schema.js.map +1 -0
- package/dist/modules/account/aws-localstack-account/models/account/actions/add-aws-localstack-account.model.action.d.ts +16 -0
- package/dist/modules/account/aws-localstack-account/models/account/actions/add-aws-localstack-account.model.action.js +42 -0
- package/dist/modules/account/aws-localstack-account/models/account/actions/add-aws-localstack-account.model.action.js.map +1 -0
- package/dist/modules/account/aws-localstack-account/models/account/aws-localstack-account.model.d.ts +12 -0
- package/dist/modules/account/aws-localstack-account/models/account/aws-localstack-account.model.js +38 -0
- package/dist/modules/account/aws-localstack-account/models/account/aws-localstack-account.model.js.map +1 -0
- package/dist/modules/account/aws-localstack-account/models/account/aws-localstack-account.schema.d.ts +6 -0
- package/dist/modules/account/aws-localstack-account/models/account/aws-localstack-account.schema.js +7 -0
- package/dist/modules/account/aws-localstack-account/models/account/aws-localstack-account.schema.js.map +1 -0
- package/dist/modules/account/aws-localstack-account/models/account/index.d.ts +2 -0
- package/dist/modules/account/aws-localstack-account/models/account/index.js +3 -0
- package/dist/modules/account/aws-localstack-account/models/account/index.js.map +1 -0
- package/dist/modules/account/aws-moto-account/aws-moto-account.module.d.ts +28 -0
- package/dist/modules/account/aws-moto-account/aws-moto-account.module.js +69 -0
- package/dist/modules/account/aws-moto-account/aws-moto-account.module.js.map +1 -0
- package/dist/modules/account/aws-moto-account/index.d.ts +1 -0
- package/dist/modules/account/aws-moto-account/index.js +2 -0
- package/dist/modules/account/aws-moto-account/index.js.map +1 -0
- package/dist/modules/account/aws-moto-account/index.schema.d.ts +25 -0
- package/dist/modules/account/aws-moto-account/index.schema.js +48 -0
- package/dist/modules/account/aws-moto-account/index.schema.js.map +1 -0
- package/dist/modules/account/aws-moto-account/models/account/actions/add-aws-moto-account.model.action.d.ts +16 -0
- package/dist/modules/account/aws-moto-account/models/account/actions/add-aws-moto-account.model.action.js +42 -0
- package/dist/modules/account/aws-moto-account/models/account/actions/add-aws-moto-account.model.action.js.map +1 -0
- package/dist/modules/account/aws-moto-account/models/account/aws-moto-account.model.d.ts +12 -0
- package/dist/modules/account/aws-moto-account/models/account/aws-moto-account.model.js +38 -0
- package/dist/modules/account/aws-moto-account/models/account/aws-moto-account.model.js.map +1 -0
- package/dist/modules/account/aws-moto-account/models/account/aws-moto-account.schema.d.ts +6 -0
- package/dist/modules/account/aws-moto-account/models/account/aws-moto-account.schema.js +7 -0
- package/dist/modules/account/aws-moto-account/models/account/aws-moto-account.schema.js.map +1 -0
- package/dist/modules/account/aws-moto-account/models/account/index.d.ts +2 -0
- package/dist/modules/account/aws-moto-account/models/account/index.js +3 -0
- package/dist/modules/account/aws-moto-account/models/account/index.js.map +1 -0
- package/dist/modules/app/simple-app/index.d.ts +2 -0
- package/dist/modules/app/simple-app/index.js +3 -0
- package/dist/modules/app/simple-app/index.js.map +1 -0
- package/dist/modules/app/simple-app/index.schema.d.ts +19 -0
- package/dist/modules/app/simple-app/index.schema.js +36 -0
- package/dist/modules/app/simple-app/index.schema.js.map +1 -0
- package/dist/modules/app/simple-app/models/app/actions/add-simple-app.model.action.d.ts +16 -0
- package/dist/modules/app/simple-app/models/app/actions/add-simple-app.model.action.js +41 -0
- package/dist/modules/app/simple-app/models/app/actions/add-simple-app.model.action.js.map +1 -0
- package/dist/modules/app/simple-app/models/app/index.d.ts +1 -0
- package/dist/modules/app/simple-app/models/app/index.js +2 -0
- package/dist/modules/app/simple-app/models/app/index.js.map +1 -0
- package/dist/modules/app/simple-app/simple-app.module.d.ts +23 -0
- package/dist/modules/app/simple-app/simple-app.module.js +36 -0
- package/dist/modules/app/simple-app/simple-app.module.js.map +1 -0
- package/dist/modules/deployment/aws-ecs-deployment/aws-ecs-deployment.module.d.ts +38 -0
- package/dist/modules/deployment/aws-ecs-deployment/aws-ecs-deployment.module.js +58 -0
- package/dist/modules/deployment/aws-ecs-deployment/aws-ecs-deployment.module.js.map +1 -0
- package/dist/modules/deployment/aws-ecs-deployment/index.d.ts +1 -0
- package/dist/modules/deployment/aws-ecs-deployment/index.js +2 -0
- package/dist/modules/deployment/aws-ecs-deployment/index.js.map +1 -0
- package/dist/modules/deployment/aws-ecs-deployment/index.schema.d.ts +33 -0
- package/dist/modules/deployment/aws-ecs-deployment/index.schema.js +71 -0
- package/dist/modules/deployment/aws-ecs-deployment/index.schema.js.map +1 -0
- package/dist/modules/deployment/aws-ecs-deployment/models/deployment/actions/add-aws-ecs-deployment.model.action.d.ts +16 -0
- package/dist/modules/deployment/aws-ecs-deployment/models/deployment/actions/add-aws-ecs-deployment.model.action.js +42 -0
- package/dist/modules/deployment/aws-ecs-deployment/models/deployment/actions/add-aws-ecs-deployment.model.action.js.map +1 -0
- package/dist/modules/deployment/aws-ecs-deployment/models/deployment/aws-ecs-deployment.model.d.ts +8 -0
- package/dist/modules/deployment/aws-ecs-deployment/models/deployment/aws-ecs-deployment.model.js +22 -0
- package/dist/modules/deployment/aws-ecs-deployment/models/deployment/aws-ecs-deployment.model.js.map +1 -0
- package/dist/modules/deployment/aws-ecs-deployment/models/deployment/aws-ecs-deployment.schema.d.ts +6 -0
- package/dist/modules/deployment/aws-ecs-deployment/models/deployment/aws-ecs-deployment.schema.js +7 -0
- package/dist/modules/deployment/aws-ecs-deployment/models/deployment/aws-ecs-deployment.schema.js.map +1 -0
- package/dist/modules/deployment/aws-ecs-deployment/models/deployment/index.d.ts +2 -0
- package/dist/modules/deployment/aws-ecs-deployment/models/deployment/index.js +3 -0
- package/dist/modules/deployment/aws-ecs-deployment/models/deployment/index.js.map +1 -0
- package/dist/modules/environment/aws-ecs-environment/aws-ecs-environment.module.d.ts +40 -0
- package/dist/modules/environment/aws-ecs-environment/aws-ecs-environment.module.js +77 -0
- package/dist/modules/environment/aws-ecs-environment/aws-ecs-environment.module.js.map +1 -0
- package/dist/modules/environment/aws-ecs-environment/index.d.ts +1 -0
- package/dist/modules/environment/aws-ecs-environment/index.js +2 -0
- package/dist/modules/environment/aws-ecs-environment/index.js.map +1 -0
- package/dist/modules/environment/aws-ecs-environment/index.schema.d.ts +30 -0
- package/dist/modules/environment/aws-ecs-environment/index.schema.js +76 -0
- package/dist/modules/environment/aws-ecs-environment/index.schema.js.map +1 -0
- package/dist/modules/environment/aws-ecs-environment/models/environment/actions/add-aws-ecs-environment.model.action.d.ts +16 -0
- package/dist/modules/environment/aws-ecs-environment/models/environment/actions/add-aws-ecs-environment.model.action.js +50 -0
- package/dist/modules/environment/aws-ecs-environment/models/environment/actions/add-aws-ecs-environment.model.action.js.map +1 -0
- package/dist/modules/environment/aws-ecs-environment/models/environment/aws-ecs-environment.model.d.ts +8 -0
- package/dist/modules/environment/aws-ecs-environment/models/environment/aws-ecs-environment.model.js +26 -0
- package/dist/modules/environment/aws-ecs-environment/models/environment/aws-ecs-environment.model.js.map +1 -0
- package/dist/modules/environment/aws-ecs-environment/models/environment/aws-ecs-environment.schema.d.ts +6 -0
- package/dist/modules/environment/aws-ecs-environment/models/environment/aws-ecs-environment.schema.js +7 -0
- package/dist/modules/environment/aws-ecs-environment/models/environment/aws-ecs-environment.schema.js.map +1 -0
- package/dist/modules/environment/aws-ecs-environment/models/environment/index.d.ts +2 -0
- package/dist/modules/environment/aws-ecs-environment/models/environment/index.js +3 -0
- package/dist/modules/environment/aws-ecs-environment/models/environment/index.js.map +1 -0
- package/dist/modules/execution/aws-ecs-execution/aws-ecs-execution.module.d.ts +68 -0
- package/dist/modules/execution/aws-ecs-execution/aws-ecs-execution.module.js +243 -0
- package/dist/modules/execution/aws-ecs-execution/aws-ecs-execution.module.js.map +1 -0
- package/dist/modules/execution/aws-ecs-execution/index.d.ts +1 -0
- package/dist/modules/execution/aws-ecs-execution/index.js +2 -0
- package/dist/modules/execution/aws-ecs-execution/index.js.map +1 -0
- package/dist/modules/execution/aws-ecs-execution/index.schema.d.ts +124 -0
- package/dist/modules/execution/aws-ecs-execution/index.schema.js +280 -0
- package/dist/modules/execution/aws-ecs-execution/index.schema.js.map +1 -0
- package/dist/modules/execution/aws-ecs-execution/models/execution/actions/add-aws-ecs-execution.model.action.d.ts +16 -0
- package/dist/modules/execution/aws-ecs-execution/models/execution/actions/add-aws-ecs-execution.model.action.js +42 -0
- package/dist/modules/execution/aws-ecs-execution/models/execution/actions/add-aws-ecs-execution.model.action.js.map +1 -0
- package/dist/modules/execution/aws-ecs-execution/models/execution/aws-ecs-execution.model.d.ts +20 -0
- package/dist/modules/execution/aws-ecs-execution/models/execution/aws-ecs-execution.model.js +85 -0
- package/dist/modules/execution/aws-ecs-execution/models/execution/aws-ecs-execution.model.js.map +1 -0
- package/dist/modules/execution/aws-ecs-execution/models/execution/aws-ecs-execution.schema.d.ts +8 -0
- package/dist/modules/execution/aws-ecs-execution/models/execution/aws-ecs-execution.schema.js +25 -0
- package/dist/modules/execution/aws-ecs-execution/models/execution/aws-ecs-execution.schema.js.map +1 -0
- package/dist/modules/execution/aws-ecs-execution/models/execution/index.d.ts +2 -0
- package/dist/modules/execution/aws-ecs-execution/models/execution/index.js +3 -0
- package/dist/modules/execution/aws-ecs-execution/models/execution/index.js.map +1 -0
- package/dist/modules/execution/aws-ecs-execution/overlays/aws-ecs-execution/actions/add-aws-ecs-execution.overlay.action.d.ts +17 -0
- package/dist/modules/execution/aws-ecs-execution/overlays/aws-ecs-execution/actions/add-aws-ecs-execution.overlay.action.js +145 -0
- package/dist/modules/execution/aws-ecs-execution/overlays/aws-ecs-execution/actions/add-aws-ecs-execution.overlay.action.js.map +1 -0
- package/dist/modules/execution/aws-ecs-execution/overlays/aws-ecs-execution/aws-ecs-execution.overlay.d.ts +28 -0
- package/dist/modules/execution/aws-ecs-execution/overlays/aws-ecs-execution/aws-ecs-execution.overlay.js +28 -0
- package/dist/modules/execution/aws-ecs-execution/overlays/aws-ecs-execution/aws-ecs-execution.overlay.js.map +1 -0
- package/dist/modules/execution/aws-ecs-execution/overlays/aws-ecs-execution/aws-ecs-execution.schema.d.ts +17 -0
- package/dist/modules/execution/aws-ecs-execution/overlays/aws-ecs-execution/aws-ecs-execution.schema.js +44 -0
- package/dist/modules/execution/aws-ecs-execution/overlays/aws-ecs-execution/aws-ecs-execution.schema.js.map +1 -0
- package/dist/modules/execution/aws-ecs-execution/overlays/aws-ecs-execution/index.d.ts +2 -0
- package/dist/modules/execution/aws-ecs-execution/overlays/aws-ecs-execution/index.js +3 -0
- package/dist/modules/execution/aws-ecs-execution/overlays/aws-ecs-execution/index.js.map +1 -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.d.ts +17 -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 +66 -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 -0
- package/dist/modules/execution/aws-ecs-execution/overlays/aws-ecs-execution-server-security-group/aws-ecs-execution-server-security-group.overlay.d.ts +13 -0
- package/dist/modules/execution/aws-ecs-execution/overlays/aws-ecs-execution-server-security-group/aws-ecs-execution-server-security-group.overlay.js +28 -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 -0
- package/dist/modules/execution/aws-ecs-execution/overlays/aws-ecs-execution-server-security-group/aws-ecs-execution-server-security-group.schema.d.ts +7 -0
- package/dist/modules/execution/aws-ecs-execution/overlays/aws-ecs-execution-server-security-group/aws-ecs-execution-server-security-group.schema.js +11 -0
- package/dist/modules/execution/aws-ecs-execution/overlays/aws-ecs-execution-server-security-group/aws-ecs-execution-server-security-group.schema.js.map +1 -0
- package/dist/modules/execution/aws-ecs-execution/overlays/aws-ecs-execution-server-security-group/index.d.ts +2 -0
- package/dist/modules/execution/aws-ecs-execution/overlays/aws-ecs-execution-server-security-group/index.js +3 -0
- package/dist/modules/execution/aws-ecs-execution/overlays/aws-ecs-execution-server-security-group/index.js.map +1 -0
- package/dist/modules/filesystem/aws-efs-filesystem/aws-efs-filesystem.module.d.ts +36 -0
- package/dist/modules/filesystem/aws-efs-filesystem/aws-efs-filesystem.module.js +66 -0
- package/dist/modules/filesystem/aws-efs-filesystem/aws-efs-filesystem.module.js.map +1 -0
- package/dist/modules/filesystem/aws-efs-filesystem/index.d.ts +1 -0
- package/dist/modules/filesystem/aws-efs-filesystem/index.js +2 -0
- package/dist/modules/filesystem/aws-efs-filesystem/index.js.map +1 -0
- package/dist/modules/filesystem/aws-efs-filesystem/index.schema.d.ts +24 -0
- package/dist/modules/filesystem/aws-efs-filesystem/index.schema.js +57 -0
- package/dist/modules/filesystem/aws-efs-filesystem/index.schema.js.map +1 -0
- package/dist/modules/filesystem/aws-efs-filesystem/models/filesystem/actions/add-aws-efs-filesystem.model.action.d.ts +17 -0
- package/dist/modules/filesystem/aws-efs-filesystem/models/filesystem/actions/add-aws-efs-filesystem.model.action.js +49 -0
- package/dist/modules/filesystem/aws-efs-filesystem/models/filesystem/actions/add-aws-efs-filesystem.model.action.js.map +1 -0
- package/dist/modules/filesystem/aws-efs-filesystem/models/filesystem/aws-efs-filesystem.model.d.ts +8 -0
- package/dist/modules/filesystem/aws-efs-filesystem/models/filesystem/aws-efs-filesystem.model.js +22 -0
- package/dist/modules/filesystem/aws-efs-filesystem/models/filesystem/aws-efs-filesystem.model.js.map +1 -0
- package/dist/modules/filesystem/aws-efs-filesystem/models/filesystem/aws-efs-filesystem.schema.d.ts +6 -0
- package/dist/modules/filesystem/aws-efs-filesystem/models/filesystem/aws-efs-filesystem.schema.js +7 -0
- package/dist/modules/filesystem/aws-efs-filesystem/models/filesystem/aws-efs-filesystem.schema.js.map +1 -0
- package/dist/modules/filesystem/aws-efs-filesystem/models/filesystem/index.d.ts +2 -0
- package/dist/modules/filesystem/aws-efs-filesystem/models/filesystem/index.js +3 -0
- package/dist/modules/filesystem/aws-efs-filesystem/models/filesystem/index.js.map +1 -0
- package/dist/modules/image/aws-ecr-image/aws-ecr-image.module.d.ts +48 -0
- package/dist/modules/image/aws-ecr-image/aws-ecr-image.module.js +103 -0
- package/dist/modules/image/aws-ecr-image/aws-ecr-image.module.js.map +1 -0
- package/dist/modules/image/aws-ecr-image/index.d.ts +1 -0
- package/dist/modules/image/aws-ecr-image/index.js +2 -0
- package/dist/modules/image/aws-ecr-image/index.js.map +1 -0
- package/dist/modules/image/aws-ecr-image/index.schema.d.ts +30 -0
- package/dist/modules/image/aws-ecr-image/index.schema.js +71 -0
- package/dist/modules/image/aws-ecr-image/index.schema.js.map +1 -0
- package/dist/modules/image/aws-ecr-image/models/image/actions/add-aws-ecr-image.model.action.d.ts +17 -0
- package/dist/modules/image/aws-ecr-image/models/image/actions/add-aws-ecr-image.model.action.js +55 -0
- package/dist/modules/image/aws-ecr-image/models/image/actions/add-aws-ecr-image.model.action.js.map +1 -0
- package/dist/modules/image/aws-ecr-image/models/image/aws-ecr-image.model.d.ts +8 -0
- package/dist/modules/image/aws-ecr-image/models/image/aws-ecr-image.model.js +22 -0
- package/dist/modules/image/aws-ecr-image/models/image/aws-ecr-image.model.js.map +1 -0
- package/dist/modules/image/aws-ecr-image/models/image/aws-ecr-image.schema.d.ts +6 -0
- package/dist/modules/image/aws-ecr-image/models/image/aws-ecr-image.schema.js +7 -0
- package/dist/modules/image/aws-ecr-image/models/image/aws-ecr-image.schema.js.map +1 -0
- package/dist/modules/image/aws-ecr-image/models/image/index.d.ts +2 -0
- package/dist/modules/image/aws-ecr-image/models/image/index.js +3 -0
- package/dist/modules/image/aws-ecr-image/models/image/index.js.map +1 -0
- package/dist/modules/region/aws-multi-az-region/aws-multi-az-region.module.d.ts +32 -0
- package/dist/modules/region/aws-multi-az-region/aws-multi-az-region.module.js +76 -0
- package/dist/modules/region/aws-multi-az-region/aws-multi-az-region.module.js.map +1 -0
- package/dist/modules/region/aws-multi-az-region/index.d.ts +1 -0
- package/dist/modules/region/aws-multi-az-region/index.js +2 -0
- package/dist/modules/region/aws-multi-az-region/index.js.map +1 -0
- package/dist/modules/region/aws-multi-az-region/index.schema.d.ts +34 -0
- package/dist/modules/region/aws-multi-az-region/index.schema.js +83 -0
- package/dist/modules/region/aws-multi-az-region/index.schema.js.map +1 -0
- package/dist/modules/region/aws-multi-az-region/models/region/actions/add-aws-multi-az-region.model.action.d.ts +17 -0
- package/dist/modules/region/aws-multi-az-region/models/region/actions/add-aws-multi-az-region.model.action.js +60 -0
- package/dist/modules/region/aws-multi-az-region/models/region/actions/add-aws-multi-az-region.model.action.js.map +1 -0
- package/dist/modules/region/aws-multi-az-region/models/region/aws-multi-az-region.model.d.ts +34 -0
- package/dist/modules/region/aws-multi-az-region/models/region/aws-multi-az-region.model.js +81 -0
- package/dist/modules/region/aws-multi-az-region/models/region/aws-multi-az-region.model.js.map +1 -0
- package/dist/modules/region/aws-multi-az-region/models/region/aws-multi-az-region.schema.d.ts +8 -0
- package/dist/modules/region/aws-multi-az-region/models/region/aws-multi-az-region.schema.js +32 -0
- package/dist/modules/region/aws-multi-az-region/models/region/aws-multi-az-region.schema.js.map +1 -0
- package/dist/modules/region/aws-multi-az-region/models/region/index.d.ts +2 -0
- package/dist/modules/region/aws-multi-az-region/models/region/index.js +3 -0
- package/dist/modules/region/aws-multi-az-region/models/region/index.js.map +1 -0
- package/dist/modules/region/aws-single-az-region/aws-single-az-region.module.d.ts +32 -0
- package/dist/modules/region/aws-single-az-region/aws-single-az-region.module.js +72 -0
- package/dist/modules/region/aws-single-az-region/aws-single-az-region.module.js.map +1 -0
- package/dist/modules/region/aws-single-az-region/index.d.ts +1 -0
- package/dist/modules/region/aws-single-az-region/index.js +2 -0
- package/dist/modules/region/aws-single-az-region/index.js.map +1 -0
- package/dist/modules/region/aws-single-az-region/index.schema.d.ts +35 -0
- package/dist/modules/region/aws-single-az-region/index.schema.js +76 -0
- package/dist/modules/region/aws-single-az-region/index.schema.js.map +1 -0
- package/dist/modules/region/aws-single-az-region/models/region/actions/add-aws-single-az-region.model.action.d.ts +17 -0
- package/dist/modules/region/aws-single-az-region/models/region/actions/add-aws-single-az-region.model.action.js +60 -0
- package/dist/modules/region/aws-single-az-region/models/region/actions/add-aws-single-az-region.model.action.js.map +1 -0
- package/dist/modules/region/aws-single-az-region/models/region/aws-single-az-region.model.d.ts +34 -0
- package/dist/modules/region/aws-single-az-region/models/region/aws-single-az-region.model.js +69 -0
- package/dist/modules/region/aws-single-az-region/models/region/aws-single-az-region.model.js.map +1 -0
- package/dist/modules/region/aws-single-az-region/models/region/aws-single-az-region.schema.d.ts +8 -0
- package/dist/modules/region/aws-single-az-region/models/region/aws-single-az-region.schema.js +32 -0
- package/dist/modules/region/aws-single-az-region/models/region/aws-single-az-region.schema.js.map +1 -0
- package/dist/modules/region/aws-single-az-region/models/region/index.d.ts +2 -0
- package/dist/modules/region/aws-single-az-region/models/region/index.js +3 -0
- package/dist/modules/region/aws-single-az-region/models/region/index.js.map +1 -0
- package/dist/modules/server/aws-ecs-server/aws-ecs-server.module.d.ts +52 -0
- package/dist/modules/server/aws-ecs-server/aws-ecs-server.module.js +142 -0
- package/dist/modules/server/aws-ecs-server/aws-ecs-server.module.js.map +1 -0
- package/dist/modules/server/aws-ecs-server/index.d.ts +1 -0
- package/dist/modules/server/aws-ecs-server/index.js +2 -0
- package/dist/modules/server/aws-ecs-server/index.js.map +1 -0
- package/dist/modules/server/aws-ecs-server/index.schema.d.ts +77 -0
- package/dist/modules/server/aws-ecs-server/index.schema.js +147 -0
- package/dist/modules/server/aws-ecs-server/index.schema.js.map +1 -0
- package/dist/modules/server/aws-ecs-server/models/server/actions/add-aws-ecs-server.model.action.d.ts +16 -0
- package/dist/modules/server/aws-ecs-server/models/server/actions/add-aws-ecs-server.model.action.js +62 -0
- package/dist/modules/server/aws-ecs-server/models/server/actions/add-aws-ecs-server.model.action.js.map +1 -0
- package/dist/modules/server/aws-ecs-server/models/server/aws-ecs-server.model.d.ts +8 -0
- package/dist/modules/server/aws-ecs-server/models/server/aws-ecs-server.model.js +22 -0
- package/dist/modules/server/aws-ecs-server/models/server/aws-ecs-server.model.js.map +1 -0
- package/dist/modules/server/aws-ecs-server/models/server/aws-ecs-server.schema.d.ts +6 -0
- package/dist/modules/server/aws-ecs-server/models/server/aws-ecs-server.schema.js +7 -0
- package/dist/modules/server/aws-ecs-server/models/server/aws-ecs-server.schema.js.map +1 -0
- package/dist/modules/server/aws-ecs-server/models/server/index.d.ts +2 -0
- package/dist/modules/server/aws-ecs-server/models/server/index.js +3 -0
- package/dist/modules/server/aws-ecs-server/models/server/index.js.map +1 -0
- package/dist/modules/server/aws-ecs-server/overlays/aws-ecs-server-s3-access/actions/add-aws-ecs-server-s3-access.overlay.action.d.ts +17 -0
- package/dist/modules/server/aws-ecs-server/overlays/aws-ecs-server-s3-access/actions/add-aws-ecs-server-s3-access.overlay.action.js +64 -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 -0
- package/dist/modules/server/aws-ecs-server/overlays/aws-ecs-server-s3-access/aws-ecs-server-s3-access.overlay.d.ts +13 -0
- package/dist/modules/server/aws-ecs-server/overlays/aws-ecs-server-s3-access/aws-ecs-server-s3-access.overlay.js +28 -0
- package/dist/modules/server/aws-ecs-server/overlays/aws-ecs-server-s3-access/aws-ecs-server-s3-access.overlay.js.map +1 -0
- package/dist/modules/server/aws-ecs-server/overlays/aws-ecs-server-s3-access/aws-ecs-server-s3-access.schema.d.ts +14 -0
- package/dist/modules/server/aws-ecs-server/overlays/aws-ecs-server-s3-access/aws-ecs-server-s3-access.schema.js +34 -0
- package/dist/modules/server/aws-ecs-server/overlays/aws-ecs-server-s3-access/aws-ecs-server-s3-access.schema.js.map +1 -0
- package/dist/modules/server/aws-ecs-server/overlays/aws-ecs-server-s3-access/index.d.ts +2 -0
- package/dist/modules/server/aws-ecs-server/overlays/aws-ecs-server-s3-access/index.js +3 -0
- package/dist/modules/server/aws-ecs-server/overlays/aws-ecs-server-s3-access/index.js.map +1 -0
- package/dist/modules/service/aws-ecs-alb-service/aws-ecs-alb-service.module.d.ts +63 -0
- package/dist/modules/service/aws-ecs-alb-service/aws-ecs-alb-service.module.js +126 -0
- package/dist/modules/service/aws-ecs-alb-service/aws-ecs-alb-service.module.js.map +1 -0
- package/dist/modules/service/aws-ecs-alb-service/index.d.ts +1 -0
- package/dist/modules/service/aws-ecs-alb-service/index.js +2 -0
- package/dist/modules/service/aws-ecs-alb-service/index.js.map +1 -0
- package/dist/modules/service/aws-ecs-alb-service/index.schema.d.ts +112 -0
- package/dist/modules/service/aws-ecs-alb-service/index.schema.js +327 -0
- package/dist/modules/service/aws-ecs-alb-service/index.schema.js.map +1 -0
- package/dist/modules/service/aws-ecs-alb-service/models/service/actions/add-aws-ecs-alb-service.model.action.d.ts +16 -0
- package/dist/modules/service/aws-ecs-alb-service/models/service/actions/add-aws-ecs-alb-service.model.action.js +101 -0
- package/dist/modules/service/aws-ecs-alb-service/models/service/actions/add-aws-ecs-alb-service.model.action.js.map +1 -0
- package/dist/modules/service/aws-ecs-alb-service/models/service/aws-ecs-alb-service.model.d.ts +12 -0
- package/dist/modules/service/aws-ecs-alb-service/models/service/aws-ecs-alb-service.model.js +56 -0
- package/dist/modules/service/aws-ecs-alb-service/models/service/aws-ecs-alb-service.model.js.map +1 -0
- package/dist/modules/service/aws-ecs-alb-service/models/service/aws-ecs-alb-service.schema.d.ts +8 -0
- package/dist/modules/service/aws-ecs-alb-service/models/service/aws-ecs-alb-service.schema.js +25 -0
- package/dist/modules/service/aws-ecs-alb-service/models/service/aws-ecs-alb-service.schema.js.map +1 -0
- package/dist/modules/service/aws-ecs-alb-service/models/service/index.d.ts +2 -0
- package/dist/modules/service/aws-ecs-alb-service/models/service/index.js +3 -0
- package/dist/modules/service/aws-ecs-alb-service/models/service/index.js.map +1 -0
- package/dist/modules/service/aws-ecs-alb-service/overlays/aws-ecs-alb-service/actions/add-aws-ecs-alb-service.overlay.action.d.ts +17 -0
- package/dist/modules/service/aws-ecs-alb-service/overlays/aws-ecs-alb-service/actions/add-aws-ecs-alb-service.overlay.action.js +100 -0
- package/dist/modules/service/aws-ecs-alb-service/overlays/aws-ecs-alb-service/actions/add-aws-ecs-alb-service.overlay.action.js.map +1 -0
- package/dist/modules/service/aws-ecs-alb-service/overlays/aws-ecs-alb-service/aws-ecs-alb-service.overlay.d.ts +12 -0
- package/dist/modules/service/aws-ecs-alb-service/overlays/aws-ecs-alb-service/aws-ecs-alb-service.overlay.js +29 -0
- package/dist/modules/service/aws-ecs-alb-service/overlays/aws-ecs-alb-service/aws-ecs-alb-service.overlay.js.map +1 -0
- package/dist/modules/service/aws-ecs-alb-service/overlays/aws-ecs-alb-service/aws-ecs-alb-service.schema.d.ts +7 -0
- package/dist/modules/service/aws-ecs-alb-service/overlays/aws-ecs-alb-service/aws-ecs-alb-service.schema.js +11 -0
- package/dist/modules/service/aws-ecs-alb-service/overlays/aws-ecs-alb-service/aws-ecs-alb-service.schema.js.map +1 -0
- package/dist/modules/service/aws-ecs-alb-service/overlays/aws-ecs-alb-service/index.d.ts +2 -0
- package/dist/modules/service/aws-ecs-alb-service/overlays/aws-ecs-alb-service/index.js +3 -0
- package/dist/modules/service/aws-ecs-alb-service/overlays/aws-ecs-alb-service/index.js.map +1 -0
- package/dist/modules/service/aws-s3-static-website-service/aws-s3-static-website-service.module.d.ts +48 -0
- package/dist/modules/service/aws-s3-static-website-service/aws-s3-static-website-service.module.js +96 -0
- package/dist/modules/service/aws-s3-static-website-service/aws-s3-static-website-service.module.js.map +1 -0
- package/dist/modules/service/aws-s3-static-website-service/index.d.ts +1 -0
- package/dist/modules/service/aws-s3-static-website-service/index.js +2 -0
- package/dist/modules/service/aws-s3-static-website-service/index.js.map +1 -0
- package/dist/modules/service/aws-s3-static-website-service/index.schema.d.ts +55 -0
- package/dist/modules/service/aws-s3-static-website-service/index.schema.js +139 -0
- package/dist/modules/service/aws-s3-static-website-service/index.schema.js.map +1 -0
- package/dist/modules/service/aws-s3-static-website-service/models/service/actions/add-aws-s3-static-website-service.model.action.d.ts +17 -0
- package/dist/modules/service/aws-s3-static-website-service/models/service/actions/add-aws-s3-static-website-service.model.action.js +54 -0
- package/dist/modules/service/aws-s3-static-website-service/models/service/actions/add-aws-s3-static-website-service.model.action.js.map +1 -0
- package/dist/modules/service/aws-s3-static-website-service/models/service/actions/update-aws-s3-static-website-service-source-paths.model.action.d.ts +17 -0
- package/dist/modules/service/aws-s3-static-website-service/models/service/actions/update-aws-s3-static-website-service-source-paths.model.action.js +46 -0
- 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 -0
- package/dist/modules/service/aws-s3-static-website-service/models/service/aws-s3-static-website-service.model.d.ts +31 -0
- package/dist/modules/service/aws-s3-static-website-service/models/service/aws-s3-static-website-service.model.js +180 -0
- package/dist/modules/service/aws-s3-static-website-service/models/service/aws-s3-static-website-service.model.js.map +1 -0
- package/dist/modules/service/aws-s3-static-website-service/models/service/aws-s3-static-website-service.schema.d.ts +17 -0
- package/dist/modules/service/aws-s3-static-website-service/models/service/aws-s3-static-website-service.schema.js +40 -0
- package/dist/modules/service/aws-s3-static-website-service/models/service/aws-s3-static-website-service.schema.js.map +1 -0
- package/dist/modules/service/aws-s3-static-website-service/models/service/index.d.ts +3 -0
- package/dist/modules/service/aws-s3-static-website-service/models/service/index.js +4 -0
- package/dist/modules/service/aws-s3-static-website-service/models/service/index.js.map +1 -0
- package/dist/modules/service/aws-s3-storage-service/aws-s3-storage-service.module.d.ts +37 -0
- package/dist/modules/service/aws-s3-storage-service/aws-s3-storage-service.module.js +72 -0
- package/dist/modules/service/aws-s3-storage-service/aws-s3-storage-service.module.js.map +1 -0
- package/dist/modules/service/aws-s3-storage-service/index.d.ts +1 -0
- package/dist/modules/service/aws-s3-storage-service/index.js +2 -0
- package/dist/modules/service/aws-s3-storage-service/index.js.map +1 -0
- package/dist/modules/service/aws-s3-storage-service/index.schema.d.ts +31 -0
- package/dist/modules/service/aws-s3-storage-service/index.schema.js +71 -0
- package/dist/modules/service/aws-s3-storage-service/index.schema.js.map +1 -0
- package/dist/modules/service/aws-s3-storage-service/models/service/actions/add-aws-s3-storage-service.model.action.d.ts +17 -0
- package/dist/modules/service/aws-s3-storage-service/models/service/actions/add-aws-s3-storage-service.model.action.js +53 -0
- package/dist/modules/service/aws-s3-storage-service/models/service/actions/add-aws-s3-storage-service.model.action.js.map +1 -0
- package/dist/modules/service/aws-s3-storage-service/models/service/aws-s3-storage-service.model.d.ts +16 -0
- package/dist/modules/service/aws-s3-storage-service/models/service/aws-s3-storage-service.model.js +58 -0
- package/dist/modules/service/aws-s3-storage-service/models/service/aws-s3-storage-service.model.js.map +1 -0
- package/dist/modules/service/aws-s3-storage-service/models/service/aws-s3-storage-service.schema.d.ts +11 -0
- package/dist/modules/service/aws-s3-storage-service/models/service/aws-s3-storage-service.schema.js +32 -0
- package/dist/modules/service/aws-s3-storage-service/models/service/aws-s3-storage-service.schema.js.map +1 -0
- package/dist/modules/service/aws-s3-storage-service/models/service/index.d.ts +2 -0
- package/dist/modules/service/aws-s3-storage-service/models/service/index.js +3 -0
- package/dist/modules/service/aws-s3-storage-service/models/service/index.js.map +1 -0
- package/dist/modules/subnet/aws-simple-subnet/aws-simple-subnet.module.d.ts +55 -0
- package/dist/modules/subnet/aws-simple-subnet/aws-simple-subnet.module.js +137 -0
- package/dist/modules/subnet/aws-simple-subnet/aws-simple-subnet.module.js.map +1 -0
- package/dist/modules/subnet/aws-simple-subnet/index.d.ts +1 -0
- package/dist/modules/subnet/aws-simple-subnet/index.js +2 -0
- package/dist/modules/subnet/aws-simple-subnet/index.js.map +1 -0
- package/dist/modules/subnet/aws-simple-subnet/index.schema.d.ts +62 -0
- package/dist/modules/subnet/aws-simple-subnet/index.schema.js +151 -0
- package/dist/modules/subnet/aws-simple-subnet/index.schema.js.map +1 -0
- package/dist/modules/subnet/aws-simple-subnet/models/subnet/actions/add-aws-simple-subnet.model.action.d.ts +17 -0
- package/dist/modules/subnet/aws-simple-subnet/models/subnet/actions/add-aws-simple-subnet.model.action.js +180 -0
- package/dist/modules/subnet/aws-simple-subnet/models/subnet/actions/add-aws-simple-subnet.model.action.js.map +1 -0
- package/dist/modules/subnet/aws-simple-subnet/models/subnet/actions/update-aws-simple-subnet-association.model.action.d.ts +17 -0
- package/dist/modules/subnet/aws-simple-subnet/models/subnet/actions/update-aws-simple-subnet-association.model.action.js +129 -0
- package/dist/modules/subnet/aws-simple-subnet/models/subnet/actions/update-aws-simple-subnet-association.model.action.js.map +1 -0
- package/dist/modules/subnet/aws-simple-subnet/models/subnet/aws-simple-subnet.model.d.ts +11 -0
- package/dist/modules/subnet/aws-simple-subnet/models/subnet/aws-simple-subnet.model.js +39 -0
- package/dist/modules/subnet/aws-simple-subnet/models/subnet/aws-simple-subnet.model.js.map +1 -0
- package/dist/modules/subnet/aws-simple-subnet/models/subnet/aws-simple-subnet.schema.d.ts +9 -0
- package/dist/modules/subnet/aws-simple-subnet/models/subnet/aws-simple-subnet.schema.js +27 -0
- package/dist/modules/subnet/aws-simple-subnet/models/subnet/aws-simple-subnet.schema.js.map +1 -0
- package/dist/modules/subnet/aws-simple-subnet/models/subnet/index.d.ts +3 -0
- package/dist/modules/subnet/aws-simple-subnet/models/subnet/index.js +4 -0
- package/dist/modules/subnet/aws-simple-subnet/models/subnet/index.js.map +1 -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.d.ts +17 -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 +78 -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 -0
- package/dist/modules/subnet/aws-simple-subnet/overlays/aws-simple-subnet-local-filesystem-mount/aws-simple-subnet-local-filesystem-mount.overlay.d.ts +12 -0
- package/dist/modules/subnet/aws-simple-subnet/overlays/aws-simple-subnet-local-filesystem-mount/aws-simple-subnet-local-filesystem-mount.overlay.js +28 -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 -0
- package/dist/modules/subnet/aws-simple-subnet/overlays/aws-simple-subnet-local-filesystem-mount/aws-simple-subnet-local-filesystem-mount.schema.d.ts +12 -0
- package/dist/modules/subnet/aws-simple-subnet/overlays/aws-simple-subnet-local-filesystem-mount/aws-simple-subnet-local-filesystem-mount.schema.js +32 -0
- package/dist/modules/subnet/aws-simple-subnet/overlays/aws-simple-subnet-local-filesystem-mount/aws-simple-subnet-local-filesystem-mount.schema.js.map +1 -0
- package/dist/modules/subnet/aws-simple-subnet/overlays/aws-simple-subnet-local-filesystem-mount/index.d.ts +2 -0
- package/dist/modules/subnet/aws-simple-subnet/overlays/aws-simple-subnet-local-filesystem-mount/index.js +3 -0
- package/dist/modules/subnet/aws-simple-subnet/overlays/aws-simple-subnet-local-filesystem-mount/index.js.map +1 -0
- package/dist/resources/alb/actions/add-alb.resource.action.d.ts +20 -0
- package/dist/resources/alb/actions/add-alb.resource.action.js +97 -0
- package/dist/resources/alb/actions/add-alb.resource.action.js.map +1 -0
- package/dist/resources/alb/actions/delete-alb.resource.action.d.ts +19 -0
- package/dist/resources/alb/actions/delete-alb.resource.action.js +114 -0
- package/dist/resources/alb/actions/delete-alb.resource.action.js.map +1 -0
- package/dist/resources/alb/actions/update-alb-tags.resource.action.d.ts +19 -0
- package/dist/resources/alb/actions/update-alb-tags.resource.action.js +58 -0
- package/dist/resources/alb/actions/update-alb-tags.resource.action.js.map +1 -0
- package/dist/resources/alb/alb.resource.d.ts +22 -0
- package/dist/resources/alb/alb.resource.js +25 -0
- package/dist/resources/alb/alb.resource.js.map +1 -0
- package/dist/resources/alb/index.d.ts +4 -0
- package/dist/resources/alb/index.js +5 -0
- package/dist/resources/alb/index.js.map +1 -0
- package/dist/resources/alb/index.schema.d.ts +47 -0
- package/dist/resources/alb/index.schema.js +80 -0
- package/dist/resources/alb/index.schema.js.map +1 -0
- package/dist/resources/alb-listener/actions/add-alb-listener.resource.action.d.ts +20 -0
- package/dist/resources/alb-listener/actions/add-alb-listener.resource.action.js +101 -0
- package/dist/resources/alb-listener/actions/add-alb-listener.resource.action.js.map +1 -0
- package/dist/resources/alb-listener/actions/delete-alb-listener.resource.action.d.ts +19 -0
- package/dist/resources/alb-listener/actions/delete-alb-listener.resource.action.js +77 -0
- package/dist/resources/alb-listener/actions/delete-alb-listener.resource.action.js.map +1 -0
- package/dist/resources/alb-listener/actions/update-alb-listener-rule.resource.action.d.ts +20 -0
- package/dist/resources/alb-listener/actions/update-alb-listener-rule.resource.action.js +248 -0
- package/dist/resources/alb-listener/actions/update-alb-listener-rule.resource.action.js.map +1 -0
- package/dist/resources/alb-listener/actions/update-alb-listener-tags.resource.action.d.ts +19 -0
- package/dist/resources/alb-listener/actions/update-alb-listener-tags.resource.action.js +58 -0
- package/dist/resources/alb-listener/actions/update-alb-listener-tags.resource.action.js.map +1 -0
- package/dist/resources/alb-listener/actions/update-alb-listener.resource.action.d.ts +20 -0
- package/dist/resources/alb-listener/actions/update-alb-listener.resource.action.js +142 -0
- package/dist/resources/alb-listener/actions/update-alb-listener.resource.action.js.map +1 -0
- package/dist/resources/alb-listener/alb-listener.resource.d.ts +74 -0
- package/dist/resources/alb-listener/alb-listener.resource.js +166 -0
- package/dist/resources/alb-listener/alb-listener.resource.js.map +1 -0
- package/dist/resources/alb-listener/index.d.ts +6 -0
- package/dist/resources/alb-listener/index.js +7 -0
- package/dist/resources/alb-listener/index.js.map +1 -0
- package/dist/resources/alb-listener/index.schema.d.ts +294 -0
- package/dist/resources/alb-listener/index.schema.js +534 -0
- package/dist/resources/alb-listener/index.schema.js.map +1 -0
- package/dist/resources/alb-target-group/actions/add-alb-target-group.resource.action.d.ts +20 -0
- package/dist/resources/alb-target-group/actions/add-alb-target-group.resource.action.js +110 -0
- package/dist/resources/alb-target-group/actions/add-alb-target-group.resource.action.js.map +1 -0
- package/dist/resources/alb-target-group/actions/delete-alb-target-group.resource.action.d.ts +19 -0
- package/dist/resources/alb-target-group/actions/delete-alb-target-group.resource.action.js +78 -0
- package/dist/resources/alb-target-group/actions/delete-alb-target-group.resource.action.js.map +1 -0
- package/dist/resources/alb-target-group/actions/update-alb-target-group-tags.resource.action.d.ts +19 -0
- package/dist/resources/alb-target-group/actions/update-alb-target-group-tags.resource.action.js +58 -0
- package/dist/resources/alb-target-group/actions/update-alb-target-group-tags.resource.action.js.map +1 -0
- package/dist/resources/alb-target-group/actions/update-alb-target-group.resource.action.d.ts +19 -0
- package/dist/resources/alb-target-group/actions/update-alb-target-group.resource.action.js +93 -0
- package/dist/resources/alb-target-group/actions/update-alb-target-group.resource.action.js.map +1 -0
- package/dist/resources/alb-target-group/alb-target-group.resource.d.ts +14 -0
- package/dist/resources/alb-target-group/alb-target-group.resource.js +40 -0
- package/dist/resources/alb-target-group/alb-target-group.resource.js.map +1 -0
- package/dist/resources/alb-target-group/index.d.ts +5 -0
- package/dist/resources/alb-target-group/index.js +6 -0
- package/dist/resources/alb-target-group/index.js.map +1 -0
- package/dist/resources/alb-target-group/index.schema.d.ts +97 -0
- package/dist/resources/alb-target-group/index.schema.js +174 -0
- package/dist/resources/alb-target-group/index.schema.js.map +1 -0
- package/dist/resources/ecr/actions/add-ecr-image.resource.action.d.ts +15 -6
- package/dist/resources/ecr/actions/add-ecr-image.resource.action.js +60 -102
- package/dist/resources/ecr/actions/add-ecr-image.resource.action.js.map +1 -1
- package/dist/resources/ecr/actions/delete-ecr-image.resource.action.d.ts +14 -5
- package/dist/resources/ecr/actions/delete-ecr-image.resource.action.js +40 -18
- package/dist/resources/ecr/actions/delete-ecr-image.resource.action.js.map +1 -1
- package/dist/resources/ecr/actions/update-ecr-image-tags.resource.action.d.ts +19 -0
- package/dist/resources/ecr/actions/update-ecr-image-tags.resource.action.js +58 -0
- package/dist/resources/ecr/actions/update-ecr-image-tags.resource.action.js.map +1 -0
- package/dist/resources/ecr/ecr-image.resource.d.ts +10 -7
- package/dist/resources/ecr/ecr-image.resource.js +8 -2
- package/dist/resources/ecr/ecr-image.resource.js.map +1 -1
- package/dist/resources/ecr/index.d.ts +4 -0
- package/dist/resources/ecr/index.js +5 -0
- package/dist/resources/ecr/index.js.map +1 -0
- package/dist/resources/ecr/index.schema.d.ts +42 -0
- package/dist/resources/ecr/index.schema.js +75 -0
- package/dist/resources/ecr/index.schema.js.map +1 -0
- package/dist/resources/ecs-cluster/actions/add-ecs-cluster.resource.action.d.ts +20 -0
- package/dist/resources/ecs-cluster/actions/add-ecs-cluster.resource.action.js +81 -0
- package/dist/resources/ecs-cluster/actions/add-ecs-cluster.resource.action.js.map +1 -0
- package/dist/resources/ecs-cluster/actions/delete-ecs-cluster.resource.action.d.ts +19 -0
- package/dist/resources/ecs-cluster/actions/delete-ecs-cluster.resource.action.js +75 -0
- package/dist/resources/ecs-cluster/actions/delete-ecs-cluster.resource.action.js.map +1 -0
- package/dist/resources/ecs-cluster/actions/update-ecs-cluster-tags.resource.action.d.ts +19 -0
- package/dist/resources/ecs-cluster/actions/update-ecs-cluster-tags.resource.action.js +58 -0
- package/dist/resources/ecs-cluster/actions/update-ecs-cluster-tags.resource.action.js.map +1 -0
- package/dist/resources/ecs-cluster/ecs-cluster.resource.d.ts +10 -0
- package/dist/resources/ecs-cluster/ecs-cluster.resource.js +25 -0
- package/dist/resources/ecs-cluster/ecs-cluster.resource.js.map +1 -0
- package/dist/resources/ecs-cluster/index.d.ts +4 -0
- package/dist/resources/ecs-cluster/index.js +5 -0
- package/dist/resources/ecs-cluster/index.js.map +1 -0
- package/dist/resources/ecs-cluster/index.schema.d.ts +34 -0
- package/dist/resources/ecs-cluster/index.schema.js +65 -0
- package/dist/resources/ecs-cluster/index.schema.js.map +1 -0
- package/dist/resources/ecs-service/actions/add-ecs-service.resource.action.d.ts +20 -0
- package/dist/resources/ecs-service/actions/add-ecs-service.resource.action.js +108 -0
- package/dist/resources/ecs-service/actions/add-ecs-service.resource.action.js.map +1 -0
- package/dist/resources/ecs-service/actions/delete-ecs-service.resource.action.d.ts +19 -0
- package/dist/resources/ecs-service/actions/delete-ecs-service.resource.action.js +129 -0
- package/dist/resources/ecs-service/actions/delete-ecs-service.resource.action.js.map +1 -0
- package/dist/resources/ecs-service/actions/update-ecs-service-tags.resource.action.d.ts +19 -0
- package/dist/resources/ecs-service/actions/update-ecs-service-tags.resource.action.js +58 -0
- package/dist/resources/ecs-service/actions/update-ecs-service-tags.resource.action.js.map +1 -0
- package/dist/resources/ecs-service/actions/update-ecs-service.resource.action.d.ts +20 -0
- package/dist/resources/ecs-service/actions/update-ecs-service.resource.action.js +102 -0
- package/dist/resources/ecs-service/actions/update-ecs-service.resource.action.js.map +1 -0
- package/dist/resources/ecs-service/ecs-service.resource.d.ts +33 -0
- package/dist/resources/ecs-service/ecs-service.resource.js +136 -0
- package/dist/resources/ecs-service/ecs-service.resource.js.map +1 -0
- package/dist/resources/ecs-service/index.d.ts +5 -0
- package/dist/resources/ecs-service/index.js +6 -0
- package/dist/resources/ecs-service/index.js.map +1 -0
- package/dist/resources/ecs-service/index.schema.d.ts +70 -0
- package/dist/resources/ecs-service/index.schema.js +120 -0
- package/dist/resources/ecs-service/index.schema.js.map +1 -0
- package/dist/resources/ecs-task-definition/actions/add-ecs-task-definition.resource.action.d.ts +20 -0
- package/dist/resources/ecs-task-definition/actions/add-ecs-task-definition.resource.action.js +111 -0
- package/dist/resources/ecs-task-definition/actions/add-ecs-task-definition.resource.action.js.map +1 -0
- package/dist/resources/ecs-task-definition/actions/delete-ecs-task-definition.resource.action.d.ts +19 -0
- package/dist/resources/ecs-task-definition/actions/delete-ecs-task-definition.resource.action.js +90 -0
- package/dist/resources/ecs-task-definition/actions/delete-ecs-task-definition.resource.action.js.map +1 -0
- package/dist/resources/ecs-task-definition/actions/update-ecs-task-definition-tags.resource.action.d.ts +19 -0
- package/dist/resources/ecs-task-definition/actions/update-ecs-task-definition-tags.resource.action.js +58 -0
- package/dist/resources/ecs-task-definition/actions/update-ecs-task-definition-tags.resource.action.js.map +1 -0
- package/dist/resources/ecs-task-definition/actions/update-ecs-task-definition.resource.action.d.ts +20 -0
- package/dist/resources/ecs-task-definition/actions/update-ecs-task-definition.resource.action.js +128 -0
- package/dist/resources/ecs-task-definition/actions/update-ecs-task-definition.resource.action.js.map +1 -0
- package/dist/resources/ecs-task-definition/ecs-task-definition.resource.d.ts +16 -0
- package/dist/resources/ecs-task-definition/ecs-task-definition.resource.js +72 -0
- package/dist/resources/ecs-task-definition/ecs-task-definition.resource.js.map +1 -0
- package/dist/resources/ecs-task-definition/index.d.ts +5 -0
- package/dist/resources/ecs-task-definition/index.js +6 -0
- package/dist/resources/ecs-task-definition/index.js.map +1 -0
- package/dist/resources/ecs-task-definition/index.schema.d.ts +126 -0
- package/dist/resources/ecs-task-definition/index.schema.js +212 -0
- package/dist/resources/ecs-task-definition/index.schema.js.map +1 -0
- package/dist/resources/efs/actions/add-efs.resource.action.d.ts +15 -6
- package/dist/resources/efs/actions/add-efs.resource.action.js +39 -11
- package/dist/resources/efs/actions/add-efs.resource.action.js.map +1 -1
- package/dist/resources/efs/actions/delete-efs.resource.action.d.ts +15 -6
- package/dist/resources/efs/actions/delete-efs.resource.action.js +36 -10
- package/dist/resources/efs/actions/delete-efs.resource.action.js.map +1 -1
- package/dist/resources/efs/actions/update-efs-tags.resource.action.d.ts +19 -0
- package/dist/resources/efs/actions/update-efs-tags.resource.action.js +58 -0
- package/dist/resources/efs/actions/update-efs-tags.resource.action.js.map +1 -0
- package/dist/resources/efs/efs.resource.d.ts +8 -6
- package/dist/resources/efs/efs.resource.js +5 -2
- package/dist/resources/efs/efs.resource.js.map +1 -1
- package/dist/resources/efs/index.d.ts +4 -0
- package/dist/resources/efs/index.js +5 -0
- package/dist/resources/efs/index.js.map +1 -0
- package/dist/resources/efs/index.schema.d.ts +36 -0
- package/dist/resources/efs/index.schema.js +69 -0
- package/dist/resources/efs/index.schema.js.map +1 -0
- package/dist/resources/efs-mount-target/actions/add-efs-mount-target.resource.action.d.ts +20 -0
- package/dist/resources/efs-mount-target/actions/add-efs-mount-target.resource.action.js +115 -0
- package/dist/resources/efs-mount-target/actions/add-efs-mount-target.resource.action.js.map +1 -0
- package/dist/resources/efs-mount-target/actions/delete-efs-mount-target.resource.action.d.ts +19 -0
- package/dist/resources/efs-mount-target/actions/delete-efs-mount-target.resource.action.js +117 -0
- package/dist/resources/efs-mount-target/actions/delete-efs-mount-target.resource.action.js.map +1 -0
- package/dist/resources/efs-mount-target/actions/update-efs-mount-target-tags.resource.action.d.ts +17 -0
- package/dist/resources/efs-mount-target/actions/update-efs-mount-target-tags.resource.action.js +41 -0
- package/dist/resources/efs-mount-target/actions/update-efs-mount-target-tags.resource.action.js.map +1 -0
- package/dist/resources/efs-mount-target/efs-mount-target.resource.d.ts +14 -0
- package/dist/resources/efs-mount-target/efs-mount-target.resource.js +25 -0
- package/dist/resources/efs-mount-target/efs-mount-target.resource.js.map +1 -0
- package/dist/resources/efs-mount-target/index.d.ts +4 -0
- package/dist/resources/efs-mount-target/index.js +5 -0
- package/dist/resources/efs-mount-target/index.js.map +1 -0
- package/dist/resources/efs-mount-target/index.schema.d.ts +40 -0
- package/dist/resources/efs-mount-target/index.schema.js +70 -0
- package/dist/resources/efs-mount-target/index.schema.js.map +1 -0
- package/dist/resources/iam-role/actions/add-iam-role.resource.action.d.ts +20 -0
- package/dist/resources/iam-role/actions/add-iam-role.resource.action.js +116 -0
- package/dist/resources/iam-role/actions/add-iam-role.resource.action.js.map +1 -0
- package/dist/resources/iam-role/actions/delete-iam-role.resource.action.d.ts +19 -0
- package/dist/resources/iam-role/actions/delete-iam-role.resource.action.js +77 -0
- package/dist/resources/iam-role/actions/delete-iam-role.resource.action.js.map +1 -0
- package/dist/resources/iam-role/actions/update-iam-role-assume-role-policy.resource.action.d.ts +19 -0
- package/dist/resources/iam-role/actions/update-iam-role-assume-role-policy.resource.action.js +93 -0
- package/dist/resources/iam-role/actions/update-iam-role-assume-role-policy.resource.action.js.map +1 -0
- package/dist/resources/iam-role/actions/update-iam-role-tags.resource.action.d.ts +19 -0
- package/dist/resources/iam-role/actions/update-iam-role-tags.resource.action.js +60 -0
- package/dist/resources/iam-role/actions/update-iam-role-tags.resource.action.js.map +1 -0
- package/dist/resources/iam-role/actions/update-iam-role-with-aws-policy.resource.action.d.ts +19 -0
- package/dist/resources/iam-role/actions/update-iam-role-with-aws-policy.resource.action.js +96 -0
- package/dist/resources/iam-role/actions/update-iam-role-with-aws-policy.resource.action.js.map +1 -0
- package/dist/resources/iam-role/actions/update-iam-role-with-s3-storage-policy.resource.action.d.ts +20 -0
- package/dist/resources/iam-role/actions/update-iam-role-with-s3-storage-policy.resource.action.js +150 -0
- package/dist/resources/iam-role/actions/update-iam-role-with-s3-storage-policy.resource.action.js.map +1 -0
- package/dist/resources/iam-role/iam-role.resource.d.ts +49 -0
- package/dist/resources/iam-role/iam-role.resource.js +184 -0
- package/dist/resources/iam-role/iam-role.resource.js.map +1 -0
- package/dist/resources/iam-role/index.d.ts +7 -0
- package/dist/resources/iam-role/index.js +8 -0
- package/dist/resources/iam-role/index.js.map +1 -0
- package/dist/resources/iam-role/index.schema.d.ts +101 -0
- package/dist/resources/iam-role/index.schema.js +74 -0
- package/dist/resources/iam-role/index.schema.js.map +1 -0
- package/dist/resources/iam-user/actions/add-iam-user.resource.action.d.ts +20 -0
- package/dist/resources/iam-user/actions/add-iam-user.resource.action.js +98 -0
- package/dist/resources/iam-user/actions/add-iam-user.resource.action.js.map +1 -0
- package/dist/resources/iam-user/actions/delete-iam-user.resource.action.d.ts +19 -0
- package/dist/resources/iam-user/actions/delete-iam-user.resource.action.js +76 -0
- package/dist/resources/iam-user/actions/delete-iam-user.resource.action.js.map +1 -0
- package/dist/resources/iam-user/actions/update-iam-user-tags.resource.action.d.ts +19 -0
- package/dist/resources/iam-user/actions/update-iam-user-tags.resource.action.js +60 -0
- package/dist/resources/iam-user/actions/update-iam-user-tags.resource.action.js.map +1 -0
- package/dist/resources/iam-user/actions/update-iam-user-with-s3-storage-policy.resource.action.d.ts +20 -0
- package/dist/resources/iam-user/actions/update-iam-user-with-s3-storage-policy.resource.action.js +150 -0
- package/dist/resources/iam-user/actions/update-iam-user-with-s3-storage-policy.resource.action.js.map +1 -0
- package/dist/resources/iam-user/iam-user.resource.d.ts +47 -0
- package/dist/resources/iam-user/iam-user.resource.js +145 -0
- package/dist/resources/iam-user/iam-user.resource.js.map +1 -0
- package/dist/resources/iam-user/index.d.ts +5 -0
- package/dist/resources/iam-user/index.js +6 -0
- package/dist/resources/iam-user/index.js.map +1 -0
- package/dist/resources/iam-user/index.schema.d.ts +81 -0
- package/dist/resources/iam-user/index.schema.js +74 -0
- package/dist/resources/iam-user/index.schema.js.map +1 -0
- package/dist/resources/internet-gateway/actions/add-internet-gateway.resource.action.d.ts +15 -6
- package/dist/resources/internet-gateway/actions/add-internet-gateway.resource.action.js +50 -14
- package/dist/resources/internet-gateway/actions/add-internet-gateway.resource.action.js.map +1 -1
- package/dist/resources/internet-gateway/actions/delete-internet-gateway.resource.action.d.ts +14 -5
- package/dist/resources/internet-gateway/actions/delete-internet-gateway.resource.action.js +50 -16
- package/dist/resources/internet-gateway/actions/delete-internet-gateway.resource.action.js.map +1 -1
- package/dist/resources/internet-gateway/actions/update-internet-gateway-tags.resource.action.d.ts +19 -0
- package/dist/resources/internet-gateway/actions/update-internet-gateway-tags.resource.action.js +58 -0
- package/dist/resources/internet-gateway/actions/update-internet-gateway-tags.resource.action.js.map +1 -0
- package/dist/resources/internet-gateway/index.d.ts +4 -0
- package/dist/resources/internet-gateway/index.js +5 -0
- package/dist/resources/internet-gateway/index.js.map +1 -0
- package/dist/resources/internet-gateway/index.schema.d.ts +40 -0
- package/dist/resources/internet-gateway/index.schema.js +73 -0
- package/dist/resources/internet-gateway/index.schema.js.map +1 -0
- package/dist/resources/internet-gateway/internet-gateway.resource.d.ts +11 -8
- package/dist/resources/internet-gateway/internet-gateway.resource.js +5 -2
- package/dist/resources/internet-gateway/internet-gateway.resource.js.map +1 -1
- package/dist/resources/nat-gateway/actions/add-nat-gateway.resource.action.d.ts +20 -0
- package/dist/resources/nat-gateway/actions/add-nat-gateway.resource.action.js +106 -0
- package/dist/resources/nat-gateway/actions/add-nat-gateway.resource.action.js.map +1 -0
- package/dist/resources/nat-gateway/actions/delete-nat-gateway.resource.action.d.ts +19 -0
- package/dist/resources/nat-gateway/actions/delete-nat-gateway.resource.action.js +112 -0
- package/dist/resources/nat-gateway/actions/delete-nat-gateway.resource.action.js.map +1 -0
- package/dist/resources/nat-gateway/actions/update-eip-tags.resource.action.d.ts +19 -0
- package/dist/resources/nat-gateway/actions/update-eip-tags.resource.action.js +87 -0
- package/dist/resources/nat-gateway/actions/update-eip-tags.resource.action.js.map +1 -0
- package/dist/resources/nat-gateway/actions/update-nat-gateway-tags.resource.action.d.ts +19 -0
- package/dist/resources/nat-gateway/actions/update-nat-gateway-tags.resource.action.js +58 -0
- package/dist/resources/nat-gateway/actions/update-nat-gateway-tags.resource.action.js.map +1 -0
- package/dist/resources/nat-gateway/index.d.ts +4 -0
- package/dist/resources/nat-gateway/index.js +5 -0
- package/dist/resources/nat-gateway/index.js.map +1 -0
- package/dist/resources/nat-gateway/index.schema.d.ts +44 -0
- package/dist/resources/nat-gateway/index.schema.js +79 -0
- package/dist/resources/nat-gateway/index.schema.js.map +1 -0
- package/dist/resources/nat-gateway/nat-gateway.resource.d.ts +18 -0
- package/dist/resources/nat-gateway/nat-gateway.resource.js +25 -0
- package/dist/resources/nat-gateway/nat-gateway.resource.js.map +1 -0
- package/dist/resources/network-acl/actions/add-network-acl.resource.action.d.ts +15 -6
- package/dist/resources/network-acl/actions/add-network-acl.resource.action.js +53 -22
- package/dist/resources/network-acl/actions/add-network-acl.resource.action.js.map +1 -1
- package/dist/resources/network-acl/actions/delete-network-acl.resource.action.d.ts +14 -5
- package/dist/resources/network-acl/actions/delete-network-acl.resource.action.js +36 -9
- package/dist/resources/network-acl/actions/delete-network-acl.resource.action.js.map +1 -1
- package/dist/resources/network-acl/actions/update-network-acl-entries.resource.action.d.ts +15 -7
- package/dist/resources/network-acl/actions/update-network-acl-entries.resource.action.js +41 -27
- package/dist/resources/network-acl/actions/update-network-acl-entries.resource.action.js.map +1 -1
- package/dist/resources/network-acl/actions/update-network-acl-tags.resource.action.d.ts +19 -0
- package/dist/resources/network-acl/actions/update-network-acl-tags.resource.action.js +58 -0
- package/dist/resources/network-acl/actions/update-network-acl-tags.resource.action.js.map +1 -0
- package/dist/resources/network-acl/index.d.ts +5 -0
- package/dist/resources/network-acl/index.js +6 -0
- package/dist/resources/network-acl/index.js.map +1 -0
- package/dist/resources/network-acl/index.schema.d.ts +83 -0
- package/dist/resources/network-acl/index.schema.js +148 -0
- package/dist/resources/network-acl/index.schema.js.map +1 -0
- package/dist/resources/network-acl/network-acl.resource.d.ts +13 -9
- package/dist/resources/network-acl/network-acl.resource.js +11 -2
- package/dist/resources/network-acl/network-acl.resource.js.map +1 -1
- package/dist/resources/route-table/actions/add-route-table.resource.action.d.ts +15 -6
- package/dist/resources/route-table/actions/add-route-table.resource.action.js +52 -20
- package/dist/resources/route-table/actions/add-route-table.resource.action.js.map +1 -1
- package/dist/resources/route-table/actions/delete-route-table.resource.action.d.ts +14 -5
- package/dist/resources/route-table/actions/delete-route-table.resource.action.js +36 -9
- package/dist/resources/route-table/actions/delete-route-table.resource.action.js.map +1 -1
- package/dist/resources/route-table/actions/update-nat-gateway-parent-in-route-table.resource.action.d.ts +20 -0
- package/dist/resources/route-table/actions/update-nat-gateway-parent-in-route-table.resource.action.js +102 -0
- package/dist/resources/route-table/actions/update-nat-gateway-parent-in-route-table.resource.action.js.map +1 -0
- package/dist/resources/route-table/actions/update-route-table-tags.resource.action.d.ts +19 -0
- package/dist/resources/route-table/actions/update-route-table-tags.resource.action.js +58 -0
- package/dist/resources/route-table/actions/update-route-table-tags.resource.action.js.map +1 -0
- package/dist/resources/route-table/index.d.ts +5 -0
- package/dist/resources/route-table/index.js +6 -0
- package/dist/resources/route-table/index.js.map +1 -0
- package/dist/resources/route-table/index.schema.d.ts +45 -0
- package/dist/resources/route-table/index.schema.js +80 -0
- package/dist/resources/route-table/index.schema.js.map +1 -0
- package/dist/resources/route-table/route-table.resource.d.ts +27 -10
- package/dist/resources/route-table/route-table.resource.js +55 -3
- package/dist/resources/route-table/route-table.resource.js.map +1 -1
- package/dist/resources/s3-storage/actions/add-s3-storage.resource.action.d.ts +19 -0
- package/dist/resources/s3-storage/actions/add-s3-storage.resource.action.js +79 -0
- package/dist/resources/s3-storage/actions/add-s3-storage.resource.action.js.map +1 -0
- package/dist/resources/s3-storage/actions/delete-s3-storage.resource.action.d.ts +19 -0
- package/dist/resources/s3-storage/actions/delete-s3-storage.resource.action.js +102 -0
- package/dist/resources/s3-storage/actions/delete-s3-storage.resource.action.js.map +1 -0
- package/dist/resources/s3-storage/actions/update-parent-in-s3-storage.resource.action.d.ts +17 -0
- package/dist/resources/s3-storage/actions/update-parent-in-s3-storage.resource.action.js +41 -0
- package/dist/resources/s3-storage/actions/update-parent-in-s3-storage.resource.action.js.map +1 -0
- package/dist/resources/s3-storage/actions/update-permissions-in-s3-storage.resource.action.d.ts +19 -0
- package/dist/resources/s3-storage/actions/update-permissions-in-s3-storage.resource.action.js +127 -0
- package/dist/resources/s3-storage/actions/update-permissions-in-s3-storage.resource.action.js.map +1 -0
- package/dist/resources/s3-storage/actions/update-s3-storage-tags.resource.action.d.ts +19 -0
- package/dist/resources/s3-storage/actions/update-s3-storage-tags.resource.action.js +58 -0
- package/dist/resources/s3-storage/actions/update-s3-storage-tags.resource.action.js.map +1 -0
- package/dist/resources/s3-storage/index.d.ts +6 -0
- package/dist/resources/s3-storage/index.js +7 -0
- package/dist/resources/s3-storage/index.js.map +1 -0
- package/dist/resources/s3-storage/index.schema.d.ts +74 -0
- package/dist/resources/s3-storage/index.schema.js +142 -0
- package/dist/resources/s3-storage/index.schema.js.map +1 -0
- package/dist/resources/s3-storage/s3-storage.resource.d.ts +27 -0
- package/dist/resources/s3-storage/s3-storage.resource.js +147 -0
- package/dist/resources/s3-storage/s3-storage.resource.js.map +1 -0
- package/dist/resources/s3-website/actions/add-s3-website.resource.action.d.ts +19 -0
- package/dist/resources/s3-website/actions/add-s3-website.resource.action.js +128 -0
- package/dist/resources/s3-website/actions/add-s3-website.resource.action.js.map +1 -0
- package/dist/resources/s3-website/actions/delete-s3-website.resource.action.d.ts +19 -0
- package/dist/resources/s3-website/actions/delete-s3-website.resource.action.js +102 -0
- package/dist/resources/s3-website/actions/delete-s3-website.resource.action.js.map +1 -0
- package/dist/resources/s3-website/actions/update-s3-website-tags.resource.action.d.ts +19 -0
- package/dist/resources/s3-website/actions/update-s3-website-tags.resource.action.js +58 -0
- package/dist/resources/s3-website/actions/update-s3-website-tags.resource.action.js.map +1 -0
- package/dist/resources/s3-website/actions/update-source-paths-in-s3-website.resource.action.d.ts +19 -0
- package/dist/resources/s3-website/actions/update-source-paths-in-s3-website.resource.action.js +103 -0
- package/dist/resources/s3-website/actions/update-source-paths-in-s3-website.resource.action.js.map +1 -0
- package/dist/resources/s3-website/index.d.ts +5 -0
- package/dist/resources/s3-website/index.js +6 -0
- package/dist/resources/s3-website/index.js.map +1 -0
- package/dist/resources/s3-website/index.schema.d.ts +40 -0
- package/dist/resources/s3-website/index.schema.js +73 -0
- package/dist/resources/s3-website/index.schema.js.map +1 -0
- package/dist/resources/s3-website/s3-website.resource.d.ts +21 -0
- package/dist/resources/s3-website/s3-website.resource.js +65 -0
- package/dist/resources/s3-website/s3-website.resource.js.map +1 -0
- package/dist/resources/security-group/actions/add-security-group.resource.action.d.ts +15 -6
- package/dist/resources/security-group/actions/add-security-group.resource.action.js +49 -13
- package/dist/resources/security-group/actions/add-security-group.resource.action.js.map +1 -1
- package/dist/resources/security-group/actions/delete-security-group.resource.action.d.ts +14 -5
- package/dist/resources/security-group/actions/delete-security-group.resource.action.js +47 -12
- package/dist/resources/security-group/actions/delete-security-group.resource.action.js.map +1 -1
- package/dist/resources/security-group/actions/update-security-group-rules.resource.action.d.ts +16 -7
- package/dist/resources/security-group/actions/update-security-group-rules.resource.action.js +36 -10
- package/dist/resources/security-group/actions/update-security-group-rules.resource.action.js.map +1 -1
- package/dist/resources/security-group/actions/update-security-group-tags.resource.action.d.ts +19 -0
- package/dist/resources/security-group/actions/update-security-group-tags.resource.action.js +58 -0
- package/dist/resources/security-group/actions/update-security-group-tags.resource.action.js.map +1 -0
- package/dist/resources/security-group/index.d.ts +5 -0
- package/dist/resources/security-group/index.js +6 -0
- package/dist/resources/security-group/index.js.map +1 -0
- package/dist/resources/security-group/index.schema.d.ts +78 -0
- package/dist/resources/security-group/index.schema.js +136 -0
- package/dist/resources/security-group/index.schema.js.map +1 -0
- package/dist/resources/security-group/security-group.resource.d.ts +11 -8
- package/dist/resources/security-group/security-group.resource.js +5 -2
- package/dist/resources/security-group/security-group.resource.js.map +1 -1
- package/dist/resources/subnet/actions/add-subnet.resource.action.d.ts +15 -6
- package/dist/resources/subnet/actions/add-subnet.resource.action.js +48 -13
- package/dist/resources/subnet/actions/add-subnet.resource.action.js.map +1 -1
- package/dist/resources/subnet/actions/delete-subnet.resource.action.d.ts +14 -5
- package/dist/resources/subnet/actions/delete-subnet.resource.action.js +36 -9
- package/dist/resources/subnet/actions/delete-subnet.resource.action.js.map +1 -1
- package/dist/resources/subnet/actions/update-subnet-tags.resource.action.d.ts +19 -0
- package/dist/resources/subnet/actions/update-subnet-tags.resource.action.js +58 -0
- package/dist/resources/subnet/actions/update-subnet-tags.resource.action.js.map +1 -0
- package/dist/resources/subnet/index.d.ts +4 -0
- package/dist/resources/subnet/index.js +5 -0
- package/dist/resources/subnet/index.js.map +1 -0
- package/dist/resources/subnet/index.schema.d.ts +44 -0
- package/dist/resources/subnet/index.schema.js +77 -0
- package/dist/resources/subnet/index.schema.js.map +1 -0
- package/dist/resources/subnet/subnet.resource.d.ts +11 -8
- package/dist/resources/subnet/subnet.resource.js +6 -3
- package/dist/resources/subnet/subnet.resource.js.map +1 -1
- package/dist/resources/vpc/actions/add-vpc.resource.action.d.ts +15 -6
- package/dist/resources/vpc/actions/add-vpc.resource.action.js +57 -10
- package/dist/resources/vpc/actions/add-vpc.resource.action.js.map +1 -1
- package/dist/resources/vpc/actions/delete-vpc.resource.action.d.ts +14 -5
- package/dist/resources/vpc/actions/delete-vpc.resource.action.js +36 -9
- package/dist/resources/vpc/actions/delete-vpc.resource.action.js.map +1 -1
- package/dist/resources/vpc/actions/update-vpc-tags.resource.action.d.ts +19 -0
- package/dist/resources/vpc/actions/update-vpc-tags.resource.action.js +58 -0
- package/dist/resources/vpc/actions/update-vpc-tags.resource.action.js.map +1 -0
- package/dist/resources/vpc/index.d.ts +4 -0
- package/dist/resources/vpc/index.js +5 -0
- package/dist/resources/vpc/index.js.map +1 -0
- package/dist/resources/vpc/index.schema.d.ts +40 -0
- package/dist/resources/vpc/index.schema.js +73 -0
- package/dist/resources/vpc/index.schema.js.map +1 -0
- package/dist/resources/vpc/vpc.resource.d.ts +8 -6
- package/dist/resources/vpc/vpc.resource.js +5 -2
- package/dist/resources/vpc/vpc.resource.js.map +1 -1
- package/dist/utilities/actions/generic-resource-tagging.action.d.ts +18 -0
- package/dist/utilities/actions/generic-resource-tagging.action.js +49 -0
- package/dist/utilities/actions/generic-resource-tagging.action.js.map +1 -0
- package/dist/utilities/cidr/cidr.utility.d.ts +7 -0
- package/dist/utilities/cidr/cidr.utility.js +13 -0
- package/dist/utilities/cidr/cidr.utility.js.map +1 -0
- package/dist/utilities/common/common.utility.d.ts +3 -0
- package/dist/utilities/common/common.utility.js +3 -0
- package/dist/utilities/common/common.utility.js.map +1 -1
- package/dist/utilities/file/file.utility.d.ts +3 -0
- package/dist/utilities/file/file.utility.js +3 -0
- package/dist/utilities/file/file.utility.js.map +1 -1
- package/dist/utilities/network-acl/network-acl.utility.d.ts +9 -0
- package/dist/utilities/network-acl/network-acl.utility.js +25 -0
- package/dist/utilities/network-acl/network-acl.utility.js.map +1 -0
- package/dist/utilities/policy/policy.utility.d.ts +6 -0
- package/dist/utilities/policy/policy.utility.js +9 -0
- package/dist/utilities/policy/policy.utility.js.map +1 -0
- package/dist/utilities/process/process.utility.d.ts +3 -1
- package/dist/utilities/process/process.utility.js +3 -0
- package/dist/utilities/process/process.utility.js.map +1 -1
- package/dist/utilities/retry/retry.utility.d.ts +3 -0
- package/dist/utilities/retry/retry.utility.js +7 -4
- package/dist/utilities/retry/retry.utility.js.map +1 -1
- package/dist/utilities/security-group/security-group.utility.d.ts +7 -0
- package/dist/utilities/security-group/security-group.utility.js +13 -0
- package/dist/utilities/security-group/security-group.utility.js.map +1 -0
- package/dist/utilities/task-definition/task-definition.utility.d.ts +3 -0
- package/dist/utilities/task-definition/task-definition.utility.js +3 -0
- package/dist/utilities/task-definition/task-definition.utility.js.map +1 -1
- package/package.json +94 -19
- package/dist/anchors/ecs-service.anchor.d.ts +0 -11
- package/dist/anchors/ecs-service.anchor.js +0 -21
- package/dist/anchors/ecs-service.anchor.js.map +0 -1
- package/dist/anchors/environment-variables.anchor.d.ts +0 -10
- package/dist/anchors/environment-variables.anchor.js +0 -21
- package/dist/anchors/environment-variables.anchor.js.map +0 -1
- package/dist/anchors/iam-role.anchor.d.ts +0 -11
- package/dist/anchors/iam-role.anchor.js +0 -21
- package/dist/anchors/iam-role.anchor.js.map +0 -1
- package/dist/anchors/iam-user.anchor.d.ts +0 -11
- package/dist/anchors/iam-user.anchor.js +0 -21
- package/dist/anchors/iam-user.anchor.js.map +0 -1
- package/dist/anchors/region-filesystem.anchor.d.ts +0 -11
- package/dist/anchors/region-filesystem.anchor.js +0 -21
- package/dist/anchors/region-filesystem.anchor.js.map +0 -1
- package/dist/anchors/s3-directory.anchor.d.ts +0 -9
- package/dist/anchors/s3-directory.anchor.js +0 -21
- package/dist/anchors/s3-directory.anchor.js.map +0 -1
- package/dist/anchors/security-group.anchor.d.ts +0 -20
- package/dist/anchors/security-group.anchor.js +0 -21
- package/dist/anchors/security-group.anchor.js.map +0 -1
- package/dist/anchors/subnet-filesystem-mount.anchor.d.ts +0 -11
- package/dist/anchors/subnet-filesystem-mount.anchor.js +0 -21
- package/dist/anchors/subnet-filesystem-mount.anchor.js.map +0 -1
- package/dist/anchors/task-definition.anchor.d.ts +0 -20
- package/dist/anchors/task-definition.anchor.js +0 -25
- package/dist/anchors/task-definition.anchor.js.map +0 -1
- package/dist/factories/aws/aws.abstract.factory.d.ts +0 -5
- package/dist/factories/aws/aws.abstract.factory.js +0 -24
- package/dist/factories/aws/aws.abstract.factory.js.map +0 -1
- package/dist/factories/aws/ec2.aws.factory.d.ts +0 -4
- package/dist/factories/aws/ec2.aws.factory.js +0 -19
- package/dist/factories/aws/ec2.aws.factory.js.map +0 -1
- package/dist/factories/aws/ecr.aws.factory.d.ts +0 -4
- package/dist/factories/aws/ecr.aws.factory.js +0 -19
- package/dist/factories/aws/ecr.aws.factory.js.map +0 -1
- package/dist/factories/aws/ecs.aws.factory.d.ts +0 -4
- package/dist/factories/aws/ecs.aws.factory.js +0 -19
- package/dist/factories/aws/ecs.aws.factory.js.map +0 -1
- package/dist/factories/aws/efs.aws.factory.d.ts +0 -4
- package/dist/factories/aws/efs.aws.factory.js +0 -19
- package/dist/factories/aws/efs.aws.factory.js.map +0 -1
- package/dist/factories/aws/iam.aws.factory.d.ts +0 -5
- package/dist/factories/aws/iam.aws.factory.js +0 -22
- package/dist/factories/aws/iam.aws.factory.js.map +0 -1
- package/dist/factories/aws/s3-upload.aws.factory.d.ts +0 -4
- package/dist/factories/aws/s3-upload.aws.factory.js +0 -21
- package/dist/factories/aws/s3-upload.aws.factory.js.map +0 -1
- package/dist/factories/aws/s3.aws.factory.d.ts +0 -4
- package/dist/factories/aws/s3.aws.factory.js +0 -19
- package/dist/factories/aws/s3.aws.factory.js.map +0 -1
- package/dist/factories/aws/sts.aws.factory.d.ts +0 -4
- package/dist/factories/aws/sts.aws.factory.js +0 -19
- package/dist/factories/aws/sts.aws.factory.js.map +0 -1
- package/dist/index.d.ts +0 -89
- package/dist/index.js +0 -90
- package/dist/index.js.map +0 -1
- package/dist/models/app/actions/add-app.model.action.d.ts +0 -10
- package/dist/models/app/actions/add-app.model.action.js +0 -35
- package/dist/models/app/actions/add-app.model.action.js.map +0 -1
- package/dist/models/deployment/actions/add-deployment.model.action.d.ts +0 -10
- package/dist/models/deployment/actions/add-deployment.model.action.js +0 -39
- package/dist/models/deployment/actions/add-deployment.model.action.js.map +0 -1
- package/dist/models/deployment/aws.deployment.interface.d.ts +0 -5
- package/dist/models/deployment/aws.deployment.interface.js +0 -2
- package/dist/models/deployment/aws.deployment.interface.js.map +0 -1
- package/dist/models/deployment/aws.deployment.model.d.ts +0 -9
- package/dist/models/deployment/aws.deployment.model.js +0 -37
- package/dist/models/deployment/aws.deployment.model.js.map +0 -1
- package/dist/models/environment/actions/add-environment.model.action.d.ts +0 -10
- package/dist/models/environment/actions/add-environment.model.action.js +0 -50
- package/dist/models/environment/actions/add-environment.model.action.js.map +0 -1
- package/dist/models/environment/aws.environment.model.d.ts +0 -5
- package/dist/models/environment/aws.environment.model.js +0 -27
- package/dist/models/environment/aws.environment.model.js.map +0 -1
- package/dist/models/execution/actions/add-execution.model.action.d.ts +0 -10
- package/dist/models/execution/actions/add-execution.model.action.js +0 -39
- package/dist/models/execution/actions/add-execution.model.action.js.map +0 -1
- package/dist/models/execution/aws.execution.model.d.ts +0 -14
- package/dist/models/execution/aws.execution.model.js +0 -133
- package/dist/models/execution/aws.execution.model.js.map +0 -1
- package/dist/models/image/actions/add-image.model.action.d.ts +0 -10
- package/dist/models/image/actions/add-image.model.action.js +0 -74
- package/dist/models/image/actions/add-image.model.action.js.map +0 -1
- package/dist/models/image/aws.image.interface.d.ts +0 -3
- package/dist/models/image/aws.image.interface.js +0 -2
- package/dist/models/image/aws.image.interface.js.map +0 -1
- package/dist/models/image/aws.image.model.d.ts +0 -6
- package/dist/models/image/aws.image.model.js +0 -27
- package/dist/models/image/aws.image.model.js.map +0 -1
- package/dist/models/region/actions/add-region.model.action.d.ts +0 -10
- package/dist/models/region/actions/add-region.model.action.js +0 -80
- package/dist/models/region/actions/add-region.model.action.js.map +0 -1
- package/dist/models/region/aws.region.interface.d.ts +0 -7
- package/dist/models/region/aws.region.interface.js +0 -2
- package/dist/models/region/aws.region.interface.js.map +0 -1
- package/dist/models/region/aws.region.model.d.ts +0 -37
- package/dist/models/region/aws.region.model.js +0 -91
- package/dist/models/region/aws.region.model.js.map +0 -1
- package/dist/models/server/actions/add-server.model.action.d.ts +0 -10
- package/dist/models/server/actions/add-server.model.action.js +0 -51
- package/dist/models/server/actions/add-server.model.action.js.map +0 -1
- package/dist/models/server/aws.server.model.d.ts +0 -8
- package/dist/models/server/aws.server.model.js +0 -44
- package/dist/models/server/aws.server.model.js.map +0 -1
- package/dist/models/service/ecr/actions/add-ecr-service.model.action.d.ts +0 -10
- package/dist/models/service/ecr/actions/add-ecr-service.model.action.js +0 -59
- package/dist/models/service/ecr/actions/add-ecr-service.model.action.js.map +0 -1
- package/dist/models/service/ecr/ecr.service.interface.d.ts +0 -7
- package/dist/models/service/ecr/ecr.service.interface.js +0 -2
- package/dist/models/service/ecr/ecr.service.interface.js.map +0 -1
- package/dist/models/service/ecr/ecr.service.model.d.ts +0 -13
- package/dist/models/service/ecr/ecr.service.model.js +0 -59
- package/dist/models/service/ecr/ecr.service.model.js.map +0 -1
- package/dist/models/service/s3-static-website/actions/add-s3-static-website.model.action.d.ts +0 -10
- package/dist/models/service/s3-static-website/actions/add-s3-static-website.model.action.js +0 -49
- package/dist/models/service/s3-static-website/actions/add-s3-static-website.model.action.js.map +0 -1
- package/dist/models/service/s3-static-website/actions/update-source-paths-s3-static-website.model.action.d.ts +0 -10
- package/dist/models/service/s3-static-website/actions/update-source-paths-s3-static-website.model.action.js +0 -44
- package/dist/models/service/s3-static-website/actions/update-source-paths-s3-static-website.model.action.js.map +0 -1
- package/dist/models/service/s3-static-website/s3-static-website.service.interface.d.ts +0 -8
- package/dist/models/service/s3-static-website/s3-static-website.service.interface.js +0 -2
- package/dist/models/service/s3-static-website/s3-static-website.service.interface.js.map +0 -1
- package/dist/models/service/s3-static-website/s3-static-website.service.model.d.ts +0 -24
- package/dist/models/service/s3-static-website/s3-static-website.service.model.js +0 -178
- package/dist/models/service/s3-static-website/s3-static-website.service.model.js.map +0 -1
- package/dist/models/service/s3-storage/actions/add-s3-storage.model.action.d.ts +0 -10
- package/dist/models/service/s3-storage/actions/add-s3-storage.model.action.js +0 -47
- package/dist/models/service/s3-storage/actions/add-s3-storage.model.action.js.map +0 -1
- package/dist/models/service/s3-storage/s3-storage.service.interface.d.ts +0 -7
- package/dist/models/service/s3-storage/s3-storage.service.interface.js +0 -2
- package/dist/models/service/s3-storage/s3-storage.service.interface.js.map +0 -1
- package/dist/models/service/s3-storage/s3-storage.service.model.d.ts +0 -22
- package/dist/models/service/s3-storage/s3-storage.service.model.js +0 -85
- package/dist/models/service/s3-storage/s3-storage.service.model.js.map +0 -1
- package/dist/models/subnet/actions/add-subnet.model.action.d.ts +0 -10
- package/dist/models/subnet/actions/add-subnet.model.action.js +0 -93
- package/dist/models/subnet/actions/add-subnet.model.action.js.map +0 -1
- package/dist/models/subnet/actions/update-subnet-association.model.action.d.ts +0 -10
- package/dist/models/subnet/actions/update-subnet-association.model.action.js +0 -66
- package/dist/models/subnet/actions/update-subnet-association.model.action.js.map +0 -1
- package/dist/models/subnet/aws.subnet.interface.d.ts +0 -5
- package/dist/models/subnet/aws.subnet.interface.js +0 -2
- package/dist/models/subnet/aws.subnet.interface.js.map +0 -1
- package/dist/models/subnet/aws.subnet.model.d.ts +0 -13
- package/dist/models/subnet/aws.subnet.model.js +0 -67
- package/dist/models/subnet/aws.subnet.model.js.map +0 -1
- package/dist/modules/s3-website-save-manifest.module.d.ts +0 -4
- package/dist/modules/s3-website-save-manifest.module.js +0 -40
- package/dist/modules/s3-website-save-manifest.module.js.map +0 -1
- package/dist/octo-aws-cdk-package.mock.d.ts +0 -6
- package/dist/octo-aws-cdk-package.mock.js +0 -75
- package/dist/octo-aws-cdk-package.mock.js.map +0 -1
- package/dist/overlays/execution/actions/add-execution.overlay.action.d.ts +0 -10
- package/dist/overlays/execution/actions/add-execution.overlay.action.js +0 -160
- package/dist/overlays/execution/actions/add-execution.overlay.action.js.map +0 -1
- package/dist/overlays/execution/execution.overlay.d.ts +0 -23
- package/dist/overlays/execution/execution.overlay.interface.d.ts +0 -10
- package/dist/overlays/execution/execution.overlay.interface.js +0 -2
- package/dist/overlays/execution/execution.overlay.interface.js.map +0 -1
- package/dist/overlays/execution/execution.overlay.js +0 -25
- package/dist/overlays/execution/execution.overlay.js.map +0 -1
- package/dist/overlays/region-filesystem/actions/add-region-filesystem.overlay.action.d.ts +0 -10
- package/dist/overlays/region-filesystem/actions/add-region-filesystem.overlay.action.js +0 -45
- package/dist/overlays/region-filesystem/actions/add-region-filesystem.overlay.action.js.map +0 -1
- package/dist/overlays/region-filesystem/region-filesystem.overlay.d.ts +0 -9
- package/dist/overlays/region-filesystem/region-filesystem.overlay.interface.d.ts +0 -7
- package/dist/overlays/region-filesystem/region-filesystem.overlay.interface.js +0 -2
- package/dist/overlays/region-filesystem/region-filesystem.overlay.interface.js.map +0 -1
- package/dist/overlays/region-filesystem/region-filesystem.overlay.js +0 -25
- package/dist/overlays/region-filesystem/region-filesystem.overlay.js.map +0 -1
- package/dist/overlays/s3-storage-access/actions/add-s3-storage-access.overlay.action.d.ts +0 -10
- package/dist/overlays/s3-storage-access/actions/add-s3-storage-access.overlay.action.js +0 -47
- package/dist/overlays/s3-storage-access/actions/add-s3-storage-access.overlay.action.js.map +0 -1
- package/dist/overlays/s3-storage-access/s3-storage-access.overlay.d.ts +0 -10
- package/dist/overlays/s3-storage-access/s3-storage-access.overlay.interface.d.ts +0 -8
- package/dist/overlays/s3-storage-access/s3-storage-access.overlay.interface.js +0 -2
- package/dist/overlays/s3-storage-access/s3-storage-access.overlay.interface.js.map +0 -1
- package/dist/overlays/s3-storage-access/s3-storage-access.overlay.js +0 -25
- package/dist/overlays/s3-storage-access/s3-storage-access.overlay.js.map +0 -1
- package/dist/overlays/security-group/actions/add-security-group.overlay.action.d.ts +0 -10
- package/dist/overlays/security-group/actions/add-security-group.overlay.action.js +0 -56
- package/dist/overlays/security-group/actions/add-security-group.overlay.action.js.map +0 -1
- package/dist/overlays/security-group/security-group.overlay.d.ts +0 -9
- package/dist/overlays/security-group/security-group.overlay.interface.d.ts +0 -6
- package/dist/overlays/security-group/security-group.overlay.interface.js +0 -2
- package/dist/overlays/security-group/security-group.overlay.interface.js.map +0 -1
- package/dist/overlays/security-group/security-group.overlay.js +0 -25
- package/dist/overlays/security-group/security-group.overlay.js.map +0 -1
- package/dist/overlays/subnet-filesystem-mount/actions/add-subnet-filesystem-mount.overlay.action.d.ts +0 -10
- package/dist/overlays/subnet-filesystem-mount/actions/add-subnet-filesystem-mount.overlay.action.js +0 -68
- package/dist/overlays/subnet-filesystem-mount/actions/add-subnet-filesystem-mount.overlay.action.js.map +0 -1
- package/dist/overlays/subnet-filesystem-mount/subnet-filesystem-mount.overlay.d.ts +0 -10
- package/dist/overlays/subnet-filesystem-mount/subnet-filesystem-mount.overlay.interface.d.ts +0 -3
- package/dist/overlays/subnet-filesystem-mount/subnet-filesystem-mount.overlay.interface.js +0 -2
- package/dist/overlays/subnet-filesystem-mount/subnet-filesystem-mount.overlay.interface.js.map +0 -1
- package/dist/overlays/subnet-filesystem-mount/subnet-filesystem-mount.overlay.js +0 -25
- package/dist/overlays/subnet-filesystem-mount/subnet-filesystem-mount.overlay.js.map +0 -1
- package/dist/resources/ecr/ecr-image.interface.d.ts +0 -17
- package/dist/resources/ecr/ecr-image.interface.js +0 -2
- package/dist/resources/ecr/ecr-image.interface.js.map +0 -1
- package/dist/resources/ecs/actions/add-ecs-cluster.resource.action.d.ts +0 -11
- package/dist/resources/ecs/actions/add-ecs-cluster.resource.action.js +0 -53
- package/dist/resources/ecs/actions/add-ecs-cluster.resource.action.js.map +0 -1
- package/dist/resources/ecs/actions/add-ecs-service.resource.action.d.ts +0 -11
- package/dist/resources/ecs/actions/add-ecs-service.resource.action.js +0 -71
- package/dist/resources/ecs/actions/add-ecs-service.resource.action.js.map +0 -1
- package/dist/resources/ecs/actions/add-ecs-task-definition.resource.action.d.ts +0 -11
- package/dist/resources/ecs/actions/add-ecs-task-definition.resource.action.js +0 -90
- package/dist/resources/ecs/actions/add-ecs-task-definition.resource.action.js.map +0 -1
- package/dist/resources/ecs/actions/delete-ecs-cluster.resource.action.d.ts +0 -10
- package/dist/resources/ecs/actions/delete-ecs-cluster.resource.action.js +0 -49
- package/dist/resources/ecs/actions/delete-ecs-cluster.resource.action.js.map +0 -1
- package/dist/resources/ecs/actions/delete-ecs-service.resource.action.d.ts +0 -10
- package/dist/resources/ecs/actions/delete-ecs-service.resource.action.js +0 -77
- package/dist/resources/ecs/actions/delete-ecs-service.resource.action.js.map +0 -1
- package/dist/resources/ecs/actions/delete-ecs-task-definition.resource.action.d.ts +0 -10
- package/dist/resources/ecs/actions/delete-ecs-task-definition.resource.action.js +0 -66
- package/dist/resources/ecs/actions/delete-ecs-task-definition.resource.action.js.map +0 -1
- package/dist/resources/ecs/actions/update-ecs-service.resource.action.d.ts +0 -10
- package/dist/resources/ecs/actions/update-ecs-service.resource.action.js +0 -64
- package/dist/resources/ecs/actions/update-ecs-service.resource.action.js.map +0 -1
- package/dist/resources/ecs/actions/update-ecs-task-definition.resource.action.d.ts +0 -11
- package/dist/resources/ecs/actions/update-ecs-task-definition.resource.action.js +0 -110
- package/dist/resources/ecs/actions/update-ecs-task-definition.resource.action.js.map +0 -1
- package/dist/resources/ecs/ecs-cluster.interface.d.ts +0 -11
- package/dist/resources/ecs/ecs-cluster.interface.js +0 -2
- package/dist/resources/ecs/ecs-cluster.interface.js.map +0 -1
- package/dist/resources/ecs/ecs-cluster.resource.d.ts +0 -8
- package/dist/resources/ecs/ecs-cluster.resource.js +0 -22
- package/dist/resources/ecs/ecs-cluster.resource.js.map +0 -1
- package/dist/resources/ecs/ecs-service.interface.d.ts +0 -11
- package/dist/resources/ecs/ecs-service.interface.js +0 -2
- package/dist/resources/ecs/ecs-service.interface.js.map +0 -1
- package/dist/resources/ecs/ecs-service.resource.d.ts +0 -16
- package/dist/resources/ecs/ecs-service.resource.js +0 -76
- package/dist/resources/ecs/ecs-service.resource.js.map +0 -1
- package/dist/resources/ecs/ecs-task-definition.interface.d.ts +0 -26
- package/dist/resources/ecs/ecs-task-definition.interface.js +0 -2
- package/dist/resources/ecs/ecs-task-definition.interface.js.map +0 -1
- package/dist/resources/ecs/ecs-task-definition.resource.d.ts +0 -13
- package/dist/resources/ecs/ecs-task-definition.resource.js +0 -75
- package/dist/resources/ecs/ecs-task-definition.resource.js.map +0 -1
- package/dist/resources/efs/actions/add-efs-mount-target.resource.action.d.ts +0 -11
- package/dist/resources/efs/actions/add-efs-mount-target.resource.action.js +0 -88
- package/dist/resources/efs/actions/add-efs-mount-target.resource.action.js.map +0 -1
- package/dist/resources/efs/actions/delete-efs-mount-target.resource.action.d.ts +0 -11
- package/dist/resources/efs/actions/delete-efs-mount-target.resource.action.js +0 -90
- package/dist/resources/efs/actions/delete-efs-mount-target.resource.action.js.map +0 -1
- package/dist/resources/efs/efs-mount-target.interface.d.ts +0 -10
- package/dist/resources/efs/efs-mount-target.interface.js +0 -2
- package/dist/resources/efs/efs-mount-target.interface.js.map +0 -1
- package/dist/resources/efs/efs-mount-target.resource.d.ts +0 -10
- package/dist/resources/efs/efs-mount-target.resource.js +0 -22
- package/dist/resources/efs/efs-mount-target.resource.js.map +0 -1
- package/dist/resources/efs/efs.interface.d.ts +0 -11
- package/dist/resources/efs/efs.interface.js +0 -2
- package/dist/resources/efs/efs.interface.js.map +0 -1
- package/dist/resources/iam/actions/add-iam-role.resource.action.d.ts +0 -11
- package/dist/resources/iam/actions/add-iam-role.resource.action.js +0 -72
- package/dist/resources/iam/actions/add-iam-role.resource.action.js.map +0 -1
- package/dist/resources/iam/actions/add-iam-user.resource.action.d.ts +0 -11
- package/dist/resources/iam/actions/add-iam-user.resource.action.js +0 -56
- package/dist/resources/iam/actions/add-iam-user.resource.action.js.map +0 -1
- package/dist/resources/iam/actions/delete-iam-role.resource.action.d.ts +0 -10
- package/dist/resources/iam/actions/delete-iam-role.resource.action.js +0 -50
- package/dist/resources/iam/actions/delete-iam-role.resource.action.js.map +0 -1
- package/dist/resources/iam/actions/delete-iam-user.resource.action.d.ts +0 -10
- package/dist/resources/iam/actions/delete-iam-user.resource.action.js +0 -50
- package/dist/resources/iam/actions/delete-iam-user.resource.action.js.map +0 -1
- package/dist/resources/iam/actions/update-iam-role-assume-role-policy.resource.action.d.ts +0 -10
- package/dist/resources/iam/actions/update-iam-role-assume-role-policy.resource.action.js +0 -69
- package/dist/resources/iam/actions/update-iam-role-assume-role-policy.resource.action.js.map +0 -1
- package/dist/resources/iam/actions/update-iam-role-with-aws-policy.resource.action.d.ts +0 -10
- package/dist/resources/iam/actions/update-iam-role-with-aws-policy.resource.action.js +0 -78
- package/dist/resources/iam/actions/update-iam-role-with-aws-policy.resource.action.js.map +0 -1
- package/dist/resources/iam/actions/update-iam-role-with-s3-storage-policy.resource.action.d.ts +0 -11
- package/dist/resources/iam/actions/update-iam-role-with-s3-storage-policy.resource.action.js +0 -120
- package/dist/resources/iam/actions/update-iam-role-with-s3-storage-policy.resource.action.js.map +0 -1
- package/dist/resources/iam/actions/update-iam-user-with-s3-storage-policy.resource.action.d.ts +0 -11
- package/dist/resources/iam/actions/update-iam-user-with-s3-storage-policy.resource.action.js +0 -120
- package/dist/resources/iam/actions/update-iam-user-with-s3-storage-policy.resource.action.js.map +0 -1
- package/dist/resources/iam/iam-role.interface.d.ts +0 -20
- package/dist/resources/iam/iam-role.interface.js +0 -2
- package/dist/resources/iam/iam-role.interface.js.map +0 -1
- package/dist/resources/iam/iam-role.resource.d.ts +0 -20
- package/dist/resources/iam/iam-role.resource.js +0 -85
- package/dist/resources/iam/iam-role.resource.js.map +0 -1
- package/dist/resources/iam/iam-user.interface.d.ts +0 -18
- package/dist/resources/iam/iam-user.interface.js +0 -2
- package/dist/resources/iam/iam-user.interface.js.map +0 -1
- package/dist/resources/iam/iam-user.resource.d.ts +0 -16
- package/dist/resources/iam/iam-user.resource.js +0 -65
- package/dist/resources/iam/iam-user.resource.js.map +0 -1
- package/dist/resources/internet-gateway/internet-gateway.interface.d.ts +0 -9
- package/dist/resources/internet-gateway/internet-gateway.interface.js +0 -2
- package/dist/resources/internet-gateway/internet-gateway.interface.js.map +0 -1
- package/dist/resources/network-acl/network-acl.interface.d.ts +0 -22
- package/dist/resources/network-acl/network-acl.interface.js +0 -2
- package/dist/resources/network-acl/network-acl.interface.js.map +0 -1
- package/dist/resources/route-table/route-table.interface.d.ts +0 -11
- package/dist/resources/route-table/route-table.interface.js +0 -2
- package/dist/resources/route-table/route-table.interface.js.map +0 -1
- package/dist/resources/s3/storage/actions/add-s3-storage.resource.action.d.ts +0 -10
- package/dist/resources/s3/storage/actions/add-s3-storage.resource.action.js +0 -50
- 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 -10
- package/dist/resources/s3/storage/actions/delete-s3-storage.resource.action.js +0 -73
- package/dist/resources/s3/storage/actions/delete-s3-storage.resource.action.js.map +0 -1
- package/dist/resources/s3/storage/actions/update-source-paths-in-s3-storage.resource.action.d.ts +0 -10
- package/dist/resources/s3/storage/actions/update-source-paths-in-s3-storage.resource.action.js +0 -107
- package/dist/resources/s3/storage/actions/update-source-paths-in-s3-storage.resource.action.js.map +0 -1
- package/dist/resources/s3/storage/s3-storage.interface.d.ts +0 -6
- package/dist/resources/s3/storage/s3-storage.interface.js +0 -2
- package/dist/resources/s3/storage/s3-storage.interface.js.map +0 -1
- package/dist/resources/s3/storage/s3-storage.resource.d.ts +0 -11
- package/dist/resources/s3/storage/s3-storage.resource.js +0 -43
- package/dist/resources/s3/storage/s3-storage.resource.js.map +0 -1
- package/dist/resources/s3/website/actions/add-s3-website.resource.action.d.ts +0 -10
- package/dist/resources/s3/website/actions/add-s3-website.resource.action.js +0 -100
- 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 -10
- package/dist/resources/s3/website/actions/delete-s3-website.resource.action.js +0 -73
- package/dist/resources/s3/website/actions/delete-s3-website.resource.action.js.map +0 -1
- package/dist/resources/s3/website/actions/update-source-paths-in-s3-website.resource.action.d.ts +0 -10
- package/dist/resources/s3/website/actions/update-source-paths-in-s3-website.resource.action.js +0 -82
- package/dist/resources/s3/website/actions/update-source-paths-in-s3-website.resource.action.js.map +0 -1
- package/dist/resources/s3/website/s3-website.interface.d.ts +0 -12
- package/dist/resources/s3/website/s3-website.interface.js +0 -2
- package/dist/resources/s3/website/s3-website.interface.js.map +0 -1
- package/dist/resources/s3/website/s3-website.resource.d.ts +0 -12
- package/dist/resources/s3/website/s3-website.resource.js +0 -43
- package/dist/resources/s3/website/s3-website.resource.js.map +0 -1
- package/dist/resources/security-group/security-group.interface.d.ts +0 -21
- package/dist/resources/security-group/security-group.interface.js +0 -2
- package/dist/resources/security-group/security-group.interface.js.map +0 -1
- package/dist/resources/subnet/subnet.interface.d.ts +0 -11
- package/dist/resources/subnet/subnet.interface.js +0 -2
- package/dist/resources/subnet/subnet.interface.js.map +0 -1
- package/dist/resources/vpc/vpc.interface.d.ts +0 -11
- package/dist/resources/vpc/vpc.interface.js +0 -2
- package/dist/resources/vpc/vpc.interface.js.map +0 -1
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
import { Action, Container, Factory, } from '@quadnix/octo';
|
|
11
|
+
import { GenericResourceTaggingAction } from '../../../utilities/actions/generic-resource-tagging.action.js';
|
|
12
|
+
import { S3Storage } from '../s3-storage.resource.js';
|
|
13
|
+
/**
|
|
14
|
+
* @internal
|
|
15
|
+
*/
|
|
16
|
+
let UpdateS3StorageTagsResourceAction = class UpdateS3StorageTagsResourceAction extends GenericResourceTaggingAction {
|
|
17
|
+
constructor(container) {
|
|
18
|
+
super(container);
|
|
19
|
+
}
|
|
20
|
+
filter(diff) {
|
|
21
|
+
return super.filter(diff);
|
|
22
|
+
}
|
|
23
|
+
async handle(diff) {
|
|
24
|
+
// Get properties.
|
|
25
|
+
const s3Storage = diff.node;
|
|
26
|
+
const properties = s3Storage.properties;
|
|
27
|
+
const response = s3Storage.response;
|
|
28
|
+
await super.handle(diff, { ...properties, resourceArn: response.Arn });
|
|
29
|
+
}
|
|
30
|
+
async mock(diff) {
|
|
31
|
+
// Get properties.
|
|
32
|
+
const s3Storage = diff.node;
|
|
33
|
+
const properties = s3Storage.properties;
|
|
34
|
+
await super.mock(diff, properties);
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
UpdateS3StorageTagsResourceAction = __decorate([
|
|
38
|
+
Action(S3Storage),
|
|
39
|
+
__metadata("design:paramtypes", [Container])
|
|
40
|
+
], UpdateS3StorageTagsResourceAction);
|
|
41
|
+
export { UpdateS3StorageTagsResourceAction };
|
|
42
|
+
/**
|
|
43
|
+
* @internal
|
|
44
|
+
*/
|
|
45
|
+
let UpdateS3StorageTagsResourceActionFactory = class UpdateS3StorageTagsResourceActionFactory {
|
|
46
|
+
static async create() {
|
|
47
|
+
if (!this.instance) {
|
|
48
|
+
const container = Container.getInstance();
|
|
49
|
+
this.instance = new UpdateS3StorageTagsResourceAction(container);
|
|
50
|
+
}
|
|
51
|
+
return this.instance;
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
UpdateS3StorageTagsResourceActionFactory = __decorate([
|
|
55
|
+
Factory(UpdateS3StorageTagsResourceAction)
|
|
56
|
+
], UpdateS3StorageTagsResourceActionFactory);
|
|
57
|
+
export { UpdateS3StorageTagsResourceActionFactory };
|
|
58
|
+
//# sourceMappingURL=update-s3-storage-tags.resource.action.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-s3-storage-tags.resource.action.js","sourceRoot":"","sources":["../../../../src/resources/s3-storage/actions/update-s3-storage-tags.resource.action.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,MAAM,EACN,SAAS,EAGT,OAAO,GAER,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,4BAA4B,EAAE,MAAM,+DAA+D,CAAC;AAC7G,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAEtD;;GAEG;AAEI,IAAM,iCAAiC,GAAvC,MAAM,iCACX,SAAQ,4BAA4B;IAGpC,YAAY,SAAoB;QAC9B,KAAK,CAAC,SAAS,CAAC,CAAC;IACnB,CAAC;IAEQ,MAAM,CAAC,IAAU;QACxB,OAAO,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IAC5B,CAAC;IAEQ,KAAK,CAAC,MAAM,CAAC,IAA6C;QACjE,kBAAkB;QAClB,MAAM,SAAS,GAAG,IAAI,CAAC,IAAI,CAAC;QAC5B,MAAM,UAAU,GAAG,SAAS,CAAC,UAAU,CAAC;QACxC,MAAM,QAAQ,GAAG,SAAS,CAAC,QAAQ,CAAC;QAEpC,MAAM,KAAK,CAAC,MAAM,CAAC,IAAI,EAAE,EAAE,GAAG,UAAU,EAAE,WAAW,EAAE,QAAQ,CAAC,GAAI,EAAE,CAAC,CAAC;IAC1E,CAAC;IAEQ,KAAK,CAAC,IAAI,CAAC,IAA6C;QAC/D,kBAAkB;QAClB,MAAM,SAAS,GAAG,IAAI,CAAC,IAAI,CAAC;QAC5B,MAAM,UAAU,GAAG,SAAS,CAAC,UAAU,CAAC;QAExC,MAAM,KAAK,CAAC,IAAI,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;IACrC,CAAC;CACF,CAAA;AA5BY,iCAAiC;IAD7C,MAAM,CAAC,SAAS,CAAC;qCAKO,SAAS;GAJrB,iCAAiC,CA4B7C;;AAED;;GAEG;AAEI,IAAM,wCAAwC,GAA9C,MAAM,wCAAwC;IAGnD,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,iCAAiC,CAAC,SAAS,CAAC,CAAC;QACnE,CAAC;QACD,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;CACF,CAAA;AAVY,wCAAwC;IADpD,OAAO,CAAoC,iCAAiC,CAAC;GACjE,wCAAwC,CAUpD"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import './actions/add-s3-storage.resource.action.js';
|
|
2
|
+
import './actions/delete-s3-storage.resource.action.js';
|
|
3
|
+
import './actions/update-parent-in-s3-storage.resource.action.js';
|
|
4
|
+
import './actions/update-permissions-in-s3-storage.resource.action.js';
|
|
5
|
+
import './actions/update-s3-storage-tags.resource.action.js';
|
|
6
|
+
export { S3Storage } from './s3-storage.resource.js';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import './actions/add-s3-storage.resource.action.js';
|
|
2
|
+
import './actions/delete-s3-storage.resource.action.js';
|
|
3
|
+
import './actions/update-parent-in-s3-storage.resource.action.js';
|
|
4
|
+
import './actions/update-permissions-in-s3-storage.resource.action.js';
|
|
5
|
+
import './actions/update-s3-storage-tags.resource.action.js';
|
|
6
|
+
export { S3Storage } from './s3-storage.resource.js';
|
|
7
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/s3-storage/index.ts"],"names":[],"mappings":"AAAA,OAAO,6CAA6C,CAAC;AACrD,OAAO,gDAAgD,CAAC;AACxD,OAAO,0DAA0D,CAAC;AAClE,OAAO,+DAA+D,CAAC;AACvE,OAAO,qDAAqD,CAAC;AAE7D,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { BaseResourceSchema } from '@quadnix/octo';
|
|
2
|
+
/**
|
|
3
|
+
* Defines the schema for the s3 storage to allow permissions to a principal resource.
|
|
4
|
+
*
|
|
5
|
+
* @group Resources/S3Storage
|
|
6
|
+
*
|
|
7
|
+
* @hideconstructor
|
|
8
|
+
*/
|
|
9
|
+
export declare class S3StoragePermissionSchema {
|
|
10
|
+
/**
|
|
11
|
+
* Allow read.
|
|
12
|
+
*/
|
|
13
|
+
allowRead: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Allow write.
|
|
16
|
+
*/
|
|
17
|
+
allowWrite: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* The resource id of the principal resource.
|
|
20
|
+
*/
|
|
21
|
+
principalResourceId: string;
|
|
22
|
+
/**
|
|
23
|
+
* The path within the bucket this permission is for.
|
|
24
|
+
* If you want to allow access to the entire bucket, use empty string `''`.
|
|
25
|
+
*/
|
|
26
|
+
remoteDirectoryPath: string;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* @internal
|
|
30
|
+
*/
|
|
31
|
+
export declare class PrincipalResourceSchema extends BaseResourceSchema {
|
|
32
|
+
response: {
|
|
33
|
+
Arn?: string;
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* The `S3StorageSchema` class is the schema for the `S3Storage` resource,
|
|
38
|
+
* which represents the AWS Simple Storage Service (S3) Bucket resource.
|
|
39
|
+
* This resource can create an S3 bucket in AWS using the AWS JavaScript SDK V3 API.
|
|
40
|
+
* See [official sdk docs](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/).
|
|
41
|
+
*
|
|
42
|
+
* @group Resources/S3Storage
|
|
43
|
+
*
|
|
44
|
+
* @hideconstructor
|
|
45
|
+
*
|
|
46
|
+
* @overrideProperty parents - This resource has parents.
|
|
47
|
+
* ```mermaid
|
|
48
|
+
* graph TD;
|
|
49
|
+
* principal_resource((Principal<br>Resource)) --> s3_storage((S3<br>Storage))
|
|
50
|
+
* ```
|
|
51
|
+
* @overrideProperty resourceId - The resource id is of format `bucket-<bucket-name>`
|
|
52
|
+
*/
|
|
53
|
+
export declare class S3StorageSchema extends BaseResourceSchema {
|
|
54
|
+
/**
|
|
55
|
+
* Input properties.
|
|
56
|
+
* * `properties.awsAccountId` - The AWS account id.
|
|
57
|
+
* * `properties.awsRegionId` - The AWS region id.
|
|
58
|
+
* * `properties.Bucket` - The name of the bucket.
|
|
59
|
+
* * `properties.permissions` - The permissions for the bucket. See {@link S3StoragePermissionSchema} for options.
|
|
60
|
+
*/
|
|
61
|
+
properties: {
|
|
62
|
+
awsAccountId: string;
|
|
63
|
+
awsRegionId: string;
|
|
64
|
+
Bucket: string;
|
|
65
|
+
permissions: S3StoragePermissionSchema[];
|
|
66
|
+
};
|
|
67
|
+
/**
|
|
68
|
+
* Saved response.
|
|
69
|
+
* * `response.Arn` - The ARN of the bucket.
|
|
70
|
+
*/
|
|
71
|
+
response: {
|
|
72
|
+
Arn?: string;
|
|
73
|
+
};
|
|
74
|
+
}
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
import { BaseResourceSchema, Schema, Validate } from '@quadnix/octo';
|
|
11
|
+
/**
|
|
12
|
+
* Defines the schema for the s3 storage to allow permissions to a principal resource.
|
|
13
|
+
*
|
|
14
|
+
* @group Resources/S3Storage
|
|
15
|
+
*
|
|
16
|
+
* @hideconstructor
|
|
17
|
+
*/
|
|
18
|
+
export class S3StoragePermissionSchema {
|
|
19
|
+
constructor() {
|
|
20
|
+
/**
|
|
21
|
+
* Allow read.
|
|
22
|
+
*/
|
|
23
|
+
this.allowRead = Schema();
|
|
24
|
+
/**
|
|
25
|
+
* Allow write.
|
|
26
|
+
*/
|
|
27
|
+
this.allowWrite = Schema();
|
|
28
|
+
/**
|
|
29
|
+
* The resource id of the principal resource.
|
|
30
|
+
*/
|
|
31
|
+
this.principalResourceId = Schema();
|
|
32
|
+
/**
|
|
33
|
+
* The path within the bucket this permission is for.
|
|
34
|
+
* If you want to allow access to the entire bucket, use empty string `''`.
|
|
35
|
+
*/
|
|
36
|
+
this.remoteDirectoryPath = Schema();
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
__decorate([
|
|
40
|
+
Validate({ options: { minLength: 1 } }),
|
|
41
|
+
__metadata("design:type", Object)
|
|
42
|
+
], S3StoragePermissionSchema.prototype, "allowRead", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
Validate({ options: { minLength: 1 } }),
|
|
45
|
+
__metadata("design:type", Object)
|
|
46
|
+
], S3StoragePermissionSchema.prototype, "allowWrite", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
Validate({ options: { minLength: 1 } }),
|
|
49
|
+
__metadata("design:type", Object)
|
|
50
|
+
], S3StoragePermissionSchema.prototype, "principalResourceId", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
Validate({ options: { minLength: 1 } }),
|
|
53
|
+
__metadata("design:type", Object)
|
|
54
|
+
], S3StoragePermissionSchema.prototype, "remoteDirectoryPath", void 0);
|
|
55
|
+
/**
|
|
56
|
+
* @internal
|
|
57
|
+
*/
|
|
58
|
+
export class PrincipalResourceSchema extends BaseResourceSchema {
|
|
59
|
+
constructor() {
|
|
60
|
+
super(...arguments);
|
|
61
|
+
this.response = Schema();
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
__decorate([
|
|
65
|
+
Validate({
|
|
66
|
+
destruct: (value) => {
|
|
67
|
+
const subjects = [];
|
|
68
|
+
if (value.Arn) {
|
|
69
|
+
subjects.push(value.Arn);
|
|
70
|
+
}
|
|
71
|
+
return subjects;
|
|
72
|
+
},
|
|
73
|
+
options: { minLength: 1 },
|
|
74
|
+
}),
|
|
75
|
+
__metadata("design:type", Object)
|
|
76
|
+
], PrincipalResourceSchema.prototype, "response", void 0);
|
|
77
|
+
/**
|
|
78
|
+
* The `S3StorageSchema` class is the schema for the `S3Storage` resource,
|
|
79
|
+
* which represents the AWS Simple Storage Service (S3) Bucket resource.
|
|
80
|
+
* This resource can create an S3 bucket in AWS using the AWS JavaScript SDK V3 API.
|
|
81
|
+
* See [official sdk docs](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/).
|
|
82
|
+
*
|
|
83
|
+
* @group Resources/S3Storage
|
|
84
|
+
*
|
|
85
|
+
* @hideconstructor
|
|
86
|
+
*
|
|
87
|
+
* @overrideProperty parents - This resource has parents.
|
|
88
|
+
* ```mermaid
|
|
89
|
+
* graph TD;
|
|
90
|
+
* principal_resource((Principal<br>Resource)) --> s3_storage((S3<br>Storage))
|
|
91
|
+
* ```
|
|
92
|
+
* @overrideProperty resourceId - The resource id is of format `bucket-<bucket-name>`
|
|
93
|
+
*/
|
|
94
|
+
export class S3StorageSchema extends BaseResourceSchema {
|
|
95
|
+
constructor() {
|
|
96
|
+
super(...arguments);
|
|
97
|
+
/**
|
|
98
|
+
* Input properties.
|
|
99
|
+
* * `properties.awsAccountId` - The AWS account id.
|
|
100
|
+
* * `properties.awsRegionId` - The AWS region id.
|
|
101
|
+
* * `properties.Bucket` - The name of the bucket.
|
|
102
|
+
* * `properties.permissions` - The permissions for the bucket. See {@link S3StoragePermissionSchema} for options.
|
|
103
|
+
*/
|
|
104
|
+
this.properties = Schema();
|
|
105
|
+
/**
|
|
106
|
+
* Saved response.
|
|
107
|
+
* * `response.Arn` - The ARN of the bucket.
|
|
108
|
+
*/
|
|
109
|
+
this.response = Schema();
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
__decorate([
|
|
113
|
+
Validate([
|
|
114
|
+
{
|
|
115
|
+
destruct: (value) => [
|
|
116
|
+
value.awsAccountId,
|
|
117
|
+
value.awsRegionId,
|
|
118
|
+
value.Bucket,
|
|
119
|
+
],
|
|
120
|
+
options: { minLength: 1 },
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
destruct: (value) => value.permissions,
|
|
124
|
+
options: { isSchema: { schema: S3StoragePermissionSchema } },
|
|
125
|
+
},
|
|
126
|
+
]),
|
|
127
|
+
__metadata("design:type", Object)
|
|
128
|
+
], S3StorageSchema.prototype, "properties", void 0);
|
|
129
|
+
__decorate([
|
|
130
|
+
Validate({
|
|
131
|
+
destruct: (value) => {
|
|
132
|
+
const subjects = [];
|
|
133
|
+
if (value.Arn) {
|
|
134
|
+
subjects.push(value.Arn);
|
|
135
|
+
}
|
|
136
|
+
return subjects;
|
|
137
|
+
},
|
|
138
|
+
options: { minLength: 1 },
|
|
139
|
+
}),
|
|
140
|
+
__metadata("design:type", Object)
|
|
141
|
+
], S3StorageSchema.prototype, "response", void 0);
|
|
142
|
+
//# sourceMappingURL=index.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.schema.js","sourceRoot":"","sources":["../../../src/resources/s3-storage/index.schema.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAErE;;;;;;GAMG;AACH,MAAM,OAAO,yBAAyB;IAAtC;QACE;;WAEG;QAEH,cAAS,GAAG,MAAM,EAAW,CAAC;QAE9B;;WAEG;QAEH,eAAU,GAAG,MAAM,EAAW,CAAC;QAE/B;;WAEG;QAEH,wBAAmB,GAAG,MAAM,EAAU,CAAC;QAEvC;;;WAGG;QAEH,wBAAmB,GAAG,MAAM,EAAU,CAAC;IACzC,CAAC;CAAA;AApBC;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,EAAE,CAAC;;4DACV;AAM9B;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,EAAE,CAAC;;6DACT;AAM/B;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,EAAE,CAAC;;sEACD;AAOvC;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,EAAE,CAAC;;sEACD;AAGzC;;GAEG;AACH,MAAM,OAAO,uBAAwB,SAAQ,kBAAkB;IAA/D;;QAWW,aAAQ,GAAG,MAAM,EAEtB,CAAC;IACP,CAAC;CAAA;AAHU;IAVR,QAAQ,CAAC;QACR,QAAQ,EAAE,CAAC,KAA0C,EAAY,EAAE;YACjE,MAAM,QAAQ,GAAa,EAAE,CAAC;YAC9B,IAAI,KAAK,CAAC,GAAG,EAAE,CAAC;gBACd,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;YAC3B,CAAC;YACD,OAAO,QAAQ,CAAC;QAClB,CAAC;QACD,OAAO,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE;KAC1B,CAAC;;yDAGG;AAGP;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,OAAO,eAAgB,SAAQ,kBAAkB;IAAvD;;QACE;;;;;;WAMG;QAeM,eAAU,GAAG,MAAM,EAKxB,CAAC;QAEL;;;WAGG;QAWM,aAAQ,GAAG,MAAM,EAEtB,CAAC;IACP,CAAC;CAAA;AAxBU;IAdR,QAAQ,CAAU;QACjB;YACE,QAAQ,EAAE,CAAC,KAAoC,EAAY,EAAE,CAAC;gBAC5D,KAAK,CAAC,YAAY;gBAClB,KAAK,CAAC,WAAW;gBACjB,KAAK,CAAC,MAAM;aACb;YACD,OAAO,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE;SAC1B;QACD;YACE,QAAQ,EAAE,CAAC,KAAoC,EAA+B,EAAE,CAAC,KAAK,CAAC,WAAW;YAClG,OAAO,EAAE,EAAE,QAAQ,EAAE,EAAE,MAAM,EAAE,yBAAyB,EAAE,EAAE;SAC7D;KACF,CAAC;;mDAMG;AAgBI;IAVR,QAAQ,CAAC;QACR,QAAQ,EAAE,CAAC,KAAkC,EAAY,EAAE;YACzD,MAAM,QAAQ,GAAa,EAAE,CAAC;YAC9B,IAAI,KAAK,CAAC,GAAG,EAAE,CAAC;gBACd,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;YAC3B,CAAC;YACD,OAAO,QAAQ,CAAC;QAClB,CAAC;QACD,OAAO,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE;KAC1B,CAAC;;iDAGG"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { AResource, Diff, MatchingResource } from '@quadnix/octo';
|
|
2
|
+
import { type PrincipalResourceSchema, S3StorageSchema } from './index.schema.js';
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export type S3StorageManifestDiff = {
|
|
7
|
+
[key: string]: {
|
|
8
|
+
[key: string]: 'addDirectoryPermissions' | 'deleteDirectoryPermissions' | 'updateDirectoryPermissions';
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export declare class S3Storage extends AResource<S3StorageSchema, S3Storage> {
|
|
15
|
+
parents: MatchingResource<PrincipalResourceSchema>[];
|
|
16
|
+
properties: S3StorageSchema['properties'];
|
|
17
|
+
response: S3StorageSchema['response'];
|
|
18
|
+
constructor(resourceId: string, properties: S3StorageSchema['properties'], parents?: MatchingResource<PrincipalResourceSchema>[]);
|
|
19
|
+
addPermission(principal: MatchingResource<PrincipalResourceSchema>, remoteDirectoryPath: string, options: {
|
|
20
|
+
allowRead: boolean;
|
|
21
|
+
allowWrite: boolean;
|
|
22
|
+
}): void;
|
|
23
|
+
diffInverse(diff: Diff<S3Storage>, deReferenceResource: (resourceId: string) => Promise<never>): Promise<void>;
|
|
24
|
+
diffProperties(previous: S3Storage): Promise<Diff[]>;
|
|
25
|
+
diffUnpack(diff: Diff): Diff[];
|
|
26
|
+
private updatePrincipalResourceDependencyBehaviors;
|
|
27
|
+
}
|
|
@@ -0,0 +1,147 @@
|
|
|
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 { AResource, DependencyRelationship, Diff, DiffAction, MatchingResource, Resource, } from '@quadnix/octo';
|
|
11
|
+
import { S3StorageSchema } from './index.schema.js';
|
|
12
|
+
/**
|
|
13
|
+
* @internal
|
|
14
|
+
*/
|
|
15
|
+
let S3Storage = class S3Storage extends AResource {
|
|
16
|
+
constructor(resourceId, properties, parents) {
|
|
17
|
+
super(resourceId, properties, parents || []);
|
|
18
|
+
this.updatePrincipalResourceDependencyBehaviors((parents || []).map((p) => p.getActual()));
|
|
19
|
+
}
|
|
20
|
+
addPermission(principal, remoteDirectoryPath, options) {
|
|
21
|
+
const principalResourceId = principal.getActual().resourceId;
|
|
22
|
+
const existingPermission = this.properties.permissions.find((p) => p.principalResourceId === principalResourceId && p.remoteDirectoryPath === remoteDirectoryPath);
|
|
23
|
+
if (existingPermission) {
|
|
24
|
+
existingPermission.allowRead = options.allowRead;
|
|
25
|
+
existingPermission.allowWrite = options.allowWrite;
|
|
26
|
+
}
|
|
27
|
+
else {
|
|
28
|
+
const { childToParentDependency, parentToChildDependency } = principal.addChild('resourceId', this, 'resourceId');
|
|
29
|
+
childToParentDependency.addBehavior('update-permissions', DiffAction.UPDATE, 'resourceId', DiffAction.ADD);
|
|
30
|
+
parentToChildDependency.addBehavior('resourceId', DiffAction.DELETE, 'update-permissions', DiffAction.UPDATE);
|
|
31
|
+
this.properties.permissions.push({
|
|
32
|
+
allowRead: options.allowRead,
|
|
33
|
+
allowWrite: options.allowWrite,
|
|
34
|
+
principalResourceId,
|
|
35
|
+
remoteDirectoryPath,
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
async diffInverse(diff, deReferenceResource) {
|
|
40
|
+
if (diff.field === 'update-permissions' && diff.action === DiffAction.UPDATE) {
|
|
41
|
+
// All changes to properties.permissions is in this single diff, invoking one single action.
|
|
42
|
+
// There is no need to individually clone properties. A single clone is enough.
|
|
43
|
+
this.clonePropertiesInPlace(diff.node);
|
|
44
|
+
}
|
|
45
|
+
else {
|
|
46
|
+
await super.diffInverse(diff, deReferenceResource);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
async diffProperties(previous) {
|
|
50
|
+
const diffs = [];
|
|
51
|
+
const manifestDiff = {};
|
|
52
|
+
for (const previousPermission of previous.properties.permissions) {
|
|
53
|
+
const currentPermission = this.properties.permissions.find((p) => p.principalResourceId === previousPermission.principalResourceId &&
|
|
54
|
+
p.remoteDirectoryPath === previousPermission.remoteDirectoryPath);
|
|
55
|
+
if (currentPermission) {
|
|
56
|
+
if (currentPermission.allowRead !== previousPermission.allowRead ||
|
|
57
|
+
currentPermission.allowWrite !== previousPermission.allowWrite) {
|
|
58
|
+
if (previousPermission.remoteDirectoryPath in manifestDiff) {
|
|
59
|
+
manifestDiff[previousPermission.remoteDirectoryPath][previousPermission.principalResourceId] =
|
|
60
|
+
'updateDirectoryPermissions';
|
|
61
|
+
}
|
|
62
|
+
else {
|
|
63
|
+
manifestDiff[previousPermission.remoteDirectoryPath] = {
|
|
64
|
+
[previousPermission.principalResourceId]: 'updateDirectoryPermissions',
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
else {
|
|
70
|
+
if (previousPermission.remoteDirectoryPath in manifestDiff) {
|
|
71
|
+
manifestDiff[previousPermission.remoteDirectoryPath][previousPermission.principalResourceId] =
|
|
72
|
+
'deleteDirectoryPermissions';
|
|
73
|
+
}
|
|
74
|
+
else {
|
|
75
|
+
manifestDiff[previousPermission.remoteDirectoryPath] = {
|
|
76
|
+
[previousPermission.principalResourceId]: 'deleteDirectoryPermissions',
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
for (const currentPermission of this.properties.permissions) {
|
|
82
|
+
const previousPermission = previous.properties.permissions.find((p) => p.principalResourceId === currentPermission.principalResourceId &&
|
|
83
|
+
p.remoteDirectoryPath === currentPermission.remoteDirectoryPath);
|
|
84
|
+
if (!previousPermission) {
|
|
85
|
+
if (currentPermission.remoteDirectoryPath in manifestDiff) {
|
|
86
|
+
manifestDiff[currentPermission.remoteDirectoryPath][currentPermission.principalResourceId] =
|
|
87
|
+
'addDirectoryPermissions';
|
|
88
|
+
}
|
|
89
|
+
else {
|
|
90
|
+
manifestDiff[currentPermission.remoteDirectoryPath] = {
|
|
91
|
+
[currentPermission.principalResourceId]: 'addDirectoryPermissions',
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
if (Object.keys(manifestDiff).length > 0) {
|
|
97
|
+
diffs.push(new Diff(this, DiffAction.UPDATE, 'update-permissions', JSON.parse(JSON.stringify(manifestDiff))));
|
|
98
|
+
}
|
|
99
|
+
return diffs;
|
|
100
|
+
}
|
|
101
|
+
diffUnpack(diff) {
|
|
102
|
+
if (diff.action === DiffAction.ADD && diff.field === 'resourceId') {
|
|
103
|
+
const diffs = [diff];
|
|
104
|
+
const manifestDiff = {};
|
|
105
|
+
for (const permission of this.properties.permissions) {
|
|
106
|
+
if (permission.remoteDirectoryPath in manifestDiff) {
|
|
107
|
+
manifestDiff[permission.remoteDirectoryPath][permission.principalResourceId] = 'addDirectoryPermissions';
|
|
108
|
+
}
|
|
109
|
+
else {
|
|
110
|
+
manifestDiff[permission.remoteDirectoryPath] = {
|
|
111
|
+
[permission.principalResourceId]: 'addDirectoryPermissions',
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
if (Object.keys(manifestDiff).length > 0) {
|
|
116
|
+
diffs.push(new Diff(this, DiffAction.UPDATE, 'update-permissions', JSON.parse(JSON.stringify(manifestDiff))));
|
|
117
|
+
}
|
|
118
|
+
if (this.tags && Object.keys(this.tags).length > 0) {
|
|
119
|
+
diffs.push(new Diff(this, DiffAction.UPDATE, 'tags', {
|
|
120
|
+
add: JSON.parse(JSON.stringify(this.tags)),
|
|
121
|
+
delete: [],
|
|
122
|
+
update: {},
|
|
123
|
+
}));
|
|
124
|
+
}
|
|
125
|
+
return diffs;
|
|
126
|
+
}
|
|
127
|
+
else {
|
|
128
|
+
return [diff];
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
updatePrincipalResourceDependencyBehaviors(principalResourceParents) {
|
|
132
|
+
for (const principal of principalResourceParents) {
|
|
133
|
+
const s3StorageToPrincipalResourceDep = this.getDependency(principal, DependencyRelationship.CHILD);
|
|
134
|
+
const principalResourceToS3StorageDep = principal.getDependency(this, DependencyRelationship.PARENT);
|
|
135
|
+
// Before updating s3-storage must add principal-resource.
|
|
136
|
+
s3StorageToPrincipalResourceDep.addBehavior('update-permissions', DiffAction.UPDATE, 'resourceId', DiffAction.ADD);
|
|
137
|
+
// Before deleting principal-resource must update s3-storage.
|
|
138
|
+
principalResourceToS3StorageDep.addBehavior('resourceId', DiffAction.DELETE, 'update-permissions', DiffAction.UPDATE);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
};
|
|
142
|
+
S3Storage = __decorate([
|
|
143
|
+
Resource('@octo', 's3-storage', S3StorageSchema),
|
|
144
|
+
__metadata("design:paramtypes", [String, Object, Array])
|
|
145
|
+
], S3Storage);
|
|
146
|
+
export { S3Storage };
|
|
147
|
+
//# sourceMappingURL=s3-storage.resource.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"s3-storage.resource.js","sourceRoot":"","sources":["../../../src/resources/s3-storage/s3-storage.resource.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Container, type Diff, type IResourceAction } from '@quadnix/octo';
|
|
2
|
+
import { S3Website } from '../s3-website.resource.js';
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare class AddS3WebsiteResourceAction implements IResourceAction<S3Website> {
|
|
7
|
+
private readonly container;
|
|
8
|
+
constructor(container: Container);
|
|
9
|
+
filter(diff: Diff): boolean;
|
|
10
|
+
handle(diff: Diff<S3Website>): Promise<void>;
|
|
11
|
+
mock(diff: Diff<S3Website>): Promise<void>;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @internal
|
|
15
|
+
*/
|
|
16
|
+
export declare class AddS3WebsiteResourceActionFactory {
|
|
17
|
+
private static instance;
|
|
18
|
+
static create(): Promise<AddS3WebsiteResourceAction>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,128 @@
|
|
|
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 { CreateBucketCommand, PutBucketPolicyCommand, PutBucketWebsiteCommand, PutPublicAccessBlockCommand, S3Client, } from '@aws-sdk/client-s3';
|
|
11
|
+
import { Action, Container, DiffAction, Factory, hasNodeName } from '@quadnix/octo';
|
|
12
|
+
import { PolicyUtility } from '../../../utilities/policy/policy.utility.js';
|
|
13
|
+
import { S3Website } from '../s3-website.resource.js';
|
|
14
|
+
/**
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
let AddS3WebsiteResourceAction = class AddS3WebsiteResourceAction {
|
|
18
|
+
constructor(container) {
|
|
19
|
+
this.container = container;
|
|
20
|
+
}
|
|
21
|
+
filter(diff) {
|
|
22
|
+
return (diff.action === DiffAction.ADD &&
|
|
23
|
+
diff.node instanceof S3Website &&
|
|
24
|
+
hasNodeName(diff.node, 's3-website') &&
|
|
25
|
+
diff.field === 'resourceId');
|
|
26
|
+
}
|
|
27
|
+
async handle(diff) {
|
|
28
|
+
// Get properties.
|
|
29
|
+
const s3Website = diff.node;
|
|
30
|
+
const properties = s3Website.properties;
|
|
31
|
+
const response = s3Website.response;
|
|
32
|
+
// Get instances.
|
|
33
|
+
const s3Client = await this.container.get(S3Client, {
|
|
34
|
+
args: [properties.awsAccountId, properties.awsRegionId],
|
|
35
|
+
metadata: { package: '@octo' },
|
|
36
|
+
});
|
|
37
|
+
// Create a new bucket.
|
|
38
|
+
await s3Client.send(new CreateBucketCommand({
|
|
39
|
+
Bucket: properties.Bucket,
|
|
40
|
+
}));
|
|
41
|
+
// Add static website hosting to the bucket.
|
|
42
|
+
await s3Client.send(new PutBucketWebsiteCommand({
|
|
43
|
+
Bucket: properties.Bucket,
|
|
44
|
+
WebsiteConfiguration: {
|
|
45
|
+
ErrorDocument: {
|
|
46
|
+
Key: properties.ErrorDocument,
|
|
47
|
+
},
|
|
48
|
+
IndexDocument: {
|
|
49
|
+
Suffix: properties.IndexDocument,
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
}));
|
|
53
|
+
// Configure static website to be accessible to public.
|
|
54
|
+
await s3Client.send(new PutPublicAccessBlockCommand({
|
|
55
|
+
Bucket: properties.Bucket,
|
|
56
|
+
PublicAccessBlockConfiguration: {
|
|
57
|
+
BlockPublicAcls: false,
|
|
58
|
+
BlockPublicPolicy: false,
|
|
59
|
+
IgnorePublicAcls: false,
|
|
60
|
+
RestrictPublicBuckets: false,
|
|
61
|
+
},
|
|
62
|
+
}));
|
|
63
|
+
// Allow bucket files to be read by everyone.
|
|
64
|
+
await s3Client.send(new PutBucketPolicyCommand({
|
|
65
|
+
Bucket: properties.Bucket,
|
|
66
|
+
Policy: JSON.stringify({
|
|
67
|
+
Statement: [
|
|
68
|
+
{
|
|
69
|
+
Action: ['s3:GetObject'],
|
|
70
|
+
Effect: 'Allow',
|
|
71
|
+
Principal: '*',
|
|
72
|
+
Resource: [`arn:aws:s3:::${properties.Bucket}/*`],
|
|
73
|
+
Sid: PolicyUtility.getSafeSid('PublicReadGetObject'),
|
|
74
|
+
},
|
|
75
|
+
],
|
|
76
|
+
Version: '2012-10-17',
|
|
77
|
+
}),
|
|
78
|
+
}));
|
|
79
|
+
// Set response.
|
|
80
|
+
response.Arn = `arn:aws:s3:::${properties.Bucket}`;
|
|
81
|
+
response.awsRegionId = properties.awsRegionId;
|
|
82
|
+
}
|
|
83
|
+
async mock(diff) {
|
|
84
|
+
// Get properties.
|
|
85
|
+
const s3Website = diff.node;
|
|
86
|
+
const properties = s3Website.properties;
|
|
87
|
+
const s3Client = await this.container.get(S3Client, {
|
|
88
|
+
args: [properties.awsAccountId, properties.awsRegionId],
|
|
89
|
+
metadata: { package: '@octo' },
|
|
90
|
+
});
|
|
91
|
+
s3Client.send = async (instance) => {
|
|
92
|
+
if (instance instanceof CreateBucketCommand) {
|
|
93
|
+
return;
|
|
94
|
+
}
|
|
95
|
+
else if (instance instanceof PutBucketWebsiteCommand) {
|
|
96
|
+
return;
|
|
97
|
+
}
|
|
98
|
+
else if (instance instanceof PutPublicAccessBlockCommand) {
|
|
99
|
+
return;
|
|
100
|
+
}
|
|
101
|
+
else if (instance instanceof PutBucketPolicyCommand) {
|
|
102
|
+
return;
|
|
103
|
+
}
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
};
|
|
107
|
+
AddS3WebsiteResourceAction = __decorate([
|
|
108
|
+
Action(S3Website),
|
|
109
|
+
__metadata("design:paramtypes", [Container])
|
|
110
|
+
], AddS3WebsiteResourceAction);
|
|
111
|
+
export { AddS3WebsiteResourceAction };
|
|
112
|
+
/**
|
|
113
|
+
* @internal
|
|
114
|
+
*/
|
|
115
|
+
let AddS3WebsiteResourceActionFactory = class AddS3WebsiteResourceActionFactory {
|
|
116
|
+
static async create() {
|
|
117
|
+
if (!this.instance) {
|
|
118
|
+
const container = Container.getInstance();
|
|
119
|
+
this.instance = new AddS3WebsiteResourceAction(container);
|
|
120
|
+
}
|
|
121
|
+
return this.instance;
|
|
122
|
+
}
|
|
123
|
+
};
|
|
124
|
+
AddS3WebsiteResourceActionFactory = __decorate([
|
|
125
|
+
Factory(AddS3WebsiteResourceAction)
|
|
126
|
+
], AddS3WebsiteResourceActionFactory);
|
|
127
|
+
export { AddS3WebsiteResourceActionFactory };
|
|
128
|
+
//# sourceMappingURL=add-s3-website.resource.action.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-s3-website.resource.action.js","sourceRoot":"","sources":["../../../../src/resources/s3-website/actions/add-s3-website.resource.action.ts"],"names":[],"mappings":"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"}
|