Skip to main content

createLambdaPackage

@webda/aws


Function: createLambdaPackage()

createLambdaPackage(app, options?): Promise<LambdaPackageResult>

Defined in: aws/src/deployers/lambdapackager.service.ts:86

Create the Lambda zip of the application

The package contains the application files, its production dependencies and the configuration of the current deployment. A LambdaServer service is added to the configuration if none is defined, as the default handler relies on it.

Parameters​

app​

Application

the application

options?​

LambdaPackageOptions = {}

the package options

Returns​

Promise<LambdaPackageResult>

the zip information