I'm using AWS SAM.
From the docs, I see "Stage names can contain only alphanumeric characters, hyphens, and underscores, or be $default."
But when I try:
Resources:
ExpressApi:
Type: AWS::Serverless::Api
Properties:
StageName: '$default'
The stack create fails with message:
Stage name only allows a-zA-Z0-9_
I just want to be able to use the API base URL without the StageName in the path. My API has only one stage.
Is there a way to do that without hooking up a custom domain to the API?