amazon web services - AWS API Gateway Policy Per Header -
i have policy on api gateway throttle requests based on header value. example, header value "aaa" allowed 10 requests per day, "bbb", 20 requests. possible? how can achieve this? note: trying avoid writing lambda function purpose, because need keep state, etc.
api gateway has usage plans, support attempting do.
each usage plan can have throttling limit, restricts requests per second , burst rate. usage plans can have quotas, allow add limits on requests per day.
api gateway allows add api keys usage plan. api keys sent http header (x-api-key).
you can find more details in usage plans api gateway launch blog , api gateway usage plan docs.
Comments
Post a Comment