How to use production WSGI server in flask and deploy to aws lambda


I am able to “sls deploy” simple flask app to aws lambda and it works.

However flask says we should use production server ie “gunicorn myproject:app”. What do I need to declare in the serverless.yml so that aws lambda will run my flask app through gunicorn?