aws-cdk
Version:
CDK Toolkit, the command line tool for CDK apps
16 lines (15 loc) • 781 B
TypeScript
import * as cxapi from '@aws-cdk/cx-api';
import { SdkProvider } from './aws-auth';
import { DeployStackResult } from './deploy-stack';
import { HotswapMode } from './hotswap/common';
import { CloudFormationStack } from './util/cloudformation';
/**
* Perform a hotswap deployment,
* short-circuiting CloudFormation if possible.
* If it's not possible to short-circuit the deployment
* (because the CDK Stack contains changes that cannot be deployed without CloudFormation),
* returns `undefined`.
*/
export declare function tryHotswapDeployment(sdkProvider: SdkProvider, assetParams: {
[key: string]: string;
}, cloudFormationStack: CloudFormationStack, stackArtifact: cxapi.CloudFormationStackArtifact, hotswapMode: HotswapMode): Promise<DeployStackResult | undefined>;