It is not clear, do you deploy this in-front of your load balancers, after? They mention CloudFront, but that doesn't make much sense, because you want a WAF to protect your application, not just static assets right?
Not that I'd ever want this, because CloudFront is dog slow compared to other CDNs, but yeah..