handsome-sunset-98068
09/16/2022, 8:36 AMpython_sources()
python_awslambda(
name="img2pdf-lambda",
runtime="python3.9",
handler="./handler.py:lambda_handler",
)
handler.py
import img2pdf
def lambda_handler(event, context):
print('hello world')