Skip to main content

SQSEventHandler <Configuration, Service, Profile, Payload>

Index

Properties

handler

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

Type declaration

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

      • payload: SQSEvent<InferFromParser<Payload, unknown>>
      • context: LambdaContext<Configuration, Service, Profile>

      Returns Promisable<Try<void>>

optionalpayloadType

payloadType?: json | plaintext

schema

schema: { payload?: Payload }

Type declaration

  • optionalpayload?: Payload
Page Options