This is a framework for building AWS Lambda Extensions.
$ pip install lef
To get started you can use the default Extension
class, or extend it.
Example:
import lef
def handler(event):
print(event)
extension = lef.Extension()
extension.register([lef.EventType.INVOKE], handler)
Install Dependencies
$ poetry install --dev
Bump Version
You can use the bin/bump
script to bump the version. This is a wrapper for bumpversion.
$ bin/bump <VERSION LEVEL>