how to upload files directly to cloudfront distribution ?
According to documentation we can upload to the distribution directly
when I send the put request to distributionname.cloudfront.net It says 403 forbidden
although I enabled the CORS configuration in s3
is there any similar method to s3.putobject for uploading to the cloudfront directly ?
or should I keep sending to the s3 origin of distribution buketname.s3.amazonaws.com/?
Actually AWS released a feature later called as
“Amazon S3 Transfer Acceleration”
to Transfer Acceleration takes advantage of Amazon CloudFront’s globally distributed edge locations