aws-cdk 2.1140.0 → 2.1141.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.
package/README.md CHANGED
@@ -291,7 +291,43 @@ You can have multiple stacks in a cdk app. An example can be found in [how to cr
291
291
 
292
292
  In order to deploy them, you can list the stacks you want to deploy. If your application contains pipeline stacks, the `cdk list` command will show stack names as paths, showing where they are in the pipeline hierarchy (e.g., `PipelineStack`, `PipelineStack/Prod`, `PipelineStack/Prod/MyService` etc).
293
293
 
294
- If you want to deploy all of them, you can use the flag `--all` or the wildcard `*` to deploy all stacks in an app. Please note that, if you have a hierarchy of stacks as described above, `--all` and `*` will only match the stacks on the top level. If you want to match all the stacks in the hierarchy, use `**`. You can also combine these patterns. For example, if you want to deploy all stacks in the `Prod` stage, you can use `cdk deploy PipelineStack/Prod/**`.
294
+ To deploy every stack in the app, use the `--all` flag or the wildcard `*`.
295
+ If your app has stacks inside stages, keep in mind how far each wildcard reaches:
296
+
297
+ - `*` matches one level, so it only picks up top-level stacks (same as `--all`)
298
+ - `**` matches any number of levels, so it picks up stacks at every depth
299
+
300
+ You can also combine these patterns.
301
+ For example, to deploy everything inside the `Prod` stage of a pipeline:
302
+
303
+ ```console
304
+ cdk deploy 'PipelineStack/Prod/**'
305
+ ```
306
+
307
+ ##### Excluding stacks
308
+
309
+ Put a `!` in front of a pattern to leave those stacks out.
310
+ Wrap the pattern in quotes so your shell leaves the `!` alone.
311
+
312
+ Every stack except `NlbStack`:
313
+
314
+ ```
315
+ cdk deploy '!NlbStack'
316
+ ```
317
+
318
+ Everything under `Prod`, except the canary:
319
+
320
+ ```
321
+ cdk deploy 'PipelineStack/Prod/**' '!PipelineStack/Prod/Canary'
322
+ ```
323
+
324
+ CDK picks the stacks your normal patterns match, then drops the ones your `!` patterns match.
325
+ If you only pass `!` patterns, they apply to every stack in the app.
326
+ `--all` doesn't work together with patterns, so use `**` instead.
327
+ An excluded stack still deploys if a selected stack needs it — add `--exclusively` (`-e`) to skip dependencies.
328
+ And `!(...)` is shell syntax, not a CDK exclusion.
329
+
330
+ ##### Deploying stacks in parallel
295
331
 
296
332
  `--concurrency N` allows deploying multiple stacks in parallel while respecting inter-stack dependencies to speed up deployments. It does not protect against CloudFormation and other AWS account rate limiting.
297
333
 
@@ -5155,7 +5155,7 @@ Apache License
5155
5155
 
5156
5156
  ----------------
5157
5157
 
5158
- ** @aws-sdk/credential-provider-node@3.972.81 - https://www.npmjs.com/package/@aws-sdk/credential-provider-node/v/3.972.81 | Apache-2.0
5158
+ ** @aws-sdk/credential-provider-node@3.972.82 - https://www.npmjs.com/package/@aws-sdk/credential-provider-node/v/3.972.82 | Apache-2.0
5159
5159
  Apache License
5160
5160
  Version 2.0, January 2004
5161
5161
  http://www.apache.org/licenses/
@@ -5975,7 +5975,7 @@ Apache License
5975
5975
 
5976
5976
  ----------------
5977
5977
 
5978
- ** @aws-sdk/credential-providers@3.1120.0 - https://www.npmjs.com/package/@aws-sdk/credential-providers/v/3.1120.0 | Apache-2.0
5978
+ ** @aws-sdk/credential-providers@3.1126.0 - https://www.npmjs.com/package/@aws-sdk/credential-providers/v/3.1126.0 | Apache-2.0
5979
5979
  Apache License
5980
5980
  Version 2.0, January 2004
5981
5981
  http://www.apache.org/licenses/
@@ -10936,7 +10936,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
10936
10936
 
10937
10937
  ----------------
10938
10938
 
10939
- ** cdk-from-cfn@0.327.0 - https://www.npmjs.com/package/cdk-from-cfn/v/0.327.0 | MIT OR Apache-2.0
10939
+ ** cdk-from-cfn@0.329.0 - https://www.npmjs.com/package/cdk-from-cfn/v/0.329.0 | MIT OR Apache-2.0
10940
10940
 
10941
10941
  ----------------
10942
10942
 
package/build-info.json CHANGED
@@ -1,4 +1,4 @@
1
1
  {
2
- "comment": "Generated at 2026-09-04T14:28:35Z by generate.sh",
3
- "commit": "5b77563"
2
+ "comment": "Generated at 2026-09-09T14:09:44Z by generate.sh",
3
+ "commit": "c07d251"
4
4
  }
package/db.json.gz CHANGED
Binary file
@@ -1,5 +1,5 @@
1
1
  import { RequireApproval } from '@aws-cdk/cloud-assembly-schema';
2
- import type { DeploymentMethod, DiagnoseOptions, PublishAssetsOptions, StackSelector, ToolkitOptions, ValidateOptions } from '@aws-cdk/toolkit-lib';
2
+ import type { DeploymentMethod, DiagnoseOptions, PublishAssetsOptions, StackSelector, SynthOptions as ToolkitSynthOptions, ToolkitOptions, ValidateOptions } from '@aws-cdk/toolkit-lib';
3
3
  import { Toolkit } from '@aws-cdk/toolkit-lib';
4
4
  import { CliIoHost } from './io-host';
5
5
  import type { Configuration } from './user-configuration';
@@ -152,6 +152,14 @@ export declare class CdkToolkit {
152
152
  * should be supplied, where the templates will be written.
153
153
  */
154
154
  synth(options: SynthOptions): Promise<any>;
155
+ /**
156
+ * Continuously synthesize the project, re-synthesizing on every file change.
157
+ * Never deploys, and never prints templates to stdout.
158
+ *
159
+ * The files to observe are configured with the "watch" key of `cdk.json`,
160
+ * exactly like `cdk deploy --watch`.
161
+ */
162
+ synthWatch(options: ToolkitSynthOptions): Promise<void>;
155
163
  /**
156
164
  * Bootstrap the CDK Toolkit stack in the accounts used by the specified stack(s).
157
165
  *