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ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