Rate Limit Timestream Queries For IAM User

0

Is there a way to place any sort of rate limit on timestream queries?

Right now I have a cloudwatch alert set up for "CumulativeBytesMetered" over a period of time which works fine if im available to see it. Instead, I would like start rejecting queries if a certain quota is reached.

I'm sure i could get something in lambda working to remove permissions from the IAM user or similar, but id rather use a built-in option if it is available.

JKeyser
已提问 1 年前420 查看次数
2 回答
0

Hi,

I have checked with our Timestream engineer and currently we do not have such quota available to reject queries. The lambda seems to be the way to move forward.

AWS
支持工程师
Kevin_Z
已回答 1 年前
0

If you know the limit you want to set at a query level, you could try cancelling the query upon reaching the desired BytesMeteredSoFar limit - example code can be seen here - https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.run-query.html#code-samples.run-query.query-status

已回答 1 年前

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

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

回答问题的准则