SAM cli template: how to specify 'staging' instead of 'Prod" in api gateway route?

0

I am playing witn sam init. Created hello world typescript example When deployed, it creates "/Prod/hello"

I want to speciify (in an .env if possible) the first segment as "staging" , "dev", "prod" ... instead of "Prod".

How can I change this prefix in sam cli template?

1 回答
0
profile pictureAWS
已回答 2 个月前
profile picture
专家
已审核 2 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则