UNPKG

lambda-live-debugger

Version:

Debug Lambda functions locally like it is running in the cloud

27 lines (26 loc) 749 B
import { LambdaResource } from '../types/resourcesDiscovery.js'; import { IFramework } from './iFrameworks.js'; import { LldConfigBase } from '../types/lldConfig.js'; /** * Support for AWS SAM framework */ export declare class SamFramework implements IFramework { protected samConfigFile: string; protected samTemplateFile: string; /** * 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[]>; } export declare const samFramework: SamFramework;