Skip to main content

SNSEventHandler <Configuration, Service, Profile, Payload>

Index

Properties

handler

handler: (request: NoInfer<SNSEvent<Payload>>, context: LambdaContext<Configuration, Service, Profile>) => Promisable<Try<void>>

Type declaration

    • (request: NoInfer<SNSEvent<Payload>>, context: LambdaContext<Configuration, Service, Profile>): Promisable<Try<void>>
    • Parameters

      Returns Promisable<Try<void>>

optionalpayloadType

payloadType?: binary | json | plaintext

schema

schema: { payload?: Schema<Payload> }

Type declaration

  • optionalpayload?: Schema<Payload>