@depup/aws-cdk 2.1117.0-depup.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 (308) hide show
  1. package/LICENSE +202 -0
  2. package/NOTICE +16 -0
  3. package/README.md +25 -0
  4. package/THIRD_PARTY_LICENSES +24866 -0
  5. package/bin/cdk +6 -0
  6. package/build-info.json +4 -0
  7. package/changes.json +5 -0
  8. package/db.json.gz +0 -0
  9. package/docs/deploy-architecture.md +194 -0
  10. package/lib/api/aws-auth.d.ts +3 -0
  11. package/lib/api/aws-auth.js +21 -0
  12. package/lib/api/bootstrap/bootstrap-template.yaml +855 -0
  13. package/lib/api/bootstrap.d.ts +1 -0
  14. package/lib/api/bootstrap.js +19 -0
  15. package/lib/api/cloud-assembly.d.ts +5 -0
  16. package/lib/api/cloud-assembly.js +23 -0
  17. package/lib/api/cloudformation.d.ts +1 -0
  18. package/lib/api/cloudformation.js +19 -0
  19. package/lib/api/context.d.ts +1 -0
  20. package/lib/api/context.js +19 -0
  21. package/lib/api/deployments.d.ts +1 -0
  22. package/lib/api/deployments.js +19 -0
  23. package/lib/api/hotswap.d.ts +1 -0
  24. package/lib/api/hotswap.js +19 -0
  25. package/lib/api/index.d.ts +16 -0
  26. package/lib/api/index.js +38 -0
  27. package/lib/api/network-detector.d.ts +1 -0
  28. package/lib/api/network-detector.js +19 -0
  29. package/lib/api/notices.d.ts +1 -0
  30. package/lib/api/notices.js +19 -0
  31. package/lib/api/plugin.d.ts +1 -0
  32. package/lib/api/plugin.js +19 -0
  33. package/lib/api/refactor.d.ts +1 -0
  34. package/lib/api/refactor.js +8 -0
  35. package/lib/api/settings.d.ts +1 -0
  36. package/lib/api/settings.js +19 -0
  37. package/lib/api/tags.d.ts +1 -0
  38. package/lib/api/tags.js +19 -0
  39. package/lib/api-private.d.ts +9 -0
  40. package/lib/api-private.js +29 -0
  41. package/lib/cli/cdk-toolkit.d.ts +699 -0
  42. package/lib/cli/cdk-toolkit.js +1260 -0
  43. package/lib/cli/ci-systems.d.ts +29 -0
  44. package/lib/cli/ci-systems.js +61 -0
  45. package/lib/cli/cli-config.d.ts +10 -0
  46. package/lib/cli/cli-config.js +556 -0
  47. package/lib/cli/cli-type-registry.json +1147 -0
  48. package/lib/cli/cli.d.ts +3 -0
  49. package/lib/cli/cli.js +746 -0
  50. package/lib/cli/convert-to-user-input.d.ts +3 -0
  51. package/lib/cli/convert-to-user-input.js +560 -0
  52. package/lib/cli/display-version.d.ts +11 -0
  53. package/lib/cli/display-version.js +101 -0
  54. package/lib/cli/io-host/cli-io-host.d.ts +191 -0
  55. package/lib/cli/io-host/cli-io-host.js +477 -0
  56. package/lib/cli/io-host/index.d.ts +1 -0
  57. package/lib/cli/io-host/index.js +18 -0
  58. package/lib/cli/parse-command-line-arguments.d.ts +1 -0
  59. package/lib/cli/parse-command-line-arguments.js +1067 -0
  60. package/lib/cli/platform-warnings.d.ts +3 -0
  61. package/lib/cli/platform-warnings.js +44 -0
  62. package/lib/cli/pretty-print-error.d.ts +1 -0
  63. package/lib/cli/pretty-print-error.js +37 -0
  64. package/lib/cli/proxy-agent.d.ts +30 -0
  65. package/lib/cli/proxy-agent.js +52 -0
  66. package/lib/cli/root-dir.d.ts +10 -0
  67. package/lib/cli/root-dir.js +23 -0
  68. package/lib/cli/singleton-plugin-host.d.ts +7 -0
  69. package/lib/cli/singleton-plugin-host.js +11 -0
  70. package/lib/cli/tables.d.ts +1 -0
  71. package/lib/cli/tables.js +10 -0
  72. package/lib/cli/telemetry/collect-telemetry.d.ts +5 -0
  73. package/lib/cli/telemetry/collect-telemetry.js +16 -0
  74. package/lib/cli/telemetry/error.d.ts +15 -0
  75. package/lib/cli/telemetry/error.js +68 -0
  76. package/lib/cli/telemetry/feature-flags.d.ts +96 -0
  77. package/lib/cli/telemetry/feature-flags.js +103 -0
  78. package/lib/cli/telemetry/installation-id.d.ts +5 -0
  79. package/lib/cli/telemetry/installation-id.js +47 -0
  80. package/lib/cli/telemetry/library-version.d.ts +2 -0
  81. package/lib/cli/telemetry/library-version.js +30 -0
  82. package/lib/cli/telemetry/messages.d.ts +43 -0
  83. package/lib/cli/telemetry/messages.js +60 -0
  84. package/lib/cli/telemetry/sanitation.d.ts +100 -0
  85. package/lib/cli/telemetry/sanitation.js +79 -0
  86. package/lib/cli/telemetry/schema.d.ts +85 -0
  87. package/lib/cli/telemetry/schema.js +3 -0
  88. package/lib/cli/telemetry/session.d.ts +67 -0
  89. package/lib/cli/telemetry/session.js +174 -0
  90. package/lib/cli/telemetry/sink/endpoint-sink.d.ts +44 -0
  91. package/lib/cli/telemetry/sink/endpoint-sink.js +105 -0
  92. package/lib/cli/telemetry/sink/file-sink.d.ts +32 -0
  93. package/lib/cli/telemetry/sink/file-sink.js +43 -0
  94. package/lib/cli/telemetry/sink/funnel.d.ts +16 -0
  95. package/lib/cli/telemetry/sink/funnel.js +29 -0
  96. package/lib/cli/telemetry/sink/io-host-sink.d.ts +27 -0
  97. package/lib/cli/telemetry/sink/io-host-sink.js +35 -0
  98. package/lib/cli/telemetry/sink/sink-interface.d.ts +18 -0
  99. package/lib/cli/telemetry/sink/sink-interface.js +3 -0
  100. package/lib/cli/user-configuration.d.ts +104 -0
  101. package/lib/cli/user-configuration.js +334 -0
  102. package/lib/cli/user-input.d.ts +1505 -0
  103. package/lib/cli/user-input.js +3 -0
  104. package/lib/cli/util/ci.d.ts +5 -0
  105. package/lib/cli/util/ci.js +11 -0
  106. package/lib/cli/util/console-formatters.d.ts +18 -0
  107. package/lib/cli/util/console-formatters.js +42 -0
  108. package/lib/cli/util/guess-agent.d.ts +7 -0
  109. package/lib/cli/util/guess-agent.js +32 -0
  110. package/lib/cli/util/npm.d.ts +4 -0
  111. package/lib/cli/util/npm.js +34 -0
  112. package/lib/cli/util/trap-errors.d.ts +6 -0
  113. package/lib/cli/util/trap-errors.js +17 -0
  114. package/lib/cli/util/yargs-helpers.d.ts +22 -0
  115. package/lib/cli/util/yargs-helpers.js +49 -0
  116. package/lib/cli/version.d.ts +3 -0
  117. package/lib/cli/version.js +22 -0
  118. package/lib/commands/context.d.ts +40 -0
  119. package/lib/commands/context.js +158 -0
  120. package/lib/commands/deploy.d.ts +13 -0
  121. package/lib/commands/deploy.js +18 -0
  122. package/lib/commands/docs.d.ts +18 -0
  123. package/lib/commands/docs.js +33 -0
  124. package/lib/commands/doctor.d.ts +4 -0
  125. package/lib/commands/doctor.js +69 -0
  126. package/lib/commands/flags/flags.d.ts +13 -0
  127. package/lib/commands/flags/flags.js +30 -0
  128. package/lib/commands/flags/interactive-handler.d.ts +16 -0
  129. package/lib/commands/flags/interactive-handler.js +71 -0
  130. package/lib/commands/flags/obsolete-flags.d.ts +1 -0
  131. package/lib/commands/flags/obsolete-flags.js +9 -0
  132. package/lib/commands/flags/operations.d.ts +80 -0
  133. package/lib/commands/flags/operations.js +467 -0
  134. package/lib/commands/flags/router.d.ts +18 -0
  135. package/lib/commands/flags/router.js +60 -0
  136. package/lib/commands/flags/types.d.ts +12 -0
  137. package/lib/commands/flags/types.js +12 -0
  138. package/lib/commands/flags/validator.d.ts +22 -0
  139. package/lib/commands/flags/validator.js +95 -0
  140. package/lib/commands/init/index.d.ts +1 -0
  141. package/lib/commands/init/index.js +18 -0
  142. package/lib/commands/init/init-hooks.d.ts +41 -0
  143. package/lib/commands/init/init-hooks.js +85 -0
  144. package/lib/commands/init/init.d.ts +139 -0
  145. package/lib/commands/init/init.js +788 -0
  146. package/lib/commands/init/os.d.ts +8 -0
  147. package/lib/commands/init/os.js +91 -0
  148. package/lib/commands/init/package-manager.d.ts +15 -0
  149. package/lib/commands/init/package-manager.js +14 -0
  150. package/lib/commands/language.d.ts +30 -0
  151. package/lib/commands/language.js +46 -0
  152. package/lib/commands/list-stacks.d.ts +21 -0
  153. package/lib/commands/list-stacks.js +28 -0
  154. package/lib/commands/migrate.d.ts +316 -0
  155. package/lib/commands/migrate.js +801 -0
  156. package/lib/context-providers.d.ts +1 -0
  157. package/lib/context-providers.js +19 -0
  158. package/lib/cxapp/cloud-assembly.d.ts +79 -0
  159. package/lib/cxapp/cloud-assembly.js +109 -0
  160. package/lib/cxapp/cloud-executable.d.ts +51 -0
  161. package/lib/cxapp/cloud-executable.js +123 -0
  162. package/lib/cxapp/environments.d.ts +8 -0
  163. package/lib/cxapp/environments.js +66 -0
  164. package/lib/cxapp/exec.d.ts +14 -0
  165. package/lib/cxapp/exec.js +133 -0
  166. package/lib/cxapp/index.d.ts +4 -0
  167. package/lib/cxapp/index.js +21 -0
  168. package/lib/index.d.ts +2 -0
  169. package/lib/index.js +364043 -0
  170. package/lib/index_bg.wasm +0 -0
  171. package/lib/init-templates/.init-version.json +1 -0
  172. package/lib/init-templates/.no-packagejson-validator +0 -0
  173. package/lib/init-templates/.recommended-feature-flags.json +86 -0
  174. package/lib/init-templates/LICENSE +16 -0
  175. package/lib/init-templates/app/csharp/.template.gitignore +342 -0
  176. package/lib/init-templates/app/csharp/README.md +14 -0
  177. package/lib/init-templates/app/csharp/cdk.template.json +15 -0
  178. package/lib/init-templates/app/csharp/src/%name.PascalCased%/%name.PascalCased%.template.csproj +20 -0
  179. package/lib/init-templates/app/csharp/src/%name.PascalCased%/%name.PascalCased%Stack.template.cs +13 -0
  180. package/lib/init-templates/app/csharp/src/%name.PascalCased%/GlobalSuppressions.cs +1 -0
  181. package/lib/init-templates/app/csharp/src/%name.PascalCased%/Program.template.cs +44 -0
  182. package/lib/init-templates/app/csharp/src/%name.PascalCased%.template.sln +18 -0
  183. package/lib/init-templates/app/fsharp/.template.gitignore +342 -0
  184. package/lib/init-templates/app/fsharp/README.md +18 -0
  185. package/lib/init-templates/app/fsharp/cdk.template.json +14 -0
  186. package/lib/init-templates/app/fsharp/src/%name.PascalCased%/%name.PascalCased%.template.fsproj +25 -0
  187. package/lib/init-templates/app/fsharp/src/%name.PascalCased%/%name.PascalCased%Stack.template.fs +8 -0
  188. package/lib/init-templates/app/fsharp/src/%name.PascalCased%/Program.template.fs +11 -0
  189. package/lib/init-templates/app/fsharp/src/%name.PascalCased%.template.sln +18 -0
  190. package/lib/init-templates/app/go/%name%.template.go +70 -0
  191. package/lib/init-templates/app/go/%name%_test.template.go +26 -0
  192. package/lib/init-templates/app/go/.template.gitignore +19 -0
  193. package/lib/init-templates/app/go/README.md +12 -0
  194. package/lib/init-templates/app/go/cdk.template.json +13 -0
  195. package/lib/init-templates/app/go/go.template.mod +9 -0
  196. package/lib/init-templates/app/info.json +4 -0
  197. package/lib/init-templates/app/java/.template.gitignore +13 -0
  198. package/lib/init-templates/app/java/README.md +18 -0
  199. package/lib/init-templates/app/java/cdk.json +13 -0
  200. package/lib/init-templates/app/java/pom.xml +60 -0
  201. package/lib/init-templates/app/java/src/main/java/com/myorg/%name.PascalCased%App.template.java +42 -0
  202. package/lib/init-templates/app/java/src/main/java/com/myorg/%name.PascalCased%Stack.template.java +24 -0
  203. package/lib/init-templates/app/java/src/test/java/com/myorg/%name.PascalCased%Test.template.java +26 -0
  204. package/lib/init-templates/app/javascript/.template.gitignore +5 -0
  205. package/lib/init-templates/app/javascript/.template.npmignore +3 -0
  206. package/lib/init-templates/app/javascript/README.md +12 -0
  207. package/lib/init-templates/app/javascript/bin/%name%.template.js +21 -0
  208. package/lib/init-templates/app/javascript/cdk.template.json +15 -0
  209. package/lib/init-templates/app/javascript/jest.config.js +4 -0
  210. package/lib/init-templates/app/javascript/lib/%name%-stack.template.js +23 -0
  211. package/lib/init-templates/app/javascript/package.json +20 -0
  212. package/lib/init-templates/app/javascript/test/%name%.test.template.js +17 -0
  213. package/lib/init-templates/app/python/%name.PythonModule%/%name.PythonModule%_stack.template.py +19 -0
  214. package/lib/init-templates/app/python/%name.PythonModule%/__init__.py +0 -0
  215. package/lib/init-templates/app/python/.template.gitignore +10 -0
  216. package/lib/init-templates/app/python/README.template.md +58 -0
  217. package/lib/init-templates/app/python/app.template.py +28 -0
  218. package/lib/init-templates/app/python/cdk.template.json +15 -0
  219. package/lib/init-templates/app/python/requirements-dev.txt +1 -0
  220. package/lib/init-templates/app/python/requirements.txt +2 -0
  221. package/lib/init-templates/app/python/source.bat +13 -0
  222. package/lib/init-templates/app/python/tests/__init__.py +0 -0
  223. package/lib/init-templates/app/python/tests/unit/__init__.py +0 -0
  224. package/lib/init-templates/app/python/tests/unit/test_%name.PythonModule%_stack.template.py +15 -0
  225. package/lib/init-templates/app/typescript/.template.gitignore +8 -0
  226. package/lib/init-templates/app/typescript/.template.npmignore +6 -0
  227. package/lib/init-templates/app/typescript/README.md +14 -0
  228. package/lib/init-templates/app/typescript/bin/%name%.template.ts +20 -0
  229. package/lib/init-templates/app/typescript/cdk.template.json +17 -0
  230. package/lib/init-templates/app/typescript/jest.config.js +9 -0
  231. package/lib/init-templates/app/typescript/lib/%name%-stack.template.ts +16 -0
  232. package/lib/init-templates/app/typescript/package.json +26 -0
  233. package/lib/init-templates/app/typescript/test/%name%.test.template.ts +17 -0
  234. package/lib/init-templates/app/typescript/tsconfig.json +32 -0
  235. package/lib/init-templates/lib/info.json +4 -0
  236. package/lib/init-templates/lib/typescript/.template.gitignore +8 -0
  237. package/lib/init-templates/lib/typescript/.template.npmignore +6 -0
  238. package/lib/init-templates/lib/typescript/README.template.md +12 -0
  239. package/lib/init-templates/lib/typescript/jest.config.js +9 -0
  240. package/lib/init-templates/lib/typescript/lib/index.template.ts +21 -0
  241. package/lib/init-templates/lib/typescript/package.json +24 -0
  242. package/lib/init-templates/lib/typescript/test/%name%.test.template.ts +18 -0
  243. package/lib/init-templates/lib/typescript/tsconfig.json +32 -0
  244. package/lib/init-templates/sample-app/csharp/.template.gitignore +342 -0
  245. package/lib/init-templates/sample-app/csharp/README.template.md +19 -0
  246. package/lib/init-templates/sample-app/csharp/cdk.template.json +15 -0
  247. package/lib/init-templates/sample-app/csharp/src/%name.PascalCased%/%name.PascalCased%.template.csproj +20 -0
  248. package/lib/init-templates/sample-app/csharp/src/%name.PascalCased%/%name.PascalCased%Stack.template.cs +24 -0
  249. package/lib/init-templates/sample-app/csharp/src/%name.PascalCased%/GlobalSuppressions.cs +1 -0
  250. package/lib/init-templates/sample-app/csharp/src/%name.PascalCased%/Program.template.cs +15 -0
  251. package/lib/init-templates/sample-app/csharp/src/%name.PascalCased%.template.sln +18 -0
  252. package/lib/init-templates/sample-app/fsharp/.template.gitignore +342 -0
  253. package/lib/init-templates/sample-app/fsharp/README.template.md +20 -0
  254. package/lib/init-templates/sample-app/fsharp/cdk.template.json +14 -0
  255. package/lib/init-templates/sample-app/fsharp/src/%name.PascalCased%/%name.PascalCased%.template.fsproj +25 -0
  256. package/lib/init-templates/sample-app/fsharp/src/%name.PascalCased%/%name.PascalCased%Stack.template.fs +14 -0
  257. package/lib/init-templates/sample-app/fsharp/src/%name.PascalCased%/Program.template.fs +11 -0
  258. package/lib/init-templates/sample-app/fsharp/src/%name.PascalCased%.template.sln +18 -0
  259. package/lib/init-templates/sample-app/go/%name%.template.go +73 -0
  260. package/lib/init-templates/sample-app/go/%name%_test.template.go +25 -0
  261. package/lib/init-templates/sample-app/go/.template.gitignore +19 -0
  262. package/lib/init-templates/sample-app/go/README.md +12 -0
  263. package/lib/init-templates/sample-app/go/cdk.template.json +13 -0
  264. package/lib/init-templates/sample-app/go/go.template.mod +9 -0
  265. package/lib/init-templates/sample-app/info.json +4 -0
  266. package/lib/init-templates/sample-app/java/.template.gitignore +13 -0
  267. package/lib/init-templates/sample-app/java/README.template.md +19 -0
  268. package/lib/init-templates/sample-app/java/cdk.json +13 -0
  269. package/lib/init-templates/sample-app/java/pom.xml +55 -0
  270. package/lib/init-templates/sample-app/java/src/main/java/com/myorg/%name.PascalCased%App.template.java +13 -0
  271. package/lib/init-templates/sample-app/java/src/main/java/com/myorg/%name.PascalCased%Stack.template.java +29 -0
  272. package/lib/init-templates/sample-app/java/src/test/java/com/myorg/%name.PascalCased%StackTest.template.java +27 -0
  273. package/lib/init-templates/sample-app/javascript/.template.gitignore +5 -0
  274. package/lib/init-templates/sample-app/javascript/.template.npmignore +3 -0
  275. package/lib/init-templates/sample-app/javascript/README.template.md +13 -0
  276. package/lib/init-templates/sample-app/javascript/bin/%name%.template.js +6 -0
  277. package/lib/init-templates/sample-app/javascript/cdk.template.json +15 -0
  278. package/lib/init-templates/sample-app/javascript/jest.config.js +4 -0
  279. package/lib/init-templates/sample-app/javascript/lib/%name%-stack.template.js +25 -0
  280. package/lib/init-templates/sample-app/javascript/package.json +20 -0
  281. package/lib/init-templates/sample-app/javascript/test/%name%.test.template.js +16 -0
  282. package/lib/init-templates/sample-app/javascript/tsconfig.json +34 -0
  283. package/lib/init-templates/sample-app/python/%name.PythonModule%/%name.PythonModule%_stack.template.py +26 -0
  284. package/lib/init-templates/sample-app/python/%name.PythonModule%/__init__.py +0 -0
  285. package/lib/init-templates/sample-app/python/.template.gitignore +22 -0
  286. package/lib/init-templates/sample-app/python/README.template.md +65 -0
  287. package/lib/init-templates/sample-app/python/app.template.py +11 -0
  288. package/lib/init-templates/sample-app/python/cdk.template.json +15 -0
  289. package/lib/init-templates/sample-app/python/requirements-dev.txt +1 -0
  290. package/lib/init-templates/sample-app/python/requirements.txt +2 -0
  291. package/lib/init-templates/sample-app/python/source.bat +13 -0
  292. package/lib/init-templates/sample-app/python/tests/__init__.py +0 -0
  293. package/lib/init-templates/sample-app/python/tests/unit/__init__.py +0 -0
  294. package/lib/init-templates/sample-app/python/tests/unit/test_%name.PythonModule%_stack.template.py +21 -0
  295. package/lib/init-templates/sample-app/typescript/.template.gitignore +8 -0
  296. package/lib/init-templates/sample-app/typescript/.template.npmignore +6 -0
  297. package/lib/init-templates/sample-app/typescript/README.template.md +15 -0
  298. package/lib/init-templates/sample-app/typescript/bin/%name%.template.ts +6 -0
  299. package/lib/init-templates/sample-app/typescript/cdk.template.json +17 -0
  300. package/lib/init-templates/sample-app/typescript/jest.config.js +9 -0
  301. package/lib/init-templates/sample-app/typescript/lib/%name%-stack.template.ts +19 -0
  302. package/lib/init-templates/sample-app/typescript/package.json +26 -0
  303. package/lib/init-templates/sample-app/typescript/test/%name%.test.template.ts +17 -0
  304. package/lib/init-templates/sample-app/typescript/tsconfig.json +32 -0
  305. package/lib/util.d.ts +1 -0
  306. package/lib/util.js +19 -0
  307. package/package.json +170 -0
  308. package/release.txt +2 -0
