Aws lambda function under a path

I am playing with serverless framework. I have this problem.
How to configure serverless.yml so that the function is created under a path? Aws resource/arn path not the http path.

Hi Ak1,
What has worked for me is to have the git file structure under a path.
For instance, your yml lives on the root of the file structure.
Your code might live under /functionFolderName/handler.js
In the yml, the path under handler just don’t start it with a forward slash “/”.
With sls deploy it ends up in a path in lambda.
I am still figuring out what the best code structure of a project is. Presently, I have yml’s for each Lambda function. Trying to look at it as distinct parts of functionality.
If you have any insights, please let me know.