![](/img/trans.png)
[英]AWS Cloudformation - How to attach vpc link / NLB to method in api gateway?
[英]providing vpc end point in aws api gateway cloudformation
我沒有找到關於如何在我的雲格式中為 api 網關添加 vpc 端點的任何詳細信息。 這是我的 cfn 模板,我可以將端點配置提供為私有,但我似乎無法添加 vpce 詳細信息。 我可以通過控制台更新 api,但我希望它通過雲形成進行更新。
"TestApi": {
"Type": "AWS::Serverless::Api",
"Properties": {
"StageName": {"Ref": "ApiStageName"},
"EndpointConfiguration": "PRIVATE"
}
}
EndpointConfiguration具有以下形式:
Type: String
VPCEndpointIds: List
因此,使用VPCEndpointIds
您可以為您的私有 API 提供 VPC 接口端點 ID。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.