There is no option to select "Datacenters" for a rule but there are 2 filters to play with:
- "Known Bots", this might capture what you want, you can make an exception for "Verified Bot Category" maybe to prevent Google from scraping for example. Depends on if you want to stop all scraping or just the excessive ones.
- "AS Num", lookup via WHOIS which AS number the IP belongs to and offer a challenge to those, you can for example challenge AS Num 14061 to challenge all IP's from the cloud provider Digital Ocean.
Keep in mind that a lot of traffic comes from datacenter IPs you might want to still want to allow like webhooks from other services or good bots uptime monitoring and the like. So be careful with sweeping rules that block large parts of the internet!
Good luck!