aws-cdk 2.1137.0 → 2.1138.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 +13 -0
- package/THIRD_PARTY_LICENSES +18 -18
- package/build-info.json +2 -2
- package/db.json.gz +0 -0
- package/lib/cli/cdk-toolkit.d.ts +12 -0
- package/lib/cli/cdk-toolkit.js +29 -7
- package/lib/cli/cli-config.js +4 -3
- package/lib/cli/cli-type-registry.json +8 -2
- package/lib/cli/cli.js +3 -1
- package/lib/cli/convert-to-user-input.js +3 -1
- package/lib/cli/io-host/cli-io-host.js +5 -3
- package/lib/cli/parse-command-line-arguments.js +9 -3
- package/lib/cli/proxy-agent.d.ts +9 -0
- package/lib/cli/proxy-agent.js +30 -1
- package/lib/cli/user-configuration.d.ts +6 -0
- package/lib/cli/user-configuration.js +13 -1
- package/lib/cli/user-input.d.ts +6 -0
- package/lib/cli/user-input.js +1 -1
- package/lib/commands/context.d.ts +7 -0
- package/lib/commands/context.js +9 -4
- package/lib/commands/deploy.d.ts +8 -1
- package/lib/commands/deploy.js +8 -1
- package/lib/commands/flags/operations.d.ts +2 -0
- package/lib/commands/flags/operations.js +18 -8
- package/lib/index.js +774 -525
- package/lib/index_bg.wasm +0 -0
- package/package.json +12 -12
package/README.md
CHANGED
|
@@ -406,6 +406,15 @@ Set the `--progress` flag to request the complete history which includes all Clo
|
|
|
406
406
|
$ cdk deploy --progress events
|
|
407
407
|
```
|
|
408
408
|
|
|
409
|
+
Set the `--progress` flag to `errors-only` to print nothing during the deployment, except errors:
|
|
410
|
+
|
|
411
|
+
```console
|
|
412
|
+
$ cdk deploy --progress errors-only
|
|
413
|
+
```
|
|
414
|
+
|
|
415
|
+
The `errors-only` mode is recommended for AI agents and other automated consumers, where progress
|
|
416
|
+
updates are not useful and consume tokens.
|
|
417
|
+
|
|
409
418
|
Alternatively, the `progress` key can be specified in the project config (`cdk.json`).
|
|
410
419
|
|
|
411
420
|
The following shows a sample `cdk.json` where the `progress` key is set to *events*.
|
|
@@ -849,6 +858,10 @@ To import an existing resource to a CDK stack, follow the following steps:
|
|
|
849
858
|
5. When `cdk import` reports success, the resource is managed by CDK. Any subsequent
|
|
850
859
|
changes in the construct configuration will be reflected on the resource.
|
|
851
860
|
|
|
861
|
+
Use `--notification-arns` to specify ARNs of SNS topics that CloudFormation will
|
|
862
|
+
notify with stack related events during the import. These are added to ARNs
|
|
863
|
+
specified with the `notificationArns` stack property.
|
|
864
|
+
|
|
852
865
|
NOTE: You can also import existing resources by passing `--import-existing-resources` to `cdk deploy`.
|
|
853
866
|
This parameter only works for resources that support custom physical names,
|
|
854
867
|
such as S3 Buckets, DynamoDB Tables, etc...
|
package/THIRD_PARTY_LICENSES
CHANGED
|
@@ -4326,7 +4326,7 @@ The aws-cdk package includes the following third-party software/licensing:
|
|
|
4326
4326
|
|
|
4327
4327
|
----------------
|
|
4328
4328
|
|
|
4329
|
-
** @aws-sdk/core@3.977.
|
|
4329
|
+
** @aws-sdk/core@3.977.8 - https://www.npmjs.com/package/@aws-sdk/core/v/3.977.8 | Apache-2.0
|
|
4330
4330
|
Apache License
|
|
4331
4331
|
Version 2.0, January 2004
|
|
4332
4332
|
http://www.apache.org/licenses/
|
|
@@ -4531,7 +4531,7 @@ Apache License
|
|
|
4531
4531
|
|
|
4532
4532
|
----------------
|
|
4533
4533
|
|
|
4534
|
-
** @aws-sdk/credential-provider-cognito-identity@3.972.
|
|
4534
|
+
** @aws-sdk/credential-provider-cognito-identity@3.972.68 - https://www.npmjs.com/package/@aws-sdk/credential-provider-cognito-identity/v/3.972.68 | Apache-2.0
|
|
4535
4535
|
Apache License
|
|
4536
4536
|
Version 2.0, January 2004
|
|
4537
4537
|
http://www.apache.org/licenses/
|
|
@@ -4737,7 +4737,7 @@ Apache License
|
|
|
4737
4737
|
|
|
4738
4738
|
----------------
|
|
4739
4739
|
|
|
4740
|
-
** @aws-sdk/credential-provider-env@3.972.
|
|
4740
|
+
** @aws-sdk/credential-provider-env@3.972.69 - https://www.npmjs.com/package/@aws-sdk/credential-provider-env/v/3.972.69 | Apache-2.0
|
|
4741
4741
|
Apache License
|
|
4742
4742
|
Version 2.0, January 2004
|
|
4743
4743
|
http://www.apache.org/licenses/
|
|
@@ -4942,11 +4942,11 @@ Apache License
|
|
|
4942
4942
|
|
|
4943
4943
|
----------------
|
|
4944
4944
|
|
|
4945
|
-
** @aws-sdk/credential-provider-http@3.972.
|
|
4945
|
+
** @aws-sdk/credential-provider-http@3.972.71 - https://www.npmjs.com/package/@aws-sdk/credential-provider-http/v/3.972.71 | Apache-2.0
|
|
4946
4946
|
|
|
4947
4947
|
----------------
|
|
4948
4948
|
|
|
4949
|
-
** @aws-sdk/credential-provider-ini@3.973.
|
|
4949
|
+
** @aws-sdk/credential-provider-ini@3.973.14 - https://www.npmjs.com/package/@aws-sdk/credential-provider-ini/v/3.973.14 | Apache-2.0
|
|
4950
4950
|
Apache License
|
|
4951
4951
|
Version 2.0, January 2004
|
|
4952
4952
|
http://www.apache.org/licenses/
|
|
@@ -5151,11 +5151,11 @@ Apache License
|
|
|
5151
5151
|
|
|
5152
5152
|
----------------
|
|
5153
5153
|
|
|
5154
|
-
** @aws-sdk/credential-provider-login@3.972.
|
|
5154
|
+
** @aws-sdk/credential-provider-login@3.972.76 - https://www.npmjs.com/package/@aws-sdk/credential-provider-login/v/3.972.76 | Apache-2.0
|
|
5155
5155
|
|
|
5156
5156
|
----------------
|
|
5157
5157
|
|
|
5158
|
-
** @aws-sdk/credential-provider-node@3.972.
|
|
5158
|
+
** @aws-sdk/credential-provider-node@3.972.80 - https://www.npmjs.com/package/@aws-sdk/credential-provider-node/v/3.972.80 | Apache-2.0
|
|
5159
5159
|
Apache License
|
|
5160
5160
|
Version 2.0, January 2004
|
|
5161
5161
|
http://www.apache.org/licenses/
|
|
@@ -5360,7 +5360,7 @@ Apache License
|
|
|
5360
5360
|
|
|
5361
5361
|
----------------
|
|
5362
5362
|
|
|
5363
|
-
** @aws-sdk/credential-provider-process@3.972.
|
|
5363
|
+
** @aws-sdk/credential-provider-process@3.972.69 - https://www.npmjs.com/package/@aws-sdk/credential-provider-process/v/3.972.69 | Apache-2.0
|
|
5364
5364
|
Apache License
|
|
5365
5365
|
Version 2.0, January 2004
|
|
5366
5366
|
http://www.apache.org/licenses/
|
|
@@ -5565,7 +5565,7 @@ Apache License
|
|
|
5565
5565
|
|
|
5566
5566
|
----------------
|
|
5567
5567
|
|
|
5568
|
-
** @aws-sdk/credential-provider-sso@3.973.
|
|
5568
|
+
** @aws-sdk/credential-provider-sso@3.973.13 - https://www.npmjs.com/package/@aws-sdk/credential-provider-sso/v/3.973.13 | Apache-2.0
|
|
5569
5569
|
Apache License
|
|
5570
5570
|
Version 2.0, January 2004
|
|
5571
5571
|
http://www.apache.org/licenses/
|
|
@@ -5770,7 +5770,7 @@ Apache License
|
|
|
5770
5770
|
|
|
5771
5771
|
----------------
|
|
5772
5772
|
|
|
5773
|
-
** @aws-sdk/credential-provider-web-identity@3.972.
|
|
5773
|
+
** @aws-sdk/credential-provider-web-identity@3.972.75 - https://www.npmjs.com/package/@aws-sdk/credential-provider-web-identity/v/3.972.75 | Apache-2.0
|
|
5774
5774
|
Apache License
|
|
5775
5775
|
Version 2.0, January 2004
|
|
5776
5776
|
http://www.apache.org/licenses/
|
|
@@ -5975,7 +5975,7 @@ Apache License
|
|
|
5975
5975
|
|
|
5976
5976
|
----------------
|
|
5977
5977
|
|
|
5978
|
-
** @aws-sdk/credential-providers@3.
|
|
5978
|
+
** @aws-sdk/credential-providers@3.1111.0 - https://www.npmjs.com/package/@aws-sdk/credential-providers/v/3.1111.0 | Apache-2.0
|
|
5979
5979
|
Apache License
|
|
5980
5980
|
Version 2.0, January 2004
|
|
5981
5981
|
http://www.apache.org/licenses/
|
|
@@ -7207,11 +7207,11 @@ Apache License
|
|
|
7207
7207
|
|
|
7208
7208
|
----------------
|
|
7209
7209
|
|
|
7210
|
-
** @aws-sdk/nested-clients@3.997.
|
|
7210
|
+
** @aws-sdk/nested-clients@3.997.43 - https://www.npmjs.com/package/@aws-sdk/nested-clients/v/3.997.43 | Apache-2.0
|
|
7211
7211
|
|
|
7212
7212
|
----------------
|
|
7213
7213
|
|
|
7214
|
-
** @aws-sdk/signature-v4-multi-region@3.996.
|
|
7214
|
+
** @aws-sdk/signature-v4-multi-region@3.996.45 - https://www.npmjs.com/package/@aws-sdk/signature-v4-multi-region/v/3.996.45 | Apache-2.0
|
|
7215
7215
|
Apache License
|
|
7216
7216
|
Version 2.0, January 2004
|
|
7217
7217
|
http://www.apache.org/licenses/
|
|
@@ -7417,7 +7417,7 @@ Apache License
|
|
|
7417
7417
|
|
|
7418
7418
|
----------------
|
|
7419
7419
|
|
|
7420
|
-
** @aws-sdk/token-providers@3.
|
|
7420
|
+
** @aws-sdk/token-providers@3.1111.0 - https://www.npmjs.com/package/@aws-sdk/token-providers/v/3.1111.0 | Apache-2.0
|
|
7421
7421
|
Apache License
|
|
7422
7422
|
Version 2.0, January 2004
|
|
7423
7423
|
http://www.apache.org/licenses/
|
|
@@ -7622,7 +7622,7 @@ Apache License
|
|
|
7622
7622
|
|
|
7623
7623
|
----------------
|
|
7624
7624
|
|
|
7625
|
-
** @aws-sdk/xml-builder@3.972.
|
|
7625
|
+
** @aws-sdk/xml-builder@3.972.39 - https://www.npmjs.com/package/@aws-sdk/xml-builder/v/3.972.39 | Apache-2.0
|
|
7626
7626
|
Apache License
|
|
7627
7627
|
Version 2.0, January 2004
|
|
7628
7628
|
http://www.apache.org/licenses/
|
|
@@ -8361,7 +8361,7 @@ Apache License
|
|
|
8361
8361
|
|
|
8362
8362
|
----------------
|
|
8363
8363
|
|
|
8364
|
-
** @smithy/core@3.
|
|
8364
|
+
** @smithy/core@3.33.0 - https://www.npmjs.com/package/@smithy/core/v/3.33.0 | Apache-2.0
|
|
8365
8365
|
Apache License
|
|
8366
8366
|
Version 2.0, January 2004
|
|
8367
8367
|
http://www.apache.org/licenses/
|
|
@@ -10208,7 +10208,7 @@ Apache License
|
|
|
10208
10208
|
|
|
10209
10209
|
----------------
|
|
10210
10210
|
|
|
10211
|
-
** @smithy/types@4.
|
|
10211
|
+
** @smithy/types@4.17.0 - https://www.npmjs.com/package/@smithy/types/v/4.17.0 | Apache-2.0
|
|
10212
10212
|
Apache License
|
|
10213
10213
|
Version 2.0, January 2004
|
|
10214
10214
|
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.
|
|
10939
|
+
** cdk-from-cfn@0.324.0 - https://www.npmjs.com/package/cdk-from-cfn/v/0.324.0 | MIT OR Apache-2.0
|
|
10940
10940
|
|
|
10941
10941
|
----------------
|
|
10942
10942
|
|
package/build-info.json
CHANGED
package/db.json.gz
CHANGED
|
Binary file
|
package/lib/cli/cdk-toolkit.d.ts
CHANGED
|
@@ -505,6 +505,18 @@ export interface OrphanOptions {
|
|
|
505
505
|
readonly toolkitStackName?: string;
|
|
506
506
|
}
|
|
507
507
|
export interface ImportOptions extends CfnDeployOptions {
|
|
508
|
+
/**
|
|
509
|
+
* ARNs of SNS topics that CloudFormation will notify with stack related events.
|
|
510
|
+
*
|
|
511
|
+
* The following semantics apply (dictated by the SDK):
|
|
512
|
+
*
|
|
513
|
+
* - undefined => cdk ignores it, as if it wasn't supported (allows external management).
|
|
514
|
+
* - []: => cdk manages it, and the user wants to wipe it out.
|
|
515
|
+
* - ['arn-1'] => cdk manages it, and the user wants to set it to ['arn-1'].
|
|
516
|
+
*
|
|
517
|
+
* @default - No notifications
|
|
518
|
+
*/
|
|
519
|
+
readonly notificationArns?: string[];
|
|
508
520
|
/**
|
|
509
521
|
* Build a physical resource mapping and write it to the given file, without performing the actual import operation
|
|
510
522
|
*
|