diff --git a/packages/@aws-cdk/toolkit-lib/lib/actions/deploy/index.ts b/packages/@aws-cdk/toolkit-lib/lib/actions/deploy/index.ts index 03e56d913..7e0e67c49 100644 --- a/packages/@aws-cdk/toolkit-lib/lib/actions/deploy/index.ts +++ b/packages/@aws-cdk/toolkit-lib/lib/actions/deploy/index.ts @@ -1,6 +1,5 @@ import type { BaseDeployOptions } from './private/deploy-options'; import type { Tag } from '../../api/aws-cdk'; -import type { RequireApproval } from '../../api/shared-public'; export type DeploymentMethod = DirectDeploymentMethod | ChangeSetDeploymentMethod; @@ -103,14 +102,6 @@ export interface DeployOptions extends BaseDeployOptions { */ readonly notificationArns?: string[]; - /** - * Require a confirmation for security relevant changes before continuing with the deployment - * - * @default RequireApproval.NEVER - * @deprecated requireApproval is governed by the `IIoHost`. This property is no longer used. - */ - readonly requireApproval?: RequireApproval; - /** * Tags to pass to CloudFormation for deployment */ @@ -146,20 +137,6 @@ export interface DeployOptions extends BaseDeployOptions { */ readonly assetBuildTime?: AssetBuildTime; - /** - * Change stack watcher output to CI mode. - * - * @deprecated has no functionality, please implement in your IoHost - */ - readonly ci?: boolean; - - /** - * Display mode for stack deployment progress. - * - * @deprecated has no functionality, please implement in your IoHost - */ - readonly progress?: any; - /** * Represents configuration property overrides for hotswap deployments. * Currently only supported by ECS. diff --git a/packages/@aws-cdk/toolkit-lib/lib/actions/destroy/index.ts b/packages/@aws-cdk/toolkit-lib/lib/actions/destroy/index.ts index 3a9862048..c7034ea5e 100644 --- a/packages/@aws-cdk/toolkit-lib/lib/actions/destroy/index.ts +++ b/packages/@aws-cdk/toolkit-lib/lib/actions/destroy/index.ts @@ -10,11 +10,4 @@ export interface DestroyOptions { * The arn of the IAM role to use */ readonly roleArn?: string; - - /** - * Change stack watcher output to CI mode. - * - * @deprecated has no effect, please implement in IoHost instead - */ - readonly ci?: boolean; } diff --git a/packages/@aws-cdk/toolkit-lib/lib/toolkit/toolkit.ts b/packages/@aws-cdk/toolkit-lib/lib/toolkit/toolkit.ts index b66c84710..0b387bd77 100644 --- a/packages/@aws-cdk/toolkit-lib/lib/toolkit/toolkit.ts +++ b/packages/@aws-cdk/toolkit-lib/lib/toolkit/toolkit.ts @@ -517,7 +517,6 @@ export class Toolkit extends CloudAssemblySourceBuilder implements AsyncDisposab await this._destroy(assembly, 'deploy', { stacks: { patterns: [stack.hierarchicalId], strategy: StackSelectionStrategy.PATTERN_MUST_MATCH_SINGLE }, roleArn: options.roleArn, - ci: options.ci, }); return; @@ -1005,7 +1004,6 @@ export class Toolkit extends CloudAssemblySourceBuilder implements AsyncDisposab const hotswap = options.hotswap ?? HotswapMode.HOTSWAP_ONLY; const deployOptions: ExtendedDeployOptions = { ...options, - requireApproval: RequireApproval.NEVER, cloudWatchLogMonitor, hotswap, extraUserAgent: `cdk-watch/hotswap-${hotswap === HotswapMode.FULL_DEPLOYMENT ? 'off' : 'on'}`,