aws-lambda-extensions icon indicating copy to clipboard operation
aws-lambda-extensions copied to clipboard

Example request: Intercept lambda invoke with nodejs

Open liveFreeOrCode opened this issue 4 years ago • 0 comments

Is it possible for internal extensions to be able to intercept a lambda invocation event or response? I want to build essentially a wrapper function that is meant to validate certain properties of both incoming event payloads and responses.

I saw the example here for a javaagent to intercept the lambda invocations, and wasn't sure if this was possible with node in any way? https://docs.aws.amazon.com/lambda/latest/dg/runtimes-modify.html

liveFreeOrCode avatar Jun 25 '21 05:06 liveFreeOrCode