UNPKG

serverless-aws-lambda

Version:

AWS Application Load Balancer and API Gateway - Lambda dev tool for Serverless. Allows Express synthax in handlers. Supports packaging, local invoking and offline ALB, APG, S3, SNS, SQS, DynamoDB Stream server mocking.

20 lines (19 loc) 559 B
import type { SlsAwsLambdaPlugin } from "../../defineConfig"; interface IOptions { /** * Directory where S3 related files will be stored. * This directory will be created on app start. * * Use `persist` option to remove it on app exit. * @default "./localS3" */ localStorageDir?: string; /** * Indicates if localStorageDir shoud be persistent. * @default true */ persist?: boolean; } declare const s3Plugin: (options?: IOptions) => SlsAwsLambdaPlugin; export default s3Plugin; export { s3Plugin };