Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Resource policies and cost on AWS API Gateway [closed]

I'm curious about using API Gateway resource policies to only allow a subset of IPs to access it. I am wondering, if someone outside of this IP range would spam the endpoint, would that still incur costs or do you only pay for "non-rejected" requests?

like image 615
Marc Avatar asked Oct 22 '25 04:10

Marc


1 Answers

would that still incur costs or do you only pay for "non-rejected" requests?

You do not pay for rejected requests. I have worked with the developers to confirm the code that triggers the charges executes only after the request gets past the access controls

like image 162
Seth E Avatar answered Oct 24 '25 03:10

Seth E