@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
package/dist/resources/iam-role/actions/update-iam-role-with-s3-storage-policy.resource.action.js
ADDED
|
@@ -0,0 +1,150 @@
|
|
|
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 { AttachRolePolicyCommand, CreatePolicyCommand, DeletePolicyCommand, DetachRolePolicyCommand, IAMClient, } from '@aws-sdk/client-iam';
|
|
11
|
+
import { Action, Container, DiffAction, Factory, hasNodeName } from '@quadnix/octo';
|
|
12
|
+
import { PolicyUtility } from '../../../utilities/policy/policy.utility.js';
|
|
13
|
+
import { IamRole, isAddPolicyDiff, isDeletePolicyDiff } from '../iam-role.resource.js';
|
|
14
|
+
/**
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
let UpdateIamRoleWithS3StoragePolicyResourceAction = class UpdateIamRoleWithS3StoragePolicyResourceAction {
|
|
18
|
+
constructor(container) {
|
|
19
|
+
this.container = container;
|
|
20
|
+
}
|
|
21
|
+
filter(diff) {
|
|
22
|
+
return (diff.action === DiffAction.UPDATE &&
|
|
23
|
+
diff.node instanceof IamRole &&
|
|
24
|
+
hasNodeName(diff.node, 'iam-role') &&
|
|
25
|
+
diff.field === 's3-storage-access-policy');
|
|
26
|
+
}
|
|
27
|
+
async handle(diff) {
|
|
28
|
+
// Get properties.
|
|
29
|
+
const iamRole = diff.node;
|
|
30
|
+
const iamRolePolicyDiff = diff.value;
|
|
31
|
+
const properties = iamRole.properties;
|
|
32
|
+
const response = iamRole.response;
|
|
33
|
+
// Get instances.
|
|
34
|
+
const iamClient = await this.container.get(IAMClient, {
|
|
35
|
+
args: [properties.awsAccountId],
|
|
36
|
+
metadata: { package: '@octo' },
|
|
37
|
+
});
|
|
38
|
+
// Attach policies to IAM Role to read/write from bucket.
|
|
39
|
+
if (isAddPolicyDiff(iamRolePolicyDiff)) {
|
|
40
|
+
const policyDocument = [];
|
|
41
|
+
const policy = iamRolePolicyDiff.policy;
|
|
42
|
+
if (policy.allowRead) {
|
|
43
|
+
policyDocument.push({
|
|
44
|
+
Action: [
|
|
45
|
+
's3:GetObject',
|
|
46
|
+
's3:GetObjectAttributes',
|
|
47
|
+
's3:GetObjectTagging',
|
|
48
|
+
's3:GetObjectVersionAcl',
|
|
49
|
+
's3:GetObjectVersionAttributes',
|
|
50
|
+
's3:GetObjectVersionTagging',
|
|
51
|
+
's3:ListBucket',
|
|
52
|
+
],
|
|
53
|
+
Effect: 'Allow',
|
|
54
|
+
Resource: policy.remoteDirectoryPath === '' || policy.remoteDirectoryPath === '/'
|
|
55
|
+
? [`arn:aws:s3:::${policy.bucketName}`, `arn:aws:s3:::${policy.bucketName}/*`]
|
|
56
|
+
: [
|
|
57
|
+
`arn:aws:s3:::${policy.bucketName}/${policy.remoteDirectoryPath}`,
|
|
58
|
+
`arn:aws:s3:::${policy.bucketName}/${policy.remoteDirectoryPath}/*`,
|
|
59
|
+
],
|
|
60
|
+
Sid: PolicyUtility.getSafeSid(`Allow read from bucket ${policy.bucketName}`),
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
if (policy.allowWrite) {
|
|
64
|
+
policyDocument.push({
|
|
65
|
+
Action: ['s3:PutObject', 's3:DeleteObjectVersion', 's3:DeleteObject'],
|
|
66
|
+
Effect: 'Allow',
|
|
67
|
+
Resource: policy.remoteDirectoryPath === '' || policy.remoteDirectoryPath === '/'
|
|
68
|
+
? [`arn:aws:s3:::${policy.bucketName}`, `arn:aws:s3:::${policy.bucketName}/*`]
|
|
69
|
+
: [`arn:aws:s3:::${policy.bucketName}/${policy.remoteDirectoryPath}/*`],
|
|
70
|
+
Sid: PolicyUtility.getSafeSid(`Allow write from bucket ${policy.bucketName}`),
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
const data = await iamClient.send(new CreatePolicyCommand({
|
|
74
|
+
PolicyDocument: JSON.stringify({
|
|
75
|
+
Statement: policyDocument,
|
|
76
|
+
Version: '2012-10-17',
|
|
77
|
+
}),
|
|
78
|
+
PolicyName: iamRolePolicyDiff.policyId,
|
|
79
|
+
}));
|
|
80
|
+
await iamClient.send(new AttachRolePolicyCommand({
|
|
81
|
+
PolicyArn: data.Policy.Arn,
|
|
82
|
+
RoleName: response.RoleName,
|
|
83
|
+
}));
|
|
84
|
+
// Set response.
|
|
85
|
+
response.policies[iamRolePolicyDiff.policyId] = [data.Policy.Arn];
|
|
86
|
+
}
|
|
87
|
+
else if (isDeletePolicyDiff(iamRolePolicyDiff)) {
|
|
88
|
+
const policyARNs = response.policies[iamRolePolicyDiff.policyId] || [];
|
|
89
|
+
await Promise.all(policyARNs.map(async (policyArn) => {
|
|
90
|
+
await iamClient.send(new DetachRolePolicyCommand({
|
|
91
|
+
PolicyArn: policyArn,
|
|
92
|
+
RoleName: response.RoleName,
|
|
93
|
+
}));
|
|
94
|
+
await iamClient.send(new DeletePolicyCommand({
|
|
95
|
+
PolicyArn: policyArn,
|
|
96
|
+
}));
|
|
97
|
+
}));
|
|
98
|
+
// Set response.
|
|
99
|
+
if (!Object.isFrozen(response)) {
|
|
100
|
+
delete response.policies[iamRolePolicyDiff.policyId];
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
async mock(diff, capture) {
|
|
105
|
+
// Get properties.
|
|
106
|
+
const iamRole = diff.node;
|
|
107
|
+
const iamRolePolicyDiff = diff.value;
|
|
108
|
+
const properties = iamRole.properties;
|
|
109
|
+
const iamClient = await this.container.get(IAMClient, {
|
|
110
|
+
args: [properties.awsAccountId],
|
|
111
|
+
metadata: { package: '@octo' },
|
|
112
|
+
});
|
|
113
|
+
iamClient.send = async (instance) => {
|
|
114
|
+
if (instance instanceof CreatePolicyCommand) {
|
|
115
|
+
return { Policy: { Arn: capture.policies[iamRolePolicyDiff.policyId][0] } };
|
|
116
|
+
}
|
|
117
|
+
else if (instance instanceof AttachRolePolicyCommand) {
|
|
118
|
+
return;
|
|
119
|
+
}
|
|
120
|
+
else if (instance instanceof DetachRolePolicyCommand) {
|
|
121
|
+
return;
|
|
122
|
+
}
|
|
123
|
+
else if (instance instanceof DeletePolicyCommand) {
|
|
124
|
+
return;
|
|
125
|
+
}
|
|
126
|
+
};
|
|
127
|
+
}
|
|
128
|
+
};
|
|
129
|
+
UpdateIamRoleWithS3StoragePolicyResourceAction = __decorate([
|
|
130
|
+
Action(IamRole),
|
|
131
|
+
__metadata("design:paramtypes", [Container])
|
|
132
|
+
], UpdateIamRoleWithS3StoragePolicyResourceAction);
|
|
133
|
+
export { UpdateIamRoleWithS3StoragePolicyResourceAction };
|
|
134
|
+
/**
|
|
135
|
+
* @internal
|
|
136
|
+
*/
|
|
137
|
+
let UpdateIamRoleWithS3StoragePolicyResourceActionFactory = class UpdateIamRoleWithS3StoragePolicyResourceActionFactory {
|
|
138
|
+
static async create() {
|
|
139
|
+
if (!this.instance) {
|
|
140
|
+
const container = Container.getInstance();
|
|
141
|
+
this.instance = new UpdateIamRoleWithS3StoragePolicyResourceAction(container);
|
|
142
|
+
}
|
|
143
|
+
return this.instance;
|
|
144
|
+
}
|
|
145
|
+
};
|
|
146
|
+
UpdateIamRoleWithS3StoragePolicyResourceActionFactory = __decorate([
|
|
147
|
+
Factory(UpdateIamRoleWithS3StoragePolicyResourceAction)
|
|
148
|
+
], UpdateIamRoleWithS3StoragePolicyResourceActionFactory);
|
|
149
|
+
export { UpdateIamRoleWithS3StoragePolicyResourceActionFactory };
|
|
150
|
+
//# sourceMappingURL=update-iam-role-with-s3-storage-policy.resource.action.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-iam-role-with-s3-storage-policy.resource.action.js","sourceRoot":"","sources":["../../../../src/resources/iam-role/actions/update-iam-role-with-s3-storage-policy.resource.action.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,uBAAuB,EACvB,mBAAmB,EACnB,mBAAmB,EACnB,uBAAuB,EACvB,SAAS,GACV,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,MAAM,EAAE,SAAS,EAAa,UAAU,EAAE,OAAO,EAAwB,WAAW,EAAE,MAAM,eAAe,CAAC;AAErH,OAAO,EAAE,aAAa,EAAE,MAAM,6CAA6C,CAAC;AAC5E,OAAO,EAA2B,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAGhH;;GAEG;AAEI,IAAM,8CAA8C,GAApD,MAAM,8CAA8C;IACzD,YAA6B,SAAoB;QAApB,cAAS,GAAT,S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Types, IamRoleSchema } from './index.schema.js';
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export type IIamRoleAddPolicyDiff = {
|
|
7
|
+
action: 'add';
|
|
8
|
+
policy: IIamRolePolicyTypes[keyof IIamRolePolicyTypes];
|
|
9
|
+
policyId: string;
|
|
10
|
+
policyType: keyof IIamRolePolicyTypes;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* @internal
|
|
14
|
+
*/
|
|
15
|
+
export type IIamRoleDeletePolicyDiff = {
|
|
16
|
+
action: 'delete';
|
|
17
|
+
policyId: string;
|
|
18
|
+
policyType: keyof IIamRolePolicyTypes;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* @internal
|
|
22
|
+
*/
|
|
23
|
+
export type IIamRolePolicyDiff = IIamRoleAddPolicyDiff | IIamRoleDeletePolicyDiff;
|
|
24
|
+
/**
|
|
25
|
+
* @internal
|
|
26
|
+
*/
|
|
27
|
+
export declare function isAddPolicyDiff(policy: IIamRolePolicyDiff): policy is IIamRoleAddPolicyDiff;
|
|
28
|
+
/**
|
|
29
|
+
* @internal
|
|
30
|
+
*/
|
|
31
|
+
export declare function isDeletePolicyDiff(policy: IIamRolePolicyDiff): policy is IIamRoleDeletePolicyDiff;
|
|
32
|
+
/**
|
|
33
|
+
* @internal
|
|
34
|
+
*/
|
|
35
|
+
export declare class IamRole extends AResource<IamRoleSchema, IamRole> {
|
|
36
|
+
properties: IamRoleSchema['properties'];
|
|
37
|
+
response: IamRoleSchema['response'];
|
|
38
|
+
constructor(resourceId: string, properties: IamRoleSchema['properties']);
|
|
39
|
+
addAssumeRolePolicy(policyId: string, awsService: IIamRoleAssumeRolePolicy): void;
|
|
40
|
+
addAwsPolicy(policyId: string, policy: string): void;
|
|
41
|
+
addS3BucketPolicy(policyId: string, bucketName: string, remoteDirectoryPath: string, options: {
|
|
42
|
+
allowRead: boolean;
|
|
43
|
+
allowWrite: boolean;
|
|
44
|
+
}): void;
|
|
45
|
+
deletePolicy(policyId: string): void;
|
|
46
|
+
diffInverse(diff: Diff<IamRole, IIamRolePolicyDiff>, deReferenceResource: (resourceId: string) => Promise<never>): Promise<void>;
|
|
47
|
+
diffProperties(previous: IamRole): Promise<Diff[]>;
|
|
48
|
+
diffUnpack(diff: Diff<IamRole>): Diff[];
|
|
49
|
+
}
|
|
@@ -0,0 +1,184 @@
|
|
|
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, Diff, DiffAction, Resource } from '@quadnix/octo';
|
|
11
|
+
import { IamRoleSchema, } from './index.schema.js';
|
|
12
|
+
/**
|
|
13
|
+
* @internal
|
|
14
|
+
*/
|
|
15
|
+
export function isAddPolicyDiff(policy) {
|
|
16
|
+
return policy.action === 'add';
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* @internal
|
|
20
|
+
*/
|
|
21
|
+
export function isDeletePolicyDiff(policy) {
|
|
22
|
+
return policy.action === 'delete';
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @internal
|
|
26
|
+
*/
|
|
27
|
+
let IamRole = class IamRole extends AResource {
|
|
28
|
+
constructor(resourceId, properties) {
|
|
29
|
+
if (properties.policies.length === 0) {
|
|
30
|
+
throw new Error('At least one policy is required!');
|
|
31
|
+
}
|
|
32
|
+
super(resourceId, properties, []);
|
|
33
|
+
}
|
|
34
|
+
addAssumeRolePolicy(policyId, awsService) {
|
|
35
|
+
const index = this.properties.policies.findIndex((p) => p.policyId === policyId);
|
|
36
|
+
if (index === -1) {
|
|
37
|
+
this.properties.policies.push({
|
|
38
|
+
policy: awsService,
|
|
39
|
+
policyId,
|
|
40
|
+
policyType: 'assume-role-policy',
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
addAwsPolicy(policyId, policy) {
|
|
45
|
+
const index = this.properties.policies.findIndex((p) => p.policyId === policyId);
|
|
46
|
+
if (index === -1) {
|
|
47
|
+
this.properties.policies.push({
|
|
48
|
+
policy: policy,
|
|
49
|
+
policyId,
|
|
50
|
+
policyType: 'aws-policy',
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
addS3BucketPolicy(policyId, bucketName, remoteDirectoryPath, options) {
|
|
55
|
+
const index = this.properties.policies.findIndex((p) => p.policyId === policyId);
|
|
56
|
+
if (index === -1) {
|
|
57
|
+
const policy = {
|
|
58
|
+
allowRead: options.allowRead,
|
|
59
|
+
allowWrite: options.allowWrite,
|
|
60
|
+
bucketName,
|
|
61
|
+
remoteDirectoryPath,
|
|
62
|
+
};
|
|
63
|
+
this.properties.policies.push({
|
|
64
|
+
policy,
|
|
65
|
+
policyId,
|
|
66
|
+
policyType: 's3-storage-access-policy',
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
else {
|
|
70
|
+
this.properties.policies[index].policy = {
|
|
71
|
+
allowRead: options.allowRead,
|
|
72
|
+
allowWrite: options.allowWrite,
|
|
73
|
+
bucketName,
|
|
74
|
+
remoteDirectoryPath,
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
deletePolicy(policyId) {
|
|
79
|
+
const index = this.properties.policies.findIndex((p) => p.policyId === policyId);
|
|
80
|
+
if (index > -1) {
|
|
81
|
+
this.properties.policies.splice(index, 1);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
async diffInverse(diff, deReferenceResource) {
|
|
85
|
+
if (diff.action === DiffAction.UPDATE && diff.field === 'tags') {
|
|
86
|
+
await super.diffInverse(diff, deReferenceResource);
|
|
87
|
+
}
|
|
88
|
+
else if (diff.action === DiffAction.UPDATE) {
|
|
89
|
+
if (isAddPolicyDiff(diff.value || {})) {
|
|
90
|
+
const newPolicy = diff.node.properties.policies.find((p) => p.policyId === diff.value.policyId);
|
|
91
|
+
if (newPolicy && !this.properties.policies.find((p) => p.policyId === newPolicy.policyId)) {
|
|
92
|
+
this.properties.policies.push(newPolicy);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
else if (isDeletePolicyDiff(diff.value || {})) {
|
|
96
|
+
const deletedPolicyIndex = this.properties.policies.findIndex((p) => {
|
|
97
|
+
if (diff.value.policyType === 'aws-policy') {
|
|
98
|
+
return p.policy === diff.value.policyId;
|
|
99
|
+
}
|
|
100
|
+
else {
|
|
101
|
+
return p.policyId === diff.value.policyId;
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
if (deletedPolicyIndex > -1) {
|
|
105
|
+
this.properties.policies.splice(deletedPolicyIndex, 1);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
else {
|
|
109
|
+
this.clonePropertiesInPlace(diff.node);
|
|
110
|
+
}
|
|
111
|
+
this.cloneResponseInPlace(diff.node);
|
|
112
|
+
}
|
|
113
|
+
else {
|
|
114
|
+
await super.diffInverse(diff, deReferenceResource);
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
async diffProperties(previous) {
|
|
118
|
+
if (this.properties.policies.length === 0) {
|
|
119
|
+
return [new Diff(previous, DiffAction.DELETE, 'resourceId', previous.getContext())];
|
|
120
|
+
}
|
|
121
|
+
const diffs = [];
|
|
122
|
+
for (const policy of previous.properties.policies) {
|
|
123
|
+
if (!this.properties.policies.find((p) => p.policyId === policy.policyId)) {
|
|
124
|
+
diffs.push(new Diff(this, DiffAction.UPDATE, policy.policyType, {
|
|
125
|
+
action: 'delete',
|
|
126
|
+
policyId: policy.policyType === 'aws-policy' ? policy.policy : policy.policyId,
|
|
127
|
+
policyType: policy.policyType,
|
|
128
|
+
}));
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
for (const policy of this.properties.policies) {
|
|
132
|
+
if (!previous.properties.policies.find((p) => p.policyId === policy.policyId)) {
|
|
133
|
+
diffs.push(new Diff(this, DiffAction.UPDATE, policy.policyType, {
|
|
134
|
+
action: 'add',
|
|
135
|
+
policy: policy.policy,
|
|
136
|
+
policyId: policy.policyId,
|
|
137
|
+
policyType: policy.policyType,
|
|
138
|
+
}));
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
return diffs;
|
|
142
|
+
}
|
|
143
|
+
diffUnpack(diff) {
|
|
144
|
+
if (diff.action === DiffAction.ADD && diff.field === 'resourceId') {
|
|
145
|
+
const diffs = [diff];
|
|
146
|
+
for (const policy of diff.node.properties.policies) {
|
|
147
|
+
if (policy.policyType === 'assume-role-policy') {
|
|
148
|
+
continue;
|
|
149
|
+
}
|
|
150
|
+
diffs.push(new Diff(this, DiffAction.UPDATE, policy.policyType, {
|
|
151
|
+
action: 'add',
|
|
152
|
+
policy: policy.policy,
|
|
153
|
+
policyId: policy.policyId,
|
|
154
|
+
policyType: policy.policyType,
|
|
155
|
+
}));
|
|
156
|
+
}
|
|
157
|
+
return diffs;
|
|
158
|
+
}
|
|
159
|
+
else if (diff.action === DiffAction.DELETE && diff.field === 'resourceId') {
|
|
160
|
+
const diffs = [];
|
|
161
|
+
for (const policy of diff.node.properties.policies) {
|
|
162
|
+
if (policy.policyType === 'assume-role-policy') {
|
|
163
|
+
continue;
|
|
164
|
+
}
|
|
165
|
+
diffs.push(new Diff(this, DiffAction.UPDATE, policy.policyType, {
|
|
166
|
+
action: 'delete',
|
|
167
|
+
policyId: policy.policyType === 'aws-policy' ? policy.policy : policy.policyId,
|
|
168
|
+
policyType: policy.policyType,
|
|
169
|
+
}));
|
|
170
|
+
}
|
|
171
|
+
diffs.push(diff);
|
|
172
|
+
return diffs;
|
|
173
|
+
}
|
|
174
|
+
else {
|
|
175
|
+
return [diff];
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
};
|
|
179
|
+
IamRole = __decorate([
|
|
180
|
+
Resource('@octo', 'iam-role', IamRoleSchema),
|
|
181
|
+
__metadata("design:paramtypes", [String, Object])
|
|
182
|
+
], IamRole);
|
|
183
|
+
export { IamRole };
|
|
184
|
+
//# sourceMappingURL=iam-role.resource.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"iam-role.resource.js","sourceRoot":"","sources":["../../../src/resources/iam-role/iam-role.resource.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACtE,OAAO,EAIL,aAAa,GACd,MAAM,mBAAmB,CAAC;AAoB3B;;GAEG;AACH,MAAM,UAAU,eAAe,CAAC,MAA0B;IACxD,OAAO,MAAM,CAAC,MAAM,KAAK,KAAK,CAAC;AACjC,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,kBAAkB,CAAC,MAA0B;IAC3D,OAAO,MAAM,CAAC,MAAM,KAAK,QAAQ,CAAC;AACpC,CAAC;AAED;;GAEG;AAEI,IAAM,OAAO,GAAb,MAAM,OAAQ,SAAQ,SAAiC;IAI5D,YAAY,UAAkB,EAAE,UAAuC;QACrE,IAAI,UAAU,CAAC,QAAQ,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YACrC,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;QACtD,CAAC;QAED,KAAK,CAAC,UAAU,EAAE,UAAU,EAAE,EAAE,CAAC,CAAC;IACpC,CAAC;IAED,mBAAmB,CAAC,QAAgB,EAAE,UAA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M,CAAC,UAAU,KAAK,YAAY,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,QAAQ;oBAC9E,UAAU,EAAE,MAAM,CAAC,UAAU;iBAC9B,CAAC,CACH,CAAC;YACJ,CAAC;YAED,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACjB,OAAO,KAAK,CAAC;QACf,CAAC;aAAM,CAAC;YACN,OAAO,CAAC,IAAI,CAAC,CAAC;QAChB,CAAC;IACH,CAAC;CACF,CAAA;AApLY,OAAO;IADnB,QAAQ,CAAU,OAAO,EAAE,UAAU,EAAE,aAAa,CAAC;;GACzC,OAAO,CAoLnB"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import './actions/add-iam-role.resource.action.js';
|
|
2
|
+
import './actions/delete-iam-role.resource.action.js';
|
|
3
|
+
import './actions/update-iam-role-assume-role-policy.resource.action.js';
|
|
4
|
+
import './actions/update-iam-role-with-aws-policy.resource.action.js';
|
|
5
|
+
import './actions/update-iam-role-with-s3-storage-policy.resource.action.js';
|
|
6
|
+
import './actions/update-iam-role-tags.resource.action.js';
|
|
7
|
+
export { IamRole } from './iam-role.resource.js';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import './actions/add-iam-role.resource.action.js';
|
|
2
|
+
import './actions/delete-iam-role.resource.action.js';
|
|
3
|
+
import './actions/update-iam-role-assume-role-policy.resource.action.js';
|
|
4
|
+
import './actions/update-iam-role-with-aws-policy.resource.action.js';
|
|
5
|
+
import './actions/update-iam-role-with-s3-storage-policy.resource.action.js';
|
|
6
|
+
import './actions/update-iam-role-tags.resource.action.js';
|
|
7
|
+
export { IamRole } from './iam-role.resource.js';
|
|
8
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/iam-role/index.ts"],"names":[],"mappings":"AAAA,OAAO,2CAA2C,CAAC;AACnD,OAAO,8CAA8C,CAAC;AACtD,OAAO,iEAAiE,CAAC;AACzE,OAAO,8DAA8D,CAAC;AACtE,OAAO,qEAAqE,CAAC;AAC7E,OAAO,mDAAmD,CAAC;AAE3D,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { BaseResourceSchema } from '@quadnix/octo';
|
|
2
|
+
/**
|
|
3
|
+
* List of IAM entities regarding roles, policies, and permissions.
|
|
4
|
+
* Possible values are,
|
|
5
|
+
* * `ecs-tasks.amazonaws.com`: This is an AWS service principal for ECS tasks.
|
|
6
|
+
* It is used in IAM trust policies to allow ECS tasks to assume a role.
|
|
7
|
+
* You must add this to the set of policies if you are running ECS tasks in your cluster.
|
|
8
|
+
*
|
|
9
|
+
* @group Resources/IamRole
|
|
10
|
+
*/
|
|
11
|
+
export type IIamRoleAssumeRolePolicy = 'ecs-tasks.amazonaws.com';
|
|
12
|
+
/**
|
|
13
|
+
* Defines the types of policies that can be attached to this IAM role.
|
|
14
|
+
*
|
|
15
|
+
* @group Resources/IamRole
|
|
16
|
+
*/
|
|
17
|
+
export type IIamRolePolicyTypes = {
|
|
18
|
+
/**
|
|
19
|
+
* You can provide a policy that allows the role to assume another role, or establish trust relationships.
|
|
20
|
+
* See {@link IIamRoleAssumeRolePolicy} for options.
|
|
21
|
+
*/
|
|
22
|
+
'assume-role-policy': IIamRoleAssumeRolePolicy;
|
|
23
|
+
/**
|
|
24
|
+
* You can provide a policy that allows the role to perform actions on AWS resources.
|
|
25
|
+
* This can be a predefined AWS managed policy ARN or custom policy ARN that you create.
|
|
26
|
+
*/
|
|
27
|
+
'aws-policy': string;
|
|
28
|
+
/**
|
|
29
|
+
* You can provide options to create a policy for accessing a S3 bucket.
|
|
30
|
+
*/
|
|
31
|
+
's3-storage-access-policy': IIamRoleS3BucketPolicy;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Defines the S3 storage access policy for an IAM role.
|
|
35
|
+
*
|
|
36
|
+
* @group Resources/IamRole
|
|
37
|
+
*/
|
|
38
|
+
export interface IIamRoleS3BucketPolicy {
|
|
39
|
+
/**
|
|
40
|
+
* Allows read access to the bucket prefix.
|
|
41
|
+
*/
|
|
42
|
+
allowRead: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Allows write access to the bucket prefix.
|
|
45
|
+
*/
|
|
46
|
+
allowWrite: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* The name of the bucket.
|
|
49
|
+
*/
|
|
50
|
+
bucketName: string;
|
|
51
|
+
/**
|
|
52
|
+
* The path within the bucket this policy is for.
|
|
53
|
+
* If you want to allow access to the entire bucket, use empty string `''`.
|
|
54
|
+
*/
|
|
55
|
+
remoteDirectoryPath: string;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* The `IamRoleSchema` class is the schema for the `IamRole` resource,
|
|
59
|
+
* which represents the AWS Identity and Access Management (IAM) Role resource.
|
|
60
|
+
* This resource can create a iam role in AWS using the AWS JavaScript SDK V3 API.
|
|
61
|
+
* See [official sdk docs](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iam/).
|
|
62
|
+
*
|
|
63
|
+
* @group Resources/IamRole
|
|
64
|
+
*
|
|
65
|
+
* @hideconstructor
|
|
66
|
+
*
|
|
67
|
+
* @overrideProperty parents - This resource has no parents.
|
|
68
|
+
* @overrideProperty resourceId - The resource id is of format `iam-role-<role-name>`
|
|
69
|
+
*/
|
|
70
|
+
export declare class IamRoleSchema extends BaseResourceSchema {
|
|
71
|
+
/**
|
|
72
|
+
* Input properties.
|
|
73
|
+
* * `properties.awsAccountId`: The AWS account ID.
|
|
74
|
+
* * `properties.policies`: The policies to attach to the role. See {@link IIamRolePolicyTypes} for options.
|
|
75
|
+
* * `properties.rolename`: The name of the role to create.
|
|
76
|
+
*/
|
|
77
|
+
properties: {
|
|
78
|
+
awsAccountId: string;
|
|
79
|
+
policies: { [K in keyof IIamRolePolicyTypes]-?: {
|
|
80
|
+
policy: IIamRolePolicyTypes[K];
|
|
81
|
+
policyId: string;
|
|
82
|
+
policyType: K;
|
|
83
|
+
}; }[keyof IIamRolePolicyTypes][];
|
|
84
|
+
rolename: string;
|
|
85
|
+
};
|
|
86
|
+
/**
|
|
87
|
+
* Saved response.
|
|
88
|
+
* * `response.Arn`: The ARN of the role.
|
|
89
|
+
* * `response.policies`: A map of policy IDs to policy ARNs.
|
|
90
|
+
* * `response.RoleId`: The ID of the role.
|
|
91
|
+
* * `response.RoleName`: The name of the role.
|
|
92
|
+
*/
|
|
93
|
+
response: {
|
|
94
|
+
Arn?: string;
|
|
95
|
+
policies?: {
|
|
96
|
+
[key: string]: string[];
|
|
97
|
+
};
|
|
98
|
+
RoleId?: string;
|
|
99
|
+
RoleName?: string;
|
|
100
|
+
};
|
|
101
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
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
|
+
* The `IamRoleSchema` class is the schema for the `IamRole` resource,
|
|
13
|
+
* which represents the AWS Identity and Access Management (IAM) Role resource.
|
|
14
|
+
* This resource can create a iam role in AWS using the AWS JavaScript SDK V3 API.
|
|
15
|
+
* See [official sdk docs](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iam/).
|
|
16
|
+
*
|
|
17
|
+
* @group Resources/IamRole
|
|
18
|
+
*
|
|
19
|
+
* @hideconstructor
|
|
20
|
+
*
|
|
21
|
+
* @overrideProperty parents - This resource has no parents.
|
|
22
|
+
* @overrideProperty resourceId - The resource id is of format `iam-role-<role-name>`
|
|
23
|
+
*/
|
|
24
|
+
export class IamRoleSchema extends BaseResourceSchema {
|
|
25
|
+
constructor() {
|
|
26
|
+
super(...arguments);
|
|
27
|
+
// Source: https://stackoverflow.com/a/56837244/1834562
|
|
28
|
+
/**
|
|
29
|
+
* Input properties.
|
|
30
|
+
* * `properties.awsAccountId`: The AWS account ID.
|
|
31
|
+
* * `properties.policies`: The policies to attach to the role. See {@link IIamRolePolicyTypes} for options.
|
|
32
|
+
* * `properties.rolename`: The name of the role to create.
|
|
33
|
+
*/
|
|
34
|
+
this.properties = Schema();
|
|
35
|
+
/**
|
|
36
|
+
* Saved response.
|
|
37
|
+
* * `response.Arn`: The ARN of the role.
|
|
38
|
+
* * `response.policies`: A map of policy IDs to policy ARNs.
|
|
39
|
+
* * `response.RoleId`: The ID of the role.
|
|
40
|
+
* * `response.RoleName`: The name of the role.
|
|
41
|
+
*/
|
|
42
|
+
this.response = Schema();
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
__decorate([
|
|
46
|
+
Validate({
|
|
47
|
+
destruct: (value) => [value.awsAccountId, value.rolename],
|
|
48
|
+
options: { minLength: 1 },
|
|
49
|
+
}),
|
|
50
|
+
__metadata("design:type", Object)
|
|
51
|
+
], IamRoleSchema.prototype, "properties", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
Validate({
|
|
54
|
+
destruct: (value) => {
|
|
55
|
+
const subjects = [];
|
|
56
|
+
if (value.Arn) {
|
|
57
|
+
subjects.push(value.Arn);
|
|
58
|
+
}
|
|
59
|
+
if (value.policies && Object.keys(value.policies).length > 0) {
|
|
60
|
+
subjects.push(...Object.values(value.policies).flat());
|
|
61
|
+
}
|
|
62
|
+
if (value.RoleId) {
|
|
63
|
+
subjects.push(value.RoleId);
|
|
64
|
+
}
|
|
65
|
+
if (value.RoleName) {
|
|
66
|
+
subjects.push(value.RoleName);
|
|
67
|
+
}
|
|
68
|
+
return subjects;
|
|
69
|
+
},
|
|
70
|
+
options: { minLength: 1 },
|
|
71
|
+
}),
|
|
72
|
+
__metadata("design:type", Object)
|
|
73
|
+
], IamRoleSchema.prototype, "response", void 0);
|
|
74
|
+
//# sourceMappingURL=index.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.schema.js","sourceRoot":"","sources":["../../../src/resources/iam-role/index.schema.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAiErE;;;;;;;;;;;;GAYG;AACH,MAAM,OAAO,aAAc,SAAQ,kBAAkB;IAArD;;QACE,uDAAuD;QACvD;;;;;WAKG;QAKM,eAAU,GAAG,MAAM,EAMxB,CAAC;QAEL;;;;;;WAMG;QAoBM,aAAQ,GAAG,MAAM,EAKtB,CAAC;IACP,CAAC;CAAA;AAxCU;IAJR,QAAQ,CAAC;QACR,QAAQ,EAAE,CAAC,KAAkC,EAAY,EAAE,CAAC,CAAC,KAAK,CAAC,YAAY,EAAE,KAAK,CAAC,QAAQ,CAAC;QAChG,OAAO,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE;KAC1B,CAAC;;iDAOG;AA4BI;IAnBR,QAAQ,CAAC;QACR,QAAQ,EAAE,CAAC,KAAgC,EAAY,EAAE;YACvD,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,IAAI,KAAK,CAAC,QAAQ,IAAI,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;gBAC7D,QAAQ,CAAC,IAAI,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC;YACzD,CAAC;YACD,IAAI,KAAK,CAAC,MAAM,EAAE,CAAC;gBACjB,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;YAC9B,CAAC;YACD,IAAI,KAAK,CAAC,QAAQ,EAAE,CAAC;gBACnB,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;YAChC,CAAC;YACD,OAAO,QAAQ,CAAC;QAClB,CAAC;QACD,OAAO,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE;KAC1B,CAAC;;+CAMG"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Container, type Diff, type IResourceAction } from '@quadnix/octo';
|
|
2
|
+
import { IamUser } from '../iam-user.resource.js';
|
|
3
|
+
import type { IamUserSchema } from '../index.schema.js';
|
|
4
|
+
/**
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
7
|
+
export declare class AddIamUserResourceAction implements IResourceAction<IamUser> {
|
|
8
|
+
private readonly container;
|
|
9
|
+
constructor(container: Container);
|
|
10
|
+
filter(diff: Diff): boolean;
|
|
11
|
+
handle(diff: Diff<IamUser>): Promise<void>;
|
|
12
|
+
mock(diff: Diff<IamUser>, capture: Partial<IamUserSchema['response']>): Promise<void>;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
export declare class AddIamUserResourceActionFactory {
|
|
18
|
+
private static instance;
|
|
19
|
+
static create(): Promise<AddIamUserResourceAction>;
|
|
20
|
+
}
|