lambda-live-debugger
Version:
Debug Lambda functions locally like it is running in the cloud
27 lines (26 loc) • 842 B
TypeScript
import { EsBuildOptions, LambdaResource } from '../types/resourcesDiscovery.js';
import type Serverless from 'serverless';
import { IFramework } from './iFrameworks.js';
import { LldConfigBase } from '../types/lldConfig.js';
/**
* Support for Serverless Framework
*/
export declare class SlsFramework implements IFramework {
/**
* Framework name
*/
get name(): string;
/**
* Can this class handle the current project
* @returns
*/
canHandle(): Promise<boolean>;
/**
* Get Lambda functions
* @param config Configuration
* @returns Lambda functions
*/
getLambdas(config: LldConfigBase): Promise<LambdaResource[]>;
protected getEsBuildOptions(serverless: Serverless, config: LldConfigBase): EsBuildOptions | undefined;
}
export declare const slsFramework: SlsFramework;