15 lines
649 B
TypeScript
15 lines
649 B
TypeScript
import { CloudAssembly } from '@aws-cdk/cloud-assembly-api';
|
|
import type { IoHelper } from '../../lib/api-private';
|
|
import type { SdkProvider, IReadLock } from '../api';
|
|
import type { Configuration } from '../cli/user-configuration';
|
|
export interface ExecProgramResult {
|
|
readonly assembly: 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): CloudAssembly;
|