在预算限制后关闭 APIGateway。

0

【以下的问题经过翻译处理】 当我的AWS账户达到特定预算限制时,是否有自动关闭触发Lambda的API网关的方法?

1 Answer
0

【以下的回答经过翻译处理】 2020 年 10 月,AWS 发布了 AWS 预算行动 [1][2][3]。这使您能够创建采取行动的预算警报。可能的操作包括向 SNS 主题发送通知,该主题可以作为订阅者使用 Lambda 函数。 Lambda 可以执行 Lambda 有权执行的任何操作。请注意,AWS 预算每天最多更新 4 次。因此,预算警报最多可能需要 24 小时才能注意到 API GW 支出的增加,从而触发操作和 Lambda。

[1] https://aws.amazon.com/about-aws/whats-new/2020/10/announcing-aws-budgets-actions/

[2] https://docs.aws.amazon.com/cost-management/latest/userguide/budgets-controls.html

[3] https://aws.amazon.com/blogs/aws-cloud-financial-management/get-started-with-aws-budgets-actions/

profile picture
EXPERT
answered 5 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions