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?

asked a year ago246 views
1 Answer
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
EXPERT
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions