A Lambda layer that gives you an AWS SDK with HTTP keep-alive enabled already.
You can add this layer to your function using one of the following ARNs (pick the one from the region you need):
- arn:aws:lambda:us-east-1:374852340823:layer:optimized-aws-sdk:[insert version here]
- arn:aws:lambda:us-west-2:374852340823:layer:optimized-aws-sdk:[insert version here]
- arn:aws:lambda:eu-central-1:374852340823:layer:optimized-aws-sdk:[insert version here]
- arn:aws:lambda:eu-west-1:374852340823:layer:optimized-aws-sdk:[insert version here]
The latest version of this layer is 11.
You can add this layer to your project using the Serverless framework:
Or add it via the console manually:
layer version | AWS SDK version |
---|---|
9 | 2.458.0 |
10 | 2.471.0 |
11 | 2.508.0 |