Amazon web services Amazon s3 Bucket无服务器映像处理程序访问被拒绝

Amazon web services Amazon s3 Bucket无服务器映像处理程序访问被拒绝,amazon-web-services,amazon-s3,thumbor,Amazon Web Services,Amazon S3,Thumbor,我使用这个工具将无服务器映像处理程序部署到S3 bucket。这是成功的 我还尝试了演示用户界面,它的工作。但我无法在S3 bucket中通过Thumb或image请求获取图像。像这样, https://<distName>.cloudfront.net/fit-in/500x500/image.png 如何通过url使当前存储桶与无服务器图像处理程序一起工作?您的存储桶策略是什么?您的bucket策略中是否包含此类型或本金??“Principal”:{“AWS”:“arn:AWS

我使用这个工具将无服务器映像处理程序部署到S3 bucket。这是成功的

我还尝试了演示用户界面,它的工作。但我无法在S3 bucket中通过Thumb或image请求获取图像。像这样,

https://<distName>.cloudfront.net/fit-in/500x500/image.png

如何通过url使当前存储桶与无服务器图像处理程序一起工作?

您的存储桶策略是什么?您的bucket策略中是否包含此类型或本金??“Principal”:{“AWS”:“arn:AWS:iam::cloudfront:user/cloudfront-Origin-Access-Identity”}Principal,在您的示例“Principal”中完全相同:{“AWS”:“arn:aws:iam::cloudfront:user…..确保您的cloudfront分发版中的png文件具有原始行为。您解决了吗?我也遇到了相同的错误。遵循相同的指南。
{ 
   "status":400,
   "code":"RequestTypeError",
   "message":"The type of request you are making could not be processed. Please ensure that your original image is of a supported file type (jpg, png, tiff, webp) and that your image request is provided in the correct syntax. Refer to the documentation for additional guidance on forming image requests."
}