This script helps you get all of Amazon IP ranges in a text file it provides IPv4 and IPv6.
it is basically a code that reads Amazon official JSON file and export all IPs into a txt file so you ccan test it with this tool
simply open Python script and wait for it to close. It'll give you two text files that contain all Amazon IP ranges both IPv4 and IPv6.