@bitblit/epsilon
Version:
Tiny adapter to simplify building API gateway Lambda APIS
21 lines (20 loc) • 672 B
TypeScript
import { Context } from 'aws-lambda';
import { EpsilonConfig } from './global/epsilon-config';
/**
* This class functions as the adapter from a default Lambda function to the handlers exposed via Epsilon
*/
export declare class EpsilonGlobalHandler {
private config;
private cacheWebHandler;
constructor(config: EpsilonConfig);
private validateGlobalConfig;
private fetchSaltMineHandler;
private fetchWebHandler;
lambdaHandler(event: any, context: Context): Promise<any>;
private processSnsEvent;
private processS3Event;
private processCronEvent;
private processDynamoDbEvent;
private findInMap;
private matchExact;
}