- eventBridgeHandler<D, Configuration, Service, Profile, Payload, Result>(definition: D & EventBridgeHandler<Configuration, Service, Profile, Payload, Result>, __namedParameters?: { _kernel?: <Configuration, Service, Profile, Payload, Result>(handler: EventBridgeHandler<Configuration, Service, Profile, Payload, Result>, event: EventBridgeSchema, context: LambdaContext<Configuration, Service, Profile>) => Promise<Try<unknown>> }): D & EventHandlerFn<Configuration, Service, Profile, Result>
Type parameters
- D
- Configuration = undefined
- Service: undefined | DefaultServices = undefined
- Profile: MaybeGenericParser = undefined
- Payload: MaybeGenericParser = undefined
- Result: MaybeGenericParser = undefined
Parameters
definition: D & EventBridgeHandler<Configuration, Service, Profile, Payload, Result>
__namedParameters: { _kernel?: <Configuration, Service, Profile, Payload, Result>(handler: EventBridgeHandler<Configuration, Service, Profile, Payload, Result>, event: EventBridgeSchema, context: LambdaContext<Configuration, Service, Profile>) => Promise<Try<unknown>> } = {}
optional_kernel: <Configuration, Service, Profile, Payload, Result>(handler: EventBridgeHandler<Configuration, Service, Profile, Payload, Result>, event: EventBridgeSchema, context: LambdaContext<Configuration, Service, Profile>) => Promise<Try<unknown>> = handleEventBridgeEvent
Returns D & EventHandlerFn<Configuration, Service, Profile, Result>