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?

preguntada hace 2 años264 visualizaciones
1 Respuesta
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
EXPERTO
respondido hace 2 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas