@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
@@ -8,594 +8,27 @@ var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
10
  import { BaseResourceSchema, Schema, Validate } from '@quadnix/octo';
11
+ import { CLOUDFRONT_ALLOWED_METHODS, CLOUDFRONT_CACHED_METHODS, CLOUDFRONT_VIEWER_PROTOCOL_POLICIES, CloudFrontBehaviorSchema, CloudFrontFunctionAssociationSchema, } from './cloudfront-behavior.schema.js';
12
+ import { CloudFrontOriginGroupSchema, CloudFrontOriginSchema } from './cloudfront-origin.schema.js';
13
+ import { CLOUDFRONT_MANAGED_CACHE_POLICIES, CLOUDFRONT_MANAGED_ORIGIN_REQUEST_POLICIES, CLOUDFRONT_MANAGED_RESPONSE_HEADERS_POLICIES, CloudFrontCachePolicySchema, CloudFrontCorsSchema, CloudFrontCustomHeaderSchema, CloudFrontOriginRequestPolicySchema, CloudFrontResponseHeadersPolicySchema, CloudFrontSecurityHeadersSchema, } from './cloudfront-policy.schema.js';
14
+ import { CloudFrontCustomErrorResponseSchema } from './cloudfront-response.schema.js';
15
+ export { CLOUDFRONT_ALLOWED_METHODS, CLOUDFRONT_CACHED_METHODS, CLOUDFRONT_MANAGED_CACHE_POLICIES, CLOUDFRONT_MANAGED_ORIGIN_REQUEST_POLICIES, CLOUDFRONT_MANAGED_RESPONSE_HEADERS_POLICIES, CLOUDFRONT_VIEWER_PROTOCOL_POLICIES, CloudFrontBehaviorSchema, CloudFrontCachePolicySchema, CloudFrontCorsSchema, CloudFrontCustomErrorResponseSchema, CloudFrontCustomHeaderSchema, CloudFrontFunctionAssociationSchema, CloudFrontOriginGroupSchema, CloudFrontOriginRequestPolicySchema, CloudFrontOriginSchema, CloudFrontResponseHeadersPolicySchema, CloudFrontSecurityHeadersSchema, };
16
+ const CLOUDFRONT_HTTP_VERSIONS = ['http1.1', 'http2', 'http2and3'];
17
+ /* eslint-disable spellcheck/spell-checker */
18
+ const CLOUDFRONT_MINIMUM_PROTOCOL_VERSIONS = [
19
+ 'TLSv1',
20
+ 'TLSv1.1_2016',
21
+ 'TLSv1.2_2018',
22
+ 'TLSv1.2_2019',
23
+ 'TLSv1.2_2021',
24
+ 'TLSv1.2_2025',
25
+ 'TLSv1.3_2025',
26
+ 'TLSv1_2016',
27
+ ];
11
28
  /**
12
- * One origin the distribution can serve from.
13
- *
14
- * @group Resources/CloudFrontDistribution
15
- *
16
- * @hideconstructor
17
- */
18
- export class CloudFrontOriginSchema {
19
- constructor() {
20
- /**
21
- * How many times CloudFront retries the origin before giving up. Between 1 and 3.
22
- */
23
- this.connectionAttempts = Schema(3);
24
- /**
25
- * How long CloudFront waits to establish a connection to the origin, in seconds. Between 1 and 10.
26
- */
27
- this.connectionTimeout = Schema(10);
28
- /**
29
- * Headers CloudFront adds to every request it sends to this origin.
30
- * This is how a load balancer rejects anything that did not arrive through the distribution.
31
- */
32
- this.customHeaders = Schema({});
33
- /**
34
- * What kind of origin this is, and the settings that only apply to that kind.
35
- *
36
- * * `s3` is a bucket reached privately. The distribution emits an origin access control for it,
37
- * and builds the hostname from `bucketName` and `bucketRegion` rather than referencing the bucket,
38
- * because the bucket's own policy already references this distribution. Granting the distribution
39
- * read on the bucket is the bucket's job, driven by an overlay.
40
- * * `custom` is anything that speaks HTTP - a load balancer, an EC2 instance, an API, a third
41
- * party, or an S3 website endpoint.
42
- */
43
- this.kind = Schema();
44
- /**
45
- * How this origin is named by behaviors and origin groups. Unique across origins and origin groups.
46
- */
47
- this.originId = Schema();
48
- /**
49
- * A prefix CloudFront prepends to the path before asking the origin for it.
50
- * Empty asks the origin for the path the viewer requested.
51
- */
52
- this.originPath = Schema('');
53
- }
54
- }
55
- __decorate([
56
- Validate({ options: { maxLength: 3, minLength: 1 } }),
57
- __metadata("design:type", Object)
58
- ], CloudFrontOriginSchema.prototype, "connectionAttempts", void 0);
59
- __decorate([
60
- Validate({ options: { maxLength: 10, minLength: 1 } }),
61
- __metadata("design:type", Object)
62
- ], CloudFrontOriginSchema.prototype, "connectionTimeout", void 0);
63
- __decorate([
64
- Validate({
65
- destruct: (value) => Object.keys(value),
66
- options: { minLength: 1 },
67
- }),
68
- __metadata("design:type", Object)
69
- ], CloudFrontOriginSchema.prototype, "customHeaders", void 0);
70
- __decorate([
71
- Validate({
72
- destruct: (value) => value.kind === 's3'
73
- ? [value.bucketName, value.bucketRegion]
74
- : [value.originProtocolPolicy, ...value.sslProtocols],
75
- options: { minLength: 1 },
76
- }),
77
- __metadata("design:type", Object)
78
- ], CloudFrontOriginSchema.prototype, "kind", void 0);
79
- __decorate([
80
- Validate({ options: { minLength: 1 } }),
81
- __metadata("design:type", Object)
82
- ], CloudFrontOriginSchema.prototype, "originId", void 0);
83
- /**
84
- * A primary origin and the origin CloudFront falls back to when the primary answers with one of
85
- * `failoverStatusCodes`.
86
- *
87
- * @group Resources/CloudFrontDistribution
88
- *
89
- * @hideconstructor
90
- */
91
- export class CloudFrontOriginGroupSchema {
92
- constructor() {
93
- /**
94
- * The origin id CloudFront falls back to.
95
- */
96
- this.failoverOriginId = Schema();
97
- /**
98
- * The status codes from the primary origin that trigger the failover.
99
- */
100
- this.failoverStatusCodes = Schema();
101
- /**
102
- * How this group is named by behaviors. Unique across origins and origin groups.
103
- */
104
- this.originGroupId = Schema();
105
- /**
106
- * The origin id CloudFront tries first.
107
- */
108
- this.primaryOriginId = Schema();
109
- }
110
- }
111
- __decorate([
112
- Validate({ options: { minLength: 1 } }),
113
- __metadata("design:type", Object)
114
- ], CloudFrontOriginGroupSchema.prototype, "failoverOriginId", void 0);
115
- __decorate([
116
- Validate({
117
- destruct: (value) => value,
118
- options: { maxLength: 599, minLength: 100 },
119
- }),
120
- __metadata("design:type", Object)
121
- ], CloudFrontOriginGroupSchema.prototype, "failoverStatusCodes", void 0);
122
- __decorate([
123
- Validate({ options: { minLength: 1 } }),
124
- __metadata("design:type", Object)
125
- ], CloudFrontOriginGroupSchema.prototype, "originGroupId", void 0);
126
- __decorate([
127
- Validate({ options: { minLength: 1 } }),
128
- __metadata("design:type", Object)
129
- ], CloudFrontOriginGroupSchema.prototype, "primaryOriginId", void 0);
130
- /**
131
- * An edge function CloudFront runs for a behavior. The function itself is not created here - pass
132
- * the ARN of one that already exists.
133
- *
134
- * @group Resources/CloudFrontDistribution
135
- *
136
- * @hideconstructor
137
- */
138
- export class CloudFrontFunctionAssociationSchema {
139
- constructor() {
140
- /**
141
- * The ARN of the CloudFront Function or the Lambda@Edge function version.
142
- */
143
- this.arn = Schema();
144
- /**
145
- * Which lifecycle event the function runs on. See {@link ICloudFrontFunctionEventType}.
146
- */
147
- this.eventType = Schema();
148
- /**
149
- * Which engine runs it. A `cloudfront-function` is JavaScript at the edge and may only bind to a
150
- * viewer event; `lambda-edge` may bind to any of the four.
151
- */
152
- this.kind = Schema();
153
- }
154
- }
155
- __decorate([
156
- Validate({ options: { minLength: 1 } }),
157
- __metadata("design:type", Object)
158
- ], CloudFrontFunctionAssociationSchema.prototype, "arn", void 0);
159
- __decorate([
160
- Validate({ options: { minLength: 1 } }),
161
- __metadata("design:type", Object)
162
- ], CloudFrontFunctionAssociationSchema.prototype, "eventType", void 0);
163
- __decorate([
164
- Validate({ options: { minLength: 1 } }),
165
- __metadata("design:type", Object)
166
- ], CloudFrontFunctionAssociationSchema.prototype, "kind", void 0);
167
- /**
168
- * One rule binding a set of paths to an origin, and deciding everything about how those paths are
169
- * served.
170
- *
171
- * @group Resources/CloudFrontDistribution
172
- *
173
- * @hideconstructor
174
- */
175
- export class CloudFrontBehaviorSchema {
176
- constructor() {
177
- /**
178
- * The HTTP methods CloudFront forwards to the origin.
179
- * `['GET', 'HEAD']` is a CDN; the full set makes the distribution a reverse proxy.
180
- */
181
- this.allowedMethods = Schema(['GET', 'HEAD']);
182
- /**
183
- * The subset of `allowedMethods` whose responses CloudFront caches.
184
- */
185
- this.cachedMethods = Schema(['GET', 'HEAD']);
186
- /**
187
- * Which policy decides the cache key and the TTLs. See {@link ICloudFrontPolicyReference}.
188
- */
189
- this.cachePolicy = Schema();
190
- /**
191
- * Whether CloudFront compresses the response for viewers that accept it.
192
- */
193
- this.compress = Schema(true);
194
- /**
195
- * Edge functions to run for this behavior. See {@link CloudFrontFunctionAssociationSchema}.
196
- */
197
- this.functionAssociations = Schema([]);
198
- /**
199
- * Which policy decides what reaches the origin, independently of the cache key.
200
- * `null` forwards only what the cache policy already selected.
201
- */
202
- this.originRequestPolicy = Schema(null);
203
- /**
204
- * The paths this behavior claims, e.g. `/api/*`. Absent on the default behavior, which claims
205
- * everything no other behavior did.
206
- */
207
- this.pathPattern = Schema(null);
208
- /**
209
- * Which policy decides the headers CloudFront adds on the way out - CORS, HSTS, and the app's own
210
- * content security policy. `null` adds nothing.
211
- */
212
- this.responseHeadersPolicy = Schema(null);
213
- /**
214
- * The origin or origin group serving these paths.
215
- */
216
- this.targetOriginId = Schema();
217
- /**
218
- * What CloudFront does with a plain HTTP request.
219
- */
220
- this.viewerProtocolPolicy = Schema('redirect-to-https');
221
- }
222
- }
223
- __decorate([
224
- Validate({
225
- destruct: (value) => value,
226
- options: { minLength: 1 },
227
- }),
228
- __metadata("design:type", Object)
229
- ], CloudFrontBehaviorSchema.prototype, "allowedMethods", void 0);
230
- __decorate([
231
- Validate({
232
- destruct: (value) => value,
233
- options: { minLength: 1 },
234
- }),
235
- __metadata("design:type", Object)
236
- ], CloudFrontBehaviorSchema.prototype, "cachedMethods", void 0);
237
- __decorate([
238
- Validate({
239
- destruct: (value) => [value.kind, value.name],
240
- options: { minLength: 1 },
241
- }),
242
- __metadata("design:type", Object)
243
- ], CloudFrontBehaviorSchema.prototype, "cachePolicy", void 0);
244
- __decorate([
245
- Validate({
246
- destruct: (value) => value,
247
- options: { isSchema: { schema: CloudFrontFunctionAssociationSchema } },
248
- }),
249
- __metadata("design:type", Object)
250
- ], CloudFrontBehaviorSchema.prototype, "functionAssociations", void 0);
251
- __decorate([
252
- Validate({
253
- destruct: (value) => value ? [value.kind, value.name] : [],
254
- options: { minLength: 1 },
255
- }),
256
- __metadata("design:type", Object)
257
- ], CloudFrontBehaviorSchema.prototype, "originRequestPolicy", void 0);
258
- __decorate([
259
- Validate({
260
- destruct: (value) => (value ? [value] : []),
261
- options: { minLength: 1 },
262
- }),
263
- __metadata("design:type", Object)
264
- ], CloudFrontBehaviorSchema.prototype, "pathPattern", void 0);
265
- __decorate([
266
- Validate({
267
- destruct: (value) => value ? [value.kind, value.name] : [],
268
- options: { minLength: 1 },
269
- }),
270
- __metadata("design:type", Object)
271
- ], CloudFrontBehaviorSchema.prototype, "responseHeadersPolicy", void 0);
272
- __decorate([
273
- Validate({ options: { minLength: 1 } }),
274
- __metadata("design:type", Object)
275
- ], CloudFrontBehaviorSchema.prototype, "targetOriginId", void 0);
276
- __decorate([
277
- Validate({ options: { minLength: 1 } }),
278
- __metadata("design:type", Object)
279
- ], CloudFrontBehaviorSchema.prototype, "viewerProtocolPolicy", void 0);
280
- /**
281
- * What the viewer gets when the origin answers with a status code CloudFront was told to handle.
282
- *
283
- * The same field set expresses opposite intents. A single-page app maps `403` and `404` to a `200`
284
- * carrying `/index.html` with a short TTL, so the client-side router can take over; a content site
285
- * maps them to a real `404` carrying an error page.
286
- *
287
- * @group Resources/CloudFrontDistribution
288
- *
289
- * @hideconstructor
290
- */
291
- export class CloudFrontCustomErrorResponseSchema {
292
- constructor() {
293
- /**
294
- * How long CloudFront caches this error before asking the origin again, in seconds.
295
- */
296
- this.errorCachingMinTtl = Schema(10);
297
- /**
298
- * The status code the origin answered with.
299
- */
300
- this.errorCode = Schema();
301
- /**
302
- * The status code the viewer sees.
303
- */
304
- this.responseCode = Schema();
305
- /**
306
- * The object served in place of the error, e.g. `/index.html`.
307
- */
308
- this.responsePagePath = Schema();
309
- }
310
- }
311
- __decorate([
312
- Validate({ options: { minLength: 0 } }),
313
- __metadata("design:type", Object)
314
- ], CloudFrontCustomErrorResponseSchema.prototype, "errorCachingMinTtl", void 0);
315
- __decorate([
316
- Validate({ options: { maxLength: 599, minLength: 100 } }),
317
- __metadata("design:type", Object)
318
- ], CloudFrontCustomErrorResponseSchema.prototype, "errorCode", void 0);
319
- __decorate([
320
- Validate({ options: { maxLength: 599, minLength: 100 } }),
321
- __metadata("design:type", Object)
322
- ], CloudFrontCustomErrorResponseSchema.prototype, "responseCode", void 0);
323
- __decorate([
324
- Validate({ options: { minLength: 1 } }),
325
- __metadata("design:type", Object)
326
- ], CloudFrontCustomErrorResponseSchema.prototype, "responsePagePath", void 0);
327
- /**
328
- * A cache policy this distribution declares, referenced by a behavior under
329
- * `{ kind: 'custom', name }`.
330
- *
331
- * @group Resources/CloudFrontDistribution
332
- *
333
- * @hideconstructor
334
- */
335
- export class CloudFrontCachePolicySchema {
336
- constructor() {
337
- /**
338
- * Which cookies are part of the cache key.
339
- */
340
- this.cookies = Schema({ kind: 'none' });
341
- /**
342
- * How long CloudFront serves an object without asking the origin, when the origin sent no
343
- * caching headers of its own. In seconds.
344
- */
345
- this.defaultTtl = Schema(86400);
346
- /**
347
- * Whether CloudFront may store and serve a brotli-compressed copy.
348
- */
349
- this.enableBrotli = Schema(true);
350
- /**
351
- * Whether CloudFront may store and serve a gzip-compressed copy.
352
- */
353
- this.enableGzip = Schema(true);
354
- /**
355
- * Which request headers are part of the cache key.
356
- */
357
- this.headers = Schema({ kind: 'none' });
358
- /**
359
- * The longest CloudFront will serve an object without asking the origin, whatever the origin's
360
- * own caching headers said. In seconds.
361
- */
362
- this.maxTtl = Schema(31536000);
363
- /**
364
- * The shortest CloudFront will serve an object without asking the origin. In seconds.
365
- */
366
- this.minTtl = Schema(1);
367
- /**
368
- * How a behavior names this policy.
369
- */
370
- this.name = Schema();
371
- /**
372
- * Which query strings are part of the cache key.
373
- */
374
- this.queryStrings = Schema({ kind: 'none' });
375
- }
376
- }
377
- __decorate([
378
- Validate({
379
- destruct: (value) => [value.kind],
380
- options: { minLength: 1 },
381
- }),
382
- __metadata("design:type", Object)
383
- ], CloudFrontCachePolicySchema.prototype, "cookies", void 0);
384
- __decorate([
385
- Validate({ options: { minLength: 0 } }),
386
- __metadata("design:type", Object)
387
- ], CloudFrontCachePolicySchema.prototype, "defaultTtl", void 0);
388
- __decorate([
389
- Validate({
390
- destruct: (value) => [value.kind],
391
- options: { minLength: 1 },
392
- }),
393
- __metadata("design:type", Object)
394
- ], CloudFrontCachePolicySchema.prototype, "headers", void 0);
395
- __decorate([
396
- Validate({ options: { minLength: 0 } }),
397
- __metadata("design:type", Object)
398
- ], CloudFrontCachePolicySchema.prototype, "maxTtl", void 0);
399
- __decorate([
400
- Validate({ options: { minLength: 0 } }),
401
- __metadata("design:type", Object)
402
- ], CloudFrontCachePolicySchema.prototype, "minTtl", void 0);
403
- __decorate([
404
- Validate({ options: { minLength: 1 } }),
405
- __metadata("design:type", Object)
406
- ], CloudFrontCachePolicySchema.prototype, "name", void 0);
407
- __decorate([
408
- Validate({
409
- destruct: (value) => [value.kind],
410
- options: { minLength: 1 },
411
- }),
412
- __metadata("design:type", Object)
413
- ], CloudFrontCachePolicySchema.prototype, "queryStrings", void 0);
414
- /**
415
- * An origin request policy this distribution declares, referenced by a behavior under
416
- * `{ kind: 'custom', name }`.
417
- *
418
- * This is what reaches the origin, and it is separate from the cache key on purpose: an origin can
419
- * be told the viewer's `Authorization` header without every distinct token becoming its own cache
420
- * entry.
421
- *
422
- * @group Resources/CloudFrontDistribution
423
- *
424
- * @hideconstructor
425
- */
426
- export class CloudFrontOriginRequestPolicySchema {
427
- constructor() {
428
- /**
429
- * Which cookies reach the origin.
430
- */
431
- this.cookies = Schema({ kind: 'none' });
432
- /**
433
- * Which request headers reach the origin.
434
- */
435
- this.headers = Schema({ kind: 'none' });
436
- /**
437
- * How a behavior names this policy.
438
- */
439
- this.name = Schema();
440
- /**
441
- * Which query strings reach the origin.
442
- */
443
- this.queryStrings = Schema({ kind: 'none' });
444
- }
445
- }
446
- __decorate([
447
- Validate({
448
- destruct: (value) => [value.kind],
449
- options: { minLength: 1 },
450
- }),
451
- __metadata("design:type", Object)
452
- ], CloudFrontOriginRequestPolicySchema.prototype, "cookies", void 0);
453
- __decorate([
454
- Validate({
455
- destruct: (value) => [value.kind],
456
- options: { minLength: 1 },
457
- }),
458
- __metadata("design:type", Object)
459
- ], CloudFrontOriginRequestPolicySchema.prototype, "headers", void 0);
460
- __decorate([
461
- Validate({ options: { minLength: 1 } }),
462
- __metadata("design:type", Object)
463
- ], CloudFrontOriginRequestPolicySchema.prototype, "name", void 0);
464
- __decorate([
465
- Validate({
466
- destruct: (value) => [value.kind],
467
- options: { minLength: 1 },
468
- }),
469
- __metadata("design:type", Object)
470
- ], CloudFrontOriginRequestPolicySchema.prototype, "queryStrings", void 0);
471
- /**
472
- * The security headers a response headers policy adds. Every field is optional; a `null` field adds
473
- * nothing for that header.
474
- *
475
- * @group Resources/CloudFrontDistribution
476
- *
477
- * @hideconstructor
29
+ * @internal
478
30
  */
