I have created an API gateway using serverless deploy. AWS creates the url for the gateway dynamically, which looks like-
https://xxxx.execute-api.us-west-2.amazonaws.com/test/hello
Here xxxx (i.e. host) is being generated dynamically.
Please let me know is there any way to set this host manually(without creating custom domain and all that long process). OR Is there any way to get this host name in another independent lambda using code. We don't want to write hardcoded hostname in that lambda.
Any help is appreciated in advance.
Thanks.
via rahul aggarwal
No comments:
Post a Comment