AWS client not reused in a Lambda function Medium

Recreating AWS clients from scratch in each Lambda function invocation is expensive and can lead to availability risks. Clients should be cached across invocations.

Detector ID
jsx/lambda-client-reuse@v1.0
Category