479
- export class CloudFrontSecurityHeadersSchema {
480
- constructor() {
481
- /**
482
- * The app's own content security policy, verbatim.
483
- */
484
- this.contentSecurityPolicy = Schema(null);
485
- /**
486
- * Whether to send `X-Content-Type-Options`, which tells a browser to trust the declared content
487
- * type rather than guessing one from the bytes.
488
- */
489
- this.contentTypeOptions = Schema(true);
490
- /**
491
- * The value of `X-Frame-Options`, or `null` to send none.
492
- */
493
- this.frameOptions = Schema('SAMEORIGIN');
494
- /**
495
- * The value of `Referrer-Policy`, or `null` to send none.
496
- */
497
- this.referrerPolicy = Schema(null);
498
- /**
499
- * How long a viewer should keep using HTTPS for this host, in seconds. `null` sends no
500
- * `Strict-Transport-Security` header at all.
501
- */
502
- this.strictTransportSecurityMaxAge = Schema(31536000);
503
- }
504
- }
505
- __decorate([
506
- Validate({
507
- destruct: (value) => (value ? [value] : []),
508
- options: { minLength: 1 },
509
- }),
510
- __metadata("design:type", Object)
511
- ], CloudFrontSecurityHeadersSchema.prototype, "contentSecurityPolicy", void 0);
512
- __decorate([
513
- Validate({
514
- destruct: (value) => (value ? [value] : []),
515
- options: { minLength: 1 },
516
- }),
517
- __metadata("design:type", Object)
518
- ], CloudFrontSecurityHeadersSchema.prototype, "frameOptions", void 0);
519
- __decorate([
520
- Validate({
521
- destruct: (value) => (value ? [value] : []),
522
- options: { minLength: 1 },
523
- }),
524
- __metadata("design:type", Object)
525
- ], CloudFrontSecurityHeadersSchema.prototype, "referrerPolicy", void 0);
526
- __decorate([
527
- Validate({
528
- destruct: (value) => value === null || value === undefined ? [] : [value],
529
- options: { minLength: 0 },
530
- }),
531
- __metadata("design:type", Object)
532
- ], CloudFrontSecurityHeadersSchema.prototype, "strictTransportSecurityMaxAge", void 0);
533
- /**
534
- * A response headers policy this distribution declares, referenced by a behavior under
535
- * `{ kind: 'custom', name }`.
536
- *
537
- * @group Resources/CloudFrontDistribution
538
- *
539
- * @hideconstructor
540
- */
541
- export class CloudFrontResponseHeadersPolicySchema {
542
- constructor() {
543
- /**
544
- * A cross-origin resource sharing configuration, or `null` for none.
545
- */
546
- this.cors = Schema(null);
547
- /**
548
- * Headers CloudFront adds verbatim. `override` decides what happens when the origin already sent
549
- * one of the same name.
550
- */
551
- this.customHeaders = Schema([]);
552
- /**
553
- * How a behavior names this policy.
554
- */
555
- this.name = Schema();
556
- /**
557
- * Headers CloudFront strips from the origin's response before the viewer sees it.
558
- */
559
- this.removeHeaders = Schema([]);
560
- /**
561
- * The security headers to add, or `null` to add none.
562
- * See {@link CloudFrontSecurityHeadersSchema}.
563
- */
564
- this.securityHeaders = Schema(null);
565
- }
566
- }
567
- __decorate([
568
- Validate({
569
- destruct: (value) => value ? [...value.allowHeaders, ...value.allowMethods, ...value.allowOrigins] : [],
570
- options: { minLength: 1 },
571
- }),
572
- __metadata("design:type", Object)
573
- ], CloudFrontResponseHeadersPolicySchema.prototype, "cors", void 0);
574
- __decorate([
575
- Validate({
576
- destruct: (value) => value.flatMap((v) => [v.header, v.value]),
577
- options: { minLength: 1 },
578
- }),
579
- __metadata("design:type", Object)
580
- ], CloudFrontResponseHeadersPolicySchema.prototype, "customHeaders", void 0);
581
- __decorate([
582
- Validate({ options: { minLength: 1 } }),
583
- __metadata("design:type", Object)
584
- ], CloudFrontResponseHeadersPolicySchema.prototype, "name", void 0);
585
- __decorate([
586
- Validate({
587
- destruct: (value) => value,
588
- options: { minLength: 1 },
589
- }),
590
- __metadata("design:type", Object)
591
- ], CloudFrontResponseHeadersPolicySchema.prototype, "removeHeaders", void 0);
592
- __decorate([
593
- Validate({
594
- destruct: (value) => value ? [value] : [],
595
- options: { isSchema: { schema: CloudFrontSecurityHeadersSchema } },
596
- }),
597
- __metadata("design:type", Object)
598
- ], CloudFrontResponseHeadersPolicySchema.prototype, "securityHeaders", void 0);
31
+ export const CLOUDFRONT_PRICE_CLASSES = ['PriceClass_100', 'PriceClass_200', 'PriceClass_All'];
599
32
  /**
600
33
  * The `CloudFrontDistributionSchema` class is the schema for the `CloudFrontDistribution` resource,
601
34
  * which represents an AWS CloudFront distribution. Terraform provisions it as
@@ -604,68 +37,61 @@ __decorate([
604
37
  * [`aws_cloudfront_origin_access_control`](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/cloudfront_origin_access_control)
605
38
  * per S3 origin and one terraform resource per policy the distribution declares.
606
39
  *
607
- * The distribution is deliberately open. It carries several origins of mixed kinds, a routing table
608
- * of behaviors over them, and the security layer around both, so that one module can serve a
609
- * single-page app out of a bucket while another puts the same resource in front of a load balancer.
610
- * The opinion about which of those a caller gets belongs to the module, not here.
611
- *
612
40
  * @group Resources/CloudFrontDistribution
613
41
  *
614
42
  * @hideconstructor
615
43
  *
616
- * @overrideProperty parents - Every managed origin that is not an S3 bucket. The distribution reads
617
- * such an origin's hostname out of its response, so it is a child of it. An S3 origin runs the other
618
- * way - the bucket's policy has to name this distribution's ARN, which AWS assigns, so the bucket is
619
- * the child and this distribution writes the bucket's hostname literally.
44
+ * @overrideProperty parents - The Lambda functions and ALBs it serves, each attached after
45
+ * construction, with `addLambdaOrigin()` and `addAlbOrigin()`. An S3 bucket is a child of the
46
+ * distribution instead.
620
47
  * ```mermaid
621
48
  * graph TD;
622
- * origin((Origin<br>Resource)) --> cloudfront_distribution((CloudFront<br>Distribution))
49
+ * alb((ALB)) --> cloudfront_distribution((CloudFront<br>Distribution))
50
+ * lambda((Lambda<br>Function)) --> cloudfront_distribution
623
51
  * cloudfront_distribution --> s3_bucket((S3<br>Bucket))
624
52
  * ```
625
53
  * @overrideProperty resourceId - The resource id is of format `cloudfront-<distribution-name>`.
626
- * There is no region in it: CloudFront is global, and the provider is found on the account alone.
627
54
  */
