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年前421ビュー
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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