@@ -86,7 +86,7 @@ export enum AssetBuildTime {
86
86
* Build assets just-in-time, before publishing
87
87
*/
88
88
JUST_IN_TIME ,
89
- } ;
89
+ }
90
90
91
91
/**
92
92
* Toolkit logic
@@ -489,11 +489,7 @@ export class CdkToolkit {
489
489
roleArn : options . roleArn ,
490
490
toolkitStackName : options . toolkitStackName ,
491
491
tags,
492
- deploymentMethod : {
493
- method : 'change-set' ,
494
- changeSetName : options . changeSetName ,
495
- execute : options . execute ,
496
- } ,
492
+ deploymentMethod : options . deploymentMethod ,
497
493
usePreviousParameters : true ,
498
494
progress : options . progress ,
499
495
rollback : options . rollback ,
@@ -612,16 +608,16 @@ export class CdkToolkit {
612
608
/**
613
609
* Bootstrap the CDK Toolkit stack in the accounts used by the specified stack(s).
614
610
*
615
- * @param environmentSpecs environment names that need to have toolkit support
616
- * provisioned, as a glob filter. If none is provided,
617
- * all stacks are implicitly selected .
618
- * @param toolkitStackName the name to be used for the CDK Toolkit stack.
611
+ * @param userEnvironmentSpecs environment names that need to have toolkit support
612
+ * provisioned, as a glob filter. If none is provided, all stacks are implicitly selected.
613
+ * @param bootstrapper Legacy or modern .
614
+ * @param options The name, role ARN, bootstrapping parameters, etc. to be used for the CDK Toolkit stack.
619
615
*/
620
616
public async bootstrap ( userEnvironmentSpecs : string [ ] , bootstrapper : Bootstrapper , options : BootstrapEnvironmentOptions ) : Promise < void > {
621
617
// If there is an '--app' argument and an environment looks like a glob, we
622
- // select the environments from the app. Otherwise use what the user said.
618
+ // select the environments from the app. Otherwise, use what the user said.
623
619
624
- // By default glob for everything
620
+ // By default, glob for everything
625
621
const environmentSpecs = userEnvironmentSpecs . length > 0 ? [ ...userEnvironmentSpecs ] : [ '**' ] ;
626
622
627
623
// Partition into globs and non-globs (this will mutate environmentSpecs).
@@ -1085,7 +1081,7 @@ export interface ImportOptions extends CfnDeployOptions {
1085
1081
readonly recordResourceMapping ?: string ;
1086
1082
1087
1083
/**
1088
- * Path to a file with with the physical resource mapping to CDK constructs in JSON format
1084
+ * Path to a file with the physical resource mapping to CDK constructs in JSON format
1089
1085
*
1090
1086
* @default - No mapping file
1091
1087
*/
0 commit comments