Can the asterisk mark be used in S3 lifecycle policy prefix when creating an S3 lifecycle configuration?
- Views:
- 1,651
- Visibility:
- Public
- Votes:
- 0
- Category:
- storagegrid
- Specialty:
- esg
- Last Updated:
- 1/5/2022, 5:54:29 AM
Applies to
StorageGRID
Answer
The asterisk mark (and also including the question mark) can be used in
prefix
without any error, it doesn't mean 'any' as a wildcard, but only as a valid 'special' character.Example:
When specifying Prefix
to category*/
, it only applies to the objects with the prefix name of category*/
, but not all the objects with the prefix like category1/
, category200/
, and so on.