我有一个带有目录结构的AWS S3存储桶,我的应用程序中的每个用户都有一个像Dir(User-ID) eg Dir(1233233)
这样的独立控制器。我想创建2个云端路径模式,以便 -
我正在尝试使用未签名的策略创建类似Dir(*)/*.jpg
的内容,并使用已签名的策略创建默认策略。这似乎不起作用。有关如何实现这一目标的任何想法?
答案 0 :(得分:0)
'(' is not an acceptable character and will not work with patterns.
Checked on,
Dir*/*.jpg
and it works.
Based on the documentation,
The maximum length of a path pattern is 255 characters. The value can contain any of the following characters:
A-Z, a-z
Path patterns are case sensitive, so the path pattern *.jpg doesn't apply to the file LOGO.JPG.
0-9
_ - . * $ / ~ " ' @ : +
&, passed and returned as & amp;
Hope it helps.