After creating a lambda function you get access to an in-browser editor where you can write, test, and deploy your function.
When testing your function you get access to a menu where you can edit the event body that gets passed to the lambda function.