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?

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年前

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

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

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