Skip to main content

SQSEventHandler <Configuration, Service, Profile, Payload>

Index

Properties

handler

handler: (payload: SQSEvent<Payload>, context: LambdaContext<Configuration, Service, Profile>) => Promisable<Try<void>>

Type declaration

    • (payload: SQSEvent<Payload>, context: LambdaContext<Configuration, Service, Profile>): Promisable<Try<void>>
    • Parameters

      Returns Promisable<Try<void>>

optionalpayloadType

payloadType?: json | plaintext

schema

schema: { payload?: Schema<Payload> }

Type declaration

  • optionalpayload?: Schema<Payload>