Reputation: 721
I have a AWS S3 bucket with directory structure with each user in my application having a seperate director like Dir(User-ID) eg Dir(1233233)
. I want to create 2 cloudfront path patter such that -
I am trying to create something like Dir(*)/*.jpg
with unsigned policy and a default one with a signed policy. This doesn't seem to work. Any ideas on how can I achieve this?
Upvotes: 0
Views: 1971
Reputation: 13035
'(' 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.
Upvotes: 0