aws-cdk 2.1142.0 → 2.1143.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 +10 -1
- package/THIRD_PARTY_LICENSES +2 -2
- package/build-info.json +2 -2
- package/db.json.gz +0 -0
- package/lib/cli/cdk-toolkit.d.ts +8 -0
- package/lib/cli/cdk-toolkit.js +2 -3
- package/lib/cli/cli-config.js +3 -2
- package/lib/cli/cli-type-registry.json +5 -1
- package/lib/cli/cli.js +49 -16
- package/lib/cli/convert-to-user-input.js +3 -1
- package/lib/cli/debug-handles.d.ts +52 -0
- package/lib/cli/debug-handles.js +347 -0
- package/lib/cli/parse-command-line-arguments.js +7 -2
- package/lib/cli/user-input.d.ts +7 -1
- package/lib/cli/user-input.js +1 -1
- package/lib/index.js +905 -546
- package/lib/index_bg.wasm +0 -0
- package/lib/init-templates/.init-version.json +1 -1
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -160,6 +160,14 @@ The `quiet` option can be set in the `cdk.json` file.
|
|
|
160
160
|
See the [AWS Documentation](https://docs.aws.amazon.com/cdk/latest/guide/apps.html#apps_cloud_assembly) to learn more about cloud assemblies.
|
|
161
161
|
See the [CDK reference documentation](https://docs.aws.amazon.com/cdk/api/latest/docs/cloud-assembly-schema-readme.html) for details on the cloud assembly specification
|
|
162
162
|
|
|
163
|
+
> [!IMPORTANT]
|
|
164
|
+
> **A Cloud Assembly is a trust boundary. Do not deploy Cloud Assemblies
|
|
165
|
+
> from sources you do not trust.**
|
|
166
|
+
>
|
|
167
|
+
> For example, if you deploy a Cloud Assembly from an external source like
|
|
168
|
+
> `cdk deploy --app /downloaded/file/path/cdk.out`, the CLI runs external
|
|
169
|
+
> code using with your shell environment and AWS credentials.
|
|
170
|
+
|
|
163
171
|
### `cdk diagnose`
|
|
164
172
|
|
|
165
173
|
> [!CAUTION]
|
|
@@ -869,7 +877,8 @@ The server can run your app to keep the cloud assembly current (for example, an
|
|
|
869
877
|
"auto-synth on save" mode offered through your editor). Because that runs your
|
|
870
878
|
project's `app` command with your shell environment and AWS credentials, enable
|
|
871
879
|
it only for projects you trust. This is the same trust model that `cdk synth`
|
|
872
|
-
and `cdk watch` already use.
|
|
880
|
+
and `cdk watch` already use. Deploying an already-synthesized Cloud Assembly
|
|
881
|
+
carries a related trust boundary — see [`cdk synth`](#cdk-synth).
|
|
873
882
|
|
|
874
883
|
`cdk lsp` is designed to be driven by an editor extension rather than run by hand.
|
|
875
884
|
For the full feature list, the editor-integration protocol, and the programmatic
|
package/THIRD_PARTY_LICENSES
CHANGED
|
@@ -5975,7 +5975,7 @@ Apache License
|
|
|
5975
5975
|
|
|
5976
5976
|
----------------
|
|
5977
5977
|
|
|
5978
|
-
** @aws-sdk/credential-providers@3.
|
|
5978
|
+
** @aws-sdk/credential-providers@3.1135.0 - https://www.npmjs.com/package/@aws-sdk/credential-providers/v/3.1135.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.
|
|
10939
|
+
** cdk-from-cfn@0.333.0 - https://www.npmjs.com/package/cdk-from-cfn/v/0.333.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
|
@@ -320,6 +320,14 @@ export interface DiffOptions {
|
|
|
320
320
|
* @default 'auto'
|
|
321
321
|
*/
|
|
322
322
|
readonly method?: 'auto' | 'change-set' | 'template';
|
|
323
|
+
/**
|
|
324
|
+
* Name of the CloudFormation change set to create when computing the diff
|
|
325
|
+
*
|
|
326
|
+
* Only used if the method is not 'template'.
|
|
327
|
+
*
|
|
328
|
+
* @default 'cdk-diff-change-set-<uuid>'
|
|
329
|
+
*/
|
|
330
|
+
readonly changeSetName?: string;
|
|
323
331
|
/**
|
|
324
332
|
* Whether or not the change set imports resources that already exist.
|
|
325
333
|
*
|