简体   繁体   English

aws api 部署中的端点 url 是什么?

[英]What's endpoint url in aws api deployment?

I want to deploy my API to AWS, there is an Endpoint URL, but I have no idea what's this我想将我的 API 部署到 AWS,有一个端点 URL,但我不知道这是什么在此处输入图像描述

Any help please, thank you.请任何帮助,谢谢。

The HTTP integration will forward any requests to API gateway to your HTTP endpoint which you already must have. HTTP 集成会将任何对 API 网关的请求转发到您已经必须拥有的 HTTP 端点。 For example, you can create some API server of your own on an EC2 instance, and API gateway through HTTP integration will proxy all requests to your instance.例如,您可以在 EC2 实例上创建一些自己的 API 服务器,并通过 HTTP 集成网关将所有请求代理到您的实例。 In this case, the HTTP endpoint will be your EC2 url.在这种情况下,HTTP 端点将是您的 EC2 url。

But if you don't know what is your HTTP endpoint, then probably you don't need to use HTTP integration.但是如果您不知道您的 HTTP 端点是什么,那么您可能不需要使用 HTTP 集成。 Maybe lambda integration would be better.也许lambda 集成会更好。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM