How to send a cookie as a response?

Thanks!

When you say that it can be done with custom response headers, do you mean configuring the serverless.yml file? Looks like only fixed cookie values can be returned with custom response headers.