628
55
  export class CloudFrontDistributionSchema extends BaseResourceSchema {
629
56
  constructor() {
630
57
  super(...arguments);
631
58
  /**
632
59
  * Input properties.
633
- * * `properties.aliases` - The custom domain names the distribution answers on. Each one needs a
634
- * DNS record pointing at the distribution, which this resource does not create. Empty serves only
635
- * the `*.cloudfront.net` domain CloudFront assigns.
60
+ * * `properties.aliases` - The custom domain names the distribution answers on, e.g.
61
+ * `www.example.com`, or `*.example.com` for every host under `example.com`. Each one needs a DNS record pointing at
62
+ * the distribution, which this resource does not create. Empty serves only the `*.cloudfront.net`
63
+ * domain CloudFront assigns.
636
64
  * * `properties.awsAccountId` - The AWS account id.
637
65
  * * `properties.behaviors` - The routing table. Exactly one entry has no `pathPattern` and is the
638
66
  * default behavior; the rest are matched in order before it.
639
67
  * See {@link CloudFrontBehaviorSchema}.
640
68
  * * `properties.cachePolicies` - Cache policies this distribution declares.
641
69
  * See {@link CloudFrontCachePolicySchema}.
642
- * * `properties.comment` - A human-readable label. It is the only name a distribution carries in
643
- * the console.
70
+ * * `properties.comment` - A human-readable label, at most 128 characters. It is the only name a
71
+ * distribution carries in the console.
644
72
  * * `properties.customErrorResponses` - What the viewer gets for an origin error.
645
73
  * See {@link CloudFrontCustomErrorResponseSchema}.
646
- * * `properties.defaultRootObject` - The object served for a request to the site root.
74
+ * * `properties.defaultRootObject` - The object served for a request to the site root, e.g.
75
+ * `index.html` or `docs/index.html`, never starting with `/`. Empty passes the request to the origin
76
+ * as it is.
647
77
  * * `properties.distributionName` - What names this distribution. Part of its identity.
648
78
  * * `properties.enabled` - Whether the distribution serves traffic. Disabling is also the first
649
79
  * half of deleting one, which AWS makes a slow operation.
650
- * * `properties.geoRestriction` - Which countries may reach the distribution.
651
- * * `properties.httpVersion` - The newest HTTP version viewers may negotiate.
652
- * * `properties.isIpv6Enabled` - Whether the distribution answers over IP version 6.
653
- * * `properties.logging` - Where CloudFront writes its access logs, or `null` for none. The bucket
654
- * is not created here.
80
+ * * `properties.geoRestriction` - Which countries may reach the distribution, each an uppercase
81
+ * two-letter ISO 3166-1 code, e.g. `DE`.
82
+ * * `properties.httpVersion` - See {@link ICloudFrontHttpVersion}.
655
83
  * * `properties.originGroups` - Fail-over pairs over the origins.
656
84
  * See {@link CloudFrontOriginGroupSchema}.
657
85
  * * `properties.originRequestPolicies` - Origin request policies this distribution declares.
658
86
  * See {@link CloudFrontOriginRequestPolicySchema}.
659
87
  * * `properties.origins` - Where content comes from. See {@link CloudFrontOriginSchema}.
660
- * * `properties.priceClass` - Which edge locations serve the traffic, which is what the
661
- * distribution costs. `PriceClass_100` is North America and Europe alone.
88
+ * * `properties.priceClass` - See {@link ICloudFrontPriceClass}.
662
89
  * * `properties.responseHeadersPolicies` - Response headers policies this distribution declares.
663
90
  * See {@link CloudFrontResponseHeadersPolicySchema}.
664
91
  * * `properties.viewerCertificate` - The certificate viewers see. `default` serves CloudFront's
665
92
  * own, which is valid only for the assigned `*.cloudfront.net` domain; `acm` serves a certificate
666
- * of yours, which CloudFront reads from `us-east-1` alone.
667
- * * `properties.webAclArn` - The web ACL guarding the distribution, or `null` for none. The
668
- * ACL is not created here, and CloudFront reads it from `us-east-1` alone.
93
+ * of yours, which CloudFront reads from `us-east-1` alone. See
94
+ * {@link ICloudFrontMinimumProtocolVersion}.
669
95
  */
670
96
  this.properties = Schema();
671
97
  /**
@@ -675,8 +101,6 @@ export class CloudFrontDistributionSchema extends BaseResourceSchema {
675
101
  * * `response.DomainName` - The `*.cloudfront.net` domain CloudFront assigned. Point a DNS record
676
102
  * at this.
677
103
  * * `response.HostedZoneId` - The zone a Route 53 alias record pointing at this distribution needs.
678
- * It is the same constant for every CloudFront distribution, and it is published here so that a
679
- * DNS module never has to know that.
680
104
  */
681
105
  this.response = Schema({
682
106
  Arn: 'arn:aws:cloudfront::000000000000:distribution/E000000000000',
@@ -688,16 +112,55 @@ export class CloudFrontDistributionSchema extends BaseResourceSchema {
688
112
  }
689
113
  __decorate([
690
114
  Validate([
115
+ {
116
+ destruct: (value) => value.aliases,
117
+ options: { maxLength: 253, regex: /^(\*\.)?([a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?\.)+[a-z0-9-]{2,63}$/i },
118
+ },
691
119
  {
692
120
  destruct: (value) => [
693
- ...value.aliases,
694
121
  value.awsAccountId,
695
122
  value.distributionName,
696
- value.httpVersion,
697
- value.priceClass,
698
123
  ],
699
124
  options: { minLength: 1 },
700
125
  },
126
+ {
127
+ destruct: (value) => [value.comment],
128
+ options: { maxLength: 128 },
129
+ },
130
+ {
131
+ destruct: (value) => [value.defaultRootObject],
132
+ options: { regex: /^(?!\/)\S*$/ },
133
+ },
134
+ {
135
+ destruct: (value) => [value.enabled],
136
+ options: { custom: (value) => typeof value === 'boolean' },
137
+ },
138
+ {
139
+ destruct: (value) => [value.geoRestriction],
140
+ options: {
141
+ custom: (value) => value.kind === 'none' ||
142
+ (['allow', 'block'].includes(value.kind) &&
143
+ value.countries.length > 0 &&
144
+ value.countries.every((country) => /^[A-Z]{2}$/.test(country))),
145
+ },
146
+ },
147
+ {
148
+ destruct: (value) => [value.httpVersion],
149
+ options: { custom: (value) => CLOUDFRONT_HTTP_VERSIONS.includes(value) },
150
+ },
151
+ {
152
+ destruct: (value) => [value.priceClass],
153
+ options: { custom: (value) => CLOUDFRONT_PRICE_CLASSES.includes(value) },
154
+ },
155
+ {
156
+ destruct: (value) => [value.viewerCertificate],
157
+ options: {
158
+ custom: (value) => value.kind === 'default' ||
159
+ (value.kind === 'acm' &&
160
+ /^arn:aws:acm:[a-z0-9-]+:\d{12}:certificate\/[\w-]+$/.test(value.certificateArn) &&
161
+ CLOUDFRONT_MINIMUM_PROTOCOL_VERSIONS.includes(value.minimumProtocolVersion)),
162
+ },
163
+ },
701
164
  {
702
165
  destruct: (value) => value.origins,
703
166
  options: { isSchema: { schema: CloudFrontOriginSchema } },