我的 API 网关设置如下:
现在我需要将上面的设置更新为 vpc 链接和相同的 url,所以最后我想将其转换为:
如您所见,我可以通过控制台完成此操作。我也可以通过 cli 完成上述操作吗?
我发现以下内容无法获得有效的示例。
https://docs.aws.amazon.com/cli/latest/reference/apigateway/update-method.html
https://docs.aws.amazon.com/cli/latest/reference/apigateway/update-rest-api.html
有人可以帮忙吗?完全支持吗?
最佳答案
支持。您正在寻找更新集成命令 https://docs.aws.amazon.com/cli/latest/reference/apigateway/update-integration.html
连接类型为 VPC_LINK
关于amazon-web-services - 通过cli更新api网关到vpc链接,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51163801/