@quadnix/octo-aws-cdk 0.2.0 → 0.2.1

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.
Files changed (661) hide show
  1. package/README.md +108 -21
  2. package/dist/anchors/aws-cloudfront/aws-cloudfront.anchor.d.ts +12 -0
  3. package/dist/anchors/{aws-ecs/aws-ecs-server.anchor.js → aws-cloudfront/aws-cloudfront.anchor.js} +5 -5
  4. package/dist/anchors/aws-cloudfront/aws-cloudfront.anchor.js.map +1 -0
  5. package/dist/anchors/aws-cloudfront/aws-cloudfront.anchor.schema.d.ts +26 -0
  6. package/dist/anchors/{aws-iam/aws-iam-role.anchor.schema.js → aws-cloudfront/aws-cloudfront.anchor.schema.js} +11 -7
  7. package/dist/anchors/aws-cloudfront/aws-cloudfront.anchor.schema.js.map +1 -0
  8. package/dist/anchors/aws-deployment/aws-deployment.anchor.d.ts +12 -0
  9. package/dist/anchors/{aws-ecs/aws-ecs-task-definition.anchor.js → aws-deployment/aws-deployment.anchor.js} +5 -5
  10. package/dist/anchors/aws-deployment/aws-deployment.anchor.js.map +1 -0
  11. package/dist/anchors/aws-deployment/aws-deployment.anchor.schema.d.ts +100 -0
  12. package/dist/anchors/aws-deployment/aws-deployment.anchor.schema.js +149 -0
  13. package/dist/anchors/aws-deployment/aws-deployment.anchor.schema.js.map +1 -0
  14. package/dist/anchors/aws-dynamodb/aws-dynamodb.anchor.schema.d.ts +4 -0
  15. package/dist/anchors/aws-dynamodb/aws-dynamodb.anchor.schema.js +7 -1
  16. package/dist/anchors/aws-dynamodb/aws-dynamodb.anchor.schema.js.map +1 -1
  17. package/dist/anchors/aws-environment/aws-serverless-environment.anchor.d.ts +12 -0
  18. package/dist/anchors/{aws-s3-storage-service/aws-s3-storage-service-directory.anchor.js → aws-environment/aws-serverless-environment.anchor.js} +5 -5
  19. package/dist/anchors/aws-environment/aws-serverless-environment.anchor.js.map +1 -0
  20. package/dist/anchors/aws-environment/aws-serverless-environment.anchor.schema.d.ts +31 -0
  21. package/dist/anchors/aws-environment/aws-serverless-environment.anchor.schema.js +58 -0
  22. package/dist/anchors/aws-environment/aws-serverless-environment.anchor.schema.js.map +1 -0
  23. package/dist/anchors/aws-lambda/aws-lambda-execution.anchor.d.ts +12 -0
  24. package/dist/anchors/aws-lambda/aws-lambda-execution.anchor.js +27 -0
  25. package/dist/anchors/aws-lambda/aws-lambda-execution.anchor.js.map +1 -0
  26. package/dist/anchors/aws-lambda/aws-lambda-execution.anchor.schema.d.ts +28 -0
  27. package/dist/anchors/aws-lambda/aws-lambda-execution.anchor.schema.js +54 -0
  28. package/dist/anchors/aws-lambda/aws-lambda-execution.anchor.schema.js.map +1 -0
  29. package/dist/anchors/aws-lambda/aws-lambda-function.anchor.d.ts +12 -0
  30. package/dist/anchors/aws-lambda/aws-lambda-function.anchor.js +27 -0
  31. package/dist/anchors/aws-lambda/aws-lambda-function.anchor.js.map +1 -0
  32. package/dist/anchors/aws-lambda/aws-lambda-function.anchor.schema.d.ts +28 -0
  33. package/dist/anchors/aws-lambda/aws-lambda-function.anchor.schema.js +47 -0
  34. package/dist/anchors/aws-lambda/aws-lambda-function.anchor.schema.js.map +1 -0
  35. package/dist/anchors/aws-region/aws-serverless-region.anchor.d.ts +12 -0
  36. package/dist/anchors/aws-region/aws-serverless-region.anchor.js +27 -0
  37. package/dist/anchors/aws-region/aws-serverless-region.anchor.js.map +1 -0
  38. package/dist/anchors/aws-region/aws-serverless-region.anchor.schema.d.ts +30 -0
  39. package/dist/anchors/aws-region/aws-serverless-region.anchor.schema.js +49 -0
  40. package/dist/anchors/aws-region/aws-serverless-region.anchor.schema.js.map +1 -0
  41. package/dist/anchors/aws-s3-storage-service/aws-s3-storage-service-access-prefix.anchor.d.ts +12 -0
  42. package/dist/anchors/aws-s3-storage-service/aws-s3-storage-service-access-prefix.anchor.js +27 -0
  43. package/dist/anchors/aws-s3-storage-service/aws-s3-storage-service-access-prefix.anchor.js.map +1 -0
  44. package/dist/anchors/aws-s3-storage-service/{aws-s3-storage-service-directory.anchor.schema.d.ts → aws-s3-storage-service-access-prefix.anchor.schema.d.ts} +5 -4
  45. package/dist/anchors/aws-s3-storage-service/{aws-s3-storage-service-directory.anchor.schema.js → aws-s3-storage-service-access-prefix.anchor.schema.js} +7 -6
  46. package/dist/anchors/aws-s3-storage-service/aws-s3-storage-service-access-prefix.anchor.schema.js.map +1 -0
  47. package/dist/anchors/aws-s3-storage-service/aws-s3-storage-service.anchor.schema.d.ts +3 -0
  48. package/dist/anchors/aws-s3-storage-service/aws-s3-storage-service.anchor.schema.js +3 -0
  49. package/dist/anchors/aws-s3-storage-service/aws-s3-storage-service.anchor.schema.js.map +1 -1
  50. package/dist/anchors/aws-security-group/aws-security-group.anchor.schema.d.ts +3 -2
  51. package/dist/anchors/aws-security-group/aws-security-group.anchor.schema.js +2 -1
  52. package/dist/anchors/aws-security-group/aws-security-group.anchor.schema.js.map +1 -1
  53. package/dist/anchors/aws-server/aws-server.anchor.d.ts +12 -0
  54. package/dist/anchors/{aws-iam/aws-iam-role.anchor.js → aws-server/aws-server.anchor.js} +5 -5
  55. package/dist/anchors/aws-server/aws-server.anchor.js.map +1 -0
  56. package/dist/anchors/aws-server/aws-server.anchor.schema.d.ts +50 -0
  57. package/dist/anchors/aws-server/aws-server.anchor.schema.js +51 -0
  58. package/dist/anchors/aws-server/aws-server.anchor.schema.js.map +1 -0
  59. package/dist/anchors/aws-subnet/aws-serverless-subnet.anchor.d.ts +12 -0
  60. package/dist/anchors/aws-subnet/aws-serverless-subnet.anchor.js +27 -0
  61. package/dist/anchors/aws-subnet/aws-serverless-subnet.anchor.js.map +1 -0
  62. package/dist/anchors/aws-subnet/aws-serverless-subnet.anchor.schema.d.ts +28 -0
  63. package/dist/anchors/{aws-ecs/aws-ecs-server.anchor.schema.js → aws-subnet/aws-serverless-subnet.anchor.schema.js} +14 -12
  64. package/dist/anchors/aws-subnet/aws-serverless-subnet.anchor.schema.js.map +1 -0
  65. package/dist/modules/account/aws-credentials-account/aws-credentials-account.module.d.ts +2 -1
  66. package/dist/modules/account/aws-credentials-account/aws-credentials-account.module.js +2 -1
  67. package/dist/modules/account/aws-credentials-account/aws-credentials-account.module.js.map +1 -1
  68. package/dist/modules/account/aws-ini-account/aws-ini-account.module.d.ts +2 -1
  69. package/dist/modules/account/aws-ini-account/aws-ini-account.module.js +2 -1
  70. package/dist/modules/account/aws-ini-account/aws-ini-account.module.js.map +1 -1
  71. package/dist/modules/account/aws-localstack-account/aws-localstack-account.module.d.ts +2 -1
  72. package/dist/modules/account/aws-localstack-account/aws-localstack-account.module.js +2 -1
  73. package/dist/modules/account/aws-localstack-account/aws-localstack-account.module.js.map +1 -1
  74. package/dist/modules/account/aws-moto-account/aws-moto-account.module.d.ts +2 -1
  75. package/dist/modules/account/aws-moto-account/aws-moto-account.module.js +2 -1
  76. package/dist/modules/account/aws-moto-account/aws-moto-account.module.js.map +1 -1
  77. package/dist/modules/app/simple-app/index.schema.d.ts +1 -1
  78. package/dist/modules/app/simple-app/index.schema.js +1 -1
  79. package/dist/modules/deployment/aws-deployment/aws-deployment.module.d.ts +45 -0
  80. package/dist/modules/deployment/aws-deployment/aws-deployment.module.js +96 -0
  81. package/dist/modules/deployment/aws-deployment/aws-deployment.module.js.map +1 -0
  82. package/dist/modules/deployment/aws-deployment/index.d.ts +1 -0
  83. package/dist/modules/deployment/aws-deployment/index.js +2 -0
  84. package/dist/modules/deployment/aws-deployment/index.js.map +1 -0
  85. package/dist/modules/deployment/aws-deployment/index.schema.d.ts +60 -0
  86. package/dist/modules/deployment/aws-deployment/index.schema.js +160 -0
  87. package/dist/modules/deployment/aws-deployment/index.schema.js.map +1 -0
  88. package/dist/modules/deployment/aws-deployment/models/deployment/actions/add-aws-deployment.model.action.d.ts +27 -0
  89. package/dist/modules/deployment/{aws-ecs-deployment/models/deployment/actions/add-aws-ecs-deployment.model.action.js → aws-deployment/models/deployment/actions/add-aws-deployment.model.action.js} +16 -14
  90. package/dist/modules/deployment/aws-deployment/models/deployment/actions/add-aws-deployment.model.action.js.map +1 -0
  91. package/dist/modules/deployment/aws-deployment/models/deployment/aws-deployment.model.d.ts +11 -0
  92. package/dist/modules/deployment/{aws-ecs-deployment/models/deployment/aws-ecs-deployment.model.js → aws-deployment/models/deployment/aws-deployment.model.js} +9 -9
  93. package/dist/modules/deployment/aws-deployment/models/deployment/aws-deployment.model.js.map +1 -0
  94. package/dist/modules/deployment/{aws-ecs-deployment/models/deployment/aws-ecs-deployment.schema.d.ts → aws-deployment/models/deployment/aws-deployment.schema.d.ts} +1 -1
  95. package/dist/modules/deployment/aws-deployment/models/deployment/aws-deployment.schema.js +7 -0
  96. package/dist/modules/deployment/aws-deployment/models/deployment/aws-deployment.schema.js.map +1 -0
  97. package/dist/modules/deployment/aws-deployment/models/deployment/index.d.ts +2 -0
  98. package/dist/modules/deployment/aws-deployment/models/deployment/index.js +3 -0
  99. package/dist/modules/deployment/aws-deployment/models/deployment/index.js.map +1 -0
  100. package/dist/modules/deployment/aws-deployment/overlays/aws-deployment-image/actions/add-aws-deployment-image.overlay.action.d.ts +28 -0
  101. package/dist/modules/deployment/aws-deployment/overlays/aws-deployment-image/actions/add-aws-deployment-image.overlay.action.js +53 -0
  102. package/dist/modules/deployment/aws-deployment/overlays/aws-deployment-image/actions/add-aws-deployment-image.overlay.action.js.map +1 -0
  103. package/dist/modules/deployment/aws-deployment/overlays/aws-deployment-image/aws-deployment-image.overlay.d.ts +22 -0
  104. package/dist/modules/deployment/aws-deployment/overlays/aws-deployment-image/aws-deployment-image.overlay.js +37 -0
  105. package/dist/modules/deployment/aws-deployment/overlays/aws-deployment-image/aws-deployment-image.overlay.js.map +1 -0
  106. package/dist/modules/deployment/aws-deployment/overlays/aws-deployment-image/aws-deployment-image.schema.d.ts +12 -0
  107. package/dist/modules/deployment/aws-deployment/overlays/aws-deployment-image/aws-deployment-image.schema.js +32 -0
  108. package/dist/modules/deployment/aws-deployment/overlays/aws-deployment-image/aws-deployment-image.schema.js.map +1 -0
  109. package/dist/modules/deployment/aws-deployment/overlays/aws-deployment-image/index.d.ts +2 -0
  110. package/dist/modules/deployment/aws-deployment/overlays/aws-deployment-image/index.js +3 -0
  111. package/dist/modules/deployment/aws-deployment/overlays/aws-deployment-image/index.js.map +1 -0
  112. package/dist/modules/environment/aws-ecs-environment/aws-ecs-environment.module.d.ts +2 -1
  113. package/dist/modules/environment/aws-ecs-environment/aws-ecs-environment.module.js +2 -1
  114. package/dist/modules/environment/aws-ecs-environment/aws-ecs-environment.module.js.map +1 -1
  115. package/dist/modules/environment/aws-serverless-environment/aws-serverless-environment.module.d.ts +33 -0
  116. package/dist/modules/environment/aws-serverless-environment/aws-serverless-environment.module.js +60 -0
  117. package/dist/modules/environment/aws-serverless-environment/aws-serverless-environment.module.js.map +1 -0
  118. package/dist/modules/environment/aws-serverless-environment/index.d.ts +1 -0
  119. package/dist/modules/environment/aws-serverless-environment/index.js +2 -0
  120. package/dist/modules/environment/aws-serverless-environment/index.js.map +1 -0
  121. package/dist/modules/environment/aws-serverless-environment/index.schema.d.ts +27 -0
  122. package/dist/modules/environment/aws-serverless-environment/index.schema.js +73 -0
  123. package/dist/modules/environment/aws-serverless-environment/index.schema.js.map +1 -0
  124. package/dist/modules/environment/aws-serverless-environment/models/environment/actions/add-aws-serverless-environment.model.action.d.ts +28 -0
  125. package/dist/modules/environment/aws-serverless-environment/models/environment/actions/add-aws-serverless-environment.model.action.js +53 -0
  126. package/dist/modules/environment/aws-serverless-environment/models/environment/actions/add-aws-serverless-environment.model.action.js.map +1 -0
  127. package/dist/modules/environment/aws-serverless-environment/models/environment/aws-serverless-environment.model.d.ts +11 -0
  128. package/dist/modules/environment/aws-serverless-environment/models/environment/aws-serverless-environment.model.js +29 -0
  129. package/dist/modules/environment/aws-serverless-environment/models/environment/aws-serverless-environment.model.js.map +1 -0
  130. package/dist/modules/environment/aws-serverless-environment/models/environment/aws-serverless-environment.schema.d.ts +6 -0
  131. package/dist/modules/environment/aws-serverless-environment/models/environment/aws-serverless-environment.schema.js +7 -0
  132. package/dist/modules/environment/aws-serverless-environment/models/environment/aws-serverless-environment.schema.js.map +1 -0
  133. package/dist/modules/environment/aws-serverless-environment/models/environment/index.d.ts +2 -0
  134. package/dist/modules/environment/aws-serverless-environment/models/environment/index.js +3 -0
  135. package/dist/modules/environment/aws-serverless-environment/models/environment/index.js.map +1 -0
  136. package/dist/modules/execution/aws-ecs-execution/aws-ecs-execution.module.d.ts +7 -6
  137. package/dist/modules/execution/aws-ecs-execution/aws-ecs-execution.module.js +138 -63
  138. package/dist/modules/execution/aws-ecs-execution/aws-ecs-execution.module.js.map +1 -1
  139. package/dist/modules/execution/aws-ecs-execution/index.schema.d.ts +6 -6
  140. package/dist/modules/execution/aws-ecs-execution/index.schema.js +6 -6
  141. package/dist/modules/execution/aws-ecs-execution/index.schema.js.map +1 -1
  142. package/dist/modules/execution/aws-ecs-execution/models/execution/aws-ecs-execution.model.js +5 -0
  143. package/dist/modules/execution/aws-ecs-execution/models/execution/aws-ecs-execution.model.js.map +1 -1
  144. package/dist/modules/execution/aws-ecs-execution/overlays/aws-ecs-execution/actions/add-aws-ecs-execution.overlay.action.js +131 -40
  145. package/dist/modules/execution/aws-ecs-execution/overlays/aws-ecs-execution/actions/add-aws-ecs-execution.overlay.action.js.map +1 -1
  146. package/dist/modules/execution/aws-ecs-execution/overlays/aws-ecs-execution/aws-ecs-execution.overlay.d.ts +9 -5
  147. package/dist/modules/execution/aws-ecs-execution/overlays/aws-ecs-execution/aws-ecs-execution.overlay.js +4 -0
  148. package/dist/modules/execution/aws-ecs-execution/overlays/aws-ecs-execution/aws-ecs-execution.overlay.js.map +1 -1
  149. package/dist/modules/execution/aws-ecs-execution/overlays/aws-ecs-execution/aws-ecs-execution.schema.d.ts +20 -0
  150. package/dist/modules/execution/aws-ecs-execution/overlays/aws-ecs-execution/aws-ecs-execution.schema.js +5 -0
  151. package/dist/modules/execution/aws-ecs-execution/overlays/aws-ecs-execution/aws-ecs-execution.schema.js.map +1 -1
  152. 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 +32 -20
  153. package/dist/modules/execution/aws-ecs-execution/overlays/aws-ecs-execution-server-security-group/actions/add-aws-ecs-execution-server-security-group.overlay.action.js.map +1 -1
  154. package/dist/modules/execution/aws-ecs-execution/overlays/aws-ecs-execution-server-security-group/aws-ecs-execution-server-security-group.overlay.d.ts +10 -2
  155. package/dist/modules/execution/aws-ecs-execution/overlays/aws-ecs-execution-server-security-group/aws-ecs-execution-server-security-group.overlay.js.map +1 -1
  156. package/dist/modules/execution/aws-lambda-execution/aws-lambda-execution.module.d.ts +57 -0
  157. package/dist/modules/execution/aws-lambda-execution/aws-lambda-execution.module.js +177 -0
  158. package/dist/modules/execution/aws-lambda-execution/aws-lambda-execution.module.js.map +1 -0
  159. package/dist/modules/execution/aws-lambda-execution/index.d.ts +1 -0
  160. package/dist/modules/execution/aws-lambda-execution/index.js +2 -0
  161. package/dist/modules/execution/aws-lambda-execution/index.js.map +1 -0
  162. package/dist/modules/execution/aws-lambda-execution/index.schema.d.ts +56 -0
  163. package/dist/modules/execution/aws-lambda-execution/index.schema.js +154 -0
  164. package/dist/modules/execution/aws-lambda-execution/index.schema.js.map +1 -0
  165. package/dist/modules/execution/aws-lambda-execution/models/execution/actions/add-aws-lambda-execution.model.action.d.ts +25 -0
  166. package/dist/modules/execution/aws-lambda-execution/models/execution/actions/add-aws-lambda-execution.model.action.js +51 -0
  167. package/dist/modules/execution/aws-lambda-execution/models/execution/actions/add-aws-lambda-execution.model.action.js.map +1 -0
  168. package/dist/modules/execution/aws-lambda-execution/models/execution/aws-lambda-execution.model.d.ts +28 -0
  169. package/dist/modules/execution/aws-lambda-execution/models/execution/aws-lambda-execution.model.js +85 -0
  170. package/dist/modules/execution/aws-lambda-execution/models/execution/aws-lambda-execution.model.js.map +1 -0
  171. package/dist/modules/execution/aws-lambda-execution/models/execution/aws-lambda-execution.schema.d.ts +7 -0
  172. package/dist/modules/execution/aws-lambda-execution/models/execution/aws-lambda-execution.schema.js +24 -0
  173. package/dist/modules/execution/aws-lambda-execution/models/execution/aws-lambda-execution.schema.js.map +1 -0
  174. package/dist/modules/execution/aws-lambda-execution/models/execution/index.d.ts +2 -0
  175. package/dist/modules/execution/aws-lambda-execution/models/execution/index.js +3 -0
  176. package/dist/modules/execution/aws-lambda-execution/models/execution/index.js.map +1 -0
  177. package/dist/modules/execution/aws-lambda-execution/overlays/aws-lambda-execution/actions/add-aws-lambda-execution.overlay.action.d.ts +26 -0
  178. package/dist/modules/execution/aws-lambda-execution/overlays/aws-lambda-execution/actions/add-aws-lambda-execution.overlay.action.js +172 -0
  179. package/dist/modules/execution/aws-lambda-execution/overlays/aws-lambda-execution/actions/add-aws-lambda-execution.overlay.action.js.map +1 -0
  180. package/dist/modules/execution/aws-lambda-execution/overlays/aws-lambda-execution/aws-lambda-execution.overlay.d.ts +38 -0
  181. package/dist/modules/execution/aws-lambda-execution/overlays/aws-lambda-execution/aws-lambda-execution.overlay.js +37 -0
  182. package/dist/modules/execution/aws-lambda-execution/overlays/aws-lambda-execution/aws-lambda-execution.overlay.js.map +1 -0
  183. package/dist/modules/execution/aws-lambda-execution/overlays/aws-lambda-execution/aws-lambda-execution.schema.d.ts +41 -0
  184. package/dist/modules/execution/aws-lambda-execution/overlays/aws-lambda-execution/aws-lambda-execution.schema.js +43 -0
  185. package/dist/modules/execution/aws-lambda-execution/overlays/aws-lambda-execution/aws-lambda-execution.schema.js.map +1 -0
  186. package/dist/modules/execution/aws-lambda-execution/overlays/aws-lambda-execution/index.d.ts +2 -0
  187. package/dist/modules/execution/aws-lambda-execution/overlays/aws-lambda-execution/index.js +3 -0
  188. package/dist/modules/execution/aws-lambda-execution/overlays/aws-lambda-execution/index.js.map +1 -0
  189. package/dist/modules/filesystem/aws-efs-filesystem/aws-efs-filesystem.module.d.ts +2 -1
  190. package/dist/modules/filesystem/aws-efs-filesystem/aws-efs-filesystem.module.js +2 -1
  191. package/dist/modules/filesystem/aws-efs-filesystem/aws-efs-filesystem.module.js.map +1 -1
  192. package/dist/modules/filesystem/aws-efs-filesystem/models/filesystem/actions/add-aws-efs-filesystem.model.action.js +1 -2
  193. package/dist/modules/filesystem/aws-efs-filesystem/models/filesystem/actions/add-aws-efs-filesystem.model.action.js.map +1 -1
  194. package/dist/modules/image/aws-ecr-image/aws-ecr-image.module.d.ts +10 -5
  195. package/dist/modules/image/aws-ecr-image/aws-ecr-image.module.js +31 -13
  196. package/dist/modules/image/aws-ecr-image/aws-ecr-image.module.js.map +1 -1
  197. package/dist/modules/image/aws-ecr-image/index.schema.d.ts +1 -1
  198. package/dist/modules/image/aws-ecr-image/index.schema.js +2 -3
  199. package/dist/modules/image/aws-ecr-image/index.schema.js.map +1 -1
  200. package/dist/modules/image/aws-ecr-image/models/image/actions/add-aws-ecr-image-region.model.action.d.ts +28 -0
  201. package/dist/modules/image/aws-ecr-image/models/image/actions/add-aws-ecr-image-region.model.action.js +53 -0
  202. package/dist/modules/image/aws-ecr-image/models/image/actions/add-aws-ecr-image-region.model.action.js.map +1 -0
  203. package/dist/modules/image/aws-ecr-image/models/image/actions/add-aws-ecr-image.model.action.js +1 -1
  204. package/dist/modules/image/aws-ecr-image/models/image/actions/add-aws-ecr-image.model.action.js.map +1 -1
  205. package/dist/modules/image/aws-ecr-image/models/image/index.d.ts +1 -0
  206. package/dist/modules/image/aws-ecr-image/models/image/index.js +1 -0
  207. package/dist/modules/image/aws-ecr-image/models/image/index.js.map +1 -1
  208. package/dist/modules/image/aws-ecr-image-tag/aws-ecr-image-tag.module.d.ts +5 -1
  209. package/dist/modules/image/aws-ecr-image-tag/aws-ecr-image-tag.module.js +12 -3
  210. package/dist/modules/image/aws-ecr-image-tag/aws-ecr-image-tag.module.js.map +1 -1
  211. package/dist/modules/image/aws-ecr-image-tag/index.schema.d.ts +18 -0
  212. package/dist/modules/image/aws-ecr-image-tag/index.schema.js +42 -0
  213. package/dist/modules/image/aws-ecr-image-tag/index.schema.js.map +1 -1
  214. package/dist/modules/image/aws-ecr-image-tag/overlays/aws-ecr-image-tag/actions/add-aws-ecr-image-tag.overlay.action.js +3 -0
  215. package/dist/modules/image/aws-ecr-image-tag/overlays/aws-ecr-image-tag/actions/add-aws-ecr-image-tag.overlay.action.js.map +1 -1
  216. package/dist/modules/image/aws-ecr-image-tag/overlays/aws-ecr-image-tag/aws-ecr-image-tag.schema.d.ts +4 -0
  217. package/dist/modules/image/aws-ecr-image-tag/overlays/aws-ecr-image-tag/aws-ecr-image-tag.schema.js +1 -0
  218. package/dist/modules/image/aws-ecr-image-tag/overlays/aws-ecr-image-tag/aws-ecr-image-tag.schema.js.map +1 -1
  219. package/dist/modules/region/aws-multi-az-region/aws-multi-az-region.module.d.ts +3 -1
  220. package/dist/modules/region/aws-multi-az-region/aws-multi-az-region.module.js +3 -5
  221. package/dist/modules/region/aws-multi-az-region/aws-multi-az-region.module.js.map +1 -1
  222. package/dist/modules/region/aws-multi-az-region/models/region/aws-multi-az-region.model.d.ts +0 -4
  223. package/dist/modules/region/aws-multi-az-region/models/region/aws-multi-az-region.model.js +2 -11
  224. package/dist/modules/region/aws-multi-az-region/models/region/aws-multi-az-region.model.js.map +1 -1
  225. package/dist/modules/region/aws-serverless-region/aws-serverless-region.module.d.ts +35 -0
  226. package/dist/modules/region/aws-serverless-region/aws-serverless-region.module.js +58 -0
  227. package/dist/modules/region/aws-serverless-region/aws-serverless-region.module.js.map +1 -0
  228. package/dist/modules/region/aws-serverless-region/index.d.ts +1 -0
  229. package/dist/modules/region/aws-serverless-region/index.js +2 -0
  230. package/dist/modules/region/aws-serverless-region/index.js.map +1 -0
  231. package/dist/modules/region/aws-serverless-region/index.schema.d.ts +27 -0
  232. package/dist/modules/region/aws-serverless-region/index.schema.js +64 -0
  233. package/dist/modules/region/aws-serverless-region/index.schema.js.map +1 -0
  234. package/dist/modules/region/aws-serverless-region/models/region/actions/add-aws-serverless-region.model.action.d.ts +28 -0
  235. package/dist/modules/region/aws-serverless-region/models/region/actions/add-aws-serverless-region.model.action.js +53 -0
  236. package/dist/modules/region/aws-serverless-region/models/region/actions/add-aws-serverless-region.model.action.js.map +1 -0
  237. package/dist/modules/region/aws-serverless-region/models/region/aws-serverless-region.model.d.ts +30 -0
  238. package/dist/modules/region/aws-serverless-region/models/region/aws-serverless-region.model.js +56 -0
  239. package/dist/modules/region/aws-serverless-region/models/region/aws-serverless-region.model.js.map +1 -0
  240. package/dist/modules/region/aws-serverless-region/models/region/aws-serverless-region.schema.d.ts +7 -0
  241. package/dist/modules/region/aws-serverless-region/models/region/aws-serverless-region.schema.js +24 -0
  242. package/dist/modules/region/aws-serverless-region/models/region/aws-serverless-region.schema.js.map +1 -0
  243. package/dist/modules/region/aws-serverless-region/models/region/index.d.ts +2 -0
  244. package/dist/modules/region/aws-serverless-region/models/region/index.js +3 -0
  245. package/dist/modules/region/aws-serverless-region/models/region/index.js.map +1 -0
  246. package/dist/modules/region/aws-single-az-region/aws-single-az-region.module.d.ts +3 -1
  247. package/dist/modules/region/aws-single-az-region/aws-single-az-region.module.js +3 -5
  248. package/dist/modules/region/aws-single-az-region/aws-single-az-region.module.js.map +1 -1
  249. package/dist/modules/region/aws-single-az-region/models/region/aws-single-az-region.model.d.ts +0 -4
  250. package/dist/modules/region/aws-single-az-region/models/region/aws-single-az-region.model.js +3 -12
  251. package/dist/modules/region/aws-single-az-region/models/region/aws-single-az-region.model.js.map +1 -1
  252. package/dist/modules/server/aws-server/aws-server.module.d.ts +72 -0
  253. package/dist/modules/server/aws-server/aws-server.module.js +182 -0
  254. package/dist/modules/server/aws-server/aws-server.module.js.map +1 -0
  255. package/dist/modules/server/aws-server/index.d.ts +1 -0
  256. package/dist/modules/server/aws-server/index.js +2 -0
  257. package/dist/modules/server/aws-server/index.js.map +1 -0
  258. package/dist/modules/server/aws-server/index.schema.d.ts +123 -0
  259. package/dist/modules/server/aws-server/index.schema.js +246 -0
  260. package/dist/modules/server/aws-server/index.schema.js.map +1 -0
  261. package/dist/modules/server/aws-server/models/server/actions/add-aws-server.model.action.d.ts +27 -0
  262. package/dist/modules/server/aws-server/models/server/actions/add-aws-server.model.action.js +53 -0
  263. package/dist/modules/server/aws-server/models/server/actions/add-aws-server.model.action.js.map +1 -0
  264. package/dist/modules/server/aws-server/models/server/aws-server.model.d.ts +11 -0
  265. package/dist/modules/server/{aws-ecs-server/models/server/aws-ecs-server.model.js → aws-server/models/server/aws-server.model.js} +9 -9
  266. package/dist/modules/server/aws-server/models/server/aws-server.model.js.map +1 -0
  267. package/dist/modules/server/{aws-ecs-server/models/server/aws-ecs-server.schema.d.ts → aws-server/models/server/aws-server.schema.d.ts} +1 -1
  268. package/dist/modules/server/aws-server/models/server/aws-server.schema.js +7 -0
  269. package/dist/modules/server/aws-server/models/server/aws-server.schema.js.map +1 -0
  270. package/dist/modules/server/aws-server/models/server/index.d.ts +2 -0
  271. package/dist/modules/server/aws-server/models/server/index.js +3 -0
  272. package/dist/modules/server/aws-server/models/server/index.js.map +1 -0
  273. package/dist/modules/server/aws-server/overlays/aws-server-dynamodb-access/actions/add-aws-server-dynamodb-access.overlay.action.d.ts +28 -0
  274. package/dist/modules/server/aws-server/overlays/aws-server-dynamodb-access/actions/add-aws-server-dynamodb-access.overlay.action.js +53 -0
  275. package/dist/modules/server/aws-server/overlays/aws-server-dynamodb-access/actions/add-aws-server-dynamodb-access.overlay.action.js.map +1 -0
  276. package/dist/modules/server/aws-server/overlays/aws-server-dynamodb-access/aws-server-dynamodb-access.overlay.d.ts +22 -0
  277. package/dist/modules/server/aws-server/overlays/aws-server-dynamodb-access/aws-server-dynamodb-access.overlay.js +37 -0
  278. package/dist/modules/server/aws-server/overlays/aws-server-dynamodb-access/aws-server-dynamodb-access.overlay.js.map +1 -0
  279. package/dist/modules/server/aws-server/overlays/aws-server-dynamodb-access/aws-server-dynamodb-access.schema.d.ts +13 -0
  280. package/dist/modules/server/aws-server/overlays/aws-server-dynamodb-access/aws-server-dynamodb-access.schema.js +33 -0
  281. package/dist/modules/server/aws-server/overlays/aws-server-dynamodb-access/aws-server-dynamodb-access.schema.js.map +1 -0
  282. package/dist/modules/server/aws-server/overlays/aws-server-dynamodb-access/index.d.ts +2 -0
  283. package/dist/modules/server/aws-server/overlays/aws-server-dynamodb-access/index.js +3 -0
  284. package/dist/modules/server/aws-server/overlays/aws-server-dynamodb-access/index.js.map +1 -0
  285. package/dist/modules/server/aws-server/overlays/aws-server-s3-access/actions/add-aws-server-s3-access.overlay.action.d.ts +28 -0
  286. package/dist/modules/server/aws-server/overlays/aws-server-s3-access/actions/add-aws-server-s3-access.overlay.action.js +53 -0
  287. package/dist/modules/server/aws-server/overlays/aws-server-s3-access/actions/add-aws-server-s3-access.overlay.action.js.map +1 -0
  288. package/dist/modules/server/aws-server/overlays/aws-server-s3-access/aws-server-s3-access.overlay.d.ts +22 -0
  289. package/dist/modules/server/aws-server/overlays/aws-server-s3-access/aws-server-s3-access.overlay.js +37 -0
  290. package/dist/modules/server/aws-server/overlays/aws-server-s3-access/aws-server-s3-access.overlay.js.map +1 -0
  291. package/dist/modules/server/{aws-ecs-server/overlays/aws-ecs-server-s3-access/aws-ecs-server-s3-access.schema.d.ts → aws-server/overlays/aws-server-s3-access/aws-server-s3-access.schema.d.ts} +3 -4
  292. package/dist/modules/server/{aws-ecs-server/overlays/aws-ecs-server-s3-access/aws-ecs-server-s3-access.schema.js → aws-server/overlays/aws-server-s3-access/aws-server-s3-access.schema.js} +5 -6
  293. package/dist/modules/server/aws-server/overlays/aws-server-s3-access/aws-server-s3-access.schema.js.map +1 -0
  294. package/dist/modules/server/aws-server/overlays/aws-server-s3-access/index.d.ts +2 -0
  295. package/dist/modules/server/aws-server/overlays/aws-server-s3-access/index.js +3 -0
  296. package/dist/modules/server/aws-server/overlays/aws-server-s3-access/index.js.map +1 -0
  297. package/dist/modules/service/aws-cloudfront-invalidation-service/aws-cloudfront-invalidation-service.module.d.ts +36 -0
  298. package/dist/modules/service/aws-cloudfront-invalidation-service/aws-cloudfront-invalidation-service.module.js +66 -0
  299. package/dist/modules/service/aws-cloudfront-invalidation-service/aws-cloudfront-invalidation-service.module.js.map +1 -0
  300. package/dist/modules/service/aws-cloudfront-invalidation-service/index.d.ts +1 -0
  301. package/dist/modules/service/aws-cloudfront-invalidation-service/index.js +2 -0
  302. package/dist/modules/service/aws-cloudfront-invalidation-service/index.js.map +1 -0
  303. package/dist/modules/service/aws-cloudfront-invalidation-service/index.schema.d.ts +23 -0
  304. package/dist/modules/service/aws-cloudfront-invalidation-service/index.schema.js +65 -0
  305. package/dist/modules/service/aws-cloudfront-invalidation-service/index.schema.js.map +1 -0
  306. package/dist/modules/service/aws-cloudfront-invalidation-service/overlays/aws-cloudfront-invalidation/actions/add-aws-cloudfront-invalidation.overlay.action.d.ts +26 -0
  307. package/dist/modules/service/aws-cloudfront-invalidation-service/overlays/aws-cloudfront-invalidation/actions/add-aws-cloudfront-invalidation.overlay.action.js +68 -0
  308. package/dist/modules/service/aws-cloudfront-invalidation-service/overlays/aws-cloudfront-invalidation/actions/add-aws-cloudfront-invalidation.overlay.action.js.map +1 -0
  309. package/dist/modules/service/aws-cloudfront-invalidation-service/overlays/aws-cloudfront-invalidation/aws-cloudfront-invalidation.overlay.d.ts +22 -0
  310. package/dist/modules/service/aws-cloudfront-invalidation-service/overlays/aws-cloudfront-invalidation/aws-cloudfront-invalidation.overlay.js +38 -0
  311. package/dist/modules/service/aws-cloudfront-invalidation-service/overlays/aws-cloudfront-invalidation/aws-cloudfront-invalidation.overlay.js.map +1 -0
  312. package/dist/modules/service/aws-cloudfront-invalidation-service/overlays/aws-cloudfront-invalidation/aws-cloudfront-invalidation.schema.d.ts +12 -0
  313. package/dist/modules/service/aws-cloudfront-invalidation-service/overlays/aws-cloudfront-invalidation/aws-cloudfront-invalidation.schema.js +32 -0
  314. package/dist/modules/service/aws-cloudfront-invalidation-service/overlays/aws-cloudfront-invalidation/aws-cloudfront-invalidation.schema.js.map +1 -0
  315. package/dist/modules/service/aws-cloudfront-invalidation-service/overlays/aws-cloudfront-invalidation/index.d.ts +2 -0
  316. package/dist/modules/service/aws-cloudfront-invalidation-service/overlays/aws-cloudfront-invalidation/index.js +3 -0
  317. package/dist/modules/service/aws-cloudfront-invalidation-service/overlays/aws-cloudfront-invalidation/index.js.map +1 -0
  318. package/dist/modules/service/aws-cloudfront-service/aws-cloudfront-service.module.d.ts +76 -0
  319. package/dist/modules/service/aws-cloudfront-service/aws-cloudfront-service.module.js +192 -0
  320. package/dist/modules/service/aws-cloudfront-service/aws-cloudfront-service.module.js.map +1 -0
  321. package/dist/modules/service/aws-cloudfront-service/index.d.ts +1 -0
  322. package/dist/modules/service/aws-cloudfront-service/index.js +2 -0
  323. package/dist/modules/service/aws-cloudfront-service/index.js.map +1 -0
  324. package/dist/modules/service/aws-cloudfront-service/index.schema.d.ts +170 -0
  325. package/dist/modules/service/aws-cloudfront-service/index.schema.js +396 -0
  326. package/dist/modules/service/aws-cloudfront-service/index.schema.js.map +1 -0
  327. package/dist/modules/service/aws-cloudfront-service/models/service/actions/add-aws-cloudfront-service.model.action.d.ts +26 -0
  328. package/dist/modules/service/aws-cloudfront-service/models/service/actions/add-aws-cloudfront-service.model.action.js +137 -0
  329. package/dist/modules/service/aws-cloudfront-service/models/service/actions/add-aws-cloudfront-service.model.action.js.map +1 -0
  330. package/dist/modules/service/aws-cloudfront-service/models/service/aws-cloudfront-service.model.d.ts +20 -0
  331. package/dist/modules/service/aws-cloudfront-service/models/service/aws-cloudfront-service.model.js +50 -0
  332. package/dist/modules/service/aws-cloudfront-service/models/service/aws-cloudfront-service.model.js.map +1 -0
  333. package/dist/modules/service/aws-cloudfront-service/models/service/aws-cloudfront-service.schema.d.ts +7 -0
  334. package/dist/modules/service/aws-cloudfront-service/models/service/aws-cloudfront-service.schema.js +24 -0
  335. package/dist/modules/service/aws-cloudfront-service/models/service/aws-cloudfront-service.schema.js.map +1 -0
  336. package/dist/modules/service/aws-cloudfront-service/models/service/index.d.ts +2 -0
  337. package/dist/modules/service/aws-cloudfront-service/models/service/index.js +3 -0
  338. package/dist/modules/service/aws-cloudfront-service/models/service/index.js.map +1 -0
  339. package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-alb-origin/actions/add-aws-cloudfront-alb-origin.overlay.action.d.ts +26 -0
  340. package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-alb-origin/actions/add-aws-cloudfront-alb-origin.overlay.action.js +68 -0
  341. package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-alb-origin/actions/add-aws-cloudfront-alb-origin.overlay.action.js.map +1 -0
  342. package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-alb-origin/aws-cloudfront-alb-origin.overlay.d.ts +21 -0
  343. package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-alb-origin/aws-cloudfront-alb-origin.overlay.js +36 -0
  344. package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-alb-origin/aws-cloudfront-alb-origin.overlay.js.map +1 -0
  345. package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-alb-origin/aws-cloudfront-alb-origin.schema.d.ts +9 -0
  346. package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-alb-origin/aws-cloudfront-alb-origin.schema.js +11 -0
  347. package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-alb-origin/aws-cloudfront-alb-origin.schema.js.map +1 -0
  348. package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-alb-origin/index.d.ts +2 -0
  349. package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-alb-origin/index.js +3 -0
  350. package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-alb-origin/index.js.map +1 -0
  351. package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-lambda-origin/actions/add-aws-cloudfront-lambda-origin.overlay.action.d.ts +26 -0
  352. package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-lambda-origin/actions/add-aws-cloudfront-lambda-origin.overlay.action.js +73 -0
  353. package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-lambda-origin/actions/add-aws-cloudfront-lambda-origin.overlay.action.js.map +1 -0
  354. package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-lambda-origin/aws-cloudfront-lambda-origin.overlay.d.ts +21 -0
  355. package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-lambda-origin/aws-cloudfront-lambda-origin.overlay.js +36 -0
  356. package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-lambda-origin/aws-cloudfront-lambda-origin.overlay.js.map +1 -0
  357. package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-lambda-origin/aws-cloudfront-lambda-origin.schema.d.ts +9 -0
  358. package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-lambda-origin/aws-cloudfront-lambda-origin.schema.js +11 -0
  359. package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-lambda-origin/aws-cloudfront-lambda-origin.schema.js.map +1 -0
  360. package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-lambda-origin/index.d.ts +2 -0
  361. package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-lambda-origin/index.js +3 -0
  362. package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-lambda-origin/index.js.map +1 -0
  363. package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-s3-origin/actions/add-aws-cloudfront-s3-origin.overlay.action.d.ts +26 -0
  364. package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-s3-origin/actions/add-aws-cloudfront-s3-origin.overlay.action.js +80 -0
  365. package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-s3-origin/actions/add-aws-cloudfront-s3-origin.overlay.action.js.map +1 -0
  366. package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-s3-origin/aws-cloudfront-s3-origin.overlay.d.ts +20 -0
  367. package/dist/modules/{server/aws-ecs-server/overlays/aws-ecs-server-s3-access/aws-ecs-server-s3-access.overlay.js → service/aws-cloudfront-service/overlays/aws-cloudfront-s3-origin/aws-cloudfront-s3-origin.overlay.js} +10 -8
  368. package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-s3-origin/aws-cloudfront-s3-origin.overlay.js.map +1 -0
  369. package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-s3-origin/aws-cloudfront-s3-origin.schema.d.ts +9 -0
  370. package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-s3-origin/aws-cloudfront-s3-origin.schema.js +11 -0
  371. package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-s3-origin/aws-cloudfront-s3-origin.schema.js.map +1 -0
  372. package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-s3-origin/index.d.ts +2 -0
  373. package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-s3-origin/index.js +3 -0
  374. package/dist/modules/service/aws-cloudfront-service/overlays/aws-cloudfront-s3-origin/index.js.map +1 -0
  375. package/dist/modules/service/aws-dynamodb-global-service/aws-dynamodb-global-service.module.d.ts +9 -7
  376. package/dist/modules/service/aws-dynamodb-global-service/aws-dynamodb-global-service.module.js +32 -11
  377. package/dist/modules/service/aws-dynamodb-global-service/aws-dynamodb-global-service.module.js.map +1 -1
  378. package/dist/modules/service/aws-dynamodb-global-service/index.schema.d.ts +3 -2
  379. package/dist/modules/service/aws-dynamodb-global-service/index.schema.js +3 -2
  380. package/dist/modules/service/aws-dynamodb-global-service/index.schema.js.map +1 -1
  381. package/dist/modules/service/aws-dynamodb-global-service/models/service/actions/add-aws-dynamodb-global-service-replica-region.model.action.d.ts +29 -0
  382. package/dist/modules/service/aws-dynamodb-global-service/models/service/actions/add-aws-dynamodb-global-service-replica-region.model.action.js +54 -0
  383. package/dist/modules/service/aws-dynamodb-global-service/models/service/actions/add-aws-dynamodb-global-service-replica-region.model.action.js.map +1 -0
  384. package/dist/modules/service/aws-dynamodb-global-service/models/service/actions/add-aws-dynamodb-global-service.model.action.js +12 -3
  385. package/dist/modules/service/aws-dynamodb-global-service/models/service/actions/add-aws-dynamodb-global-service.model.action.js.map +1 -1
  386. package/dist/modules/service/aws-dynamodb-global-service/models/service/aws-dynamodb-global-service.model.d.ts +7 -3
  387. package/dist/modules/service/aws-dynamodb-global-service/models/service/aws-dynamodb-global-service.model.js +14 -7
  388. package/dist/modules/service/aws-dynamodb-global-service/models/service/aws-dynamodb-global-service.model.js.map +1 -1
  389. package/dist/modules/service/aws-dynamodb-global-service/models/service/index.d.ts +1 -0
  390. package/dist/modules/service/aws-dynamodb-global-service/models/service/index.js +1 -0
  391. package/dist/modules/service/aws-dynamodb-global-service/models/service/index.js.map +1 -1
  392. package/dist/modules/service/aws-dynamodb-service/aws-dynamodb-service.module.d.ts +5 -4
  393. package/dist/modules/service/aws-dynamodb-service/aws-dynamodb-service.module.js +17 -12
  394. package/dist/modules/service/aws-dynamodb-service/aws-dynamodb-service.module.js.map +1 -1
  395. package/dist/modules/service/aws-dynamodb-service/index.schema.d.ts +1 -2
  396. package/dist/modules/service/aws-dynamodb-service/index.schema.js +2 -4
  397. package/dist/modules/service/aws-dynamodb-service/index.schema.js.map +1 -1
  398. package/dist/modules/service/aws-dynamodb-service/models/service/aws-dynamodb-service.model.d.ts +3 -3
  399. package/dist/modules/service/aws-dynamodb-service/models/service/aws-dynamodb-service.model.js +8 -7
  400. package/dist/modules/service/aws-dynamodb-service/models/service/aws-dynamodb-service.model.js.map +1 -1
  401. package/dist/modules/service/aws-ecs-alb-service/aws-ecs-alb-service.module.d.ts +20 -10
  402. package/dist/modules/service/aws-ecs-alb-service/aws-ecs-alb-service.module.js +23 -17
  403. package/dist/modules/service/aws-ecs-alb-service/aws-ecs-alb-service.module.js.map +1 -1
  404. package/dist/modules/service/aws-ecs-alb-service/models/service/actions/add-aws-ecs-alb-service.model.action.js +2 -2
  405. package/dist/modules/service/aws-ecs-alb-service/models/service/actions/add-aws-ecs-alb-service.model.action.js.map +1 -1
  406. package/dist/modules/service/aws-ecs-alb-service/models/service/aws-ecs-alb-service.model.d.ts +1 -5
  407. package/dist/modules/service/aws-ecs-alb-service/models/service/aws-ecs-alb-service.model.js +4 -22
  408. package/dist/modules/service/aws-ecs-alb-service/models/service/aws-ecs-alb-service.model.js.map +1 -1
  409. package/dist/modules/service/aws-ecs-alb-service/models/service/aws-ecs-alb-service.schema.d.ts +1 -2
  410. package/dist/modules/service/aws-ecs-alb-service/models/service/aws-ecs-alb-service.schema.js +0 -1
  411. package/dist/modules/service/aws-ecs-alb-service/models/service/aws-ecs-alb-service.schema.js.map +1 -1
  412. package/dist/modules/service/aws-ecs-alb-service/overlays/aws-ecs-alb-service/actions/add-aws-ecs-alb-service.overlay.action.js +7 -8
  413. package/dist/modules/service/aws-ecs-alb-service/overlays/aws-ecs-alb-service/actions/add-aws-ecs-alb-service.overlay.action.js.map +1 -1
  414. package/dist/modules/service/aws-s3-static-website-service/aws-s3-static-website-service.module.d.ts +9 -14
  415. package/dist/modules/service/aws-s3-static-website-service/aws-s3-static-website-service.module.js +19 -24
  416. package/dist/modules/service/aws-s3-static-website-service/aws-s3-static-website-service.module.js.map +1 -1
  417. package/dist/modules/service/aws-s3-static-website-service/index.schema.d.ts +5 -68
  418. package/dist/modules/service/aws-s3-static-website-service/index.schema.js +20 -127
  419. package/dist/modules/service/aws-s3-static-website-service/index.schema.js.map +1 -1
  420. package/dist/modules/service/aws-s3-static-website-service/models/service/actions/add-aws-s3-static-website-service.model.action.js +1 -83
  421. package/dist/modules/service/aws-s3-static-website-service/models/service/actions/add-aws-s3-static-website-service.model.action.js.map +1 -1
  422. package/dist/modules/service/aws-s3-static-website-service/models/service/actions/update-aws-s3-static-website-service-source-paths.model.action.d.ts +2 -1
  423. package/dist/modules/service/aws-s3-static-website-service/models/service/actions/update-aws-s3-static-website-service-source-paths.model.action.js +0 -15
  424. package/dist/modules/service/aws-s3-static-website-service/models/service/actions/update-aws-s3-static-website-service-source-paths.model.action.js.map +1 -1
  425. package/dist/modules/service/aws-s3-static-website-service/models/service/aws-s3-static-website-service.model.d.ts +6 -24
  426. package/dist/modules/service/aws-s3-static-website-service/models/service/aws-s3-static-website-service.model.js +11 -89
  427. package/dist/modules/service/aws-s3-static-website-service/models/service/aws-s3-static-website-service.model.js.map +1 -1
  428. package/dist/modules/service/aws-s3-storage-service/aws-s3-storage-service.module.d.ts +19 -8
  429. package/dist/modules/service/aws-s3-storage-service/aws-s3-storage-service.module.js +44 -20
  430. package/dist/modules/service/aws-s3-storage-service/aws-s3-storage-service.module.js.map +1 -1
  431. package/dist/modules/service/aws-s3-storage-service/index.schema.d.ts +53 -7
  432. package/dist/modules/service/aws-s3-storage-service/index.schema.js +126 -11
  433. package/dist/modules/service/aws-s3-storage-service/index.schema.js.map +1 -1
  434. package/dist/modules/service/aws-s3-storage-service/models/service/actions/add-aws-s3-storage-service.model.action.js +4 -0
  435. package/dist/modules/service/aws-s3-storage-service/models/service/actions/add-aws-s3-storage-service.model.action.js.map +1 -1
  436. package/dist/modules/service/aws-s3-storage-service/models/service/actions/update-aws-s3-storage-service-source-paths.model.action.d.ts +27 -0
  437. package/dist/modules/service/aws-s3-storage-service/models/service/actions/update-aws-s3-storage-service-source-paths.model.action.js +56 -0
  438. package/dist/modules/service/aws-s3-storage-service/models/service/actions/update-aws-s3-storage-service-source-paths.model.action.js.map +1 -0
  439. package/dist/modules/service/aws-s3-storage-service/models/service/aws-s3-storage-service.model.d.ts +26 -8
  440. package/dist/modules/service/aws-s3-storage-service/models/service/aws-s3-storage-service.model.js +56 -20
  441. package/dist/modules/service/aws-s3-storage-service/models/service/aws-s3-storage-service.model.js.map +1 -1
  442. package/dist/modules/service/aws-s3-storage-service/models/service/aws-s3-storage-service.schema.d.ts +13 -3
  443. package/dist/modules/service/aws-s3-storage-service/models/service/aws-s3-storage-service.schema.js +19 -3
  444. package/dist/modules/service/aws-s3-storage-service/models/service/aws-s3-storage-service.schema.js.map +1 -1
  445. package/dist/modules/service/aws-s3-storage-service/models/service/index.d.ts +1 -0
  446. package/dist/modules/service/aws-s3-storage-service/models/service/index.js +1 -0
  447. package/dist/modules/service/aws-s3-storage-service/models/service/index.js.map +1 -1
  448. package/dist/modules/subnet/aws-serverless-subnet/aws-serverless-subnet.module.d.ts +31 -0
  449. package/dist/modules/subnet/aws-serverless-subnet/aws-serverless-subnet.module.js +55 -0
  450. package/dist/modules/subnet/aws-serverless-subnet/aws-serverless-subnet.module.js.map +1 -0
  451. package/dist/modules/subnet/aws-serverless-subnet/index.d.ts +1 -0
  452. package/dist/modules/subnet/aws-serverless-subnet/index.js +2 -0
  453. package/dist/modules/subnet/aws-serverless-subnet/index.js.map +1 -0
  454. package/dist/modules/subnet/aws-serverless-subnet/index.schema.d.ts +17 -0
  455. package/dist/modules/subnet/aws-serverless-subnet/index.schema.js +46 -0
  456. package/dist/modules/subnet/aws-serverless-subnet/index.schema.js.map +1 -0
  457. package/dist/modules/subnet/aws-serverless-subnet/models/subnet/actions/add-aws-serverless-subnet.model.action.d.ts +28 -0
  458. package/dist/modules/subnet/aws-serverless-subnet/models/subnet/actions/add-aws-serverless-subnet.model.action.js +53 -0
  459. package/dist/modules/subnet/aws-serverless-subnet/models/subnet/actions/add-aws-serverless-subnet.model.action.js.map +1 -0
  460. package/dist/modules/subnet/aws-serverless-subnet/models/subnet/aws-serverless-subnet.model.d.ts +11 -0
  461. package/dist/modules/subnet/aws-serverless-subnet/models/subnet/aws-serverless-subnet.model.js +26 -0
  462. package/dist/modules/subnet/aws-serverless-subnet/models/subnet/aws-serverless-subnet.model.js.map +1 -0
  463. package/dist/modules/subnet/aws-serverless-subnet/models/subnet/aws-serverless-subnet.schema.d.ts +6 -0
  464. package/dist/modules/subnet/aws-serverless-subnet/models/subnet/aws-serverless-subnet.schema.js +7 -0
  465. package/dist/modules/subnet/aws-serverless-subnet/models/subnet/aws-serverless-subnet.schema.js.map +1 -0
  466. package/dist/modules/subnet/aws-serverless-subnet/models/subnet/index.d.ts +2 -0
  467. package/dist/modules/subnet/aws-serverless-subnet/models/subnet/index.js +3 -0
  468. package/dist/modules/subnet/aws-serverless-subnet/models/subnet/index.js.map +1 -0
  469. package/dist/modules/subnet/aws-simple-subnet/aws-simple-subnet.module.d.ts +4 -3
  470. package/dist/modules/subnet/aws-simple-subnet/aws-simple-subnet.module.js +7 -4
  471. package/dist/modules/subnet/aws-simple-subnet/aws-simple-subnet.module.js.map +1 -1
  472. package/dist/modules/subnet/aws-simple-subnet/models/subnet/actions/add-aws-simple-subnet.model.action.js +9 -9
  473. package/dist/modules/subnet/aws-simple-subnet/models/subnet/actions/add-aws-simple-subnet.model.action.js.map +1 -1
  474. 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 +11 -9
  475. package/dist/modules/subnet/aws-simple-subnet/overlays/aws-simple-subnet-local-filesystem-mount/actions/add-aws-simple-subnet-local-filesystem-mount.overlay.action.js.map +1 -1
  476. package/dist/modules/subnet/aws-simple-subnet/overlays/aws-simple-subnet-local-filesystem-mount/aws-simple-subnet-local-filesystem-mount.overlay.d.ts +1 -0
  477. package/dist/modules/subnet/aws-simple-subnet/overlays/aws-simple-subnet-local-filesystem-mount/aws-simple-subnet-local-filesystem-mount.overlay.js.map +1 -1
  478. package/dist/resources/alb/alb.resource.js +3 -1
  479. package/dist/resources/alb/alb.resource.js.map +1 -1
  480. package/dist/resources/alb-listener/index.schema.d.ts +2 -2
  481. package/dist/resources/alb-listener/index.schema.js +2 -2
  482. package/dist/resources/alb-target-group/alb-target-group.resource.js +3 -1
  483. package/dist/resources/alb-target-group/alb-target-group.resource.js.map +1 -1
  484. package/dist/resources/cloudfront-distribution/cloudfront-behavior.schema.d.ts +136 -0
  485. package/dist/resources/cloudfront-distribution/cloudfront-behavior.schema.js +215 -0
  486. package/dist/resources/cloudfront-distribution/cloudfront-behavior.schema.js.map +1 -0
  487. package/dist/resources/cloudfront-distribution/cloudfront-distribution.resource.d.ts +48 -16
  488. package/dist/resources/cloudfront-distribution/cloudfront-distribution.resource.js +176 -96
  489. package/dist/resources/cloudfront-distribution/cloudfront-distribution.resource.js.map +1 -1
  490. package/dist/resources/cloudfront-distribution/cloudfront-origin.schema.d.ts +93 -0
  491. package/dist/resources/cloudfront-distribution/cloudfront-origin.schema.js +136 -0
  492. package/dist/resources/cloudfront-distribution/cloudfront-origin.schema.js.map +1 -0
  493. package/dist/resources/cloudfront-distribution/cloudfront-policy.schema.d.ts +361 -0
  494. package/dist/resources/cloudfront-distribution/cloudfront-policy.schema.js +467 -0
  495. package/dist/resources/cloudfront-distribution/cloudfront-policy.schema.js.map +1 -0
  496. package/dist/resources/cloudfront-distribution/cloudfront-response.schema.d.ts +29 -0
  497. package/dist/resources/cloudfront-distribution/cloudfront-response.schema.js +58 -0
  498. package/dist/resources/cloudfront-distribution/cloudfront-response.schema.js.map +1 -0
  499. package/dist/resources/cloudfront-distribution/index.schema.d.ts +50 -422
  500. package/dist/resources/cloudfront-distribution/index.schema.js +81 -618
  501. package/dist/resources/cloudfront-distribution/index.schema.js.map +1 -1
  502. package/dist/resources/cloudfront-invalidation/actions/add-cloudfront-invalidation.resource.action.js +1 -1
  503. package/dist/resources/cloudfront-invalidation/actions/add-cloudfront-invalidation.resource.action.js.map +1 -1
  504. package/dist/resources/cloudfront-invalidation/actions/update-cloudfront-invalidation.resource.action.js +1 -1
  505. package/dist/resources/cloudfront-invalidation/actions/update-cloudfront-invalidation.resource.action.js.map +1 -1
  506. package/dist/resources/cloudfront-invalidation/cloudfront-invalidation.resource.d.ts +6 -2
  507. package/dist/resources/cloudfront-invalidation/cloudfront-invalidation.resource.js +3 -0
  508. package/dist/resources/cloudfront-invalidation/cloudfront-invalidation.resource.js.map +1 -1
  509. package/dist/resources/cloudfront-invalidation/index.schema.d.ts +5 -2
  510. package/dist/resources/cloudfront-invalidation/index.schema.js +5 -2
  511. package/dist/resources/cloudfront-invalidation/index.schema.js.map +1 -1
  512. package/dist/resources/dynamodb/dynamodb.resource.js +16 -4
  513. package/dist/resources/dynamodb/dynamodb.resource.js.map +1 -1
  514. package/dist/resources/dynamodb-global/dynamodb-global.resource.js +1 -1
  515. package/dist/resources/dynamodb-global/dynamodb-global.resource.js.map +1 -1
  516. package/dist/resources/ecr/ecr-image.resource.js +4 -1
  517. package/dist/resources/ecr/ecr-image.resource.js.map +1 -1
  518. package/dist/resources/ecr-image-tag/actions/add-ecr-image-tag.resource.action.d.ts +1 -1
  519. package/dist/resources/ecr-image-tag/actions/add-ecr-image-tag.resource.action.js +15 -5
  520. package/dist/resources/ecr-image-tag/actions/add-ecr-image-tag.resource.action.js.map +1 -1
  521. package/dist/resources/ecr-image-tag/actions/delete-ecr-image-tag.resource.action.js +1 -1
  522. package/dist/resources/ecr-image-tag/actions/delete-ecr-image-tag.resource.action.js.map +1 -1
  523. package/dist/resources/ecr-image-tag/ecr-image-tag.resource.js +3 -1
  524. package/dist/resources/ecr-image-tag/ecr-image-tag.resource.js.map +1 -1
  525. package/dist/resources/ecr-image-tag/index.schema.d.ts +11 -0
  526. package/dist/resources/ecr-image-tag/index.schema.js +26 -11
  527. package/dist/resources/ecr-image-tag/index.schema.js.map +1 -1
  528. package/dist/resources/ecs-cluster/ecs-cluster.resource.js +3 -1
  529. package/dist/resources/ecs-cluster/ecs-cluster.resource.js.map +1 -1
  530. package/dist/resources/ecs-service/ecs-service.resource.js +0 -4
  531. package/dist/resources/ecs-service/ecs-service.resource.js.map +1 -1
  532. package/dist/resources/ecs-task-definition/ecs-task-definition.resource.d.ts +9 -6
  533. package/dist/resources/ecs-task-definition/ecs-task-definition.resource.js +18 -8
  534. package/dist/resources/ecs-task-definition/ecs-task-definition.resource.js.map +1 -1
  535. package/dist/resources/ecs-task-definition/index.schema.d.ts +5 -6
  536. package/dist/resources/ecs-task-definition/index.schema.js +9 -6
  537. package/dist/resources/ecs-task-definition/index.schema.js.map +1 -1
  538. package/dist/resources/efs/efs.resource.js +1 -1
  539. package/dist/resources/efs/efs.resource.js.map +1 -1
  540. package/dist/resources/efs-mount-target/index.schema.d.ts +1 -1
  541. package/dist/resources/efs-mount-target/index.schema.js +1 -1
  542. package/dist/resources/iam-role/iam-role.resource.d.ts +29 -2
  543. package/dist/resources/iam-role/iam-role.resource.js +163 -37
  544. package/dist/resources/iam-role/iam-role.resource.js.map +1 -1
  545. package/dist/resources/iam-role/index.schema.d.ts +45 -11
  546. package/dist/resources/iam-role/index.schema.js.map +1 -1
  547. package/dist/resources/iam-user/iam-user.resource.d.ts +23 -2
  548. package/dist/resources/iam-user/iam-user.resource.js +130 -27
  549. package/dist/resources/iam-user/iam-user.resource.js.map +1 -1
  550. package/dist/resources/iam-user/index.schema.d.ts +33 -5
  551. package/dist/resources/iam-user/index.schema.js.map +1 -1
  552. package/dist/resources/lambda-function/index.d.ts +1 -0
  553. package/dist/resources/lambda-function/index.js +2 -0
  554. package/dist/resources/lambda-function/index.js.map +1 -0
  555. package/dist/resources/lambda-function/index.schema.d.ts +75 -0
  556. package/dist/resources/lambda-function/index.schema.js +139 -0
  557. package/dist/resources/lambda-function/index.schema.js.map +1 -0
  558. package/dist/resources/lambda-function/lambda-function.resource.d.ts +50 -0
  559. package/dist/resources/lambda-function/lambda-function.resource.js +199 -0
  560. package/dist/resources/lambda-function/lambda-function.resource.js.map +1 -0
  561. package/dist/resources/nat-gateway/nat-gateway.resource.d.ts +2 -7
  562. package/dist/resources/nat-gateway/nat-gateway.resource.js +2 -2
  563. package/dist/resources/nat-gateway/nat-gateway.resource.js.map +1 -1
  564. package/dist/resources/s3-storage/index.schema.d.ts +118 -6
  565. package/dist/resources/s3-storage/index.schema.js +200 -7
  566. package/dist/resources/s3-storage/index.schema.js.map +1 -1
  567. package/dist/resources/s3-storage/s3-storage.resource.d.ts +25 -12
  568. package/dist/resources/s3-storage/s3-storage.resource.js +211 -110
  569. package/dist/resources/s3-storage/s3-storage.resource.js.map +1 -1
  570. package/dist/resources/s3-website/index.schema.d.ts +1 -19
  571. package/dist/resources/s3-website/index.schema.js +1 -34
  572. package/dist/resources/s3-website/index.schema.js.map +1 -1
  573. package/dist/resources/s3-website/s3-website.resource.d.ts +4 -31
  574. package/dist/resources/s3-website/s3-website.resource.js +29 -82
  575. package/dist/resources/s3-website/s3-website.resource.js.map +1 -1
  576. package/dist/resources/security-group/security-group.resource.js +13 -2
  577. package/dist/resources/security-group/security-group.resource.js.map +1 -1
  578. package/dist/services/docker/docker.service.d.ts +28 -7
  579. package/dist/services/docker/docker.service.js +53 -17
  580. package/dist/services/docker/docker.service.js.map +1 -1
  581. package/dist/utilities/aws-region/aws-region.utility.d.ts +15 -0
  582. package/dist/utilities/aws-region/aws-region.utility.js +19 -0
  583. package/dist/utilities/aws-region/aws-region.utility.js.map +1 -0
  584. package/dist/utilities/file/file.utility.d.ts +0 -4
  585. package/dist/utilities/file/file.utility.js +0 -6
  586. package/dist/utilities/file/file.utility.js.map +1 -1
  587. package/dist/utilities/retry/retry.utility.d.ts +5 -9
  588. package/dist/utilities/retry/retry.utility.js +0 -20
  589. package/dist/utilities/retry/retry.utility.js.map +1 -1
  590. package/dist/utilities/s3-file-source/s3-file-source.utility.d.ts +53 -0
  591. package/dist/utilities/s3-file-source/s3-file-source.utility.js +112 -0
  592. package/dist/utilities/s3-file-source/s3-file-source.utility.js.map +1 -0
  593. package/package.json +30 -10
  594. package/dist/anchors/aws-ecs/aws-ecs-server.anchor.d.ts +0 -12
  595. package/dist/anchors/aws-ecs/aws-ecs-server.anchor.js.map +0 -1
  596. package/dist/anchors/aws-ecs/aws-ecs-server.anchor.schema.d.ts +0 -27
  597. package/dist/anchors/aws-ecs/aws-ecs-server.anchor.schema.js.map +0 -1
  598. package/dist/anchors/aws-ecs/aws-ecs-task-definition.anchor.d.ts +0 -12
  599. package/dist/anchors/aws-ecs/aws-ecs-task-definition.anchor.js.map +0 -1
  600. package/dist/anchors/aws-ecs/aws-ecs-task-definition.anchor.schema.d.ts +0 -88
  601. package/dist/anchors/aws-ecs/aws-ecs-task-definition.anchor.schema.js +0 -138
  602. package/dist/anchors/aws-ecs/aws-ecs-task-definition.anchor.schema.js.map +0 -1
  603. package/dist/anchors/aws-iam/aws-iam-role.anchor.d.ts +0 -12
  604. package/dist/anchors/aws-iam/aws-iam-role.anchor.js.map +0 -1
  605. package/dist/anchors/aws-iam/aws-iam-role.anchor.schema.d.ts +0 -24
  606. package/dist/anchors/aws-iam/aws-iam-role.anchor.schema.js.map +0 -1
  607. package/dist/anchors/aws-s3-storage-service/aws-s3-storage-service-directory.anchor.d.ts +0 -12
  608. package/dist/anchors/aws-s3-storage-service/aws-s3-storage-service-directory.anchor.js.map +0 -1
  609. package/dist/anchors/aws-s3-storage-service/aws-s3-storage-service-directory.anchor.schema.js.map +0 -1
  610. package/dist/modules/deployment/aws-ecs-deployment/aws-ecs-deployment.module.d.ts +0 -41
  611. package/dist/modules/deployment/aws-ecs-deployment/aws-ecs-deployment.module.js +0 -61
  612. package/dist/modules/deployment/aws-ecs-deployment/aws-ecs-deployment.module.js.map +0 -1
  613. package/dist/modules/deployment/aws-ecs-deployment/index.d.ts +0 -1
  614. package/dist/modules/deployment/aws-ecs-deployment/index.js +0 -2
  615. package/dist/modules/deployment/aws-ecs-deployment/index.js.map +0 -1
  616. package/dist/modules/deployment/aws-ecs-deployment/index.schema.d.ts +0 -33
  617. package/dist/modules/deployment/aws-ecs-deployment/index.schema.js +0 -71
  618. package/dist/modules/deployment/aws-ecs-deployment/index.schema.js.map +0 -1
  619. package/dist/modules/deployment/aws-ecs-deployment/models/deployment/actions/add-aws-ecs-deployment.model.action.d.ts +0 -25
  620. package/dist/modules/deployment/aws-ecs-deployment/models/deployment/actions/add-aws-ecs-deployment.model.action.js.map +0 -1
  621. package/dist/modules/deployment/aws-ecs-deployment/models/deployment/aws-ecs-deployment.model.d.ts +0 -11
  622. package/dist/modules/deployment/aws-ecs-deployment/models/deployment/aws-ecs-deployment.model.js.map +0 -1
  623. package/dist/modules/deployment/aws-ecs-deployment/models/deployment/aws-ecs-deployment.schema.js +0 -7
  624. package/dist/modules/deployment/aws-ecs-deployment/models/deployment/aws-ecs-deployment.schema.js.map +0 -1
  625. package/dist/modules/deployment/aws-ecs-deployment/models/deployment/index.d.ts +0 -2
  626. package/dist/modules/deployment/aws-ecs-deployment/models/deployment/index.js +0 -3
  627. package/dist/modules/deployment/aws-ecs-deployment/models/deployment/index.js.map +0 -1
  628. package/dist/modules/server/aws-ecs-server/aws-ecs-server.module.d.ts +0 -58
  629. package/dist/modules/server/aws-ecs-server/aws-ecs-server.module.js +0 -148
  630. package/dist/modules/server/aws-ecs-server/aws-ecs-server.module.js.map +0 -1
  631. package/dist/modules/server/aws-ecs-server/index.d.ts +0 -1
  632. package/dist/modules/server/aws-ecs-server/index.js +0 -2
  633. package/dist/modules/server/aws-ecs-server/index.js.map +0 -1
  634. package/dist/modules/server/aws-ecs-server/index.schema.d.ts +0 -83
  635. package/dist/modules/server/aws-ecs-server/index.schema.js +0 -153
  636. package/dist/modules/server/aws-ecs-server/index.schema.js.map +0 -1
  637. package/dist/modules/server/aws-ecs-server/models/server/actions/add-aws-ecs-server.model.action.d.ts +0 -25
  638. package/dist/modules/server/aws-ecs-server/models/server/actions/add-aws-ecs-server.model.action.js +0 -71
  639. package/dist/modules/server/aws-ecs-server/models/server/actions/add-aws-ecs-server.model.action.js.map +0 -1
  640. package/dist/modules/server/aws-ecs-server/models/server/aws-ecs-server.model.d.ts +0 -11
  641. package/dist/modules/server/aws-ecs-server/models/server/aws-ecs-server.model.js.map +0 -1
  642. package/dist/modules/server/aws-ecs-server/models/server/aws-ecs-server.schema.js +0 -7
  643. package/dist/modules/server/aws-ecs-server/models/server/aws-ecs-server.schema.js.map +0 -1
  644. package/dist/modules/server/aws-ecs-server/models/server/index.d.ts +0 -2
  645. package/dist/modules/server/aws-ecs-server/models/server/index.js +0 -3
  646. package/dist/modules/server/aws-ecs-server/models/server/index.js.map +0 -1
  647. package/dist/modules/server/aws-ecs-server/overlays/aws-ecs-server-s3-access/actions/add-aws-ecs-server-s3-access.overlay.action.d.ts +0 -26
  648. package/dist/modules/server/aws-ecs-server/overlays/aws-ecs-server-s3-access/actions/add-aws-ecs-server-s3-access.overlay.action.js +0 -73
  649. package/dist/modules/server/aws-ecs-server/overlays/aws-ecs-server-s3-access/actions/add-aws-ecs-server-s3-access.overlay.action.js.map +0 -1
  650. package/dist/modules/server/aws-ecs-server/overlays/aws-ecs-server-s3-access/aws-ecs-server-s3-access.overlay.d.ts +0 -19
  651. package/dist/modules/server/aws-ecs-server/overlays/aws-ecs-server-s3-access/aws-ecs-server-s3-access.overlay.js.map +0 -1
  652. package/dist/modules/server/aws-ecs-server/overlays/aws-ecs-server-s3-access/aws-ecs-server-s3-access.schema.js.map +0 -1
  653. package/dist/modules/server/aws-ecs-server/overlays/aws-ecs-server-s3-access/index.d.ts +0 -2
  654. package/dist/modules/server/aws-ecs-server/overlays/aws-ecs-server-s3-access/index.js +0 -3
  655. package/dist/modules/server/aws-ecs-server/overlays/aws-ecs-server-s3-access/index.js.map +0 -1
  656. package/dist/utilities/common/common.utility.d.ts +0 -13
  657. package/dist/utilities/common/common.utility.js +0 -28
  658. package/dist/utilities/common/common.utility.js.map +0 -1
  659. package/dist/utilities/hcl/hcl.utility.d.ts +0 -34
  660. package/dist/utilities/hcl/hcl.utility.js +0 -163
  661. package/dist/utilities/hcl/hcl.utility.js.map +0 -1
@@ -0,0 +1,177 @@
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
+ import { AModule, Module, ModuleError, } from '@quadnix/octo';
8
+ import { AwsDeploymentAnchorSchema } from '../../../anchors/aws-deployment/aws-deployment.anchor.schema.js';
9
+ import { AwsDynamoDBAnchorSchema } from '../../../anchors/aws-dynamodb/aws-dynamodb.anchor.schema.js';
10
+ import { AwsEcrImageAnchorSchema } from '../../../anchors/aws-ecr/aws-ecr-image.anchor.schema.js';
11
+ import { AwsServerlessEnvironmentAnchorSchema } from '../../../anchors/aws-environment/aws-serverless-environment.anchor.schema.js';
12
+ import { AwsLambdaExecutionAnchor } from '../../../anchors/aws-lambda/aws-lambda-execution.anchor.js';
13
+ import { AwsLambdaFunctionAnchor } from '../../../anchors/aws-lambda/aws-lambda-function.anchor.js';
14
+ import { AwsServerlessRegionAnchorSchema } from '../../../anchors/aws-region/aws-serverless-region.anchor.schema.js';
15
+ import { AwsS3StorageServiceAccessPrefixAnchorSchema } from '../../../anchors/aws-s3-storage-service/aws-s3-storage-service-access-prefix.anchor.schema.js';
16
+ import { AwsServerAnchorSchema } from '../../../anchors/aws-server/aws-server.anchor.schema.js';
17
+ import { AwsLambdaExecutionModuleSchema } from './index.schema.js';
18
+ import { AwsLambdaExecution } from './models/execution/index.js';
19
+ import { AwsLambdaExecutionOverlay } from './overlays/aws-lambda-execution/index.js';
20
+ /**
21
+ * `AwsLambdaExecutionModule` is a Lambda-based AWS execution module that provides an implementation for
22
+ * the `Execution` model. It runs a deployment's container image as a Lambda function, in a serverless
23
+ * region.
24
+ *
25
+ * The server and the deployment create nothing; this module creates everything Lambda needs to run
26
+ * them: an IAM role trusting Lambda and holding the server's grants, the function, and a URL that only
27
+ * signed requests may call. The role gets no permission to write logs.
28
+ *
29
+ * The function runs outside a VPC, so it ignores the server's security group rules. The deployment
30
+ * must name an image octo publishes into ECR, set a memory from 128 to 10240 MiB and a
31
+ * timeout from 1 to 900 seconds, and listen on at most one tcp port. A deployment that does not is
32
+ * rejected before anything is created. The function runs on the processor the image is published for,
33
+ * and the Lambda Web Adapter forwards each request to the deployment's port, as `AWS_LWA_PORT`.
34
+ *
35
+ * @example
36
+ * TypeScript
37
+ * ```ts
38
+ * import { type Deployment, type Environment, type Subnet, stub } from '@quadnix/octo';
39
+ * import { AwsLambdaExecutionModule } from '@quadnix/octo-aws-cdk/modules/execution/aws-lambda-execution';
40
+ *
41
+ * octo.loadModule(AwsLambdaExecutionModule, 'my-execution-module', {
42
+ * deployment: stub<Deployment>('${{my-deployment-module.model.deployment}}'),
43
+ * environment: stub<Environment>('${{my-environment-module.model.environment}}'),
44
+ * environmentVariables: { LOG_LEVEL: 'info' },
45
+ * executionId: 'backend-v1-qa',
46
+ * subnet: stub<Subnet>('${{my-subnet-module.model.subnet}}'),
47
+ * });
48
+ * ```
49
+ *
50
+ * @group Modules/Execution/AwsLambdaExecution
51
+ *
52
+ * @reference Resources {@link IamRoleSchema}
53
+ * @reference Resources {@link LambdaFunctionSchema}
54
+ *
55
+ * @see {@link AwsLambdaExecutionModuleSchema} for the input schema.
56
+ * @see {@link AModule} to learn more about modules.
57
+ * @see [Execution](/api/octo/class/Execution) to learn more about the `Execution` model.
58
+ */
59
+ let AwsLambdaExecutionModule = class AwsLambdaExecutionModule extends AModule {
60
+ /**
61
+ * Creates the execution, checks its deployment has what Lambda needs, and joins it to the image,
62
+ * buckets and tables it uses.
63
+ */
64
+ async onInit(inputs) {
65
+ const { deployment, environment, subnet } = inputs;
66
+ if (environment.getParents()['region'][0].to.getContext() !== subnet.getParents()['region'][0].to.getContext()) {
67
+ throw new ModuleError('Environment and Subnet must be in the same region!', this.constructor.name);
68
+ }
69
+ const region = environment.getParents()['region'][0].to;
70
+ // Create a new execution.
71
+ const execution = new AwsLambdaExecution(inputs.executionId, deployment, environment, subnet);
72
+ for (const [key, value] of Object.entries(inputs.environmentVariables || {})) {
73
+ execution.environmentVariables.set(key, value);
74
+ }
75
+ // Add anchors.
76
+ const lambdaExecutionAnchor = new AwsLambdaExecutionAnchor('AwsLambdaExecutionAnchor', {
77
+ environmentVariables: Object.fromEntries(execution.environmentVariables.entries()),
78
+ functionName: execution.executionId,
79
+ invokerAccountIds: [...inputs.invokerAccountIds],
80
+ }, execution);
81
+ execution.addAnchor(lambdaExecutionAnchor);
82
+ // Get the server's anchors and grants.
83
+ const server = deployment.getParents()['server'][0].to;
84
+ const [matchingServerAnchor] = await server.getAnchorsMatchingSchema(AwsServerAnchorSchema, [], {
85
+ searchBoundaryMembers: false,
86
+ });
87
+ if (!matchingServerAnchor) {
88
+ throw new ModuleError(`Server "${server.serverKey}" does not have compatible anchors!`, this.constructor.name);
89
+ }
90
+ const { grants } = matchingServerAnchor.getSchemaInstance().properties;
91
+ const grantAnchors = [];
92
+ for (const grant of grants.s3) {
93
+ const [matchingAccessPrefixAnchor] = await server.getAnchorsMatchingSchema(AwsS3StorageServiceAccessPrefixAnchorSchema, [
94
+ { key: 'accessPrefix', value: grant.accessPrefix },
95
+ { key: 'bucketName', value: grant.bucketName },
96
+ ]);
97
+ if (!grantAnchors.some((a) => a.getActual() === matchingAccessPrefixAnchor.getActual())) {
98
+ grantAnchors.push(matchingAccessPrefixAnchor);
99
+ }
100
+ }
101
+ for (const grant of grants.dynamodb) {
102
+ const [matchingDynamoDBAnchor] = await server.getAnchorsMatchingSchema(AwsDynamoDBAnchorSchema, [
103
+ { key: 'awsRegionId', value: grant.awsRegionId },
104
+ { key: 'TableName', value: grant.tableName },
105
+ ]);
106
+ if (!grantAnchors.some((a) => a.getActual() === matchingDynamoDBAnchor.getActual())) {
107
+ grantAnchors.push(matchingDynamoDBAnchor);
108
+ }
109
+ }
110
+ // Check the deployment has what Lambda needs.
111
+ const [matchingDeploymentAnchor] = await deployment.getAnchorsMatchingSchema(AwsDeploymentAnchorSchema, [], {
112
+ searchBoundaryMembers: false,
113
+ });
114
+ const { command, image, memory, ports, timeoutInSeconds } = matchingDeploymentAnchor.getSchemaInstance().properties;
115
+ if (image.kind !== 'ecr') {
116
+ throw new ModuleError(`Deployment "${deployment.deploymentTag}" must run an image octo publishes into ECR to run on Lambda!`, this.constructor.name);
117
+ }
118
+ if (!memory || memory < 128 || memory > 10240) {
119
+ throw new ModuleError(`Deployment "${deployment.deploymentTag}" needs a memory from 128 to 10240 MiB to run on Lambda!`, this.constructor.name);
120
+ }
121
+ if (!timeoutInSeconds || timeoutInSeconds > 900) {
122
+ throw new ModuleError(`Deployment "${deployment.deploymentTag}" needs a timeout from 1 to 900 seconds to run on Lambda!`, this.constructor.name);
123
+ }
124
+ if (ports.length > 1 || ports.some((p) => p.protocol !== 'tcp')) {
125
+ throw new ModuleError(`Deployment "${deployment.deploymentTag}" can listen on at most one tcp port to run on Lambda!`, this.constructor.name);
126
+ }
127
+ // Get the image the deployment is linked to.
128
+ const [imageAnchor] = await deployment.getAnchorsMatchingSchema(AwsEcrImageAnchorSchema, [
129
+ { key: 'imageId', value: image.imageId },
130
+ ]);
131
+ // Get environment anchors.
132
+ const [matchingEnvironmentAnchor] = await environment.getAnchorsMatchingSchema(AwsServerlessEnvironmentAnchorSchema, [], { searchBoundaryMembers: false });
133
+ // Name the role this execution runs as.
134
+ const iamRoleName = `ExecutionRole-${execution.executionId}`;
135
+ // Add aws-lambda-execution overlay for the function's lifecycle.
136
+ const executionOverlay = new AwsLambdaExecutionOverlay(`aws-lambda-execution-overlay-${region.regionId}-${execution.executionId}`, {
137
+ deploymentContainerProperties: {
138
+ image: { imageId: image.imageId, imageTag: image.imageTag },
139
+ imageCommand: command ?? [],
140
+ memoryInMegabytes: memory,
141
+ port: ports[0]?.containerPort ?? null,
142
+ timeoutInSeconds,
143
+ },
144
+ deploymentTag: deployment.deploymentTag,
145
+ environmentName: environment.environmentName,
146
+ executionId: execution.executionId,
147
+ grants,
148
+ iamRoleName,
149
+ invokeMode: inputs.invokeMode,
150
+ reservedConcurrency: inputs.reservedConcurrency,
151
+ serverKey: server.serverKey,
152
+ }, [lambdaExecutionAnchor, matchingEnvironmentAnchor, matchingServerAnchor, imageAnchor, ...grantAnchors]);
153
+ execution.addAnchor(new AwsLambdaFunctionAnchor('AwsLambdaFunctionAnchor', { functionName: execution.executionId, timeoutInSeconds }, executionOverlay));
154
+ return [execution, executionOverlay];
155
+ }
156
+ /**
157
+ * Resolves the account and the AWS region this execution runs in.
158
+ */
159
+ async registerMetadata(inputs) {
160
+ const region = inputs.environment.getParents()['region'][0].to;
161
+ const account = region.getParents()['account'][0].to;
162
+ // Get AWS Region ID.
163
+ const [matchingAnchor] = await region.getAnchorsMatchingSchema(AwsServerlessRegionAnchorSchema, [], {
164
+ searchBoundaryMembers: false,
165
+ });
166
+ const awsRegionId = matchingAnchor.getSchemaInstance().properties.awsRegionId;
167
+ return {
168
+ awsAccountId: account.accountId,
169
+ awsRegionId,
170
+ };
171
+ }
172
+ };
173
+ AwsLambdaExecutionModule = __decorate([
174
+ Module('@octo', AwsLambdaExecutionModuleSchema)
175
+ ], AwsLambdaExecutionModule);
176
+ export { AwsLambdaExecutionModule };
177
+ //# sourceMappingURL=aws-lambda-execution.module.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aws-lambda-execution.module.js","sourceRoot":"","sources":["../../../../src/modules/execution/aws-lambda-execution/aws-lambda-execution.module.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EACL,OAAO,EAIP,MAAM,EACN,WAAW,GAGZ,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,yBAAyB,EAAE,MAAM,iEAAiE,CAAC;AAC5G,OAAO,EAAE,uBAAuB,EAAE,MAAM,6DAA6D,CAAC;AACtG,OAAO,EAAE,uBAAuB,EAAE,MAAM,yDAAyD,CAAC;AAClG,OAAO,EAAE,oCAAoC,EAAE,MAAM,8EAA8E,CAAC;AACpI,OAAO,EAAE,wBAAwB,EAAE,MAAM,4DAA4D,CAAC;AACtG,OAAO,EAAE,uBAAuB,EAAE,MAAM,2DAA2D,CAAC;AACpG,OAAO,EAAE,+BAA+B,EAAE,MAAM,oEAAoE,CAAC;AACrH,OAAO,EAAE,2CAA2C,EAAE,MA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BAAiB,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC;QAE9E,OAAO;YACL,YAAY,EAAE,OAAO,CAAC,SAAS;YAC/B,WAAW;SACZ,CAAC;IACJ,CAAC;CACF,CAAA;AAvKY,wBAAwB;IADpC,MAAM,CAA2B,OAAO,EAAE,8BAA8B,CAAC;GAC7D,wBAAwB,CAuKpC"}
@@ -0,0 +1 @@
1
+ export { AwsLambdaExecutionModule } from './aws-lambda-execution.module.js';
@@ -0,0 +1,2 @@
1
+ export { AwsLambdaExecutionModule } from './aws-lambda-execution.module.js';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/execution/aws-lambda-execution/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC"}
@@ -0,0 +1,56 @@
1
+ import { type Deployment, type Environment, type Subnet } from '@quadnix/octo';
2
+ /**
3
+ * `AwsLambdaExecutionModuleSchema` is the input schema for the `AwsLambdaExecutionModule` module.
4
+ * This schema defines which deployment runs on Lambda, where, and who may call it.
5
+ *
6
+ * @group Modules/Execution/AwsLambdaExecution
7
+ *
8
+ * @hideconstructor
9
+ *
10
+ * @see {@link AwsLambdaExecutionModule} to learn more about the `AwsLambdaExecutionModule` module.
11
+ */
12
+ export declare class AwsLambdaExecutionModuleSchema {
13
+ /**
14
+ * The deployment to run. Its image must be one octo publishes into ECR, and it must set a memory
15
+ * and a timeout, and listen on at most one tcp port. The function runs on the processor the image
16
+ * was built for, and the Lambda Web Adapter forwards each request to that port.
17
+ */
18
+ deployment: Deployment;
19
+ /**
20
+ * The serverless environment to run in.
21
+ */
22
+ environment: Environment;
23
+ /**
24
+ * Environment variables for this execution, on top of the environment's own.
25
+ * Keys must be valid environment variable names (alphanumeric with minimum 2 characters).
26
+ */
27
+ environmentVariables?: Record<string, string> | undefined;
28
+ /**
29
+ * A unique identifier for this execution. It is also the name of the Lambda function, and part of the
30
+ * name of its IAM role, so it is at most 50 characters. IAM role names are shared by every region of
31
+ * an account, so it must be unique within the account.
32
+ */
33
+ executionId: string;
34
+ /**
35
+ * How the function's URL returns a response. `BUFFERED`, the default, returns it whole, up to 6 MB.
36
+ * `RESPONSE_STREAM` streams it as the server writes it, up to 200 MB, and tells the Lambda Web Adapter
37
+ * to stream as well.
38
+ */
39
+ invokeMode?: "BUFFERED" | "RESPONSE_STREAM" | undefined;
40
+ /**
41
+ * The AWS accounts allowed to call the function's URL. A caller in the function's own account needs
42
+ * no entry here: AWS admits it on its own IAM permissions to invoke the function.
43
+ */
44
+ invokerAccountIds?: string[] | undefined;
45
+ /**
46
+ * How many instances of the function may run at once. They are reserved out of the account's
47
+ * concurrency, so other functions cannot take them, and `0` stops the function from running. Left
48
+ * out, nothing is reserved and nothing is capped. AWS keeps 10 of an account's concurrency
49
+ * unreserved, so an account whose limit is 10 can reserve none.
50
+ */
51
+ reservedConcurrency?: number | null | undefined;
52
+ /**
53
+ * The subnet of the serverless region to run in.
54
+ */
55
+ subnet: Subnet;
56
+ }
@@ -0,0 +1,154 @@
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 { DeploymentSchema, EnvironmentSchema, Schema, SubnetSchema, Validate, } from '@quadnix/octo';
11
+ import { AwsDeploymentAnchorSchema } from '../../../anchors/aws-deployment/aws-deployment.anchor.schema.js';
12
+ import { AwsServerlessEnvironmentAnchorSchema } from '../../../anchors/aws-environment/aws-serverless-environment.anchor.schema.js';
13
+ import { AwsServerlessSubnetAnchorSchema } from '../../../anchors/aws-subnet/aws-serverless-subnet.anchor.schema.js';
14
+ /**
15
+ * `AwsLambdaExecutionModuleSchema` is the input schema for the `AwsLambdaExecutionModule` module.
16
+ * This schema defines which deployment runs on Lambda, where, and who may call it.
17
+ *
18
+ * @group Modules/Execution/AwsLambdaExecution
19
+ *
20
+ * @hideconstructor
21
+ *
22
+ * @see {@link AwsLambdaExecutionModule} to learn more about the `AwsLambdaExecutionModule` module.
23
+ */
24
+ export class AwsLambdaExecutionModuleSchema {
25
+ constructor() {
26
+ /**
27
+ * The deployment to run. Its image must be one octo publishes into ECR, and it must set a memory
28
+ * and a timeout, and listen on at most one tcp port. The function runs on the processor the image
29
+ * was built for, and the Lambda Web Adapter forwards each request to that port.
30
+ */
31
+ this.deployment = Schema();
32
+ /**
33
+ * The serverless environment to run in.
34
+ */
35
+ this.environment = Schema();
36
+ /**
37
+ * Environment variables for this execution, on top of the environment's own.
38
+ * Keys must be valid environment variable names (alphanumeric with minimum 2 characters).
39
+ */
40
+ this.environmentVariables = Schema({});
41
+ /**
42
+ * A unique identifier for this execution. It is also the name of the Lambda function, and part of the
43
+ * name of its IAM role, so it is at most 50 characters. IAM role names are shared by every region of
44
+ * an account, so it must be unique within the account.
45
+ */
46
+ this.executionId = Schema();
47
+ /**
48
+ * How the function's URL returns a response. `BUFFERED`, the default, returns it whole, up to 6 MB.
49
+ * `RESPONSE_STREAM` streams it as the server writes it, up to 200 MB, and tells the Lambda Web Adapter
50
+ * to stream as well.
51
+ */
52
+ this.invokeMode = Schema('BUFFERED');
53
+ /**
54
+ * The AWS accounts allowed to call the function's URL. A caller in the function's own account needs
55
+ * no entry here: AWS admits it on its own IAM permissions to invoke the function.
56
+ */
57
+ this.invokerAccountIds = Schema([]);
58
+ /**
59
+ * How many instances of the function may run at once. They are reserved out of the account's
60
+ * concurrency, so other functions cannot take them, and `0` stops the function from running. Left
61
+ * out, nothing is reserved and nothing is capped. AWS keeps 10 of an account's concurrency
62
+ * unreserved, so an account whose limit is 10 can reserve none.
63
+ */
64
+ this.reservedConcurrency = Schema(null);
65
+ /**
66
+ * The subnet of the serverless region to run in.
67
+ */
68
+ this.subnet = Schema();
69
+ }
70
+ }
71
+ __decorate([
72
+ Validate([
73
+ {
74
+ options: {
75
+ isModel: { anchors: [{ schema: AwsDeploymentAnchorSchema }], NODE_NAME: 'deployment' },
76
+ },
77
+ },
78
+ {
79
+ destruct: (value) => [value.synth()],
80
+ options: {
81
+ isSchema: { schema: DeploymentSchema },
82
+ },
83
+ },
84
+ ]),
85
+ __metadata("design:type", Object)
86
+ ], AwsLambdaExecutionModuleSchema.prototype, "deployment", void 0);
87
+ __decorate([
88
+ Validate([
89
+ {
90
+ options: {
91
+ isModel: { anchors: [{ schema: AwsServerlessEnvironmentAnchorSchema }], NODE_NAME: 'environment' },
92
+ },
93
+ },
94
+ {
95
+ destruct: (value) => [value.synth()],
96
+ options: {
97
+ isSchema: { schema: EnvironmentSchema },
98
+ },
99
+ },
100
+ ]),
101
+ __metadata("design:type", Object)
102
+ ], AwsLambdaExecutionModuleSchema.prototype, "environment", void 0);
103
+ __decorate([
104
+ Validate([
105
+ {
106
+ destruct: (value) => Object.keys(value),
107
+ options: { regex: /^\w{2,}\b$/ },
108
+ },
109
+ {
110
+ destruct: (value) => Object.values(value),
111
+ options: { regex: /^.+$/ },
112
+ },
113
+ ]),
114
+ __metadata("design:type", Object)
115
+ ], AwsLambdaExecutionModuleSchema.prototype, "environmentVariables", void 0);
116
+ __decorate([
117
+ Validate({ options: { maxLength: 50, minLength: 1, regex: /^[a-zA-Z][\w-]*$/ } }),
118
+ __metadata("design:type", Object)
119
+ ], AwsLambdaExecutionModuleSchema.prototype, "executionId", void 0);
120
+ __decorate([
121
+ Validate({ options: { regex: /^(BUFFERED|RESPONSE_STREAM)$/ } }),
122
+ __metadata("design:type", Object)
123
+ ], AwsLambdaExecutionModuleSchema.prototype, "invokeMode", void 0);
124
+ __decorate([
125
+ Validate({
126
+ destruct: (value) => value,
127
+ options: { regex: /^\d{12}$/ },
128
+ }),
129
+ __metadata("design:type", Object)
130
+ ], AwsLambdaExecutionModuleSchema.prototype, "invokerAccountIds", void 0);
131
+ __decorate([
132
+ Validate({
133
+ destruct: (value) => value === null || value === undefined ? [] : [value],
134
+ options: { minLength: 0 },
135
+ }),
136
+ __metadata("design:type", Object)
137
+ ], AwsLambdaExecutionModuleSchema.prototype, "reservedConcurrency", void 0);
138
+ __decorate([
139
+ Validate([
140
+ {
141
+ options: {
142
+ isModel: { anchors: [{ schema: AwsServerlessSubnetAnchorSchema }], NODE_NAME: 'subnet' },
143
+ },
144
+ },
145
+ {
146
+ destruct: (value) => [value.synth()],
147
+ options: {
148
+ isSchema: { schema: SubnetSchema },
149
+ },
150
+ },
151
+ ]),
152
+ __metadata("design:type", Object)
153
+ ], AwsLambdaExecutionModuleSchema.prototype, "subnet", void 0);
154
+ //# sourceMappingURL=index.schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.schema.js","sourceRoot":"","sources":["../../../../src/modules/execution/aws-lambda-execution/index.schema.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAEL,gBAAgB,EAEhB,iBAAiB,EACjB,MAAM,EAEN,YAAY,EACZ,QAAQ,GACT,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,yBAAyB,EAAE,MAAM,iEAAiE,CAAC;AAC5G,OAAO,EAAE,oCAAoC,EAAE,MAAM,8EAA8E,CAAC;AACpI,OAAO,EAAE,+BAA+B,EAAE,MAAM,oEAAoE,CAAC;AAErH;;;;;;;;;GASG;AACH,MAAM,OAAO,8BAA8B;IAA3C;QACE;;;;WAIG;QAcH,eAAU,GAAG,MAAM,EAAc,CAAC;QAElC;;WAEG;QAcH,gBAAW,GAAG,MAAM,EAAe,CAAC;QAEpC;;;WA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@@
1
+ import { type ActionOutputs, type Diff, type EnhancedModuleSchema, type IModelAction } from '@quadnix/octo';
2
+ import type { AwsLambdaExecutionModule } from '../../../aws-lambda-execution.module.js';
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare class AddAwsLambdaExecutionModelAction implements IModelAction<AwsLambdaExecutionModule> {
7
+ /**
8
+ * @internal
9
+ */
10
+ filter(diff: Diff): boolean;
11
+ /**
12
+ * @internal
13
+ */
14
+ handle(_diff: Diff, _actionInputs: EnhancedModuleSchema<AwsLambdaExecutionModule>, actionOutputs: ActionOutputs): Promise<ActionOutputs>;
15
+ }
16
+ /**
17
+ * @internal
18
+ */
19
+ export declare class AddAwsLambdaExecutionModelActionFactory {
20
+ private static instance;
21
+ /**
22
+ * @internal
23
+ */
24
+ static create(): Promise<AddAwsLambdaExecutionModelAction>;
25
+ }
@@ -0,0 +1,51 @@
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
+ import { Action, DiffAction, Factory, hasNodeName, } from '@quadnix/octo';
8
+ import { AwsLambdaExecution } from '../aws-lambda-execution.model.js';
9
+ /**
10
+ * @internal
11
+ */
12
+ let AddAwsLambdaExecutionModelAction = class AddAwsLambdaExecutionModelAction {
13
+ /**
14
+ * @internal
15
+ */
16
+ filter(diff) {
17
+ return (diff.action === DiffAction.ADD &&
18
+ diff.node instanceof AwsLambdaExecution &&
19
+ hasNodeName(diff.node, 'execution') &&
20
+ diff.field === 'executionId');
21
+ }
22
+ /**
23
+ * @internal
24
+ */
25
+ async handle(_diff, _actionInputs, actionOutputs) {
26
+ return actionOutputs;
27
+ }
28
+ };
29
+ AddAwsLambdaExecutionModelAction = __decorate([
30
+ Action(AwsLambdaExecution)
31
+ ], AddAwsLambdaExecutionModelAction);
32
+ export { AddAwsLambdaExecutionModelAction };
33
+ /**
34
+ * @internal
35
+ */
36
+ let AddAwsLambdaExecutionModelActionFactory = class AddAwsLambdaExecutionModelActionFactory {
37
+ /**
38
+ * @internal
39
+ */
40
+ static async create() {
41
+ if (!this.instance) {
42
+ this.instance = new AddAwsLambdaExecutionModelAction();
43
+ }
44
+ return this.instance;
45
+ }
46
+ };
47
+ AddAwsLambdaExecutionModelActionFactory = __decorate([
48
+ Factory(AddAwsLambdaExecutionModelAction)
49
+ ], AddAwsLambdaExecutionModelActionFactory);
50
+ export { AddAwsLambdaExecutionModelActionFactory };
51
+ //# sourceMappingURL=add-aws-lambda-execution.model.action.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"add-aws-lambda-execution.model.action.js","sourceRoot":"","sources":["../../../../../../../src/modules/execution/aws-lambda-execution/models/execution/actions/add-aws-lambda-execution.model.action.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EACL,MAAM,EAGN,UAAU,EAEV,OAAO,EAEP,WAAW,GACZ,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAEtE;;GAEG;AAEI,IAAM,gCAAgC,GAAtC,MAAM,gCAAgC;IAC3C;;OAEG;IACH,MAAM,CAAC,IAAU;QACf,OAAO,CACL,IAAI,CAAC,MAAM,KAAK,UAAU,CAAC,GAAG;YAC9B,IAAI,CAAC,IAAI,YAAY,kBAAkB;YACvC,WAAW,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC;YACnC,IAAI,CAAC,KAAK,KAAK,aAAa,CAC7B,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,MAAM,CACV,KAAW,EACX,aAA6D,EAC7D,aAA4B;QAE5B,OAAO,aAAa,CAAC;IACvB,CAAC;CACF,CAAA;AAvBY,gCAAgC;IAD5C,MAAM,CAAC,kBAAkB,CAAC;GACd,gCAAgC,CAuB5C;;AAED;;GAEG;AAEI,IAAM,uCAAuC,GAA7C,MAAM,uCAAuC;IAGlD;;OAEG;IACH,MAAM,CAAC,KAAK,CAAC,MAAM;QACjB,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC;YACnB,IAAI,CAAC,QAAQ,GAAG,IAAI,gCAAgC,EAAE,CAAC;QACzD,CAAC;QACD,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;CACF,CAAA;AAZY,uCAAuC;IADnD,OAAO,CAAmC,gCAAgC,CAAC;GAC/D,uCAAuC,CAYnD"}
@@ -0,0 +1,28 @@
1
+ import { AModel, type Deployment, type Environment, Execution, type Subnet } from '@quadnix/octo';
2
+ import { AwsLambdaExecutionSchema } from './aws-lambda-execution.schema.js';
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare class AwsLambdaExecution extends Execution {
7
+ readonly customExecutionId: string;
8
+ /**
9
+ * @internal
10
+ */
11
+ get executionId(): string;
12
+ /**
13
+ * @internal
14
+ */
15
+ constructor(executionId: string, deployment: Deployment, environment: Environment, subnet: Subnet);
16
+ /**
17
+ * @internal
18
+ */
19
+ static unSynth(execution: AwsLambdaExecutionSchema, deReferenceContext: (context: string) => Promise<AModel<any, any>>): Promise<AwsLambdaExecution>;
20
+ /**
21
+ * @internal
22
+ */
23
+ setContext(): string | undefined;
24
+ /**
25
+ * @internal
26
+ */
27
+ synth(): AwsLambdaExecutionSchema;
28
+ }
@@ -0,0 +1,85 @@
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
+ var AwsLambdaExecution_1;
11
+ import { AModel, Execution, Model } from '@quadnix/octo';
12
+ import { AwsLambdaExecutionSchema } from './aws-lambda-execution.schema.js';
13
+ /**
14
+ * @internal
15
+ */
16
+ let AwsLambdaExecution = AwsLambdaExecution_1 = class AwsLambdaExecution extends Execution {
17
+ /**
18
+ * @internal
19
+ */
20
+ get executionId() {
21
+ return this.customExecutionId;
22
+ }
23
+ /**
24
+ * @internal
25
+ */
26
+ constructor(executionId, deployment, environment, subnet) {
27
+ super(deployment, environment, subnet);
28
+ this.customExecutionId = executionId;
29
+ }
30
+ /**
31
+ * @internal
32
+ */
33
+ static async unSynth(execution, deReferenceContext) {
34
+ const [deployment, environment, subnet] = (await Promise.all([
35
+ deReferenceContext(execution.deployment.context),
36
+ deReferenceContext(execution.environment.context),
37
+ deReferenceContext(execution.subnet.context),
38
+ ]));
39
+ const newExecution = new AwsLambdaExecution_1(execution.executionId, deployment, environment, subnet);
40
+ for (const [key, value] of Object.entries(execution.environmentVariables)) {
41
+ newExecution.environmentVariables.set(key, value);
42
+ }
43
+ return newExecution;
44
+ }
45
+ /**
46
+ * @internal
47
+ */
48
+ setContext() {
49
+ const parents = this.getParents();
50
+ const deployment = parents['deployment']?.[0]?.to;
51
+ const environment = parents['environment']?.[0]?.to;
52
+ const subnet = parents['subnet']?.[0]?.to;
53
+ if (!deployment || !environment || !subnet) {
54
+ return undefined;
55
+ }
56
+ return [
57
+ `${Execution.NODE_NAME}=${this.executionId}`,
58
+ deployment.getContext(),
59
+ environment.getContext(),
60
+ subnet.getContext(),
61
+ ].join(',');
62
+ }
63
+ /**
64
+ * @internal
65
+ */
66
+ synth() {
67
+ const parents = this.getParents();
68
+ const deployment = parents['deployment'][0].to;
69
+ const environment = parents['environment'][0].to;
70
+ const subnet = parents['subnet'][0].to;
71
+ return {
72
+ deployment: { context: deployment.getContext() },
73
+ environment: { context: environment.getContext() },
74
+ environmentVariables: Object.fromEntries(this.environmentVariables || new Map()),
75
+ executionId: this.executionId,
76
+ subnet: { context: subnet.getContext() },
77
+ };
78
+ }
79
+ };
80
+ AwsLambdaExecution = AwsLambdaExecution_1 = __decorate([
81
+ Model('@octo', 'execution', AwsLambdaExecutionSchema),
82
+ __metadata("design:paramtypes", [String, Function, Function, Function])
83
+ ], AwsLambdaExecution);
84
+ export { AwsLambdaExecution };
85
+ //# sourceMappingURL=aws-lambda-execution.model.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aws-lambda-execution.model.js","sourceRoot":"","sources":["../../../../../../src/modules/execution/aws-lambda-execution/models/execution/aws-lambda-execution.model.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAqC,SAAS,EAAE,KAAK,EAAe,MAAM,eAAe,CAAC;AACzG,OAAO,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AAE5E;;GAEG;AAEI,IAAM,kBAAkB,0BAAxB,MAAM,kBAAmB,SAAQ,SAAS;IAG/C;;OAEG;IACH,IAAa,WAAW;QACtB,OAAO,IAAI,CAAC,iBAAiB,CAAC;IAChC,CAAC;IAED;;OAEG;IACH,YAAY,WAAmB,EAAE,UAAsB,EAAE,WAAwB,EAAE,MAAc;QAC/F,KAAK,CAAC,UAAU,EAAE,WAAW,EAAE,MAAM,CAAC,CAAC;QAEvC,IAAI,CAAC,iBAAiB,GAAG,WAAW,CAAC;IACvC,CAAC;IAED;;OAEG;IACH,MAAM,CAAU,KAAK,CAAC,OAAO,CAC3B,SAAmC,EACnC,kBAAkE;QAElE,MAAM,CAAC,UAAU,EAAE,WAAW,EAAE,MAAM,CAAC,GAAG,CAAC,MAAM,OAAO,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ACd,CAAC;IAED;;OAEG;IACM,KAAK;QACZ,MAAM,OAAO,GAAG,IAAI,CAAC,UAAU,EAAE,CAAC;QAClC,MAAM,UAAU,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC,EAAgB,CAAC;QAC7D,MAAM,WAAW,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,EAAiB,CAAC;QAChE,MAAM,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,EAAY,CAAC;QAEjD,OAAO;YACL,UAAU,EAAE,EAAE,OAAO,EAAE,UAAU,CAAC,UAAU,EAAE,EAAE;YAChD,WAAW,EAAE,EAAE,OAAO,EAAE,WAAW,CAAC,UAAU,EAAE,EAAE;YAClD,oBAAoB,EAAE,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC,oBAAoB,IAAI,IAAI,GAAG,EAAE,CAAC;YAChF,WAAW,EAAE,IAAI,CAAC,WAAW;YAC7B,MAAM,EAAE,EAAE,OAAO,EAAE,MAAM,CAAC,UAAU,EAAE,EAAE;SACzC,CAAC;IACJ,CAAC;CACF,CAAA;AA5EY,kBAAkB;IAD9B,KAAK,CAAqB,OAAO,EAAE,WAAW,EAAE,wBAAwB,CAAC;;GAC7D,kBAAkB,CA4E9B"}
@@ -0,0 +1,7 @@
1
+ import { ExecutionSchema } from '@quadnix/octo';
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare class AwsLambdaExecutionSchema extends ExecutionSchema {
6
+ executionId: string;
7
+ }