Using the Lambda Extensions API to create extensions - AWS Lambda
Use the extensions API to create extensions that integrate code with the Lambda execution environment.