aws-cdk 2.1114.1 → 2.1115.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 -6
- package/THIRD_PARTY_LICENSES +43 -248
- package/build-info.json +2 -2
- package/db.json.gz +0 -0
- package/lib/cli/cdk-toolkit.d.ts +11 -18
- package/lib/cli/cdk-toolkit.js +38 -37
- package/lib/cli/cli-config.js +14 -6
- package/lib/cli/cli-type-registry.json +19 -6
- package/lib/cli/cli.js +20 -2
- package/lib/cli/convert-to-user-input.js +3 -1
- package/lib/cli/parse-command-line-arguments.js +15 -6
- package/lib/cli/user-input.d.ts +14 -5
- package/lib/cli/user-input.js +1 -1
- package/lib/index.js +739 -657
- package/lib/init-templates/.init-version.json +1 -1
- package/lib/init-templates/.recommended-feature-flags.json +3 -1
- package/package.json +5 -5
package/lib/cli/cdk-toolkit.d.ts
CHANGED
|
@@ -101,6 +101,11 @@ export declare class CdkToolkit {
|
|
|
101
101
|
cliTelemetryStatus(args: any): Promise<void>;
|
|
102
102
|
cliTelemetry(enable: boolean): Promise<void>;
|
|
103
103
|
diff(options: DiffOptions): Promise<number>;
|
|
104
|
+
/**
|
|
105
|
+
* Try to create a diff changeset for the given stack.
|
|
106
|
+
* Returns undefined if the stack cannot be accessed and changeSetOnly is not set.
|
|
107
|
+
*/
|
|
108
|
+
private tryCreateDiffChangeSet;
|
|
104
109
|
deploy(options: DeployOptions): Promise<void>;
|
|
105
110
|
/**
|
|
106
111
|
* Detect infrastructure drift for the given stack(s)
|
|
@@ -239,11 +244,14 @@ export interface DiffOptions {
|
|
|
239
244
|
[name: string]: string | undefined;
|
|
240
245
|
};
|
|
241
246
|
/**
|
|
242
|
-
*
|
|
247
|
+
* How to compute the diff.
|
|
248
|
+
* - 'change-set': always use a changeset, fail if it cannot be created
|
|
249
|
+
* - 'template': skip changeset, compare templates directly
|
|
250
|
+
* - 'auto': try changeset, fall back to template on failure
|
|
243
251
|
*
|
|
244
|
-
* @default
|
|
252
|
+
* @default 'auto'
|
|
245
253
|
*/
|
|
246
|
-
readonly
|
|
254
|
+
readonly method?: 'auto' | 'change-set' | 'template';
|
|
247
255
|
/**
|
|
248
256
|
* Whether or not the change set imports resources that already exist.
|
|
249
257
|
*
|
|
@@ -272,21 +280,6 @@ interface CfnDeployOptions {
|
|
|
272
280
|
* Role to pass to CloudFormation for deployment
|
|
273
281
|
*/
|
|
274
282
|
roleArn?: string;
|
|
275
|
-
/**
|
|
276
|
-
* Optional name to use for the CloudFormation change set.
|
|
277
|
-
* If not provided, a name will be generated automatically.
|
|
278
|
-
*
|
|
279
|
-
* @deprecated Use 'deploymentMethod' instead
|
|
280
|
-
*/
|
|
281
|
-
changeSetName?: string;
|
|
282
|
-
/**
|
|
283
|
-
* Whether to execute the ChangeSet
|
|
284
|
-
* Not providing `execute` parameter will result in execution of ChangeSet
|
|
285
|
-
*
|
|
286
|
-
* @default true
|
|
287
|
-
* @deprecated Use 'deploymentMethod' instead
|
|
288
|
-
*/
|
|
289
|
-
execute?: boolean;
|
|
290
283
|
/**
|
|
291
284
|
* Deployment method
|
|
292
285
|
*/
|