1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
Unfortunately, I don't think tags can be set for S3 prefixes.
Set tags on the object instead.
Tags can be set on the object either at upload time or after upload.
If done with AWS CLI, it will look like this.
aws s3api put-object --bucket example-bucket --body test.txt --key test/key --tagging Key1=Value1
Contenus pertinents
- demandé il y a 4 mois
- demandé il y a un an
- demandé il y a 7 mois
- AWS OFFICIELA mis à jour il y a 2 ans
Is the smaller set of prefixes a subset of the larger set? As in you want a different lifecycle rule for objects with the prefix
example/
and another for objects with the prefixexample/smaller/
. Just want to make sure I understand the ask.