Skip to main content

LambdaPackagerParameters

@webda/aws


Class: LambdaPackagerParameters

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

Lambda Packager parameters

Extends​

  • ServiceParameters

Implements​

Constructors​

Constructor​

new LambdaPackagerParameters(): LambdaPackagerParameters

Returns​

LambdaPackagerParameters

Inherited from​

ServiceParameters.constructor

Properties​

customAwsSdk?​

optional customAwsSdk?: boolean

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

The application includes its own aws-sdk v2

Default​

false

Implementation of​

LambdaPackageOptions.customAwsSdk


entrypoint?​

optional entrypoint?: string

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

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

Implementation of​

LambdaPackageOptions.entrypoint


name?​

optional name?: string

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

Name of the unit


package?​

optional package?: PackageOptions

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

How to select the files of the application

Implementation of​

LambdaPackageOptions.package


type​

type: string

Defined in: core/lib/services/serviceparameters.d.ts:8

Type of the service

Inherited from​

ServiceParameters.type


zipPath?​

optional zipPath?: string

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

Path of the zip to create

Default​

"dist/lambda-${package.version}.zip"

Implementation of​

LambdaPackageOptions.zipPath

Methods​

load()​

load(params?): this

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

Parameters​

params?​

any = {}

raw parameters

Returns​

this

this

Overrides​

ServiceParameters.load


update()​

update(params, delta): this

Defined in: core/lib/services/serviceparameters.d.ts:25

Update parameters and call watchers if a parameter was changed

Parameters​

params​

any

the service parameters

delta​

any

the delta

Returns​

this

this for chaining

Inherited from​

ServiceParameters.update


with()​

with(callback): this

Defined in: core/lib/services/serviceparameters.d.ts:31

Watch for changes on the parameters and call watchers when a parameter is changed

Parameters​

callback​

(params) => void

the callback function

Returns​

this

this for chaining

Inherited from​

ServiceParameters.with