@altostra/core
Version:
Core library for shared types and logic
21 lines (20 loc) • 659 B
TypeScript
import type { Logger, OperationLoggingSeverity } from "../../../common/Logging";
export interface SAMManagerOptions {
currentDirectory?: string;
samExecutable?: string;
buildArguments?: string[];
logger?: Logger<OperationLoggingSeverity>;
templatePath?: string;
}
export interface AltostraPackage {
packageDir: string;
template: string;
}
export declare class SAMManager {
#private;
constructor({ currentDirectory, samExecutable, buildArguments, logger, templatePath, }?: SAMManagerOptions);
packSAMProject(): Promise<AltostraPackage>;
private _buildSAM;
private _prepareForPackage;
private _withLogging;
}