Situation Want Set Basic Auth With AWS CloudFront How To Architecture Conponent Amazon S3 AWS CloudFront AWS CloudFront Function Part Of CloudFront Function Create New CloudFront Function Enter Function Name , And Choice js-1.0 Runtime Enter The Code Part Of CloudFront Create New Behavior On Function Associations, Choice Viewer request Setting CloudFront Functions And Select Function Name Verify