Can you tag individual S3 objects in AWS?

user1424815 picture user1424815 · Oct 4, 2012 · Viewed 13.3k times · Source

It appears as though I can only use tags at the bucket level in S3. That seems to make sense in a way, because you would likely only do billing at that kind of macro level. However, I can see a few use cases for tagging so that different folks get billed for different objects in the same bucket.

Can you tag individual S3 objects?

Answer

Kobi picture Kobi · Dec 1, 2016

Object tagging is a new feature, announced at December, 2016. From the announcement:

With S3 Object Tagging you can manage and control access for Amazon S3 objects. S3 Object Tags are key-value pairs applied to S3 objects which can be created, updated or deleted at any time during the lifetime of the object. With these, you’ll have the ability to create Identity and Access Management (IAM) policies, setup S3 Lifecycle policies, and customize storage metrics. These object-level tags can then manage transitions between storage classes and expire objects in the background.

See also: S3 » Objects » Object Tagging

At the moment, it doesn't look like you can search by tags, or that object tagging affects billing.