package/bin/cdk ADDED
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env node
2
+ // source maps must be enabled before importing files
3
+ process.setSourceMapsEnabled(true);
4
+ const { cli } = require("../lib");
5
+
6
+ cli();
@@ -0,0 +1,4 @@
1
+ {
2
+ "comment": "Generated at 2026-04-03T15:34:16Z by generate.sh",
3
+ "commit": "1fe7075"
4
+ }
package/changes.json ADDED
@@ -0,0 +1,5 @@
1
+ {
2
+ "bumped": {},
3
+ "timestamp": "2026-04-05T00:42:09.977Z",
4
+ "totalUpdated": 0
5
+ }
package/db.json.gz ADDED
Binary file
@@ -0,0 +1,194 @@
1
+ # Deploy Command Technical Architecture
2
+
3
+ This document provides technical implementation details for contributors debugging or modifying the `cdk deploy` command. It shows the exact function calls and file locations in the execution path.
4
+
5
+ For a high-level conceptual overview of the deploy process, see the [README](../README.md#deploy-flowchart).
6
+
7
+ ## Technical Flowchart
8
+
9
+ ```mermaid
10
+ graph TD
11
+ %% CLI Entry Point
12
+ n1["cdk deploy<br/>(User Command)"]
13
+ n2["cli.ts: exec()"]
14
+ n3["cli.ts: main()"]
15
+
16
+ %% Deploy Method
17
+ n4["cdk-toolkit.ts: CdkToolkit.deploy()"]
18
+ n5["cdk-toolkit.ts: selectStacksForDeploy()"]
19
+ n6["Check if synthesis needed"]
20
+
21
+ %% Synthesis Process
22
+ n7["cloud-executable.ts: doSynthesize()"]
23
+ n29{"Context missing?"}
24
+ n34["cloud-executable.ts: synthesizer()"]
25
+ n9["cli.ts: execProgram()"]
26
+ n10["childProcess.spawn()<br/>(Run CDK App)"]
27
+ n11["CDK App Process Started"]
28
+ n35["CDK App: app.synth()"]
29
+ n36["@aws-cdk/core: synthesize()<br/>Generate CloudFormation JSON"]
30
+ n12["Write templates to cdk.out/"]
31
+ n13["Return CloudAssembly object"]
32
+
33
+ %% Stack Selection
34
+ n14["cloud-assembly.ts:<br/>assembly.selectStacks()"]
35
+ n15["cloud-assembly.ts:<br/>validateStacks()"]
36
+ n16["Return StackCollection"]
37
+
38
+ %% Asset Processing
39
+ n17["cdk-toolkit.ts:<br/>ResourceMigrator.tryMigrateResources()"]
40
+ n18["work-graph.ts:<br/>WorkGraphBuilder.build()"]
41
+ n37["work-graph.ts:<br/>analyzeDeploymentOrder()"]
42
+ n19["work-graph.ts:<br/>workGraph.doParallel()"]
43
+
44
+ %% Parallel Execution Nodes
45
+ n20["asset-build.ts: buildAsset()<br/>(Sequential: concurrency=1)"]
46
+ n21["asset-publishing.ts: publishAsset()<br/>(Parallel: concurrency=8)"]
47
+ n44["deploy-stack.ts: deployStack()<br/>(Parallel: configurable)"]
48
+ n45["await Promise.all()<br/>Wait for dependencies"]
49
+
50
+ %% Deployment Process
51
+ n22["cdk-toolkit.ts: deployStack()"]
52
+ n23["deploy-stack.ts:<br/>CloudFormationStack.lookup()"]
53
+ n24["deploy-stack.ts:<br/>makeBodyParameter()"]
54
+ n25["deploy-stack.ts:<br/>publishAssets()"]
55
+ n38["deploy-stack.ts:<br/>requireApproval()"]
56
+
57
+ %% Hotswap Decision
58
+ n30{"--hotswap flag set?"}
59
+ n31["hotswap-deployments.ts:<br/>tryHotswapDeployment()"]
60
+
61
+ %% Standard CloudFormation Deployment
62
+ n26["deploy-stack.ts:<br/>FullCloudFormationDeployment.performDeployment()"]
63
+ n27["AWS SDK: CloudFormation<br/>createChangeSet() OR<br/>updateStack()"]
64
+ n28["CloudFormation Service"]
65
+ n32["deploy-stack.ts:<br/>StackActivityMonitor.start()"]
66
+ n33["deploy-stack.ts:<br/>waitForStackDeploy()"]
67
+
68
+ %% Completion
69
+ n39["deploy-stack.ts:<br/>getStackOutputs()"]
70
+ n40["cdk-toolkit.ts:<br/>printStackOutputs()"]
71
+
72
+ %% Main Flow Connections
73
+ n1 --> n2
74
+ n2 --> n3
75
+ n3 --> n4
76
+ n4 --> n5
77
+ n5 --> n6
78
+ n6 --> n7
79
+ n7 --> n29
80
+ n29 -->|"Yes"| n34
81
+ n34 --> n9
82
+ n9 --> n10
83
+ n10 --> n11
84
+ n11 --> n35
85
+ n35 --> n36
86
+ n36 --> n12
87
+ n12 --> n13
88
+ n13 -->|"Loop if context missing"| n29
89
+ n29 -->|"No"| n14
90
+ n14 --> n15
91
+ n15 --> n16
92
+ n16 --> n17
93
+ n17 --> n18
94
+ n18 --> n37
95
+ n37 --> n19
96
+
97
+ %% Parallel execution from workGraph.doParallel()
98
+ n19 -.->|"Parallel"| n20
99
+ n19 -.->|"Parallel"| n21
100
+ n19 -.->|"Parallel"| n44
101
+
102
+ %% Dependency relationships
103
+ n20 --> n45
104
+ n21 --> n45
105
+ n44 --> n45
106
+ n45 --> n22
107
+ n22 --> n23
108
+ n23 --> n24
109
+ n24 --> n25
110
+ n25 --> n38
111
+ n38 --> n30
112
+ n30 -->|"Yes"| n31
113
+ n30 -->|"No"| n26
114
+ n31 --> n39
115
+ n26 --> n27
116
+ n27 --> n28
117
+ n28 --> n32
118
+ n32 --> n33
119
+ n33 --> n39
120
+ n39 --> n40
121
+
122
+ %% Simplified Color Scheme - Only 3 colors
123
+ %% External Systems (Light Red)
124
+ style n1 fill:#ffebee,stroke:#c62828,stroke-width:2px
125
+ style n28 fill:#ffebee,stroke:#c62828,stroke-width:2px
126
+
127
+ %% CDK App Process (Light Green)
128
+ style n10 fill:#e8f5e9,stroke:#2e7d32,stroke-width:2px
129
+ style n11 fill:#e8f5e9,stroke:#2e7d32,stroke-width:2px
130
+ style n35 fill:#e8f5e9,stroke:#2e7d32,stroke-width:2px
131
+ style n36 fill:#e8f5e9,stroke:#2e7d32,stroke-width:2px
132
+ style n12 fill:#e8f5e9,stroke:#2e7d32,stroke-width:2px
133
+
134
+ %% Decision Points (Light Yellow)
135
+ style n29 fill:#fff9c4,stroke:#f57f17,stroke-width:2px
136
+ style n30 fill:#fff9c4,stroke:#f57f17,stroke-width:2px
137
+ style n38 fill:#fff9c4,stroke:#f57f17,stroke-width:2px
138
+ style n45 fill:#fff9c4,stroke:#f57f17,stroke-width:2px
139
+
140
+ %% Everything else - CDK CLI Code (Light Blue)
141
+ style n2 fill:#e1f5fe,stroke:#0277bd,stroke-width:2px
142
+ style n3 fill:#e1f5fe,stroke:#0277bd,stroke-width:2px
143
+ style n4 fill:#e1f5fe,stroke:#0277bd,stroke-width:2px
144
+ style n5 fill:#e1f5fe,stroke:#0277bd,stroke-width:2px
145
+ style n6 fill:#e1f5fe,stroke:#0277bd,stroke-width:2px
146
+ style n7 fill:#e1f5fe,stroke:#0277bd,stroke-width:2px
147
+ style n9 fill:#e1f5fe,stroke:#0277bd,stroke-width:2px
148
+ style n13 fill:#e1f5fe,stroke:#0277bd,stroke-width:2px
149
+ style n14 fill:#e1f5fe,stroke:#0277bd,stroke-width:2px
150
+ style n15 fill:#e1f5fe,stroke:#0277bd,stroke-width:2px
151
+ style n16 fill:#e1f5fe,stroke:#0277bd,stroke-width:2px
152
+ style n17 fill:#e1f5fe,stroke:#0277bd,stroke-width:2px
153
+ style n18 fill:#e1f5fe,stroke:#0277bd,stroke-width:2px
154
+ style n19 fill:#e1f5fe,stroke:#0277bd,stroke-width:3px
155
+ style n20 fill:#e1f5fe,stroke:#0277bd,stroke-width:2px
156
+ style n21 fill:#e1f5fe,stroke:#0277bd,stroke-width:2px
157
+ style n22 fill:#e1f5fe,stroke:#0277bd,stroke-width:2px
158
+ style n23 fill:#e1f5fe,stroke:#0277bd,stroke-width:2px
159
+ style n24 fill:#e1f5fe,stroke:#0277bd,stroke-width:2px
160
+ style n25 fill:#e1f5fe,stroke:#0277bd,stroke-width:2px
161
+ style n26 fill:#e1f5fe,stroke:#0277bd,stroke-width:2px
162
+ style n27 fill:#e1f5fe,stroke:#0277bd,stroke-width:2px
163
+ style n31 fill:#e1f5fe,stroke:#0277bd,stroke-width:2px
164
+ style n32 fill:#e1f5fe,stroke:#0277bd,stroke-width:2px
165
+ style n33 fill:#e1f5fe,stroke:#0277bd,stroke-width:2px
166
+ style n34 fill:#e1f5fe,stroke:#0277bd,stroke-width:2px
167
+ style n37 fill:#e1f5fe,stroke:#0277bd,stroke-width:2px
168
+ style n39 fill:#e1f5fe,stroke:#0277bd,stroke-width:2px
169
+ style n40 fill:#e1f5fe,stroke:#0277bd,stroke-width:2px
170
+ style n44 fill:#e1f5fe,stroke:#0277bd,stroke-width:2px
171
+
172
+ ```
173
+
174
+ ## Legend (Node Categories)
175
+
176
+ ```mermaid
177
+ graph LR
178
+ L1["External Systems"]~~~L2["CDK App Process"]~~~L3["CDK CLI Code"]~~~L4["Decision Points"]
179
+
180
+ style L1 fill:#ffebee,stroke:#c62828,stroke-width:2px
181
+ style L2 fill:#e8f5e9,stroke:#2e7d32,stroke-width:2px
182
+ style L3 fill:#e1f5fe,stroke:#0277bd,stroke-width:2px
183
+ style L4 fill:#fff9c4,stroke:#f57f17,stroke-width:2px
184
+ ```
185
+
186
+ ## Parallel Execution Model
187
+
188
+ The deploy process uses a sophisticated work graph (`workGraph.doParallel()` in `work-graph.ts`) to manage parallel execution:
189
+
190
+ - **Asset Building** (concurrency: 1): Compiles Docker images, Lambda code, etc. sequentially to avoid overwhelming system resources
191
+ - **Asset Publishing** (concurrency: 8): Uploads assets to S3/ECR in parallel for faster deployment
192
+ - **Stack Deployment** (configurable): Deploys multiple stacks in parallel while respecting dependencies
193
+
194
+ The dotted lines indicate parallel execution paths from the work graph orchestrator. All operations respect dependency relationships before proceeding (node n45 represents the synchronization point).
@@ -0,0 +1,3 @@
1
+ export * from '../../../@aws-cdk/toolkit-lib/lib/api/aws-auth';
2
+ export * from '../../../@aws-cdk/toolkit-lib/lib/api/aws-auth/private';
3
+ export * from '../../../@aws-cdk/toolkit-lib/lib/api/aws-auth/awscli-compatible';
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ /* eslint-disable import/no-relative-packages */
18
+ __exportStar(require("../../../@aws-cdk/toolkit-lib/lib/api/aws-auth"), exports);
19
+ __exportStar(require("../../../@aws-cdk/toolkit-lib/lib/api/aws-auth/private"), exports);
20
+ __exportStar(require("../../../@aws-cdk/toolkit-lib/lib/api/aws-auth/awscli-compatible"), exports);
21
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXdzLWF1dGguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJhd3MtYXV0aC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7O0FBQUEsZ0RBQWdEO0FBQ2hELGlGQUErRDtBQUMvRCx5RkFBdUU7QUFDdkUsbUdBQWlGIiwic291cmNlc0NvbnRlbnQiOlsiLyogZXNsaW50LWRpc2FibGUgaW1wb3J0L25vLXJlbGF0aXZlLXBhY2thZ2VzICovXG5leHBvcnQgKiBmcm9tICcuLi8uLi8uLi9AYXdzLWNkay90b29sa2l0LWxpYi9saWIvYXBpL2F3cy1hdXRoJztcbmV4cG9ydCAqIGZyb20gJy4uLy4uLy4uL0Bhd3MtY2RrL3Rvb2xraXQtbGliL2xpYi9hcGkvYXdzLWF1dGgvcHJpdmF0ZSc7XG5leHBvcnQgKiBmcm9tICcuLi8uLi8uLi9AYXdzLWNkay90b29sa2l0LWxpYi9saWIvYXBpL2F3cy1hdXRoL2F3c2NsaS1jb21wYXRpYmxlJztcblxuIl19