@quadnix/octo-aws-cdk 0.0.19 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (954) hide show
  1. package/LICENSE +661 -0
  2. package/README.md +25 -3
  3. package/dist/anchors/aws-account/aws-account.anchor.d.ts +3 -0
  4. package/dist/anchors/aws-account/aws-account.anchor.js +3 -0
  5. package/dist/anchors/aws-account/aws-account.anchor.js.map +1 -1
  6. package/dist/anchors/aws-account/aws-account.anchor.schema.d.ts +3 -0
  7. package/dist/anchors/aws-account/aws-account.anchor.schema.js +3 -0
  8. package/dist/anchors/aws-account/aws-account.anchor.schema.js.map +1 -1
  9. package/dist/anchors/aws-dynamodb/aws-dynamodb-global.anchor.d.ts +12 -0
  10. package/dist/anchors/aws-dynamodb/aws-dynamodb-global.anchor.js +27 -0
  11. package/dist/anchors/aws-dynamodb/aws-dynamodb-global.anchor.js.map +1 -0
  12. package/dist/anchors/aws-dynamodb/aws-dynamodb-global.anchor.schema.d.ts +24 -0
  13. package/dist/anchors/aws-dynamodb/aws-dynamodb-global.anchor.schema.js +38 -0
  14. package/dist/anchors/aws-dynamodb/aws-dynamodb-global.anchor.schema.js.map +1 -0
  15. package/dist/anchors/aws-dynamodb/aws-dynamodb.anchor.d.ts +12 -0
  16. package/dist/anchors/aws-dynamodb/aws-dynamodb.anchor.js +27 -0
  17. package/dist/anchors/aws-dynamodb/aws-dynamodb.anchor.js.map +1 -0
  18. package/dist/anchors/aws-dynamodb/aws-dynamodb.anchor.schema.d.ts +24 -0
  19. package/dist/anchors/aws-dynamodb/aws-dynamodb.anchor.schema.js +38 -0
  20. package/dist/anchors/aws-dynamodb/aws-dynamodb.anchor.schema.js.map +1 -0
  21. package/dist/anchors/aws-ecr/aws-ecr-image.anchor.d.ts +12 -0
  22. package/dist/anchors/aws-ecr/aws-ecr-image.anchor.js +27 -0
  23. package/dist/anchors/aws-ecr/aws-ecr-image.anchor.js.map +1 -0
  24. package/dist/anchors/aws-ecr/aws-ecr-image.anchor.schema.d.ts +25 -0
  25. package/dist/anchors/aws-ecr/aws-ecr-image.anchor.schema.js +39 -0
  26. package/dist/anchors/aws-ecr/aws-ecr-image.anchor.schema.js.map +1 -0
  27. package/dist/anchors/aws-ecs/aws-ecs-alb.anchor.d.ts +3 -0
  28. package/dist/anchors/aws-ecs/aws-ecs-alb.anchor.js +3 -0
  29. package/dist/anchors/aws-ecs/aws-ecs-alb.anchor.js.map +1 -1
  30. package/dist/anchors/aws-ecs/aws-ecs-alb.anchor.schema.d.ts +3 -0
  31. package/dist/anchors/aws-ecs/aws-ecs-alb.anchor.schema.js +3 -0
  32. package/dist/anchors/aws-ecs/aws-ecs-alb.anchor.schema.js.map +1 -1
  33. package/dist/anchors/aws-ecs/aws-ecs-cluster.anchor.d.ts +3 -0
  34. package/dist/anchors/aws-ecs/aws-ecs-cluster.anchor.js +3 -0
  35. package/dist/anchors/aws-ecs/aws-ecs-cluster.anchor.js.map +1 -1
  36. package/dist/anchors/aws-ecs/aws-ecs-cluster.anchor.schema.d.ts +3 -0
  37. package/dist/anchors/aws-ecs/aws-ecs-cluster.anchor.schema.js +3 -0
  38. package/dist/anchors/aws-ecs/aws-ecs-cluster.anchor.schema.js.map +1 -1
  39. package/dist/anchors/aws-ecs/aws-ecs-execution.anchor.d.ts +3 -0
  40. package/dist/anchors/aws-ecs/aws-ecs-execution.anchor.js +3 -0
  41. package/dist/anchors/aws-ecs/aws-ecs-execution.anchor.js.map +1 -1
  42. package/dist/anchors/aws-ecs/aws-ecs-execution.anchor.schema.d.ts +3 -0
  43. package/dist/anchors/aws-ecs/aws-ecs-execution.anchor.schema.js +3 -0
  44. package/dist/anchors/aws-ecs/aws-ecs-execution.anchor.schema.js.map +1 -1
  45. package/dist/anchors/aws-ecs/aws-ecs-server.anchor.d.ts +3 -0
  46. package/dist/anchors/aws-ecs/aws-ecs-server.anchor.js +3 -0
  47. package/dist/anchors/aws-ecs/aws-ecs-server.anchor.js.map +1 -1
  48. package/dist/anchors/aws-ecs/aws-ecs-server.anchor.schema.d.ts +3 -0
  49. package/dist/anchors/aws-ecs/aws-ecs-server.anchor.schema.js +3 -0
  50. package/dist/anchors/aws-ecs/aws-ecs-server.anchor.schema.js.map +1 -1
  51. package/dist/anchors/aws-ecs/aws-ecs-service.anchor.d.ts +3 -0
  52. package/dist/anchors/aws-ecs/aws-ecs-service.anchor.js +3 -0
  53. package/dist/anchors/aws-ecs/aws-ecs-service.anchor.js.map +1 -1
  54. package/dist/anchors/aws-ecs/aws-ecs-service.anchor.schema.d.ts +3 -0
  55. package/dist/anchors/aws-ecs/aws-ecs-service.anchor.schema.js +3 -0
  56. package/dist/anchors/aws-ecs/aws-ecs-service.anchor.schema.js.map +1 -1
  57. package/dist/anchors/aws-ecs/aws-ecs-task-definition.anchor.d.ts +3 -0
  58. package/dist/anchors/aws-ecs/aws-ecs-task-definition.anchor.js +3 -0
  59. package/dist/anchors/aws-ecs/aws-ecs-task-definition.anchor.js.map +1 -1
  60. package/dist/anchors/aws-ecs/aws-ecs-task-definition.anchor.schema.d.ts +3 -0
  61. package/dist/anchors/aws-ecs/aws-ecs-task-definition.anchor.schema.js +3 -0
  62. package/dist/anchors/aws-ecs/aws-ecs-task-definition.anchor.schema.js.map +1 -1
  63. package/dist/anchors/aws-efs/aws-efs.anchor.d.ts +3 -0
  64. package/dist/anchors/aws-efs/aws-efs.anchor.js +3 -0
  65. package/dist/anchors/aws-efs/aws-efs.anchor.js.map +1 -1
  66. package/dist/anchors/aws-efs/aws-efs.anchor.schema.d.ts +3 -0
  67. package/dist/anchors/aws-efs/aws-efs.anchor.schema.js +3 -0
  68. package/dist/anchors/aws-efs/aws-efs.anchor.schema.js.map +1 -1
  69. package/dist/anchors/aws-iam/aws-iam-role.anchor.d.ts +3 -0
  70. package/dist/anchors/aws-iam/aws-iam-role.anchor.js +3 -0
  71. package/dist/anchors/aws-iam/aws-iam-role.anchor.js.map +1 -1
  72. package/dist/anchors/aws-iam/aws-iam-role.anchor.schema.d.ts +3 -0
  73. package/dist/anchors/aws-iam/aws-iam-role.anchor.schema.js +3 -0
  74. package/dist/anchors/aws-iam/aws-iam-role.anchor.schema.js.map +1 -1
  75. package/dist/anchors/aws-region/aws-region.anchor.d.ts +3 -0
  76. package/dist/anchors/aws-region/aws-region.anchor.js +3 -0
  77. package/dist/anchors/aws-region/aws-region.anchor.js.map +1 -1
  78. package/dist/anchors/aws-region/aws-region.anchor.schema.d.ts +3 -0
  79. package/dist/anchors/aws-region/aws-region.anchor.schema.js +3 -0
  80. package/dist/anchors/aws-region/aws-region.anchor.schema.js.map +1 -1
  81. package/dist/anchors/aws-s3-storage-service/aws-s3-storage-service-directory.anchor.d.ts +3 -0
  82. package/dist/anchors/aws-s3-storage-service/aws-s3-storage-service-directory.anchor.js +3 -0
  83. package/dist/anchors/aws-s3-storage-service/aws-s3-storage-service-directory.anchor.js.map +1 -1
  84. package/dist/anchors/aws-s3-storage-service/aws-s3-storage-service-directory.anchor.schema.d.ts +3 -0
  85. package/dist/anchors/aws-s3-storage-service/aws-s3-storage-service-directory.anchor.schema.js +3 -0
  86. package/dist/anchors/aws-s3-storage-service/aws-s3-storage-service-directory.anchor.schema.js.map +1 -1
  87. package/dist/anchors/aws-s3-storage-service/aws-s3-storage-service.anchor.d.ts +3 -0
  88. package/dist/anchors/aws-s3-storage-service/aws-s3-storage-service.anchor.js +3 -0
  89. package/dist/anchors/aws-s3-storage-service/aws-s3-storage-service.anchor.js.map +1 -1
  90. package/dist/anchors/aws-s3-storage-service/aws-s3-storage-service.anchor.schema.d.ts +3 -0
  91. package/dist/anchors/aws-s3-storage-service/aws-s3-storage-service.anchor.schema.js +3 -0
  92. package/dist/anchors/aws-s3-storage-service/aws-s3-storage-service.anchor.schema.js.map +1 -1
  93. package/dist/anchors/aws-security-group/aws-security-group.anchor.d.ts +3 -0
  94. package/dist/anchors/aws-security-group/aws-security-group.anchor.js +3 -0
  95. package/dist/anchors/aws-security-group/aws-security-group.anchor.js.map +1 -1
  96. package/dist/anchors/aws-security-group/aws-security-group.anchor.schema.d.ts +3 -0
  97. package/dist/anchors/aws-security-group/aws-security-group.anchor.schema.js +3 -0
  98. package/dist/anchors/aws-security-group/aws-security-group.anchor.schema.js.map +1 -1
  99. package/dist/anchors/aws-subnet/aws-subnet-local-filesystem-mount.anchor.d.ts +3 -0
  100. package/dist/anchors/aws-subnet/aws-subnet-local-filesystem-mount.anchor.js +3 -0
  101. package/dist/anchors/aws-subnet/aws-subnet-local-filesystem-mount.anchor.js.map +1 -1
  102. package/dist/anchors/aws-subnet/aws-subnet-local-filesystem-mount.anchor.schema.d.ts +3 -0
  103. package/dist/anchors/aws-subnet/aws-subnet-local-filesystem-mount.anchor.schema.js +3 -0
  104. package/dist/anchors/aws-subnet/aws-subnet-local-filesystem-mount.anchor.schema.js.map +1 -1
  105. package/dist/anchors/aws-subnet/aws-subnet.anchor.d.ts +3 -0
  106. package/dist/anchors/aws-subnet/aws-subnet.anchor.js +3 -0
  107. package/dist/anchors/aws-subnet/aws-subnet.anchor.js.map +1 -1
  108. package/dist/anchors/aws-subnet/aws-subnet.anchor.schema.d.ts +3 -0
  109. package/dist/anchors/aws-subnet/aws-subnet.anchor.schema.js +3 -0
  110. package/dist/anchors/aws-subnet/aws-subnet.anchor.schema.js.map +1 -1
  111. package/dist/factories/aws-client.factory.d.ts +73 -63
  112. package/dist/factories/aws-client.factory.js +94 -145
  113. package/dist/factories/aws-client.factory.js.map +1 -1
  114. package/dist/modules/account/aws-credentials-account/aws-credentials-account.module.d.ts +5 -2
  115. package/dist/modules/account/aws-credentials-account/aws-credentials-account.module.js +11 -24
  116. package/dist/modules/account/aws-credentials-account/aws-credentials-account.module.js.map +1 -1
  117. package/dist/modules/account/aws-credentials-account/index.schema.d.ts +3 -4
  118. package/dist/modules/account/aws-credentials-account/index.schema.js +5 -6
  119. package/dist/modules/account/aws-credentials-account/index.schema.js.map +1 -1
  120. package/dist/modules/account/aws-credentials-account/models/account/actions/add-aws-credentials-account.model.action.d.ts +9 -0
  121. package/dist/modules/account/aws-credentials-account/models/account/actions/add-aws-credentials-account.model.action.js +9 -0
  122. package/dist/modules/account/aws-credentials-account/models/account/actions/add-aws-credentials-account.model.action.js.map +1 -1
  123. package/dist/modules/account/aws-credentials-account/models/account/aws-credentials-account.model.d.ts +15 -1
  124. package/dist/modules/account/aws-credentials-account/models/account/aws-credentials-account.model.js +17 -3
  125. package/dist/modules/account/aws-credentials-account/models/account/aws-credentials-account.model.js.map +1 -1
  126. package/dist/modules/account/aws-ini-account/aws-ini-account.module.d.ts +4 -1
  127. package/dist/modules/account/aws-ini-account/aws-ini-account.module.js +10 -17
  128. package/dist/modules/account/aws-ini-account/aws-ini-account.module.js.map +1 -1
  129. package/dist/modules/account/aws-ini-account/index.schema.d.ts +5 -0
  130. package/dist/modules/account/aws-ini-account/index.schema.js +12 -0
  131. package/dist/modules/account/aws-ini-account/index.schema.js.map +1 -1
  132. package/dist/modules/account/aws-ini-account/models/account/actions/add-aws-ini-account.model.action.d.ts +9 -0
  133. package/dist/modules/account/aws-ini-account/models/account/actions/add-aws-ini-account.model.action.js +9 -0
  134. package/dist/modules/account/aws-ini-account/models/account/actions/add-aws-ini-account.model.action.js.map +1 -1
  135. package/dist/modules/account/aws-ini-account/models/account/aws-ini-account.model.d.ts +15 -1
  136. package/dist/modules/account/aws-ini-account/models/account/aws-ini-account.model.js +18 -4
  137. package/dist/modules/account/aws-ini-account/models/account/aws-ini-account.model.js.map +1 -1
  138. package/dist/modules/account/aws-localstack-account/aws-localstack-account.module.d.ts +5 -3
  139. package/dist/modules/account/aws-localstack-account/aws-localstack-account.module.js +11 -37
  140. package/dist/modules/account/aws-localstack-account/aws-localstack-account.module.js.map +1 -1
  141. package/dist/modules/account/aws-localstack-account/index.schema.d.ts +3 -10
  142. package/dist/modules/account/aws-localstack-account/index.schema.js +5 -19
  143. package/dist/modules/account/aws-localstack-account/index.schema.js.map +1 -1
  144. package/dist/modules/account/aws-localstack-account/models/account/actions/add-aws-localstack-account.model.action.d.ts +9 -0
  145. package/dist/modules/account/aws-localstack-account/models/account/actions/add-aws-localstack-account.model.action.js +9 -0
  146. package/dist/modules/account/aws-localstack-account/models/account/actions/add-aws-localstack-account.model.action.js.map +1 -1
  147. package/dist/modules/account/aws-localstack-account/models/account/aws-localstack-account.model.d.ts +15 -1
  148. package/dist/modules/account/aws-localstack-account/models/account/aws-localstack-account.model.js +17 -3
  149. package/dist/modules/account/aws-localstack-account/models/account/aws-localstack-account.model.js.map +1 -1
  150. package/dist/modules/account/aws-moto-account/aws-moto-account.module.d.ts +5 -2
  151. package/dist/modules/account/aws-moto-account/aws-moto-account.module.js +11 -22
  152. package/dist/modules/account/aws-moto-account/aws-moto-account.module.js.map +1 -1
  153. package/dist/modules/account/aws-moto-account/index.schema.d.ts +3 -4
  154. package/dist/modules/account/aws-moto-account/index.schema.js +5 -6
  155. package/dist/modules/account/aws-moto-account/index.schema.js.map +1 -1
  156. package/dist/modules/account/aws-moto-account/models/account/actions/add-aws-moto-account.model.action.d.ts +9 -0
  157. package/dist/modules/account/aws-moto-account/models/account/actions/add-aws-moto-account.model.action.js +9 -0
  158. package/dist/modules/account/aws-moto-account/models/account/actions/add-aws-moto-account.model.action.js.map +1 -1
  159. package/dist/modules/account/aws-moto-account/models/account/aws-moto-account.model.d.ts +15 -1
  160. package/dist/modules/account/aws-moto-account/models/account/aws-moto-account.model.js +17 -3
  161. package/dist/modules/account/aws-moto-account/models/account/aws-moto-account.model.js.map +1 -1
  162. package/dist/modules/app/simple-app/models/app/actions/add-simple-app.model.action.d.ts +9 -0
  163. package/dist/modules/app/simple-app/models/app/actions/add-simple-app.model.action.js +9 -0
  164. package/dist/modules/app/simple-app/models/app/actions/add-simple-app.model.action.js.map +1 -1
  165. package/dist/modules/app/simple-app/simple-app.module.d.ts +4 -1
  166. package/dist/modules/app/simple-app/simple-app.module.js +4 -1
  167. package/dist/modules/app/simple-app/simple-app.module.js.map +1 -1
  168. package/dist/modules/deployment/aws-ecs-deployment/aws-ecs-deployment.module.d.ts +4 -1
  169. package/dist/modules/deployment/aws-ecs-deployment/aws-ecs-deployment.module.js +4 -1
  170. package/dist/modules/deployment/aws-ecs-deployment/aws-ecs-deployment.module.js.map +1 -1
  171. package/dist/modules/deployment/aws-ecs-deployment/models/deployment/actions/add-aws-ecs-deployment.model.action.d.ts +9 -0
  172. package/dist/modules/deployment/aws-ecs-deployment/models/deployment/actions/add-aws-ecs-deployment.model.action.js +9 -0
  173. package/dist/modules/deployment/aws-ecs-deployment/models/deployment/actions/add-aws-ecs-deployment.model.action.js.map +1 -1
  174. package/dist/modules/deployment/aws-ecs-deployment/models/deployment/aws-ecs-deployment.model.d.ts +3 -0
  175. package/dist/modules/deployment/aws-ecs-deployment/models/deployment/aws-ecs-deployment.model.js +3 -0
  176. package/dist/modules/deployment/aws-ecs-deployment/models/deployment/aws-ecs-deployment.model.js.map +1 -1
  177. package/dist/modules/environment/aws-ecs-environment/aws-ecs-environment.module.d.ts +7 -1
  178. package/dist/modules/environment/aws-ecs-environment/aws-ecs-environment.module.js +7 -1
  179. package/dist/modules/environment/aws-ecs-environment/aws-ecs-environment.module.js.map +1 -1
  180. package/dist/modules/environment/aws-ecs-environment/models/environment/actions/add-aws-ecs-environment.model.action.d.ts +9 -0
  181. package/dist/modules/environment/aws-ecs-environment/models/environment/actions/add-aws-ecs-environment.model.action.js +9 -0
  182. package/dist/modules/environment/aws-ecs-environment/models/environment/actions/add-aws-ecs-environment.model.action.js.map +1 -1
  183. package/dist/modules/environment/aws-ecs-environment/models/environment/aws-ecs-environment.model.d.ts +3 -0
  184. package/dist/modules/environment/aws-ecs-environment/models/environment/aws-ecs-environment.model.js +3 -0
  185. package/dist/modules/environment/aws-ecs-environment/models/environment/aws-ecs-environment.model.js.map +1 -1
  186. package/dist/modules/execution/aws-ecs-execution/aws-ecs-execution.module.d.ts +7 -1
  187. package/dist/modules/execution/aws-ecs-execution/aws-ecs-execution.module.js +7 -1
  188. package/dist/modules/execution/aws-ecs-execution/aws-ecs-execution.module.js.map +1 -1
  189. package/dist/modules/execution/aws-ecs-execution/models/execution/actions/add-aws-ecs-execution.model.action.d.ts +9 -0
  190. package/dist/modules/execution/aws-ecs-execution/models/execution/actions/add-aws-ecs-execution.model.action.js +9 -0
  191. package/dist/modules/execution/aws-ecs-execution/models/execution/actions/add-aws-ecs-execution.model.action.js.map +1 -1
  192. package/dist/modules/execution/aws-ecs-execution/models/execution/aws-ecs-execution.model.d.ts +18 -3
  193. package/dist/modules/execution/aws-ecs-execution/models/execution/aws-ecs-execution.model.js +30 -15
  194. package/dist/modules/execution/aws-ecs-execution/models/execution/aws-ecs-execution.model.js.map +1 -1
  195. package/dist/modules/execution/aws-ecs-execution/overlays/aws-ecs-execution/actions/add-aws-ecs-execution.overlay.action.d.ts +9 -0
  196. package/dist/modules/execution/aws-ecs-execution/overlays/aws-ecs-execution/actions/add-aws-ecs-execution.overlay.action.js +30 -1
  197. package/dist/modules/execution/aws-ecs-execution/overlays/aws-ecs-execution/actions/add-aws-ecs-execution.overlay.action.js.map +1 -1
  198. package/dist/modules/execution/aws-ecs-execution/overlays/aws-ecs-execution/aws-ecs-execution.overlay.d.ts +6 -0
  199. package/dist/modules/execution/aws-ecs-execution/overlays/aws-ecs-execution/aws-ecs-execution.overlay.js +6 -0
  200. package/dist/modules/execution/aws-ecs-execution/overlays/aws-ecs-execution/aws-ecs-execution.overlay.js.map +1 -1
  201. package/dist/modules/execution/aws-ecs-execution/overlays/aws-ecs-execution-server-security-group/actions/add-aws-ecs-execution-server-security-group.overlay.action.d.ts +9 -0
  202. package/dist/modules/execution/aws-ecs-execution/overlays/aws-ecs-execution-server-security-group/actions/add-aws-ecs-execution-server-security-group.overlay.action.js +9 -0
  203. 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
  204. package/dist/modules/execution/aws-ecs-execution/overlays/aws-ecs-execution-server-security-group/aws-ecs-execution-server-security-group.overlay.d.ts +6 -0
  205. package/dist/modules/execution/aws-ecs-execution/overlays/aws-ecs-execution-server-security-group/aws-ecs-execution-server-security-group.overlay.js +6 -0
  206. 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
  207. package/dist/modules/filesystem/aws-efs-filesystem/aws-efs-filesystem.module.d.ts +7 -1
  208. package/dist/modules/filesystem/aws-efs-filesystem/aws-efs-filesystem.module.js +7 -1
  209. package/dist/modules/filesystem/aws-efs-filesystem/aws-efs-filesystem.module.js.map +1 -1
  210. package/dist/modules/filesystem/aws-efs-filesystem/models/filesystem/actions/add-aws-efs-filesystem.model.action.d.ts +9 -0
  211. package/dist/modules/filesystem/aws-efs-filesystem/models/filesystem/actions/add-aws-efs-filesystem.model.action.js +9 -0
  212. package/dist/modules/filesystem/aws-efs-filesystem/models/filesystem/actions/add-aws-efs-filesystem.model.action.js.map +1 -1
  213. package/dist/modules/filesystem/aws-efs-filesystem/models/filesystem/aws-efs-filesystem.model.d.ts +3 -0
  214. package/dist/modules/filesystem/aws-efs-filesystem/models/filesystem/aws-efs-filesystem.model.js +3 -0
  215. package/dist/modules/filesystem/aws-efs-filesystem/models/filesystem/aws-efs-filesystem.model.js.map +1 -1
  216. package/dist/modules/image/aws-ecr-image/aws-ecr-image.module.d.ts +9 -12
  217. package/dist/modules/image/aws-ecr-image/aws-ecr-image.module.js +13 -33
  218. package/dist/modules/image/aws-ecr-image/aws-ecr-image.module.js.map +1 -1
  219. package/dist/modules/image/aws-ecr-image/models/image/actions/add-aws-ecr-image.model.action.d.ts +9 -0
  220. package/dist/modules/image/aws-ecr-image/models/image/actions/add-aws-ecr-image.model.action.js +9 -0
  221. package/dist/modules/image/aws-ecr-image/models/image/actions/add-aws-ecr-image.model.action.js.map +1 -1
  222. package/dist/modules/image/aws-ecr-image/models/image/aws-ecr-image.model.d.ts +3 -0
  223. package/dist/modules/image/aws-ecr-image/models/image/aws-ecr-image.model.js +3 -0
  224. package/dist/modules/image/aws-ecr-image/models/image/aws-ecr-image.model.js.map +1 -1
  225. package/dist/modules/image/aws-ecr-image-tag/aws-ecr-image-tag.module.d.ts +41 -0
  226. package/dist/modules/image/aws-ecr-image-tag/aws-ecr-image-tag.module.js +73 -0
  227. package/dist/modules/image/aws-ecr-image-tag/aws-ecr-image-tag.module.js.map +1 -0
  228. package/dist/modules/image/aws-ecr-image-tag/index.d.ts +1 -0
  229. package/dist/modules/image/aws-ecr-image-tag/index.js +2 -0
  230. package/dist/modules/image/aws-ecr-image-tag/index.js.map +1 -0
  231. package/dist/modules/image/aws-ecr-image-tag/index.schema.d.ts +42 -0
  232. package/dist/modules/image/aws-ecr-image-tag/index.schema.js +83 -0
  233. package/dist/modules/image/aws-ecr-image-tag/index.schema.js.map +1 -0
  234. package/dist/modules/image/aws-ecr-image-tag/overlays/aws-ecr-image-tag/actions/add-aws-ecr-image-tag.overlay.action.d.ts +26 -0
  235. package/dist/modules/image/aws-ecr-image-tag/overlays/aws-ecr-image-tag/actions/add-aws-ecr-image-tag.overlay.action.js +77 -0
  236. package/dist/modules/image/aws-ecr-image-tag/overlays/aws-ecr-image-tag/actions/add-aws-ecr-image-tag.overlay.action.js.map +1 -0
  237. package/dist/modules/image/aws-ecr-image-tag/overlays/aws-ecr-image-tag/aws-ecr-image-tag.overlay.d.ts +26 -0
  238. package/dist/modules/image/aws-ecr-image-tag/overlays/aws-ecr-image-tag/aws-ecr-image-tag.overlay.js +43 -0
  239. package/dist/modules/image/aws-ecr-image-tag/overlays/aws-ecr-image-tag/aws-ecr-image-tag.overlay.js.map +1 -0
  240. package/dist/modules/image/aws-ecr-image-tag/overlays/aws-ecr-image-tag/aws-ecr-image-tag.schema.d.ts +12 -0
  241. package/dist/modules/image/aws-ecr-image-tag/overlays/aws-ecr-image-tag/aws-ecr-image-tag.schema.js +32 -0
  242. package/dist/modules/image/aws-ecr-image-tag/overlays/aws-ecr-image-tag/aws-ecr-image-tag.schema.js.map +1 -0
  243. package/dist/modules/image/aws-ecr-image-tag/overlays/aws-ecr-image-tag/index.d.ts +2 -0
  244. package/dist/modules/image/aws-ecr-image-tag/overlays/aws-ecr-image-tag/index.js +3 -0
  245. package/dist/modules/image/aws-ecr-image-tag/overlays/aws-ecr-image-tag/index.js.map +1 -0
  246. package/dist/modules/region/aws-multi-az-region/aws-multi-az-region.module.d.ts +6 -2
  247. package/dist/modules/region/aws-multi-az-region/aws-multi-az-region.module.js +12 -3
  248. package/dist/modules/region/aws-multi-az-region/aws-multi-az-region.module.js.map +1 -1
  249. package/dist/modules/region/aws-multi-az-region/models/region/actions/add-aws-multi-az-region.model.action.d.ts +9 -0
  250. package/dist/modules/region/aws-multi-az-region/models/region/actions/add-aws-multi-az-region.model.action.js +9 -0
  251. package/dist/modules/region/aws-multi-az-region/models/region/actions/add-aws-multi-az-region.model.action.js.map +1 -1
  252. package/dist/modules/region/aws-multi-az-region/models/region/aws-multi-az-region.model.d.ts +13 -1
  253. package/dist/modules/region/aws-multi-az-region/models/region/aws-multi-az-region.model.js +15 -3
  254. package/dist/modules/region/aws-multi-az-region/models/region/aws-multi-az-region.model.js.map +1 -1
  255. package/dist/modules/region/aws-single-az-region/aws-single-az-region.module.d.ts +6 -2
  256. package/dist/modules/region/aws-single-az-region/aws-single-az-region.module.js +12 -3
  257. package/dist/modules/region/aws-single-az-region/aws-single-az-region.module.js.map +1 -1
  258. package/dist/modules/region/aws-single-az-region/models/region/actions/add-aws-single-az-region.model.action.d.ts +9 -0
  259. package/dist/modules/region/aws-single-az-region/models/region/actions/add-aws-single-az-region.model.action.js +9 -0
  260. package/dist/modules/region/aws-single-az-region/models/region/actions/add-aws-single-az-region.model.action.js.map +1 -1
  261. package/dist/modules/region/aws-single-az-region/models/region/aws-single-az-region.model.d.ts +13 -1
  262. package/dist/modules/region/aws-single-az-region/models/region/aws-single-az-region.model.js +15 -3
  263. package/dist/modules/region/aws-single-az-region/models/region/aws-single-az-region.model.js.map +1 -1
  264. package/dist/modules/server/aws-ecs-server/aws-ecs-server.module.d.ts +7 -1
  265. package/dist/modules/server/aws-ecs-server/aws-ecs-server.module.js +7 -1
  266. package/dist/modules/server/aws-ecs-server/aws-ecs-server.module.js.map +1 -1
  267. package/dist/modules/server/aws-ecs-server/index.schema.d.ts +9 -3
  268. package/dist/modules/server/aws-ecs-server/index.schema.js +9 -3
  269. package/dist/modules/server/aws-ecs-server/index.schema.js.map +1 -1
  270. package/dist/modules/server/aws-ecs-server/models/server/actions/add-aws-ecs-server.model.action.d.ts +9 -0
  271. package/dist/modules/server/aws-ecs-server/models/server/actions/add-aws-ecs-server.model.action.js +9 -0
  272. package/dist/modules/server/aws-ecs-server/models/server/actions/add-aws-ecs-server.model.action.js.map +1 -1
  273. package/dist/modules/server/aws-ecs-server/models/server/aws-ecs-server.model.d.ts +3 -0
  274. package/dist/modules/server/aws-ecs-server/models/server/aws-ecs-server.model.js +3 -0
  275. package/dist/modules/server/aws-ecs-server/models/server/aws-ecs-server.model.js.map +1 -1
  276. package/dist/modules/server/aws-ecs-server/overlays/aws-ecs-server-s3-access/actions/add-aws-ecs-server-s3-access.overlay.action.d.ts +9 -0
  277. package/dist/modules/server/aws-ecs-server/overlays/aws-ecs-server-s3-access/actions/add-aws-ecs-server-s3-access.overlay.action.js +9 -0
  278. package/dist/modules/server/aws-ecs-server/overlays/aws-ecs-server-s3-access/actions/add-aws-ecs-server-s3-access.overlay.action.js.map +1 -1
  279. package/dist/modules/server/aws-ecs-server/overlays/aws-ecs-server-s3-access/aws-ecs-server-s3-access.overlay.d.ts +6 -0
  280. package/dist/modules/server/aws-ecs-server/overlays/aws-ecs-server-s3-access/aws-ecs-server-s3-access.overlay.js +6 -0
  281. package/dist/modules/server/aws-ecs-server/overlays/aws-ecs-server-s3-access/aws-ecs-server-s3-access.overlay.js.map +1 -1
  282. package/dist/modules/service/aws-dynamodb-global-service/aws-dynamodb-global-service.module.d.ts +39 -0
  283. package/dist/modules/service/aws-dynamodb-global-service/aws-dynamodb-global-service.module.js +70 -0
  284. package/dist/modules/service/aws-dynamodb-global-service/aws-dynamodb-global-service.module.js.map +1 -0
  285. package/dist/modules/service/aws-dynamodb-global-service/index.d.ts +1 -0
  286. package/dist/modules/service/aws-dynamodb-global-service/index.js +2 -0
  287. package/dist/modules/service/aws-dynamodb-global-service/index.js.map +1 -0
  288. package/dist/modules/service/aws-dynamodb-global-service/index.schema.d.ts +41 -0
  289. package/dist/modules/service/aws-dynamodb-global-service/index.schema.js +103 -0
  290. package/dist/modules/service/aws-dynamodb-global-service/index.schema.js.map +1 -0
  291. package/dist/modules/service/aws-dynamodb-global-service/models/service/actions/add-aws-dynamodb-global-service.model.action.d.ts +26 -0
  292. package/dist/modules/service/aws-dynamodb-global-service/models/service/actions/add-aws-dynamodb-global-service.model.action.js +79 -0
  293. package/dist/modules/service/aws-dynamodb-global-service/models/service/actions/add-aws-dynamodb-global-service.model.action.js.map +1 -0
  294. package/dist/modules/service/aws-dynamodb-global-service/models/service/aws-dynamodb-global-service.model.d.ts +20 -0
  295. package/dist/modules/service/aws-dynamodb-global-service/models/service/aws-dynamodb-global-service.model.js +49 -0
  296. package/dist/modules/service/aws-dynamodb-global-service/models/service/aws-dynamodb-global-service.model.js.map +1 -0
  297. package/dist/modules/service/aws-dynamodb-global-service/models/service/aws-dynamodb-global-service.schema.d.ts +7 -0
  298. package/dist/modules/service/aws-dynamodb-global-service/models/service/aws-dynamodb-global-service.schema.js +24 -0
  299. package/dist/modules/service/aws-dynamodb-global-service/models/service/aws-dynamodb-global-service.schema.js.map +1 -0
  300. package/dist/modules/service/aws-dynamodb-global-service/models/service/index.d.ts +2 -0
  301. package/dist/modules/service/aws-dynamodb-global-service/models/service/index.js +3 -0
  302. package/dist/modules/service/aws-dynamodb-global-service/models/service/index.js.map +1 -0
  303. package/dist/modules/service/aws-dynamodb-service/aws-dynamodb-service.module.d.ts +44 -0
  304. package/dist/modules/service/aws-dynamodb-service/aws-dynamodb-service.module.js +76 -0
  305. package/dist/modules/service/aws-dynamodb-service/aws-dynamodb-service.module.js.map +1 -0
  306. package/dist/modules/service/aws-dynamodb-service/index.d.ts +1 -0
  307. package/dist/modules/service/aws-dynamodb-service/index.js +2 -0
  308. package/dist/modules/service/aws-dynamodb-service/index.js.map +1 -0
  309. package/dist/modules/service/aws-dynamodb-service/index.schema.d.ts +66 -0
  310. package/dist/modules/service/aws-dynamodb-service/index.schema.js +161 -0
  311. package/dist/modules/service/aws-dynamodb-service/index.schema.js.map +1 -0
  312. package/dist/modules/service/aws-dynamodb-service/models/service/actions/add-aws-dynamodb-service.model.action.d.ts +26 -0
  313. package/dist/modules/service/aws-dynamodb-service/models/service/actions/add-aws-dynamodb-service.model.action.js +70 -0
  314. package/dist/modules/service/aws-dynamodb-service/models/service/actions/add-aws-dynamodb-service.model.action.js.map +1 -0
  315. package/dist/modules/service/aws-dynamodb-service/models/service/aws-dynamodb-service.model.d.ts +20 -0
  316. package/dist/modules/service/aws-dynamodb-service/models/service/aws-dynamodb-service.model.js +49 -0
  317. package/dist/modules/service/aws-dynamodb-service/models/service/aws-dynamodb-service.model.js.map +1 -0
  318. package/dist/modules/service/aws-dynamodb-service/models/service/aws-dynamodb-service.schema.d.ts +7 -0
  319. package/dist/modules/service/aws-dynamodb-service/models/service/aws-dynamodb-service.schema.js +24 -0
  320. package/dist/modules/service/aws-dynamodb-service/models/service/aws-dynamodb-service.schema.js.map +1 -0
  321. package/dist/modules/service/aws-dynamodb-service/models/service/index.d.ts +2 -0
  322. package/dist/modules/service/aws-dynamodb-service/models/service/index.js +3 -0
  323. package/dist/modules/service/aws-dynamodb-service/models/service/index.js.map +1 -0
  324. package/dist/modules/service/aws-ecs-alb-service/aws-ecs-alb-service.module.d.ts +7 -1
  325. package/dist/modules/service/aws-ecs-alb-service/aws-ecs-alb-service.module.js +7 -1
  326. package/dist/modules/service/aws-ecs-alb-service/aws-ecs-alb-service.module.js.map +1 -1
  327. package/dist/modules/service/aws-ecs-alb-service/models/service/actions/add-aws-ecs-alb-service.model.action.d.ts +9 -0
  328. package/dist/modules/service/aws-ecs-alb-service/models/service/actions/add-aws-ecs-alb-service.model.action.js +9 -0
  329. package/dist/modules/service/aws-ecs-alb-service/models/service/actions/add-aws-ecs-alb-service.model.action.js.map +1 -1
  330. package/dist/modules/service/aws-ecs-alb-service/models/service/aws-ecs-alb-service.model.d.ts +13 -1
  331. package/dist/modules/service/aws-ecs-alb-service/models/service/aws-ecs-alb-service.model.js +16 -4
  332. package/dist/modules/service/aws-ecs-alb-service/models/service/aws-ecs-alb-service.model.js.map +1 -1
  333. package/dist/modules/service/aws-ecs-alb-service/overlays/aws-ecs-alb-service/actions/add-aws-ecs-alb-service.overlay.action.d.ts +9 -0
  334. package/dist/modules/service/aws-ecs-alb-service/overlays/aws-ecs-alb-service/actions/add-aws-ecs-alb-service.overlay.action.js +10 -3
  335. 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
  336. package/dist/modules/service/aws-ecs-alb-service/overlays/aws-ecs-alb-service/aws-ecs-alb-service.overlay.d.ts +6 -0
  337. package/dist/modules/service/aws-ecs-alb-service/overlays/aws-ecs-alb-service/aws-ecs-alb-service.overlay.js +6 -0
  338. package/dist/modules/service/aws-ecs-alb-service/overlays/aws-ecs-alb-service/aws-ecs-alb-service.overlay.js.map +1 -1
  339. package/dist/modules/service/aws-s3-static-website-service/aws-s3-static-website-service.module.d.ts +16 -11
  340. package/dist/modules/service/aws-s3-static-website-service/aws-s3-static-website-service.module.js +20 -59
  341. package/dist/modules/service/aws-s3-static-website-service/aws-s3-static-website-service.module.js.map +1 -1
  342. package/dist/modules/service/aws-s3-static-website-service/index.schema.d.ts +58 -0
  343. package/dist/modules/service/aws-s3-static-website-service/index.schema.js +96 -0
  344. package/dist/modules/service/aws-s3-static-website-service/index.schema.js.map +1 -1
  345. package/dist/modules/service/aws-s3-static-website-service/models/service/actions/add-aws-s3-static-website-service.model.action.d.ts +9 -0
  346. package/dist/modules/service/aws-s3-static-website-service/models/service/actions/add-aws-s3-static-website-service.model.action.js +98 -4
  347. package/dist/modules/service/aws-s3-static-website-service/models/service/actions/add-aws-s3-static-website-service.model.action.js.map +1 -1
  348. package/dist/modules/service/aws-s3-static-website-service/models/service/actions/update-aws-s3-static-website-service-source-paths.model.action.d.ts +11 -2
  349. package/dist/modules/service/aws-s3-static-website-service/models/service/actions/update-aws-s3-static-website-service-source-paths.model.action.js +27 -2
  350. 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
  351. package/dist/modules/service/aws-s3-static-website-service/models/service/aws-s3-static-website-service.model.d.ts +26 -8
  352. package/dist/modules/service/aws-s3-static-website-service/models/service/aws-s3-static-website-service.model.js +55 -69
  353. package/dist/modules/service/aws-s3-static-website-service/models/service/aws-s3-static-website-service.model.js.map +1 -1
  354. package/dist/modules/service/aws-s3-storage-service/aws-s3-storage-service.module.d.ts +7 -1
  355. package/dist/modules/service/aws-s3-storage-service/aws-s3-storage-service.module.js +7 -1
  356. package/dist/modules/service/aws-s3-storage-service/aws-s3-storage-service.module.js.map +1 -1
  357. package/dist/modules/service/aws-s3-storage-service/models/service/actions/add-aws-s3-storage-service.model.action.d.ts +9 -0
  358. package/dist/modules/service/aws-s3-storage-service/models/service/actions/add-aws-s3-storage-service.model.action.js +9 -0
  359. package/dist/modules/service/aws-s3-storage-service/models/service/actions/add-aws-s3-storage-service.model.action.js.map +1 -1
  360. package/dist/modules/service/aws-s3-storage-service/models/service/aws-s3-storage-service.model.d.ts +13 -1
  361. package/dist/modules/service/aws-s3-storage-service/models/service/aws-s3-storage-service.model.js +17 -5
  362. package/dist/modules/service/aws-s3-storage-service/models/service/aws-s3-storage-service.model.js.map +1 -1
  363. package/dist/modules/subnet/aws-simple-subnet/aws-simple-subnet.module.d.ts +7 -1
  364. package/dist/modules/subnet/aws-simple-subnet/aws-simple-subnet.module.js +9 -3
  365. package/dist/modules/subnet/aws-simple-subnet/aws-simple-subnet.module.js.map +1 -1
  366. package/dist/modules/subnet/aws-simple-subnet/models/subnet/actions/add-aws-simple-subnet.model.action.d.ts +9 -0
  367. package/dist/modules/subnet/aws-simple-subnet/models/subnet/actions/add-aws-simple-subnet.model.action.js +9 -0
  368. package/dist/modules/subnet/aws-simple-subnet/models/subnet/actions/add-aws-simple-subnet.model.action.js.map +1 -1
  369. package/dist/modules/subnet/aws-simple-subnet/models/subnet/actions/update-aws-simple-subnet-association.model.action.d.ts +9 -0
  370. package/dist/modules/subnet/aws-simple-subnet/models/subnet/actions/update-aws-simple-subnet-association.model.action.js +11 -2
  371. package/dist/modules/subnet/aws-simple-subnet/models/subnet/actions/update-aws-simple-subnet-association.model.action.js.map +1 -1
  372. package/dist/modules/subnet/aws-simple-subnet/models/subnet/aws-simple-subnet.model.d.ts +10 -1
  373. package/dist/modules/subnet/aws-simple-subnet/models/subnet/aws-simple-subnet.model.js +9 -0
  374. package/dist/modules/subnet/aws-simple-subnet/models/subnet/aws-simple-subnet.model.js.map +1 -1
  375. package/dist/modules/subnet/aws-simple-subnet/overlays/aws-simple-subnet-local-filesystem-mount/actions/add-aws-simple-subnet-local-filesystem-mount.overlay.action.d.ts +9 -0
  376. package/dist/modules/subnet/aws-simple-subnet/overlays/aws-simple-subnet-local-filesystem-mount/actions/add-aws-simple-subnet-local-filesystem-mount.overlay.action.js +9 -0
  377. 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
  378. package/dist/modules/subnet/aws-simple-subnet/overlays/aws-simple-subnet-local-filesystem-mount/aws-simple-subnet-local-filesystem-mount.overlay.d.ts +6 -0
  379. package/dist/modules/subnet/aws-simple-subnet/overlays/aws-simple-subnet-local-filesystem-mount/aws-simple-subnet-local-filesystem-mount.overlay.js +6 -0
  380. 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
  381. package/dist/resources/alb/alb.resource.d.ts +15 -2
  382. package/dist/resources/alb/alb.resource.js +41 -4
  383. package/dist/resources/alb/alb.resource.js.map +1 -1
  384. package/dist/resources/alb/index.d.ts +0 -6
  385. package/dist/resources/alb/index.js +0 -6
  386. package/dist/resources/alb/index.js.map +1 -1
  387. package/dist/resources/alb/index.schema.d.ts +2 -2
  388. package/dist/resources/alb/index.schema.js +6 -3
  389. package/dist/resources/alb/index.schema.js.map +1 -1
  390. package/dist/resources/alb-listener/alb-listener.resource.d.ts +22 -29
  391. package/dist/resources/alb-listener/alb-listener.resource.js +134 -68
  392. package/dist/resources/alb-listener/alb-listener.resource.js.map +1 -1
  393. package/dist/resources/alb-listener/index.d.ts +0 -6
  394. package/dist/resources/alb-listener/index.js +0 -6
  395. package/dist/resources/alb-listener/index.js.map +1 -1
  396. package/dist/resources/alb-listener/index.schema.d.ts +4 -10
  397. package/dist/resources/alb-listener/index.schema.js +8 -12
  398. package/dist/resources/alb-listener/index.schema.js.map +1 -1
  399. package/dist/resources/alb-target-group/alb-target-group.resource.d.ts +12 -3
  400. package/dist/resources/alb-target-group/alb-target-group.resource.js +50 -14
  401. package/dist/resources/alb-target-group/alb-target-group.resource.js.map +1 -1
  402. package/dist/resources/alb-target-group/index.d.ts +0 -5
  403. package/dist/resources/alb-target-group/index.js +0 -5
  404. package/dist/resources/alb-target-group/index.js.map +1 -1
  405. package/dist/resources/alb-target-group/index.schema.d.ts +2 -2
  406. package/dist/resources/alb-target-group/index.schema.js +5 -3
  407. package/dist/resources/alb-target-group/index.schema.js.map +1 -1
  408. package/dist/resources/cloudfront-distribution/cloudfront-distribution.resource.d.ts +97 -0
  409. package/dist/resources/cloudfront-distribution/cloudfront-distribution.resource.js +613 -0
  410. package/dist/resources/cloudfront-distribution/cloudfront-distribution.resource.js.map +1 -0
  411. package/dist/resources/cloudfront-distribution/index.d.ts +1 -0
  412. package/dist/resources/cloudfront-distribution/index.js +2 -0
  413. package/dist/resources/cloudfront-distribution/index.js.map +1 -0
  414. package/dist/resources/cloudfront-distribution/index.schema.d.ts +522 -0
  415. package/dist/resources/cloudfront-distribution/index.schema.js +754 -0
  416. package/dist/resources/cloudfront-distribution/index.schema.js.map +1 -0
  417. package/dist/resources/cloudfront-invalidation/actions/add-cloudfront-invalidation.resource.action.d.ts +36 -0
  418. package/dist/resources/cloudfront-invalidation/actions/add-cloudfront-invalidation.resource.action.js +90 -0
  419. package/dist/resources/cloudfront-invalidation/actions/add-cloudfront-invalidation.resource.action.js.map +1 -0
  420. package/dist/resources/cloudfront-invalidation/actions/delete-cloudfront-invalidation.resource.action.d.ts +39 -0
  421. package/dist/resources/cloudfront-invalidation/actions/delete-cloudfront-invalidation.resource.action.js +69 -0
  422. package/dist/resources/cloudfront-invalidation/actions/delete-cloudfront-invalidation.resource.action.js.map +1 -0
  423. package/dist/resources/cloudfront-invalidation/actions/update-cloudfront-invalidation.resource.action.d.ts +37 -0
  424. package/dist/resources/cloudfront-invalidation/actions/update-cloudfront-invalidation.resource.action.js +91 -0
  425. package/dist/resources/cloudfront-invalidation/actions/update-cloudfront-invalidation.resource.action.js.map +1 -0
  426. package/dist/resources/cloudfront-invalidation/cloudfront-invalidation.resource.d.ts +62 -0
  427. package/dist/resources/cloudfront-invalidation/cloudfront-invalidation.resource.js +89 -0
  428. package/dist/resources/cloudfront-invalidation/cloudfront-invalidation.resource.js.map +1 -0
  429. package/dist/resources/cloudfront-invalidation/index.d.ts +5 -0
  430. package/dist/resources/cloudfront-invalidation/index.js +6 -0
  431. package/dist/resources/cloudfront-invalidation/index.js.map +1 -0
  432. package/dist/resources/cloudfront-invalidation/index.schema.d.ts +61 -0
  433. package/dist/resources/cloudfront-invalidation/index.schema.js +110 -0
  434. package/dist/resources/cloudfront-invalidation/index.schema.js.map +1 -0
  435. package/dist/resources/dynamodb/dynamodb.resource.d.ts +34 -0
  436. package/dist/resources/dynamodb/dynamodb.resource.js +273 -0
  437. package/dist/resources/dynamodb/dynamodb.resource.js.map +1 -0
  438. package/dist/resources/dynamodb/index.d.ts +1 -0
  439. package/dist/resources/dynamodb/index.js +2 -0
  440. package/dist/resources/dynamodb/index.js.map +1 -0
  441. package/dist/resources/dynamodb/index.schema.d.ts +125 -0
  442. package/dist/resources/dynamodb/index.schema.js +274 -0
  443. package/dist/resources/dynamodb/index.schema.js.map +1 -0
  444. package/dist/resources/dynamodb-global/dynamodb-global.resource.d.ts +52 -0
  445. package/dist/resources/dynamodb-global/dynamodb-global.resource.js +177 -0
  446. package/dist/resources/dynamodb-global/dynamodb-global.resource.js.map +1 -0
  447. package/dist/resources/dynamodb-global/index.d.ts +1 -0
  448. package/dist/resources/dynamodb-global/index.js +2 -0
  449. package/dist/resources/dynamodb-global/index.js.map +1 -0
  450. package/dist/resources/dynamodb-global/index.schema.d.ts +48 -0
  451. package/dist/resources/dynamodb-global/index.schema.js +96 -0
  452. package/dist/resources/dynamodb-global/index.schema.js.map +1 -0
  453. package/dist/resources/ecr/ecr-image.resource.d.ts +12 -2
  454. package/dist/resources/ecr/ecr-image.resource.js +34 -3
  455. package/dist/resources/ecr/ecr-image.resource.js.map +1 -1
  456. package/dist/resources/ecr/index.d.ts +0 -4
  457. package/dist/resources/ecr/index.js +0 -4
  458. package/dist/resources/ecr/index.js.map +1 -1
  459. package/dist/resources/ecr/index.schema.d.ts +5 -3
  460. package/dist/resources/ecr/index.schema.js +11 -4
  461. package/dist/resources/ecr/index.schema.js.map +1 -1
  462. package/dist/resources/ecr-image-tag/actions/add-ecr-image-tag.resource.action.d.ts +46 -0
  463. package/dist/resources/ecr-image-tag/actions/add-ecr-image-tag.resource.action.js +123 -0
  464. package/dist/resources/ecr-image-tag/actions/add-ecr-image-tag.resource.action.js.map +1 -0
  465. package/dist/resources/ecr-image-tag/actions/delete-ecr-image-tag.resource.action.d.ts +36 -0
  466. package/dist/resources/ecr-image-tag/actions/delete-ecr-image-tag.resource.action.js +89 -0
  467. package/dist/resources/ecr-image-tag/actions/delete-ecr-image-tag.resource.action.js.map +1 -0
  468. package/dist/resources/ecr-image-tag/ecr-image-tag.resource.d.ts +56 -0
  469. package/dist/resources/ecr-image-tag/ecr-image-tag.resource.js +75 -0
  470. package/dist/resources/ecr-image-tag/ecr-image-tag.resource.js.map +1 -0
  471. package/dist/resources/ecr-image-tag/index.d.ts +4 -0
  472. package/dist/resources/ecr-image-tag/index.js +5 -0
  473. package/dist/resources/ecr-image-tag/index.js.map +1 -0
  474. package/dist/resources/ecr-image-tag/index.schema.d.ts +59 -0
  475. package/dist/resources/ecr-image-tag/index.schema.js +104 -0
  476. package/dist/resources/ecr-image-tag/index.schema.js.map +1 -0
  477. package/dist/resources/ecs-cluster/ecs-cluster.resource.d.ts +12 -2
  478. package/dist/resources/ecs-cluster/ecs-cluster.resource.js +30 -4
  479. package/dist/resources/ecs-cluster/ecs-cluster.resource.js.map +1 -1
  480. package/dist/resources/ecs-cluster/index.d.ts +0 -4
  481. package/dist/resources/ecs-cluster/index.js +0 -4
  482. package/dist/resources/ecs-cluster/index.js.map +1 -1
  483. package/dist/resources/ecs-cluster/index.schema.d.ts +2 -2
  484. package/dist/resources/ecs-cluster/index.schema.js +5 -3
  485. package/dist/resources/ecs-cluster/index.schema.js.map +1 -1
  486. package/dist/resources/ecs-service/ecs-service.resource.d.ts +29 -6
  487. package/dist/resources/ecs-service/ecs-service.resource.js +109 -35
  488. package/dist/resources/ecs-service/ecs-service.resource.js.map +1 -1
  489. package/dist/resources/ecs-service/index.d.ts +0 -5
  490. package/dist/resources/ecs-service/index.js +0 -5
  491. package/dist/resources/ecs-service/index.js.map +1 -1
  492. package/dist/resources/ecs-service/index.schema.d.ts +2 -2
  493. package/dist/resources/ecs-service/index.schema.js +5 -3
  494. package/dist/resources/ecs-service/index.schema.js.map +1 -1
  495. package/dist/resources/ecs-task-definition/ecs-task-definition.resource.d.ts +54 -5
  496. package/dist/resources/ecs-task-definition/ecs-task-definition.resource.js +133 -11
  497. package/dist/resources/ecs-task-definition/ecs-task-definition.resource.js.map +1 -1
  498. package/dist/resources/ecs-task-definition/index.d.ts +0 -5
  499. package/dist/resources/ecs-task-definition/index.js +0 -5
  500. package/dist/resources/ecs-task-definition/index.js.map +1 -1
  501. package/dist/resources/ecs-task-definition/index.schema.d.ts +4 -3
  502. package/dist/resources/ecs-task-definition/index.schema.js +8 -4
  503. package/dist/resources/ecs-task-definition/index.schema.js.map +1 -1
  504. package/dist/resources/efs/efs.resource.d.ts +12 -2
  505. package/dist/resources/efs/efs.resource.js +37 -4
  506. package/dist/resources/efs/efs.resource.js.map +1 -1
  507. package/dist/resources/efs/index.d.ts +0 -4
  508. package/dist/resources/efs/index.js +0 -4
  509. package/dist/resources/efs/index.js.map +1 -1
  510. package/dist/resources/efs/index.schema.d.ts +3 -2
  511. package/dist/resources/efs/index.schema.js +7 -3
  512. package/dist/resources/efs/index.schema.js.map +1 -1
  513. package/dist/resources/efs-mount-target/efs-mount-target.resource.d.ts +12 -2
  514. package/dist/resources/efs-mount-target/efs-mount-target.resource.js +32 -4
  515. package/dist/resources/efs-mount-target/efs-mount-target.resource.js.map +1 -1
  516. package/dist/resources/efs-mount-target/index.d.ts +0 -4
  517. package/dist/resources/efs-mount-target/index.js +0 -4
  518. package/dist/resources/efs-mount-target/index.js.map +1 -1
  519. package/dist/resources/efs-mount-target/index.schema.d.ts +2 -2
  520. package/dist/resources/efs-mount-target/index.schema.js +6 -3
  521. package/dist/resources/efs-mount-target/index.schema.js.map +1 -1
  522. package/dist/resources/iam-role/iam-role.resource.d.ts +27 -15
  523. package/dist/resources/iam-role/iam-role.resource.js +123 -48
  524. package/dist/resources/iam-role/iam-role.resource.js.map +1 -1
  525. package/dist/resources/iam-role/index.d.ts +0 -7
  526. package/dist/resources/iam-role/index.js +0 -7
  527. package/dist/resources/iam-role/index.js.map +1 -1
  528. package/dist/resources/iam-role/index.schema.d.ts +2 -6
  529. package/dist/resources/iam-role/index.schema.js +7 -7
  530. package/dist/resources/iam-role/index.schema.js.map +1 -1
  531. package/dist/resources/iam-user/iam-user.resource.d.ts +21 -15
  532. package/dist/resources/iam-user/iam-user.resource.js +90 -41
  533. package/dist/resources/iam-user/iam-user.resource.js.map +1 -1
  534. package/dist/resources/iam-user/index.d.ts +0 -5
  535. package/dist/resources/iam-user/index.js +0 -5
  536. package/dist/resources/iam-user/index.js.map +1 -1
  537. package/dist/resources/iam-user/index.schema.d.ts +2 -6
  538. package/dist/resources/iam-user/index.schema.js +7 -7
  539. package/dist/resources/iam-user/index.schema.js.map +1 -1
  540. package/dist/resources/internet-gateway/index.d.ts +0 -4
  541. package/dist/resources/internet-gateway/index.js +0 -4
  542. package/dist/resources/internet-gateway/index.js.map +1 -1
  543. package/dist/resources/internet-gateway/index.schema.d.ts +2 -2
  544. package/dist/resources/internet-gateway/index.schema.js +6 -3
  545. package/dist/resources/internet-gateway/index.schema.js.map +1 -1
  546. package/dist/resources/internet-gateway/internet-gateway.resource.d.ts +12 -2
  547. package/dist/resources/internet-gateway/internet-gateway.resource.js +30 -4
  548. package/dist/resources/internet-gateway/internet-gateway.resource.js.map +1 -1
  549. package/dist/resources/nat-gateway/index.d.ts +0 -4
  550. package/dist/resources/nat-gateway/index.js +0 -4
  551. package/dist/resources/nat-gateway/index.js.map +1 -1
  552. package/dist/resources/nat-gateway/index.schema.d.ts +3 -4
  553. package/dist/resources/nat-gateway/index.schema.js +7 -7
  554. package/dist/resources/nat-gateway/index.schema.js.map +1 -1
  555. package/dist/resources/nat-gateway/nat-gateway.resource.d.ts +12 -2
  556. package/dist/resources/nat-gateway/nat-gateway.resource.js +37 -4
  557. package/dist/resources/nat-gateway/nat-gateway.resource.js.map +1 -1
  558. package/dist/resources/network-acl/index.d.ts +0 -5
  559. package/dist/resources/network-acl/index.js +0 -5
  560. package/dist/resources/network-acl/index.js.map +1 -1
  561. package/dist/resources/network-acl/index.schema.d.ts +2 -8
  562. package/dist/resources/network-acl/index.schema.js +5 -15
  563. package/dist/resources/network-acl/index.schema.js.map +1 -1
  564. package/dist/resources/network-acl/network-acl.resource.d.ts +15 -2
  565. package/dist/resources/network-acl/network-acl.resource.js +59 -3
  566. package/dist/resources/network-acl/network-acl.resource.js.map +1 -1
  567. package/dist/resources/route-table/index.d.ts +0 -5
  568. package/dist/resources/route-table/index.js +0 -5
  569. package/dist/resources/route-table/index.js.map +1 -1
  570. package/dist/resources/route-table/index.schema.d.ts +3 -4
  571. package/dist/resources/route-table/index.schema.js +7 -7
  572. package/dist/resources/route-table/index.schema.js.map +1 -1
  573. package/dist/resources/route-table/route-table.resource.d.ts +18 -3
  574. package/dist/resources/route-table/route-table.resource.js +61 -17
  575. package/dist/resources/route-table/route-table.resource.js.map +1 -1
  576. package/dist/resources/s3-storage/index.d.ts +0 -6
  577. package/dist/resources/s3-storage/index.js +0 -6
  578. package/dist/resources/s3-storage/index.js.map +1 -1
  579. package/dist/resources/s3-storage/index.schema.d.ts +3 -2
  580. package/dist/resources/s3-storage/index.schema.js +9 -4
  581. package/dist/resources/s3-storage/index.schema.js.map +1 -1
  582. package/dist/resources/s3-storage/s3-storage.resource.d.ts +21 -3
  583. package/dist/resources/s3-storage/s3-storage.resource.js +76 -13
  584. package/dist/resources/s3-storage/s3-storage.resource.js.map +1 -1
  585. package/dist/resources/s3-website/index.d.ts +0 -5
  586. package/dist/resources/s3-website/index.js +0 -5
  587. package/dist/resources/s3-website/index.js.map +1 -1
  588. package/dist/resources/s3-website/index.schema.d.ts +25 -2
  589. package/dist/resources/s3-website/index.schema.js +45 -3
  590. package/dist/resources/s3-website/index.schema.js.map +1 -1
  591. package/dist/resources/s3-website/s3-website.resource.d.ts +55 -9
  592. package/dist/resources/s3-website/s3-website.resource.js +168 -27
  593. package/dist/resources/s3-website/s3-website.resource.js.map +1 -1
  594. package/dist/resources/security-group/index.d.ts +0 -5
  595. package/dist/resources/security-group/index.js +0 -5
  596. package/dist/resources/security-group/index.js.map +1 -1
  597. package/dist/resources/security-group/index.schema.d.ts +3 -9
  598. package/dist/resources/security-group/index.schema.js +7 -11
  599. package/dist/resources/security-group/index.schema.js.map +1 -1
  600. package/dist/resources/security-group/security-group.resource.d.ts +12 -2
  601. package/dist/resources/security-group/security-group.resource.js +59 -3
  602. package/dist/resources/security-group/security-group.resource.js.map +1 -1
  603. package/dist/resources/subnet/index.d.ts +0 -4
  604. package/dist/resources/subnet/index.js +0 -4
  605. package/dist/resources/subnet/index.js.map +1 -1
  606. package/dist/resources/subnet/index.schema.d.ts +2 -2
  607. package/dist/resources/subnet/index.schema.js +6 -3
  608. package/dist/resources/subnet/index.schema.js.map +1 -1
  609. package/dist/resources/subnet/subnet.resource.d.ts +12 -2
  610. package/dist/resources/subnet/subnet.resource.js +32 -4
  611. package/dist/resources/subnet/subnet.resource.js.map +1 -1
  612. package/dist/resources/vpc/index.d.ts +0 -4
  613. package/dist/resources/vpc/index.js +0 -4
  614. package/dist/resources/vpc/index.js.map +1 -1
  615. package/dist/resources/vpc/index.schema.d.ts +2 -2
  616. package/dist/resources/vpc/index.schema.js +28 -13
  617. package/dist/resources/vpc/index.schema.js.map +1 -1
  618. package/dist/resources/vpc/vpc.resource.d.ts +12 -2
  619. package/dist/resources/vpc/vpc.resource.js +34 -5
  620. package/dist/resources/vpc/vpc.resource.js.map +1 -1
  621. package/dist/services/docker/docker.service.d.ts +54 -0
  622. package/dist/services/docker/docker.service.js +112 -0
  623. package/dist/services/docker/docker.service.js.map +1 -0
  624. package/dist/utilities/cidr/cidr.utility.d.ts +13 -2
  625. package/dist/utilities/cidr/cidr.utility.js +58 -5
  626. package/dist/utilities/cidr/cidr.utility.js.map +1 -1
  627. package/dist/utilities/common/common.utility.d.ts +6 -0
  628. package/dist/utilities/common/common.utility.js +6 -0
  629. package/dist/utilities/common/common.utility.js.map +1 -1
  630. package/dist/utilities/ecr-image-uri/ecr-image-uri.utility.d.ts +20 -0
  631. package/dist/utilities/ecr-image-uri/ecr-image-uri.utility.js +33 -0
  632. package/dist/utilities/ecr-image-uri/ecr-image-uri.utility.js.map +1 -0
  633. package/dist/utilities/file/file.utility.d.ts +9 -0
  634. package/dist/utilities/file/file.utility.js +9 -0
  635. package/dist/utilities/file/file.utility.js.map +1 -1
  636. package/dist/utilities/hcl/hcl.utility.d.ts +34 -0
  637. package/dist/utilities/hcl/hcl.utility.js +163 -0
  638. package/dist/utilities/hcl/hcl.utility.js.map +1 -0
  639. package/dist/utilities/network-acl/network-acl.utility.d.ts +12 -2
  640. package/dist/utilities/network-acl/network-acl.utility.js +17 -0
  641. package/dist/utilities/network-acl/network-acl.utility.js.map +1 -1
  642. package/dist/utilities/policy/policy.utility.d.ts +3 -11
  643. package/dist/utilities/policy/policy.utility.js +3 -46
  644. package/dist/utilities/policy/policy.utility.js.map +1 -1
  645. package/dist/utilities/retry/retry.utility.d.ts +6 -0
  646. package/dist/utilities/retry/retry.utility.js +6 -0
  647. package/dist/utilities/retry/retry.utility.js.map +1 -1
  648. package/dist/utilities/task-definition/task-definition.utility.d.ts +6 -0
  649. package/dist/utilities/task-definition/task-definition.utility.js +6 -0
  650. package/dist/utilities/task-definition/task-definition.utility.js.map +1 -1
  651. package/package.json +28 -19
  652. package/dist/resources/alb/actions/add-alb.resource.action.d.ts +0 -20
  653. package/dist/resources/alb/actions/add-alb.resource.action.js +0 -92
  654. package/dist/resources/alb/actions/add-alb.resource.action.js.map +0 -1
  655. package/dist/resources/alb/actions/delete-alb.resource.action.d.ts +0 -18
  656. package/dist/resources/alb/actions/delete-alb.resource.action.js +0 -97
  657. package/dist/resources/alb/actions/delete-alb.resource.action.js.map +0 -1
  658. package/dist/resources/alb/actions/update-alb-security-groups.resource.action.d.ts +0 -17
  659. package/dist/resources/alb/actions/update-alb-security-groups.resource.action.js +0 -65
  660. package/dist/resources/alb/actions/update-alb-security-groups.resource.action.js.map +0 -1
  661. package/dist/resources/alb/actions/update-alb-subnets.resource.action.d.ts +0 -17
  662. package/dist/resources/alb/actions/update-alb-subnets.resource.action.js +0 -65
  663. package/dist/resources/alb/actions/update-alb-subnets.resource.action.js.map +0 -1
  664. package/dist/resources/alb/actions/update-alb-tags.resource.action.d.ts +0 -18
  665. package/dist/resources/alb/actions/update-alb-tags.resource.action.js +0 -52
  666. package/dist/resources/alb/actions/update-alb-tags.resource.action.js.map +0 -1
  667. package/dist/resources/alb/actions/validate-alb.resource.action.d.ts +0 -17
  668. package/dist/resources/alb/actions/validate-alb.resource.action.js +0 -129
  669. package/dist/resources/alb/actions/validate-alb.resource.action.js.map +0 -1
  670. package/dist/resources/alb-listener/actions/add-alb-listener.resource.action.d.ts +0 -20
  671. package/dist/resources/alb-listener/actions/add-alb-listener.resource.action.js +0 -89
  672. package/dist/resources/alb-listener/actions/add-alb-listener.resource.action.js.map +0 -1
  673. package/dist/resources/alb-listener/actions/delete-alb-listener.resource.action.d.ts +0 -18
  674. package/dist/resources/alb-listener/actions/delete-alb-listener.resource.action.js +0 -63
  675. package/dist/resources/alb-listener/actions/delete-alb-listener.resource.action.js.map +0 -1
  676. package/dist/resources/alb-listener/actions/update-alb-listener-rule.resource.action.d.ts +0 -20
  677. package/dist/resources/alb-listener/actions/update-alb-listener-rule.resource.action.js +0 -262
  678. package/dist/resources/alb-listener/actions/update-alb-listener-rule.resource.action.js.map +0 -1
  679. package/dist/resources/alb-listener/actions/update-alb-listener-tags.resource.action.d.ts +0 -18
  680. package/dist/resources/alb-listener/actions/update-alb-listener-tags.resource.action.js +0 -52
  681. package/dist/resources/alb-listener/actions/update-alb-listener-tags.resource.action.js.map +0 -1
  682. package/dist/resources/alb-listener/actions/update-alb-listener.resource.action.d.ts +0 -18
  683. package/dist/resources/alb-listener/actions/update-alb-listener.resource.action.js +0 -122
  684. package/dist/resources/alb-listener/actions/update-alb-listener.resource.action.js.map +0 -1
  685. package/dist/resources/alb-listener/actions/validate-alb-listener.resource.action.d.ts +0 -17
  686. package/dist/resources/alb-listener/actions/validate-alb-listener.resource.action.js +0 -347
  687. package/dist/resources/alb-listener/actions/validate-alb-listener.resource.action.js.map +0 -1
  688. package/dist/resources/alb-target-group/actions/add-alb-target-group.resource.action.d.ts +0 -20
  689. package/dist/resources/alb-target-group/actions/add-alb-target-group.resource.action.js +0 -98
  690. package/dist/resources/alb-target-group/actions/add-alb-target-group.resource.action.js.map +0 -1
  691. package/dist/resources/alb-target-group/actions/delete-alb-target-group.resource.action.d.ts +0 -18
  692. package/dist/resources/alb-target-group/actions/delete-alb-target-group.resource.action.js +0 -64
  693. package/dist/resources/alb-target-group/actions/delete-alb-target-group.resource.action.js.map +0 -1
  694. package/dist/resources/alb-target-group/actions/update-alb-target-group-tags.resource.action.d.ts +0 -18
  695. package/dist/resources/alb-target-group/actions/update-alb-target-group-tags.resource.action.js +0 -52
  696. package/dist/resources/alb-target-group/actions/update-alb-target-group-tags.resource.action.js.map +0 -1
  697. package/dist/resources/alb-target-group/actions/update-alb-target-group.resource.action.d.ts +0 -18
  698. package/dist/resources/alb-target-group/actions/update-alb-target-group.resource.action.js +0 -79
  699. package/dist/resources/alb-target-group/actions/update-alb-target-group.resource.action.js.map +0 -1
  700. package/dist/resources/alb-target-group/actions/validate-alb-target-group.resource.action.d.ts +0 -17
  701. package/dist/resources/alb-target-group/actions/validate-alb-target-group.resource.action.js +0 -151
  702. package/dist/resources/alb-target-group/actions/validate-alb-target-group.resource.action.js.map +0 -1
  703. package/dist/resources/ecr/actions/add-ecr-image.resource.action.d.ts +0 -20
  704. package/dist/resources/ecr/actions/add-ecr-image.resource.action.js +0 -84
  705. package/dist/resources/ecr/actions/add-ecr-image.resource.action.js.map +0 -1
  706. package/dist/resources/ecr/actions/delete-ecr-image.resource.action.d.ts +0 -18
  707. package/dist/resources/ecr/actions/delete-ecr-image.resource.action.js +0 -63
  708. package/dist/resources/ecr/actions/delete-ecr-image.resource.action.js.map +0 -1
  709. package/dist/resources/ecr/actions/update-ecr-image-tags.resource.action.d.ts +0 -18
  710. package/dist/resources/ecr/actions/update-ecr-image-tags.resource.action.js +0 -52
  711. package/dist/resources/ecr/actions/update-ecr-image-tags.resource.action.js.map +0 -1
  712. package/dist/resources/ecr/actions/validate-ecr-image.resource.action.d.ts +0 -17
  713. package/dist/resources/ecr/actions/validate-ecr-image.resource.action.js +0 -111
  714. package/dist/resources/ecr/actions/validate-ecr-image.resource.action.js.map +0 -1
  715. package/dist/resources/ecs-cluster/actions/add-ecs-cluster.resource.action.d.ts +0 -20
  716. package/dist/resources/ecs-cluster/actions/add-ecs-cluster.resource.action.js +0 -72
  717. package/dist/resources/ecs-cluster/actions/add-ecs-cluster.resource.action.js.map +0 -1
  718. package/dist/resources/ecs-cluster/actions/delete-ecs-cluster.resource.action.d.ts +0 -18
  719. package/dist/resources/ecs-cluster/actions/delete-ecs-cluster.resource.action.js +0 -62
  720. package/dist/resources/ecs-cluster/actions/delete-ecs-cluster.resource.action.js.map +0 -1
  721. package/dist/resources/ecs-cluster/actions/update-ecs-cluster-tags.resource.action.d.ts +0 -18
  722. package/dist/resources/ecs-cluster/actions/update-ecs-cluster-tags.resource.action.js +0 -52
  723. package/dist/resources/ecs-cluster/actions/update-ecs-cluster-tags.resource.action.js.map +0 -1
  724. package/dist/resources/ecs-cluster/actions/validate-ecs-cluster.resource.action.d.ts +0 -17
  725. package/dist/resources/ecs-cluster/actions/validate-ecs-cluster.resource.action.js +0 -89
  726. package/dist/resources/ecs-cluster/actions/validate-ecs-cluster.resource.action.js.map +0 -1
  727. package/dist/resources/ecs-service/actions/add-ecs-service.resource.action.d.ts +0 -20
  728. package/dist/resources/ecs-service/actions/add-ecs-service.resource.action.js +0 -109
  729. package/dist/resources/ecs-service/actions/add-ecs-service.resource.action.js.map +0 -1
  730. package/dist/resources/ecs-service/actions/delete-ecs-service.resource.action.d.ts +0 -18
  731. package/dist/resources/ecs-service/actions/delete-ecs-service.resource.action.js +0 -110
  732. package/dist/resources/ecs-service/actions/delete-ecs-service.resource.action.js.map +0 -1
  733. package/dist/resources/ecs-service/actions/update-ecs-service-tags.resource.action.d.ts +0 -18
  734. package/dist/resources/ecs-service/actions/update-ecs-service-tags.resource.action.js +0 -52
  735. package/dist/resources/ecs-service/actions/update-ecs-service-tags.resource.action.js.map +0 -1
  736. package/dist/resources/ecs-service/actions/update-ecs-service.resource.action.d.ts +0 -20
  737. package/dist/resources/ecs-service/actions/update-ecs-service.resource.action.js +0 -103
  738. package/dist/resources/ecs-service/actions/update-ecs-service.resource.action.js.map +0 -1
  739. package/dist/resources/ecs-service/actions/validate-ecs-service.resource.action.d.ts +0 -17
  740. package/dist/resources/ecs-service/actions/validate-ecs-service.resource.action.js +0 -153
  741. package/dist/resources/ecs-service/actions/validate-ecs-service.resource.action.js.map +0 -1
  742. package/dist/resources/ecs-task-definition/actions/add-ecs-task-definition.resource.action.d.ts +0 -20
  743. package/dist/resources/ecs-task-definition/actions/add-ecs-task-definition.resource.action.js +0 -103
  744. package/dist/resources/ecs-task-definition/actions/add-ecs-task-definition.resource.action.js.map +0 -1
  745. package/dist/resources/ecs-task-definition/actions/delete-ecs-task-definition.resource.action.d.ts +0 -18
  746. package/dist/resources/ecs-task-definition/actions/delete-ecs-task-definition.resource.action.js +0 -73
  747. package/dist/resources/ecs-task-definition/actions/delete-ecs-task-definition.resource.action.js.map +0 -1
  748. package/dist/resources/ecs-task-definition/actions/update-ecs-task-definition-tags.resource.action.d.ts +0 -18
  749. package/dist/resources/ecs-task-definition/actions/update-ecs-task-definition-tags.resource.action.js +0 -52
  750. package/dist/resources/ecs-task-definition/actions/update-ecs-task-definition-tags.resource.action.js.map +0 -1
  751. package/dist/resources/ecs-task-definition/actions/update-ecs-task-definition.resource.action.d.ts +0 -20
  752. package/dist/resources/ecs-task-definition/actions/update-ecs-task-definition.resource.action.js +0 -115
  753. package/dist/resources/ecs-task-definition/actions/update-ecs-task-definition.resource.action.js.map +0 -1
  754. package/dist/resources/ecs-task-definition/actions/validate-ecs-task-definition.resource.action.d.ts +0 -17
  755. package/dist/resources/ecs-task-definition/actions/validate-ecs-task-definition.resource.action.js +0 -192
  756. package/dist/resources/ecs-task-definition/actions/validate-ecs-task-definition.resource.action.js.map +0 -1
  757. package/dist/resources/efs/actions/add-efs.resource.action.d.ts +0 -20
  758. package/dist/resources/efs/actions/add-efs.resource.action.js +0 -97
  759. package/dist/resources/efs/actions/add-efs.resource.action.js.map +0 -1
  760. package/dist/resources/efs/actions/delete-efs.resource.action.d.ts +0 -18
  761. package/dist/resources/efs/actions/delete-efs.resource.action.js +0 -90
  762. package/dist/resources/efs/actions/delete-efs.resource.action.js.map +0 -1
  763. package/dist/resources/efs/actions/update-efs-tags.resource.action.d.ts +0 -18
  764. package/dist/resources/efs/actions/update-efs-tags.resource.action.js +0 -52
  765. package/dist/resources/efs/actions/update-efs-tags.resource.action.js.map +0 -1
  766. package/dist/resources/efs/actions/validate-efs.resource.action.d.ts +0 -17
  767. package/dist/resources/efs/actions/validate-efs.resource.action.js +0 -102
  768. package/dist/resources/efs/actions/validate-efs.resource.action.js.map +0 -1
  769. package/dist/resources/efs-mount-target/actions/add-efs-mount-target.resource.action.d.ts +0 -20
  770. package/dist/resources/efs-mount-target/actions/add-efs-mount-target.resource.action.js +0 -96
  771. package/dist/resources/efs-mount-target/actions/add-efs-mount-target.resource.action.js.map +0 -1
  772. package/dist/resources/efs-mount-target/actions/delete-efs-mount-target.resource.action.d.ts +0 -18
  773. package/dist/resources/efs-mount-target/actions/delete-efs-mount-target.resource.action.js +0 -92
  774. package/dist/resources/efs-mount-target/actions/delete-efs-mount-target.resource.action.js.map +0 -1
  775. package/dist/resources/efs-mount-target/actions/update-efs-mount-target-tags.resource.action.d.ts +0 -16
  776. package/dist/resources/efs-mount-target/actions/update-efs-mount-target-tags.resource.action.js +0 -40
  777. package/dist/resources/efs-mount-target/actions/update-efs-mount-target-tags.resource.action.js.map +0 -1
  778. package/dist/resources/efs-mount-target/actions/validate-efs-mount-target.resource.action.d.ts +0 -17
  779. package/dist/resources/efs-mount-target/actions/validate-efs-mount-target.resource.action.js +0 -104
  780. package/dist/resources/efs-mount-target/actions/validate-efs-mount-target.resource.action.js.map +0 -1
  781. package/dist/resources/iam-role/actions/add-iam-role.resource.action.d.ts +0 -20
  782. package/dist/resources/iam-role/actions/add-iam-role.resource.action.js +0 -109
  783. package/dist/resources/iam-role/actions/add-iam-role.resource.action.js.map +0 -1
  784. package/dist/resources/iam-role/actions/delete-iam-role.resource.action.d.ts +0 -18
  785. package/dist/resources/iam-role/actions/delete-iam-role.resource.action.js +0 -63
  786. package/dist/resources/iam-role/actions/delete-iam-role.resource.action.js.map +0 -1
  787. package/dist/resources/iam-role/actions/update-iam-role-assume-role-policy.resource.action.d.ts +0 -18
  788. package/dist/resources/iam-role/actions/update-iam-role-assume-role-policy.resource.action.js +0 -80
  789. package/dist/resources/iam-role/actions/update-iam-role-assume-role-policy.resource.action.js.map +0 -1
  790. package/dist/resources/iam-role/actions/update-iam-role-tags.resource.action.d.ts +0 -18
  791. package/dist/resources/iam-role/actions/update-iam-role-tags.resource.action.js +0 -53
  792. package/dist/resources/iam-role/actions/update-iam-role-tags.resource.action.js.map +0 -1
  793. package/dist/resources/iam-role/actions/update-iam-role-with-aws-policy.resource.action.d.ts +0 -20
  794. package/dist/resources/iam-role/actions/update-iam-role-with-aws-policy.resource.action.js +0 -115
  795. package/dist/resources/iam-role/actions/update-iam-role-with-aws-policy.resource.action.js.map +0 -1
  796. package/dist/resources/iam-role/actions/update-iam-role-with-s3-storage-policy.resource.action.d.ts +0 -20
  797. package/dist/resources/iam-role/actions/update-iam-role-with-s3-storage-policy.resource.action.js +0 -157
  798. package/dist/resources/iam-role/actions/update-iam-role-with-s3-storage-policy.resource.action.js.map +0 -1
  799. package/dist/resources/iam-role/actions/validate-iam-role.resource.action.d.ts +0 -17
  800. package/dist/resources/iam-role/actions/validate-iam-role.resource.action.js +0 -207
  801. package/dist/resources/iam-role/actions/validate-iam-role.resource.action.js.map +0 -1
  802. package/dist/resources/iam-user/actions/add-iam-user.resource.action.d.ts +0 -20
  803. package/dist/resources/iam-user/actions/add-iam-user.resource.action.js +0 -92
  804. package/dist/resources/iam-user/actions/add-iam-user.resource.action.js.map +0 -1
  805. package/dist/resources/iam-user/actions/delete-iam-user.resource.action.d.ts +0 -18
  806. package/dist/resources/iam-user/actions/delete-iam-user.resource.action.js +0 -63
  807. package/dist/resources/iam-user/actions/delete-iam-user.resource.action.js.map +0 -1
  808. package/dist/resources/iam-user/actions/update-iam-user-tags.resource.action.d.ts +0 -18
  809. package/dist/resources/iam-user/actions/update-iam-user-tags.resource.action.js +0 -53
  810. package/dist/resources/iam-user/actions/update-iam-user-tags.resource.action.js.map +0 -1
  811. package/dist/resources/iam-user/actions/update-iam-user-with-s3-storage-policy.resource.action.d.ts +0 -20
  812. package/dist/resources/iam-user/actions/update-iam-user-with-s3-storage-policy.resource.action.js +0 -157
  813. package/dist/resources/iam-user/actions/update-iam-user-with-s3-storage-policy.resource.action.js.map +0 -1
  814. package/dist/resources/iam-user/actions/validate-iam-user.resource.action.d.ts +0 -17
  815. package/dist/resources/iam-user/actions/validate-iam-user.resource.action.js +0 -181
  816. package/dist/resources/iam-user/actions/validate-iam-user.resource.action.js.map +0 -1
  817. package/dist/resources/internet-gateway/actions/add-internet-gateway.resource.action.d.ts +0 -19
  818. package/dist/resources/internet-gateway/actions/add-internet-gateway.resource.action.js +0 -95
  819. package/dist/resources/internet-gateway/actions/add-internet-gateway.resource.action.js.map +0 -1
  820. package/dist/resources/internet-gateway/actions/delete-internet-gateway.resource.action.d.ts +0 -18
  821. package/dist/resources/internet-gateway/actions/delete-internet-gateway.resource.action.js +0 -80
  822. package/dist/resources/internet-gateway/actions/delete-internet-gateway.resource.action.js.map +0 -1
  823. package/dist/resources/internet-gateway/actions/update-internet-gateway-tags.resource.action.d.ts +0 -18
  824. package/dist/resources/internet-gateway/actions/update-internet-gateway-tags.resource.action.js +0 -52
  825. package/dist/resources/internet-gateway/actions/update-internet-gateway-tags.resource.action.js.map +0 -1
  826. package/dist/resources/internet-gateway/actions/validate-internet-gateway.resource.action.d.ts +0 -17
  827. package/dist/resources/internet-gateway/actions/validate-internet-gateway.resource.action.js +0 -88
  828. package/dist/resources/internet-gateway/actions/validate-internet-gateway.resource.action.js.map +0 -1
  829. package/dist/resources/nat-gateway/actions/add-nat-gateway.resource.action.d.ts +0 -20
  830. package/dist/resources/nat-gateway/actions/add-nat-gateway.resource.action.js +0 -112
  831. package/dist/resources/nat-gateway/actions/add-nat-gateway.resource.action.js.map +0 -1
  832. package/dist/resources/nat-gateway/actions/delete-nat-gateway.resource.action.d.ts +0 -18
  833. package/dist/resources/nat-gateway/actions/delete-nat-gateway.resource.action.js +0 -92
  834. package/dist/resources/nat-gateway/actions/delete-nat-gateway.resource.action.js.map +0 -1
  835. package/dist/resources/nat-gateway/actions/update-eip-tags.resource.action.d.ts +0 -18
  836. package/dist/resources/nat-gateway/actions/update-eip-tags.resource.action.js +0 -77
  837. package/dist/resources/nat-gateway/actions/update-eip-tags.resource.action.js.map +0 -1
  838. package/dist/resources/nat-gateway/actions/update-nat-gateway-tags.resource.action.d.ts +0 -18
  839. package/dist/resources/nat-gateway/actions/update-nat-gateway-tags.resource.action.js +0 -52
  840. package/dist/resources/nat-gateway/actions/update-nat-gateway-tags.resource.action.js.map +0 -1
  841. package/dist/resources/nat-gateway/actions/validate-nat-gateway.resource.action.d.ts +0 -17
  842. package/dist/resources/nat-gateway/actions/validate-nat-gateway.resource.action.js +0 -115
  843. package/dist/resources/nat-gateway/actions/validate-nat-gateway.resource.action.js.map +0 -1
  844. package/dist/resources/network-acl/actions/add-network-acl.resource.action.d.ts +0 -20
  845. package/dist/resources/network-acl/actions/add-network-acl.resource.action.js +0 -119
  846. package/dist/resources/network-acl/actions/add-network-acl.resource.action.js.map +0 -1
  847. package/dist/resources/network-acl/actions/delete-network-acl.resource.action.d.ts +0 -18
  848. package/dist/resources/network-acl/actions/delete-network-acl.resource.action.js +0 -69
  849. package/dist/resources/network-acl/actions/delete-network-acl.resource.action.js.map +0 -1
  850. package/dist/resources/network-acl/actions/update-network-acl-entries.resource.action.d.ts +0 -18
  851. package/dist/resources/network-acl/actions/update-network-acl-entries.resource.action.js +0 -143
  852. package/dist/resources/network-acl/actions/update-network-acl-entries.resource.action.js.map +0 -1
  853. package/dist/resources/network-acl/actions/update-network-acl-tags.resource.action.d.ts +0 -18
  854. package/dist/resources/network-acl/actions/update-network-acl-tags.resource.action.js +0 -52
  855. package/dist/resources/network-acl/actions/update-network-acl-tags.resource.action.js.map +0 -1
  856. package/dist/resources/network-acl/actions/validate-network-acl.resource.action.d.ts +0 -17
  857. package/dist/resources/network-acl/actions/validate-network-acl.resource.action.js +0 -126
  858. package/dist/resources/network-acl/actions/validate-network-acl.resource.action.js.map +0 -1
  859. package/dist/resources/route-table/actions/add-route-table.resource.action.d.ts +0 -20
  860. package/dist/resources/route-table/actions/add-route-table.resource.action.js +0 -105
  861. package/dist/resources/route-table/actions/add-route-table.resource.action.js.map +0 -1
  862. package/dist/resources/route-table/actions/delete-route-table.resource.action.d.ts +0 -18
  863. package/dist/resources/route-table/actions/delete-route-table.resource.action.js +0 -68
  864. package/dist/resources/route-table/actions/delete-route-table.resource.action.js.map +0 -1
  865. package/dist/resources/route-table/actions/update-nat-gateway-parent-in-route-table.resource.action.d.ts +0 -19
  866. package/dist/resources/route-table/actions/update-nat-gateway-parent-in-route-table.resource.action.js +0 -85
  867. package/dist/resources/route-table/actions/update-nat-gateway-parent-in-route-table.resource.action.js.map +0 -1
  868. package/dist/resources/route-table/actions/update-route-table-tags.resource.action.d.ts +0 -18
  869. package/dist/resources/route-table/actions/update-route-table-tags.resource.action.js +0 -52
  870. package/dist/resources/route-table/actions/update-route-table-tags.resource.action.js.map +0 -1
  871. package/dist/resources/route-table/actions/validate-route-table.resource.action.d.ts +0 -17
  872. package/dist/resources/route-table/actions/validate-route-table.resource.action.js +0 -124
  873. package/dist/resources/route-table/actions/validate-route-table.resource.action.js.map +0 -1
  874. package/dist/resources/s3-storage/actions/add-s3-storage.resource.action.d.ts +0 -20
  875. package/dist/resources/s3-storage/actions/add-s3-storage.resource.action.js +0 -73
  876. package/dist/resources/s3-storage/actions/add-s3-storage.resource.action.js.map +0 -1
  877. package/dist/resources/s3-storage/actions/delete-s3-storage.resource.action.d.ts +0 -18
  878. package/dist/resources/s3-storage/actions/delete-s3-storage.resource.action.js +0 -82
  879. package/dist/resources/s3-storage/actions/delete-s3-storage.resource.action.js.map +0 -1
  880. package/dist/resources/s3-storage/actions/update-parent-in-s3-storage.resource.action.d.ts +0 -16
  881. package/dist/resources/s3-storage/actions/update-parent-in-s3-storage.resource.action.js +0 -40
  882. package/dist/resources/s3-storage/actions/update-parent-in-s3-storage.resource.action.js.map +0 -1
  883. package/dist/resources/s3-storage/actions/update-permissions-in-s3-storage.resource.action.d.ts +0 -18
  884. package/dist/resources/s3-storage/actions/update-permissions-in-s3-storage.resource.action.js +0 -110
  885. package/dist/resources/s3-storage/actions/update-permissions-in-s3-storage.resource.action.js.map +0 -1
  886. package/dist/resources/s3-storage/actions/update-s3-storage-tags.resource.action.d.ts +0 -18
  887. package/dist/resources/s3-storage/actions/update-s3-storage-tags.resource.action.js +0 -52
  888. package/dist/resources/s3-storage/actions/update-s3-storage-tags.resource.action.js.map +0 -1
  889. package/dist/resources/s3-storage/actions/validate-s3-storage.resource.action.d.ts +0 -17
  890. package/dist/resources/s3-storage/actions/validate-s3-storage.resource.action.js +0 -181
  891. package/dist/resources/s3-storage/actions/validate-s3-storage.resource.action.js.map +0 -1
  892. package/dist/resources/s3-website/actions/add-s3-website.resource.action.d.ts +0 -20
  893. package/dist/resources/s3-website/actions/add-s3-website.resource.action.js +0 -114
  894. package/dist/resources/s3-website/actions/add-s3-website.resource.action.js.map +0 -1
  895. package/dist/resources/s3-website/actions/delete-s3-website.resource.action.d.ts +0 -18
  896. package/dist/resources/s3-website/actions/delete-s3-website.resource.action.js +0 -82
  897. package/dist/resources/s3-website/actions/delete-s3-website.resource.action.js.map +0 -1
  898. package/dist/resources/s3-website/actions/update-s3-website-tags.resource.action.d.ts +0 -18
  899. package/dist/resources/s3-website/actions/update-s3-website-tags.resource.action.js +0 -52
  900. package/dist/resources/s3-website/actions/update-s3-website-tags.resource.action.js.map +0 -1
  901. package/dist/resources/s3-website/actions/update-source-paths-in-s3-website.resource.action.d.ts +0 -18
  902. package/dist/resources/s3-website/actions/update-source-paths-in-s3-website.resource.action.js +0 -89
  903. package/dist/resources/s3-website/actions/update-source-paths-in-s3-website.resource.action.js.map +0 -1
  904. package/dist/resources/s3-website/actions/validate-s3-website.resource.action.d.ts +0 -17
  905. package/dist/resources/s3-website/actions/validate-s3-website.resource.action.js +0 -154
  906. package/dist/resources/s3-website/actions/validate-s3-website.resource.action.js.map +0 -1
  907. package/dist/resources/security-group/actions/add-security-group.resource.action.d.ts +0 -20
  908. package/dist/resources/security-group/actions/add-security-group.resource.action.js +0 -141
  909. package/dist/resources/security-group/actions/add-security-group.resource.action.js.map +0 -1
  910. package/dist/resources/security-group/actions/delete-security-group.resource.action.d.ts +0 -18
  911. package/dist/resources/security-group/actions/delete-security-group.resource.action.js +0 -73
  912. package/dist/resources/security-group/actions/delete-security-group.resource.action.js.map +0 -1
  913. package/dist/resources/security-group/actions/update-security-group-rules.resource.action.d.ts +0 -20
  914. package/dist/resources/security-group/actions/update-security-group-rules.resource.action.js +0 -139
  915. package/dist/resources/security-group/actions/update-security-group-rules.resource.action.js.map +0 -1
  916. package/dist/resources/security-group/actions/update-security-group-tags.resource.action.d.ts +0 -18
  917. package/dist/resources/security-group/actions/update-security-group-tags.resource.action.js +0 -52
  918. package/dist/resources/security-group/actions/update-security-group-tags.resource.action.js.map +0 -1
  919. package/dist/resources/security-group/actions/validate-security-group.resource.action.d.ts +0 -17
  920. package/dist/resources/security-group/actions/validate-security-group.resource.action.js +0 -132
  921. package/dist/resources/security-group/actions/validate-security-group.resource.action.js.map +0 -1
  922. package/dist/resources/subnet/actions/add-subnet.resource.action.d.ts +0 -20
  923. package/dist/resources/subnet/actions/add-subnet.resource.action.js +0 -89
  924. package/dist/resources/subnet/actions/add-subnet.resource.action.js.map +0 -1
  925. package/dist/resources/subnet/actions/delete-subnet.resource.action.d.ts +0 -18
  926. package/dist/resources/subnet/actions/delete-subnet.resource.action.js +0 -64
  927. package/dist/resources/subnet/actions/delete-subnet.resource.action.js.map +0 -1
  928. package/dist/resources/subnet/actions/update-subnet-tags.resource.action.d.ts +0 -18
  929. package/dist/resources/subnet/actions/update-subnet-tags.resource.action.js +0 -52
  930. package/dist/resources/subnet/actions/update-subnet-tags.resource.action.js.map +0 -1
  931. package/dist/resources/subnet/actions/validate-subnet.resource.action.d.ts +0 -17
  932. package/dist/resources/subnet/actions/validate-subnet.resource.action.js +0 -90
  933. package/dist/resources/subnet/actions/validate-subnet.resource.action.js.map +0 -1
  934. package/dist/resources/vpc/actions/add-vpc.resource.action.d.ts +0 -20
  935. package/dist/resources/vpc/actions/add-vpc.resource.action.js +0 -93
  936. package/dist/resources/vpc/actions/add-vpc.resource.action.js.map +0 -1
  937. package/dist/resources/vpc/actions/delete-vpc.resource.action.d.ts +0 -18
  938. package/dist/resources/vpc/actions/delete-vpc.resource.action.js +0 -64
  939. package/dist/resources/vpc/actions/delete-vpc.resource.action.js.map +0 -1
  940. package/dist/resources/vpc/actions/update-vpc-tags.resource.action.d.ts +0 -18
  941. package/dist/resources/vpc/actions/update-vpc-tags.resource.action.js +0 -52
  942. package/dist/resources/vpc/actions/update-vpc-tags.resource.action.js.map +0 -1
  943. package/dist/resources/vpc/actions/validate-vpc.resource.action.d.ts +0 -17
  944. package/dist/resources/vpc/actions/validate-vpc.resource.action.js +0 -100
  945. package/dist/resources/vpc/actions/validate-vpc.resource.action.js.map +0 -1
  946. package/dist/utilities/actions/generic-resource-tagging.action.d.ts +0 -14
  947. package/dist/utilities/actions/generic-resource-tagging.action.js +0 -34
  948. package/dist/utilities/actions/generic-resource-tagging.action.js.map +0 -1
  949. package/dist/utilities/process/process.utility.d.ts +0 -7
  950. package/dist/utilities/process/process.utility.js +0 -17
  951. package/dist/utilities/process/process.utility.js.map +0 -1
  952. package/dist/utilities/security-group/security-group.utility.d.ts +0 -7
  953. package/dist/utilities/security-group/security-group.utility.js +0 -13
  954. package/dist/utilities/security-group/security-group.utility.js.map +0 -1
