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
질문됨 일 년 전419회 조회
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
답변함 일 년 전
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

답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