How to Automatically Update Your Security Groups for Amazon CloudFront and AWS WAF by Using AWS Lambda - AWS Security Blog