Too Long; Didn't Read
A month back AWS announced a preview of Lambda Extensions, a new way to easily integrate Lambda with your favorite monitoring, security, and governance tools. Extensions can be published as Lambda layers, there are two types are extension: internal extensions and external extensions. Internal extensions enable use cases such as automatically instrumenting code. External extensions can start before the Lambda function shuts down and can continue after the runtime process shuts down. These extensions run as companion processes to Lambda functions. So I decided to build an extension that can take care of all the below use cases: prefetch secrets from AWS Secret manager and save it into an in-memory cache.