Skip to main content

LambdaPackageOptions

@webda/aws


Interface: LambdaPackageOptions

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

Options to build a Lambda package

Properties​

customAwsSdk?​

optional customAwsSdk?: boolean

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

The application includes its own aws-sdk v2: by default aws-sdk is excluded

Default​

false

entrypoint?​

optional entrypoint?: string

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

File to add as entrypoint.js at the root of the package

The default handler is node_modules/@webda/aws/lib/deployers/lambda-entrypoint.handler so it is not needed


package?​

optional package?: PackageOptions

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

How to select the files of the application


zipPath?​

optional zipPath?: string

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

Path of the zip to create

Default​

"dist/lambda.zip"