Protect downloads of your content hosted on CloudFront with Cognito authentication using cookies and Lambda@Edge
Why do you think that https://github.com/aws-samples/amazon-cloudfront-functions is a good alternative to cloudfront-authorization-at-edge