How to deploy a Text to Speech model on AWS

Hello,
I’m trying to deploy my Trained Text to speech model using AWS lambda services but as I haven’t worked on the deployment part before so I’m having trouble to figure out the initial steps. My model consist of two trained models one is waveglow for inferencing and the other one is my trained tacotron2 model on a specific language. I know how to create a lambda function and trigger s3 bucket in which my model is saved but cant figure out how to define a lambda function. Please guide me with the process. Thanks in advance.