I am trying to deploy lambda function, written in java, using serverless framework. But I am not getting how to create aliases for lambda function and different stages in API gateway using sererless.yml file.
I have mentioned aliases in my serverless.yml file.
part of serverless.yml:
Still, It's not working. Even I tried serverless deploy --alias myAlias command as mentioned on this page https://www.npmjs.com/package/serverless-aws-alias
Can anyone tell me, how to create aliases for lambda function and stages in API Gateway?