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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인