本文介绍了Azure数据工厂S3存储桶连接 - 子文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 您好,使用Azure数据工厂,我正在尝试连接到我的S3存储桶,但我无法连接。 铲斗的位置是否有任何限制? 否则,Azure是否支持子文件夹? 我有一个桶,而不是根目录,我可以使用各种工具访问,而不是Azure。 这是我的存储桶IAM权限和位置(例如伪造域名):Using Azure data factory, I am trying to connect to my S3 bucket but I am unable to connect. Are there any limitations regarding where the bucket is located? Otherwise, does Azure support subfolders? I have a bucket, not in the root, that I am able to access using a variety of tools, just not Azure. Here's my bucket IAM permissions and location (example with bogus domain): {   "版本":"2012-10-17","   "声明":[       {           "效果":"允许",           "行动":[               " s3:ListBucket"           ],           "条件":{               "StringLike":{                   " s3:prefix":" testing / main / *"               }¥b $ b           },b $ b           "资源":[               " arn:aws:s3 ::: testing.com"           ]¥b $ b       },b $ b       {           "行动":[               " s3:GetObject",               " s3:PutObject",               " s3:DeleteObject"           ],           "效果":"允许",           "资源":[               " arn:aws:s3 ::: testing.com/testing/main/*"           ]¥b $ b       }¥b $ b   ]¥b $ b}{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "s3:ListBucket" ], "Condition": { "StringLike": { "s3:prefix": "testing/main/*" } }, "Resource": [ "arn:aws:s3:::testing.com" ] }, { "Action": [ "s3:GetObject", "s3:PutObject", "s3:DeleteObject" ], "Effect": "Allow", "Resource": [ "arn:aws:s3:::testing.com/testing/main/*" ] } ]}这是我的Azure示例Json(不确定如何定义存储桶):Here's my Azure example Json (not sure how to define the bucket): {推荐答案您需要提供以下权限: s3:GetObject 和 s3:GetObjectVersion for Amazon S3 Object Operations。 s3:ListBucket 或 s3:GetBucketLocation for Amazon S3 Bucket Operations。 s3:ListAllMyBuckets 。s3:GetObject and s3:GetObjectVersion for Amazon S3 Object Operations.s3:ListBucket or s3:GetBucketLocation for Amazon S3 Bucket Operations.s3:ListAllMyBuckets is also required for Copy activities.了解更多有关信息,请参阅 this doc 。For more information, please referthis doc.请尝试指定上述权限,看看它是否能解决问题。否则,我们很乐意继续深入研究这个问题。Please try assigining the above permissions to see if it resolves the issue. Else, we can gladly continue to dive deeper into the issue. 这篇关于Azure数据工厂S3存储桶连接 - 子文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云! 08-20 13:44