Does the cache configured in a custom authorizer within an API Gateway incur any cost?

0

I couldn't find any docs explicitly mentioned any cost related to the cache configured for a custom authorizer.

2 個答案
0

Hi - Thanks for checking. I haven't seen the pricing on the Authorization Caching on API Gateway pricing. Unless for better performance and faster API execution, you can optionally provision a dedicated cache for each stage of your APIs. After you specify the size of the cache you require, you will be charged the hourly rates for each stage's cache, without any long-term commitments.

Reference : https://aws.amazon.com/api-gateway/pricing/

profile pictureAWS
專家
已回答 1 年前
  • I really appreciate the answer, but I think I am well aware that API gateway cache for an entire API stage is totally a separate issue from caching configured for the custom lambda authoriser. This does not really answer the question. Thanks!

0

There is no charge associated to lambda authorizer caching. You will save on costs when you enable authorizer caching since the backend Lambda will not be invoked.

AWS
支援工程師
已回答 1 年前

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

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

回答問題指南