In all of the IAM Policy examples, they mention using wildcards (*
) as placeholders for "stuff". However, the examples always use them at the end, and/or only demonstrate with one wildcard (e.g. to list everything in folder "xyz" with .../xyz/*
).
I can't find anything definitive regarding the use of multiple wildcards, for example to match anything in subfolders across multiple buckets:
arn:aws:s3:::mynamespace-property*/logs/*
to allow something to see any log
files across a "production" (mynamespace-property-prod
) and "sandbox" (mynamespace-property-sand
) bucket.