Skip to main content

LambdaServerParameters

@webda/aws


Class: LambdaServerParameters

Defined in: aws/src/services/lambdaserver.service.ts:51

LambdaServer parameters

Extends​

  • ServiceParameters

Constructors​

Constructor​

new LambdaServerParameters(): LambdaServerParameters

Returns​

LambdaServerParameters

Inherited from​

ServiceParameters.constructor

Properties​

lambdaRequestHeader?​

optional lambdaRequestHeader?: string

Defined in: aws/src/services/lambdaserver.service.ts:55

Header to add to the response with the Lambda request id


type​

type: string

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

Type of the service

Inherited from​

ServiceParameters.type


waitForEmptyEventLoop?​

optional waitForEmptyEventLoop?: boolean

Defined in: aws/src/services/lambdaserver.service.ts:60

Set the Lambda callbackWaitsForEmptyEventLoop

Default​

false

Methods​

load()​

load(params?): this

Defined in: aws/src/services/lambdaserver.service.ts:67

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