Can I Create API Gateway V2 in AWS Console?

0

Can't I create an API gateway v2 from the AWS API Gateway console? REST API is used and set to region. However, the following error occurred when I tried to map API using a custom domain. API Gateway V1 doesn't support the slash character (/) in base path mappings. To create a multi-level base path mapping, use API Gateway V2. So I tried to find if I could specify V2 in the console, but I couldn't find it. Is there a solution?

已提问 2 年前264 查看次数
1 回答
0

Please refer to this blog - https://aws.amazon.com/blogs/compute/announcing-http-apis-for-amazon-api-gateway/

API Gateway V1 had only REST APIs. API Gateway V2 added HTTP APIs and Websockets APIs.

In your case, you can use HTTP APIs.

Before you go too far down the path of adopting HTTP APIs, it would help to take a look at this document - https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-vs-rest.html

It will be good to base your decision on the features you need and whether those features are present in HTTP APIs or not.

profile pictureAWS
专家
已回答 2 年前

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

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

回答问题的准则