Skip to main content

SQSGroupEventHandler <Configuration, Service, Profile, Payload>

Index

Properties

handler

handler: (payload: SQSMessageGroup<Payload>, context: LambdaContext<Configuration, Service, Profile>) => Promisable<Try<NoInfer<void | SQSBatchItemFailure[]>>>

Type declaration

    • (payload: SQSMessageGroup<Payload>, context: LambdaContext<Configuration, Service, Profile>): Promisable<Try<NoInfer<void | SQSBatchItemFailure[]>>>
    • Parameters

      Returns Promisable<Try<NoInfer<void | SQSBatchItemFailure[]>>>

optionalparallelism

parallelism?: number = ```ts 1 ```

The number of message groups to process in parallel.

optionalpayloadType

payloadType?: json | plaintext

schema

schema: { payload?: Schema<Payload> }

Type declaration

  • optionalpayload?: Schema<Payload>