S3 Object Tags are key-value pairs applied to S3 objects.
Why tags?
Tagging help to create IAM policies, customize storage metrics and setup S3 Lifecycle policies such as transitions between storage classes and expire objects in the background.
Tags can also be used to label objects that belong to a specific project or BU, which could be used in conjunction with lifecycle policies to manage transitions.
How tags are created?
Can be created, updated or deleted at any time during the object lifetime, using either the Management Console, the REST API, the AWS CLI, or the AWS SDKs.
All changes to tags outside of the Management Console are made with the full tag set: If you have five tags attached to an object and want to add sixth, you need to include the original five tags in that request.
Up to ten tags can be added to each S3 object.
Additional Points (Exam Tips)
-
Object Tags can be replicated across regions using Cross-Region Replication.
-
For customers with CRR already enabled, new permissions are required for tags to replicate: The s3:GetObjectVersionTagging permission allows S3 to read object tags for replication.
-
Pricing: Object Tags are priced at $0.01 per 10,000 tags per month. The requests associated with adding and updating Object Tags are priced the same as existing request prices.
References:
- heartin's blog
- Log in or register to post comments
Recent comments