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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则