跳至內容

AWS API Gateway Mock Integration Cost/Risk

0

What use is the mock integration and does it cost if there are responses etc? Just curious if it is a security risk with having these mock integrations as unauthorised and if they can be abused similar to other endpoints.

已提問 2 年前檢視次數 378 次
1 個回答
1
已接受的答案

Mock integrations are just like any other integration, with the difference that they return a fixed value and do not actually invoke a backend. They can be used for testing your API, but for other things as redirecting one endpoint to another.

You should protect it as you protect any other endpoint. There are cases when you need to protect and others when you do not. It depends on the specific use case.

Mock integrations cost the same as any other endpoint (from API Gateway's point of view), but there is no additional cost for a backend.

AWS
專家
已回答 2 年前
專家
已審閱 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。