@@ -0,0 +1,274 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ var __metadata = (this && this.__metadata) || function (k, v) {
8
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
+ };
10
+ import { BaseResourceSchema, Schema, Validate } from '@quadnix/octo';
11
+ /**
12
+ * On-demand billing: capacity scales with traffic, and you pay per request.
13
+ *
14
+ * @group Resources/DynamoDB
15
+ *
16
+ * @hideconstructor
17
+ */
18
+ export class DynamoDBBillingPayPerRequestSchema {
19
+ constructor() {
20
+ this.OnDemandThroughput = Schema(null);
21
+ this.WarmThroughput = Schema(null);
22
+ }
23
+ }
24
+ __decorate([
25
+ Validate({
26
+ destruct: (value) => {
27
+ return value ? [value.MaxReadRequestUnits, value.MaxWriteRequestUnits] : [];
28
+ },
29
+ options: { minLength: 5 },
30
+ }),
31
+ __metadata("design:type", Object)
32
+ ], DynamoDBBillingPayPerRequestSchema.prototype, "OnDemandThroughput", void 0);
33
+ __decorate([
34
+ Validate({
35
+ destruct: (value) => {
36
+ return value ? [value.ReadUnitsPerSecond, value.WriteUnitsPerSecond] : [];
37
+ },
38
+ options: { minLength: 5 },
39
+ }),
40
+ __metadata("design:type", Object)
41
+ ], DynamoDBBillingPayPerRequestSchema.prototype, "WarmThroughput", void 0);
42
+ /**
43
+ * Provisioned billing: you reserve read and write capacity, and pay for it whether or not it is used.
44
+ *
45
+ * @group Resources/DynamoDB
46
+ *
47
+ * @hideconstructor
48
+ */
49
+ export class DynamoDBBillingProvisionedSchema {
50
+ constructor() {
51
+ this.ProvisionedThroughput = Schema();
52
+ }
53
+ }
54
+ __decorate([
55
+ Validate({
56
+ destruct: (value) => {
57
+ return value ? [value.ReadCapacityUnits, value.WriteCapacityUnits] : [];
58
+ },
59
+ options: { minLength: 5 },
60
+ }),
61
+ __metadata("design:type", Object)
62
+ ], DynamoDBBillingProvisionedSchema.prototype, "ProvisionedThroughput", void 0);
63
+ /**
64
+ * One attribute of a key: the partition key (`HASH`), or the sort key (`RANGE`).
65
+ *
66
+ * @group Resources/DynamoDB
67
+ *
68
+ * @hideconstructor
69
+ */
70
+ export class DynamoDBKeySchema {
71
+ constructor() {
72
+ this.AttributeName = Schema();
73
+ this.KeyType = Schema();
74
+ }
75
+ }
76
+ __decorate([
77
+ Validate({ options: { minLength: 3 } }),
78
+ __metadata("design:type", Object)
79
+ ], DynamoDBKeySchema.prototype, "AttributeName", void 0);
80
+ __decorate([
81
+ Validate({ options: { regex: /^(HASH|RANGE)$/ } }),
82
+ __metadata("design:type", Object)
83
+ ], DynamoDBKeySchema.prototype, "KeyType", void 0);
84
+ /**
85
+ * A secondary index, letting the table be queried by a key other than its own.
86
+ *
87
+ * @group Resources/DynamoDB
88
+ *
89
+ * @hideconstructor
90
+ */
91
+ export class DynamoDBSecondaryIndexSchema {
92
+ constructor() {
93
+ this.IndexName = Schema();
94
+ this.KeySchema = Schema();
95
+ this.Projection = Schema();
96
+ }
97
+ }
98
+ __decorate([
99
+ Validate({ options: { maxLength: 255, minLength: 3, regex: /^[\w.-]+$/ } }),
100
+ __metadata("design:type", Object)
101
+ ], DynamoDBSecondaryIndexSchema.prototype, "IndexName", void 0);
102
+ __decorate([
103
+ Validate([
104
+ {
105
+ // Array length must at least be 1.
106
+ destruct: (value) => [value],
107
+ options: { maxLength: 2, minLength: 1 },
108
+ },
109
+ {
110
+ destruct: (value) => value,
111
+ options: { isSchema: { schema: DynamoDBKeySchema } },
112
+ },
113
+ ]),
114
+ __metadata("design:type", Object)
115
+ ], DynamoDBSecondaryIndexSchema.prototype, "KeySchema", void 0);
116
+ __decorate([
117
+ Validate([
118
+ {
119
+ // ProjectionType must match enum.
120
+ destruct: (value) => [value.ProjectionType],
121
+ options: { regex: /^(ALL|INCLUDE|KEYS_ONLY)$/ },
122
+ },
123
+ {
124
+ // NonKeyAttributes must at least be 3 characters.
125
+ destruct: (value) => {
126
+ return value.NonKeyAttributes ? value.NonKeyAttributes : [];
127
+ },
128
+ options: { minLength: 3 },
129
+ },
130
+ ]),
131
+ __metadata("design:type", Object)
132
+ ], DynamoDBSecondaryIndexSchema.prototype, "Projection", void 0);
133
+ /**
134
+ * The `DynamoDBSchema` class is the schema for the `DynamoDB` resource,
135
+ * which represents an AWS DynamoDB table.
136
+ * Terraform provisions it as
137
+ * [`aws_dynamodb_table`](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/dynamodb_table).
138
+ *
139
+ * @group Resources/DynamoDB
140
+ *
141
+ * @hideconstructor
142
+ *
143
+ * @overrideProperty parents - This resource has no parents.
144
+ * @overrideProperty resourceId - The resource id is of format `dynamodb-<table-name>`
145
+ */
146
+ export class DynamoDBSchema extends BaseResourceSchema {
147
+ constructor() {
148
+ super(...arguments);
149
+ /**
150
+ * Input properties.
151
+ * * `properties.awsAccountId` - The AWS account id.
152
+ * * `properties.awsRegionId` - The AWS region id.
153
+ * * `properties.AttributeDefinitions` - Attribute definitions for key schema and index key attributes.
154
+ * * `properties.billingMode` - Billing mode: `PAY_PER_REQUEST` or `PROVISIONED`.
155
+ * * `properties.DeletionProtectionEnabled` - Flag to enable delete protection.
156
+ * * `properties.KeySchema` - The primary key schema with one HASH and an optional RANGE key.
157
+ * * `properties.LocalSecondaryIndexes` - Local secondary indexes.
158
+ * * `properties.GlobalSecondaryIndexes` - Global secondary indexes.
159
+ * * `properties.StreamSpecification` - DynamoDB Streams configuration.
160
+ * * `properties.TableClass` - Type of DynamoDB table.
161
+ * * `properties.TableName` - The DynamoDB table name.
162
+ * * `properties.timeToLiveAttribute` - Applies TTL on a number attribute.
163
+ */
164
+ this.properties = Schema();
165
+ /**
166
+ * Saved response.
167
+ * * `response.TableArn` - The table ARN.
168
+ */
169
+ this.response = Schema({
170
+ TableArn: 'arn:aws:dynamodb:us-east-1:000000000000:table/mock-table',
171
+ });
172
+ }
173
+ }
174
+ __decorate([
175
+ Validate([
176
+ {
177
+ destruct: (value) => [value.awsAccountId, value.awsRegionId],
178
+ options: { minLength: 1 },
179
+ },
180
+ {
181
+ // AttributeDefinitions AttributeName must at least be 3 characters.
182
+ destruct: (value) => value.AttributeDefinitions.map((d) => d.AttributeName),
183
+ options: { minLength: 3 },
184
+ },
185
+ {
186
+ // AttributeDefinitions AttributeType must match enum.
187
+ destruct: (value) => value.AttributeDefinitions.map((d) => d.AttributeType),
188
+ options: { regex: /^([BNS])$/ },
189
+ },
190
+ {
191
+ // billingMode settings must match schema.
192
+ destruct: (value) => {
193
+ return value.billingMode.type === 'PAY_PER_REQUEST' ? [value.billingMode.settings] : [];
194
+ },
195
+ options: { isSchema: { schema: DynamoDBBillingPayPerRequestSchema } },
196
+ },
197
+ {
198
+ // billingMode settings must match schema.
199
+ destruct: (value) => {
200
+ return value.billingMode.type === 'PROVISIONED' ? [value.billingMode.settings] : [];
201
+ },
202
+ options: { isSchema: { schema: DynamoDBBillingProvisionedSchema } },
203
+ },
204
+ {
205
+ // billingMode type must match enum.
206
+ destruct: (value) => [value.billingMode.type],
207
+ options: { regex: /^(PAY_PER_REQUEST|PROVISIONED)$/ },
208
+ },
209
+ {
210
+ // DeletionProtectionEnabled must match enum.
211
+ destruct: (value) => [String(value.DeletionProtectionEnabled)],
212
+ options: { regex: /^(false)$/ },
213
+ },
214
+ {
215
+ // GlobalSecondaryIndexes must match schema.
216
+ destruct: (value) => value.GlobalSecondaryIndexes,
217
+ options: { isSchema: { schema: DynamoDBSecondaryIndexSchema } },
218
+ },
219
+ {
220
+ // KeySchema array must have valid length.
221
+ destruct: (value) => [value.KeySchema],
222
+ options: { maxLength: 2, minLength: 1 },
223
+ },
224
+ {
225
+ // KeySchema must match schema.
226
+ destruct: (value) => value.KeySchema,
227
+ options: { isSchema: { schema: DynamoDBKeySchema } },
228
+ },
229
+ {
230
+ // LocalSecondaryIndexes must match schema.
231
+ destruct: (value) => value.LocalSecondaryIndexes,
232
+ options: { isSchema: { schema: DynamoDBSecondaryIndexSchema } },
233
+ },
234
+ {
235
+ // StreamSpecification StreamViewType must match enum.
236
+ destruct: (value) => {
237
+ return value.StreamSpecification ? [value.StreamSpecification.StreamViewType] : [];
238
+ },
239
+ options: { regex: /^(KEYS_ONLY|NEW_AND_OLD_IMAGES|NEW_IMAGE|OLD_IMAGE)$/ },
240
+ },
241
+ {
242
+ // TableClass must match enum.
243
+ destruct: (value) => [value.TableClass],
244
+ options: { regex: /^(STANDARD)$/ },
245
+ },
246
+ {
247
+ // TableName must at least be 3 characters.
248
+ destruct: (value) => [value.TableName],
249
+ options: { maxLength: 255, minLength: 3, regex: /^[\w.-]+$/ },
250
+ },
251
+ {
252
+ // timeToLiveAttribute must at least be 3 characters.
253
+ destruct: (value) => {
254
+ return value.timeToLiveAttribute ? [value.timeToLiveAttribute] : [];
255
+ },
256
+ options: { minLength: 3 },
257
+ },
258
+ ]),
259
+ __metadata("design:type", Object)
260
+ ], DynamoDBSchema.prototype, "properties", void 0);
261
+ __decorate([
262
+ Validate({
263
+ destruct: (value) => {
264
+ const subjects = [];
265
+ if (value.TableArn) {
266
+ subjects.push(value.TableArn);
267
+ }
268
+ return subjects;
269
+ },
270
+ options: { minLength: 1 },
271
+ }),
272
+ __metadata("design:type", Object)
273
+ ], DynamoDBSchema.prototype, "response", void 0);
274
+ //# sourceMappingURL=index.schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.schema.js","sourceRo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C,EAAY,EAAE;YACxD,MAAM,QAAQ,GAAa,EAAE,CAAC;YAC9B,IAAI,KAAK,CAAC,QAAQ,EAAE,CAAC;gBACnB,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;YAChC,CAAC;YACD,OAAO,QAAQ,CAAC;QAClB,CAAC;QACD,OAAO,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE;KAC1B,CAAC;;gDAKC"}
@@ -0,0 +1,52 @@
1
+ import { ATerraformResource, Diff, type MatchingResource, type TerraformModuleScope } from '@quadnix/octo';
2
+ import type { DynamoDBSchema } from '../dynamodb/index.schema.js';
3
+ import { DynamoDBGlobalSchema } from './index.schema.js';
4
+ export type ReplicaDiff = {
5
+ action: 'add' | 'delete';
6
+ properties: {
7
+ awsAccountId: string;
8
+ awsRegionId: string;
9
+ };
10
+ };
11
+ export type DynamoDBGlobalDiff = {
12
+ replicaDiffs: ReplicaDiff[];
13
+ tagUpdates: {
14
+ awsAccountId: string;
15
+ awsRegionId: string;
16
+ tags: {
17
+ [key: string]: string;
18
+ };
19
+ }[];
20
+ };
21
+ /**
22
+ * @internal
23
+ */
24
+ export declare class DynamoDBGlobal extends ATerraformResource<DynamoDBGlobalSchema, DynamoDBGlobal> {
25
+ parents: [MatchingResource<DynamoDBSchema>];
26
+ properties: DynamoDBGlobalSchema['properties'];
27
+ response: DynamoDBGlobalSchema['response'];
28
+ /**
29
+ * @internal
30
+ */
31
+ constructor(resourceId: string, properties: DynamoDBGlobalSchema['properties'], parents: [MatchingResource<DynamoDBSchema>]);
32
+ /**
33
+ * @internal
34
+ */
35
+ diff(previous: DynamoDBGlobal): Promise<Diff[]>;
36
+ /**
37
+ * @internal
38
+ */
39
+ diffInverse(diff: Diff<DynamoDBGlobal>, deReferenceResource: (resourceId: string) => Promise<never>): Promise<void>;
40
+ /**
41
+ * @internal
42
+ */
43
+ diffUnpack(diff: Diff): Diff[];
44
+ /**
45
+ * @internal
46
+ */
47
+ toHCL(terraform: TerraformModuleScope): Promise<void>;
48
+ /**
49
+ * @internal
50
+ */
51
+ private updateDynamoDBGlobalDynamoDB;
52
+ }
@@ -0,0 +1,177 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ var __metadata = (this && this.__metadata) || function (k, v) {
8
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
+ };
10
+ import { ATerraformResource, DependencyRelationship, Diff, DiffAction, Resource, } from '@quadnix/octo';
11
+ import { DynamoDBGlobalSchema } from './index.schema.js';
12
+ /**
13
+ * @internal
14
+ */
15
+ let DynamoDBGlobal = class DynamoDBGlobal extends ATerraformResource {
16
+ /**
17
+ * @internal
18
+ */
19
+ constructor(resourceId, properties, parents) {
20
+ super(resourceId, properties, parents);
21
+ this.updateDynamoDBGlobalDynamoDB(parents[0].getActual());
22
+ }
23
+ /**
24
+ * @internal
25
+ */
26
+ async diff(previous) {
27
+ const diffs = await super.diff(previous);
28
+ const replicaDiffs = [];
29
+ const currentReplicas = this.properties.replicas;
30
+ const previousReplicas = previous.properties.replicas;
31
+ for (const replica of previousReplicas) {
32
+ if (!currentReplicas.find((i) => i.awsAccountId === replica.awsAccountId && i.awsRegionId === replica.awsRegionId)) {
33
+ replicaDiffs.push({
34
+ action: 'delete',
35
+ properties: { awsAccountId: replica.awsAccountId, awsRegionId: replica.awsRegionId },
36
+ });
37
+ }
38
+ }
39
+ for (const replica of currentReplicas) {
40
+ if (!previousReplicas.find((i) => i.awsAccountId === replica.awsAccountId && i.awsRegionId === replica.awsRegionId)) {
41
+ replicaDiffs.push({
42
+ action: 'add',
43
+ properties: { awsAccountId: replica.awsAccountId, awsRegionId: replica.awsRegionId },
44
+ });
45
+ }
46
+ }
47
+ const tagUpdates = [];
48
+ for (const replica of currentReplicas) {
49
+ tagUpdates.push({
50
+ awsAccountId: replica.awsAccountId,
51
+ awsRegionId: replica.awsRegionId,
52
+ tags: { ...this.tags, ...(replica.tags || {}) },
53
+ });
54
+ }
55
+ let shouldConsolidateUpdateDiffs = false;
56
+ for (let i = diffs.length - 1; i >= 0; i--) {
57
+ if (diffs[i].field === 'properties' || diffs[i].field === 'tags') {
58
+ // Consolidate property and tag diffs.
59
+ shouldConsolidateUpdateDiffs = true;
60
+ diffs.splice(i, 1);
61
+ }
62
+ }
63
+ if (shouldConsolidateUpdateDiffs) {
64
+ diffs.push(new Diff(this, DiffAction.UPDATE, 'properties', {
65
+ replicaDiffs: replicaDiffs,
66
+ tagUpdates,
67
+ }));
68
+ }
69
+ return diffs;
70
+ }
71
+ /**
72
+ * @internal
73
+ */
74
+ async diffInverse(diff, deReferenceResource) {
75
+ if (diff.action === DiffAction.DELETE && diff.field === 'properties') {
76
+ this.remove(true);
77
+ }
78
+ else if (diff.action === DiffAction.UPDATE && diff.field === 'properties') {
79
+ await this.cloneResourceInPlace(diff.node, deReferenceResource);
80
+ }
81
+ else {
82
+ await super.diffInverse(diff, deReferenceResource);
83
+ }
84
+ }
85
+ /**
86
+ * @internal
87
+ */
88
+ diffUnpack(diff) {
89
+ if (diff.action === DiffAction.ADD && diff.field === 'resourceId') {
90
+ const replicaDiffs = [];
91
+ const currentReplicas = this.properties.replicas;
92
+ for (const replica of currentReplicas) {
93
+ replicaDiffs.push({
94
+ action: 'add',
95
+ properties: { awsAccountId: replica.awsAccountId, awsRegionId: replica.awsRegionId },
96
+ });
97
+ }
98
+ const tagUpdates = [];
99
+ for (const replica of currentReplicas) {
100
+ tagUpdates.push({
101
+ awsAccountId: replica.awsAccountId,
102
+ awsRegionId: replica.awsRegionId,
103
+ tags: { ...this.tags, ...(replica.tags || {}) },
104
+ });
105
+ }
106
+ return [
107
+ new Diff(this, DiffAction.UPDATE, 'properties', {
108
+ replicaDiffs,
109
+ tagUpdates,
110
+ }),
111
+ ];
112
+ }
113
+ else if (diff.action === DiffAction.DELETE && diff.field === 'resourceId') {
114
+ const replicaDiffs = [];
115
+ const currentReplicas = this.properties.replicas;
116
+ for (const replica of currentReplicas) {
117
+ replicaDiffs.push({
118
+ action: 'delete',
119
+ properties: { awsAccountId: replica.awsAccountId, awsRegionId: replica.awsRegionId },
120
+ });
121
+ }
122
+ return [
123
+ new Diff(this, DiffAction.DELETE, 'properties', {
124
+ replicaDiffs,
125
+ tagUpdates: [],
126
+ }),
127
+ ];
128
+ }
129
+ else {
130
+ return [diff];
131
+ }
132
+ }
133
+ /**
134
+ * @internal
135
+ */
136
+ async toHCL(terraform) {
137
+ const dynamoDBParent = this.parents[0];
138
+ const dynamoDBGlobalOctoResource = terraform.addOctoTerraformResource(this);
139
+ const outputs = {};
140
+ for (const replica of this.properties.replicas) {
141
+ const replicaTFResource = dynamoDBGlobalOctoResource.addTerraformResource('aws_dynamodb_table_replica', `${this.resourceId}_${replica.awsRegionId}`, {
142
+ global_table_arn: terraform.getRef(dynamoDBParent, 'TableArn'),
143
+ provider: terraform.getProviderAliasRef(replica.awsAccountId, replica.awsRegionId),
144
+ });
145
+ const replicaTags = { ...this.tags, ...(replica.tags || {}) };
146
+ if (Object.keys(replicaTags).length > 0) {
147
+ replicaTFResource.attribute('tags', replicaTags);
148
+ }
149
+ const key = `${replica.awsAccountId}:${replica.awsRegionId}`;
150
+ outputs[`${key}:TableArn`] = terraform.raw(`${replicaTFResource.address}.arn`);
151
+ }
152
+ dynamoDBGlobalOctoResource.output(outputs);
153
+ }
154
+ /**
155
+ * @internal
156
+ */
157
+ updateDynamoDBGlobalDynamoDB(dynamoDBParent) {
158
+ const globalToTableDep = this.getDependency(dynamoDBParent, DependencyRelationship.CHILD);
159
+ const tableToGlobalDep = dynamoDBParent.getDependency(this, DependencyRelationship.PARENT);
160
+ // Before update/delete DynamoDBGlobal must add/update DynamoDB.
161
+ globalToTableDep.addBehavior('properties', DiffAction.UPDATE, 'resourceId', DiffAction.ADD);
162
+ globalToTableDep.addBehavior('properties', DiffAction.UPDATE, 'properties', DiffAction.UPDATE);
163
+ globalToTableDep.addBehavior('properties', DiffAction.UPDATE, 'tags', DiffAction.UPDATE);
164
+ globalToTableDep.addBehavior('properties', DiffAction.DELETE, 'resourceId', DiffAction.ADD);
165
+ globalToTableDep.addBehavior('properties', DiffAction.DELETE, 'properties', DiffAction.UPDATE);
166
+ globalToTableDep.addBehavior('properties', DiffAction.DELETE, 'tags', DiffAction.UPDATE);
167
+ // Before deleting DynamoDB must update DynamoDBGlobal.
168
+ tableToGlobalDep.addBehavior('resourceId', DiffAction.DELETE, 'properties', DiffAction.UPDATE);
169
+ tableToGlobalDep.addBehavior('resourceId', DiffAction.DELETE, 'properties', DiffAction.DELETE);
170
+ }
171
+ };
172
+ DynamoDBGlobal = __decorate([
173
+ Resource('@octo', 'dynamodb-global', DynamoDBGlobalSchema),
174
+ __metadata("design:paramtypes", [String, Object, Array])
175
+ ], DynamoDBGlobal);
176
+ export { DynamoDBGlobal };
177
+ //# sourceMappingURL=dynamodb-global.resource.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dynamodb-global.resource.js","sourceRoot":"","sources":["../../../src/resources/dynamodb-global/dynamodb-global.resource.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,kBAAkB,EAClB,sBAAsB,EACtB,IAAI,EACJ,UAAU,EAEV,QAAQ,GAET,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAYzD;;GAEG;AAEI,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,kBAAwD;IAK1F;;OAEG;IACH,YACE,UAAkB,EAClB,UAA8C,EAC9C,OA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AAC;QACzF,gBAAgB,CAAC,WAAW,CAAC,YAAY,EAAE,UAAU,CAAC,MAAM,EAAE,YAAY,EAAE,UAAU,CAAC,GAAG,CAAC,CAAC;QAC5F,gBAAgB,CAAC,WAAW,CAAC,YAAY,EAAE,UAAU,CAAC,MAAM,EAAE,YAAY,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC;QAC/F,gBAAgB,CAAC,WAAW,CAAC,YAAY,EAAE,UAAU,CAAC,MAAM,EAAE,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC;QACzF,uDAAuD;QACvD,gBAAgB,CAAC,WAAW,CAAC,YAAY,EAAE,UAAU,CAAC,MAAM,EAAE,YAAY,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC;QAC/F,gBAAgB,CAAC,WAAW,CAAC,YAAY,EAAE,UAAU,CAAC,MAAM,EAAE,YAAY,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC;IACjG,CAAC;CACF,CAAA;AAnMY,cAAc;IAD1B,QAAQ,CAAiB,OAAO,EAAE,iBAAiB,EAAE,oBAAoB,CAAC;;GAC9D,cAAc,CAmM1B"}
@@ -0,0 +1 @@
1
+ export { DynamoDBGlobal } from './dynamodb-global.resource.js';
@@ -0,0 +1,2 @@
1
+ export { DynamoDBGlobal } from './dynamodb-global.resource.js';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/dynamodb-global/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC"}
@@ -0,0 +1,48 @@
1
+ import { BaseResourceSchema } from '@quadnix/octo';
2
+ /**
3
+ * One replica of a global table, and the account and region it lives in.
4
+ *
5
+ * @group Resources/DynamoDBGlobal
6
+ *
7
+ * @hideconstructor
8
+ */
9
+ export declare class DynamoDBGlobalReplicaSchema {
10
+ awsAccountId: string;
11
+ awsRegionId: string;
12
+ tags?: {
13
+ [key: string]: string;
14
+ } | undefined;
15
+ }
16
+ /**
17
+ * The `DynamoDBGlobalSchema` class is the schema for the `DynamoDBGlobal` resource,
18
+ * which represents an AWS DynamoDB global table.
19
+ * Terraform provisions it as
20
+ * [`aws_dynamodb_table_replica`](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/dynamodb_table_replica).
21
+ *
22
+ * @group Resources/DynamoDBGlobal
23
+ *
24
+ * @hideconstructor
25
+ *
26
+ * @overrideProperty parents - This resource has parents.
27
+ * ```mermaid
28
+ * graph TD;
29
+ * dynamodb((DynamoDB)) --> dynamodb_global((DynamoDB<br>Global))
30
+ * ```
31
+ * @overrideProperty resourceId - The resource id is of format `dynamodb-global-<table-name>`
32
+ */
33
+ export declare class DynamoDBGlobalSchema extends BaseResourceSchema {
34
+ /**
35
+ * Input properties.
36
+ * * `properties.replicas` - List of replicas for the DynamoDB table.
37
+ */
38
+ properties: {
39
+ replicas: DynamoDBGlobalReplicaSchema[];
40
+ };
41
+ /**
42
+ * Saved response. Flat map keyed by `<accountId>:<regionId>:<field>`.
43
+ * * `response["<accountId>:<regionId>:TableArn"]` - The table ARN for that replica.
44
+ */
45
+ response: {
46
+ [key: string]: string;
47
+ };
48
+ }