UNPKG

aws-cdk

Version:

AWS CDK CLI, the command line tool for CDK apps

15 lines (14 loc) 669 B
import * as cxapi from '@aws-cdk/cx-api'; import { type IoHelper } from '../../../@aws-cdk/toolkit-lib/lib/api/io/private'; import type { SdkProvider, IReadLock } from '../api'; import type { Configuration } from '../cli/user-configuration'; export interface ExecProgramResult { readonly assembly: cxapi.CloudAssembly; readonly lock: IReadLock; } /** Invokes the cloud executable and returns JSON output */ export declare function execProgram(aws: SdkProvider, ioHelper: IoHelper, config: Configuration): Promise<ExecProgramResult>; /** * Creates an assembly with error handling */ export declare function createAssembly(appDir: string): cxapi.CloudAssembly;