You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to use monolithic Lambda as a mechanism to build asynchronous execution Lambda Functions.
Python Runtime's SnapStart charges a cache fee for each version of the Lambda Function.
I believe that reducing the number of Lambda Functions created by Monolithic Lambda would be a useful cost saving measure.
While it is easy to build monolithic Lambda with API Gateway's backend Lambda because of EventHandler, it is not easy to build monolithic Lambda for asynchronous Lambda execution.
I would like to create a new EventHandler to facilitate this.
Solution/User Experience
app=AsynchronousTriggerResolver()
@app.sns("<String to identify>")defprocess_sns_01():
pass@app.sns("<String to identify>")defprocess_sns_02():
pass@app.event_bridge("<String to identify>")defprocess_event_bridge():
pass@app.cloudwatch_logs("<String to identify>")defprocess_cloudwatch_logs():
passdeflambda_handler(event, context):
returnapp.resolve(event, context)
I am thinking that it would be good if we could use it like an EventHandler for API Gateway.
Thanks for opening your first issue here! We'll come back to you as soon as we can.
In the meantime, check out the #python channel on our Powertools for AWS Lambda Discord: Invite link
Use case
I would like to use monolithic Lambda as a mechanism to build asynchronous execution Lambda Functions.
Python Runtime's SnapStart charges a cache fee for each version of the Lambda Function.
I believe that reducing the number of Lambda Functions created by Monolithic Lambda would be a useful cost saving measure.
While it is easy to build monolithic Lambda with API Gateway's backend Lambda because of EventHandler, it is not easy to build monolithic Lambda for asynchronous Lambda execution.
I would like to create a new EventHandler to facilitate this.
Solution/User Experience
I am thinking that it would be good if we could use it like an EventHandler for API Gateway.
Alternative solutions
Acknowledgment
The text was updated successfully, but these errors were encountered: