Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
kaizencc committed Jan 9, 2025
1 parent ed19731 commit 8564109
Showing 1 changed file with 107 additions and 107 deletions.
214 changes: 107 additions & 107 deletions packages/aws-cdk/lib/convert-to-cli-args.ts
Original file line number Diff line number Diff line change
Expand Up @@ -285,143 +285,143 @@ export function convertConfigToCliArgs(args: any): CliArguments {
unstable: args.unstable,
};
const listOptions = {
long: args.list.long,
showDependencies: args.list.showDependencies,
long: args.list?.long,
showDependencies: args.list?.showDependencies,
};
const synthesizeOptions = {
exclusively: args.synthesize.exclusively,
validation: args.synthesize.validation,
quiet: args.synthesize.quiet,
exclusively: args.synthesize?.exclusively,
validation: args.synthesize?.validation,
quiet: args.synthesize?.quiet,
};
const bootstrapOptions = {
bootstrapBucketName: args.bootstrap.bootstrapBucketName,
bootstrapKmsKeyId: args.bootstrap.bootstrapKmsKeyId,
examplePermissionsBoundary: args.bootstrap.examplePermissionsBoundary,
customPermissionsBoundary: args.bootstrap.customPermissionsBoundary,
bootstrapCustomerKey: args.bootstrap.bootstrapCustomerKey,
qualifier: args.bootstrap.qualifier,
publicAccessBlockConfiguration: args.bootstrap.publicAccessBlockConfiguration,
tags: args.bootstrap.tags,
execute: args.bootstrap.execute,
trust: args.bootstrap.trust,
trustForLookup: args.bootstrap.trustForLookup,
cloudformationExecutionPolicies: args.bootstrap.cloudformationExecutionPolicies,
force: args.bootstrap.force,
terminationProtection: args.bootstrap.terminationProtection,
showTemplate: args.bootstrap.showTemplate,
toolkitStackName: args.bootstrap.toolkitStackName,
template: args.bootstrap.template,
previousParameters: args.bootstrap.previousParameters,
bootstrapBucketName: args.bootstrap?.bootstrapBucketName,
bootstrapKmsKeyId: args.bootstrap?.bootstrapKmsKeyId,
examplePermissionsBoundary: args.bootstrap?.examplePermissionsBoundary,
customPermissionsBoundary: args.bootstrap?.customPermissionsBoundary,
bootstrapCustomerKey: args.bootstrap?.bootstrapCustomerKey,
qualifier: args.bootstrap?.qualifier,
publicAccessBlockConfiguration: args.bootstrap?.publicAccessBlockConfiguration,
tags: args.bootstrap?.tags,
execute: args.bootstrap?.execute,
trust: args.bootstrap?.trust,
trustForLookup: args.bootstrap?.trustForLookup,
cloudformationExecutionPolicies: args.bootstrap?.cloudformationExecutionPolicies,
force: args.bootstrap?.force,
terminationProtection: args.bootstrap?.terminationProtection,
showTemplate: args.bootstrap?.showTemplate,
toolkitStackName: args.bootstrap?.toolkitStackName,
template: args.bootstrap?.template,
previousParameters: args.bootstrap?.previousParameters,
};
const gcOptions = {
action: args.gc.action,
type: args.gc.type,
rollbackBufferDays: args.gc.rollbackBufferDays,
createdBufferDays: args.gc.createdBufferDays,
confirm: args.gc.confirm,
bootstrapStackName: args.gc.bootstrapStackName,
action: args.gc?.action,
type: args.gc?.type,
rollbackBufferDays: args.gc?.rollbackBufferDays,
createdBufferDays: args.gc?.createdBufferDays,
confirm: args.gc?.confirm,
bootstrapStackName: args.gc?.bootstrapStackName,
};
const deployOptions = {
all: args.deploy.all,
buildExclude: args.deploy.buildExclude,
exclusively: args.deploy.exclusively,
requireApproval: args.deploy.requireApproval,
notificationArns: args.deploy.notificationArns,
tags: args.deploy.tags,
execute: args.deploy.execute,
changeSetName: args.deploy.changeSetName,
method: args.deploy.method,
importExistingResources: args.deploy.importExistingResources,
force: args.deploy.force,
parameters: args.deploy.parameters,
outputsFile: args.deploy.outputsFile,
previousParameters: args.deploy.previousParameters,
toolkitStackName: args.deploy.toolkitStackName,
progress: args.deploy.progress,
rollback: args.deploy.rollback,
hotswap: args.deploy.hotswap,
hotswapFallback: args.deploy.hotswapFallback,
watch: args.deploy.watch,
logs: args.deploy.logs,
concurrency: args.deploy.concurrency,
assetParallelism: args.deploy.assetParallelism,
assetPrebuild: args.deploy.assetPrebuild,
ignoreNoStacks: args.deploy.ignoreNoStacks,
all: args.deploy?.all,
buildExclude: args.deploy?.buildExclude,
exclusively: args.deploy?.exclusively,
requireApproval: args.deploy?.requireApproval,
notificationArns: args.deploy?.notificationArns,
tags: args.deploy?.tags,
execute: args.deploy?.execute,
changeSetName: args.deploy?.changeSetName,
method: args.deploy?.method,
importExistingResources: args.deploy?.importExistingResources,
force: args.deploy?.force,
parameters: args.deploy?.parameters,
outputsFile: args.deploy?.outputsFile,
previousParameters: args.deploy?.previousParameters,
toolkitStackName: args.deploy?.toolkitStackName,
progress: args.deploy?.progress,
rollback: args.deploy?.rollback,
hotswap: args.deploy?.hotswap,
hotswapFallback: args.deploy?.hotswapFallback,
watch: args.deploy?.watch,
logs: args.deploy?.logs,
concurrency: args.deploy?.concurrency,
assetParallelism: args.deploy?.assetParallelism,
assetPrebuild: args.deploy?.assetPrebuild,
ignoreNoStacks: args.deploy?.ignoreNoStacks,
};
const rollbackOptions = {
all: args.rollback.all,
toolkitStackName: args.rollback.toolkitStackName,
force: args.rollback.force,
validateBootstrapVersion: args.rollback.validateBootstrapVersion,
orphan: args.rollback.orphan,
all: args.rollback?.all,
toolkitStackName: args.rollback?.toolkitStackName,
force: args.rollback?.force,
validateBootstrapVersion: args.rollback?.validateBootstrapVersion,
orphan: args.rollback?.orphan,
};
const importOptions = {
execute: args.import.execute,
changeSetName: args.import.changeSetName,
toolkitStackName: args.import.toolkitStackName,
rollback: args.import.rollback,
force: args.import.force,
recordResourceMapping: args.import.recordResourceMapping,
resourceMapping: args.import.resourceMapping,
execute: args.import?.execute,
changeSetName: args.import?.changeSetName,
toolkitStackName: args.import?.toolkitStackName,
rollback: args.import?.rollback,
force: args.import?.force,
recordResourceMapping: args.import?.recordResourceMapping,
resourceMapping: args.import?.resourceMapping,
};
const watchOptions = {
buildExclude: args.watch.buildExclude,
exclusively: args.watch.exclusively,
changeSetName: args.watch.changeSetName,
force: args.watch.force,
toolkitStackName: args.watch.toolkitStackName,
progress: args.watch.progress,
rollback: args.watch.rollback,
hotswap: args.watch.hotswap,
hotswapFallback: args.watch.hotswapFallback,
logs: args.watch.logs,
concurrency: args.watch.concurrency,
buildExclude: args.watch?.buildExclude,
exclusively: args.watch?.exclusively,
changeSetName: args.watch?.changeSetName,
force: args.watch?.force,
toolkitStackName: args.watch?.toolkitStackName,
progress: args.watch?.progress,
rollback: args.watch?.rollback,
hotswap: args.watch?.hotswap,
hotswapFallback: args.watch?.hotswapFallback,
logs: args.watch?.logs,
concurrency: args.watch?.concurrency,
};
const destroyOptions = {
all: args.destroy.all,
exclusively: args.destroy.exclusively,
force: args.destroy.force,
all: args.destroy?.all,
exclusively: args.destroy?.exclusively,
force: args.destroy?.force,
};
const diffOptions = {
exclusively: args.diff.exclusively,
contextLines: args.diff.contextLines,
template: args.diff.template,
strict: args.diff.strict,
securityOnly: args.diff.securityOnly,
fail: args.diff.fail,
processed: args.diff.processed,
quiet: args.diff.quiet,
changeSet: args.diff.changeSet,
exclusively: args.diff?.exclusively,
contextLines: args.diff?.contextLines,
template: args.diff?.template,
strict: args.diff?.strict,
securityOnly: args.diff?.securityOnly,
fail: args.diff?.fail,
processed: args.diff?.processed,
quiet: args.diff?.quiet,
changeSet: args.diff?.changeSet,
};
const metadataOptions = {};
const acknowledgeOptions = {};
const noticesOptions = {
unacknowledged: args.notices.unacknowledged,
unacknowledged: args.notices?.unacknowledged,
};
const initOptions = {
language: args.init.language,
list: args.init.list,
generateOnly: args.init.generateOnly,
language: args.init?.language,
list: args.init?.list,
generateOnly: args.init?.generateOnly,
};
const migrateOptions = {
stackName: args.migrate.stackName,
language: args.migrate.language,
account: args.migrate.account,
region: args.migrate.region,
fromPath: args.migrate.fromPath,
fromStack: args.migrate.fromStack,
outputPath: args.migrate.outputPath,
fromScan: args.migrate.fromScan,
filter: args.migrate.filter,
compress: args.migrate.compress,
stackName: args.migrate?.stackName,
language: args.migrate?.language,
account: args.migrate?.account,
region: args.migrate?.region,
fromPath: args.migrate?.fromPath,
fromStack: args.migrate?.fromStack,
outputPath: args.migrate?.outputPath,
fromScan: args.migrate?.fromScan,
filter: args.migrate?.filter,
compress: args.migrate?.compress,
};
const contextOptions = {
reset: args.context.reset,
force: args.context.force,
clear: args.context.clear,
reset: args.context?.reset,
force: args.context?.force,
clear: args.context?.clear,
};
const docsOptions = {
browser: args.docs.browser,
browser: args.docs?.browser,
};
const doctorOptions = {};
const cliArguments: CliArguments = {
Expand Down

0 comments on commit 8564109

Please sign in to comment.