AWS Security ChangesHomeSearch

AWS cdk documentation change

Service: cdk · 2026-03-25 · Documentation low

File: cdk/v2/guide/ref-cli-cmd-destroy.md

Summary

Added documentation for the --concurrency option in cdk destroy command to allow parallel stack destruction with dependency awareness

Security assessment

This change adds a performance optimization feature for stack destruction operations. While it mentions AWS rate limiting considerations, there is no evidence of addressing a specific security vulnerability, weakness, or incident. The change is purely about operational efficiency.

Diff

diff --git a/cdk/v2/guide/ref-cli-cmd-destroy.md b/cdk/v2/guide/ref-cli-cmd-destroy.md
index 947236964..9074ea214 100644
--- a//cdk/v2/guide/ref-cli-cmd-destroy.md
+++ b//cdk/v2/guide/ref-cli-cmd-destroy.md
@@ -43,0 +44,9 @@ _Default value_ : `false`
+`--concurrency <NUMBER>`
+    
+
+Destroy multiple stacks in parallel while accounting for inter-stack dependencies. Use this option to speed up destroy operations. You must still factor in AWS CloudFormation and other AWS account rate limiting.
+
+Provide a number to specify the maximum number of simultaneous destroy operations (dependency permitting) to perform.
+
+_Default value_ : `1`
+
@@ -65,0 +75,7 @@ Show command reference information for the `cdk destroy` command.
+### Delete multiple stacks in parallel
+
+Use the `--concurrency` option with `--all` to delete all stacks in parallel:
+    
+    
+    $ cdk destroy --all --concurrency 5
+