amazon web services - Does CloudFront support versioned origins? -
i have versioned s3 bucket origin. correct format accessing specific version of object cloudfront?
http://example.cloudfront.net/files/file.pdf?verisonid=[id]
it ignoring versionid , serving head object.
my s3 bucket policy allows following actions cloudfront:
s3:getobjectversion s3:getobject
i've searched , searched can't seem find documentation on this. how specify versionid in cloudfront url?
i figured out. in cloudfront go distributions > behaviors. set "forward query strings" yes. allow cloudfront pass versionid s3 , cache correct version.
note need s3:getobject
bucket policy action make work.
Comments
Post a Comment