Removed cloudfront-specific details from S3 input and added regex filter.