1 Respuesta
- Más nuevo
- Más votos
- Más comentarios
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
Contenido relevante
- OFICIAL DE AWSActualizada hace 3 años
- OFICIAL DE AWSActualizada hace 7 meses
- OFICIAL DE AWSActualizada hace un año
- OFICIAL DE AWSActualizada hace 8 meses
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.