lambda-live-debugger
Version:
Debug Lambda functions locally like it is running in the cloud
36 lines (35 loc) • 896 B
TypeScript
import { LambdaProps } from './types/lambdaProps.js';
import { LldConfig } from './types/lldConfig.js';
/**
* Read configuration from CLI args, config file or wizard
*/
declare function readConfig(): Promise<void>;
/**
* Get a Lambda by functionId
* @param functionId
* @returns
*/
declare function getLambda(functionId: string): Promise<LambdaProps>;
/**
* Get all Lambdas
* @returns
*/
declare function getLambdas(): LambdaProps[];
/**
* Discover Lambdas
*/
declare function discoverLambdas(): Promise<void>;
/**
* Set the configuration
* @param newConfig
*/
declare function setConfig(newConfig: LldConfig): void;
export declare const Configuration: {
readConfig: typeof readConfig;
readonly config: LldConfig;
discoverLambdas: typeof discoverLambdas;
getLambda: typeof getLambda;
getLambdas: typeof getLambdas;
setConfig: typeof setConfig;
};
export {};