How to block bad User Agents in API Gateway
An API Gateway Resource Policy can be used to selectively block certain User Agents, saving you money.
An API Gateway Resource Policy can be used to selectively block certain User Agents, saving you money.
You can easily calculate the S3 ETag for a local file. We've used Python, however the logic can be applied elsewhere if desired.
Every S3 object has an associated Entity tag or ETag which can be used for file and object comparison.