# Data governance with annotations in Amazon S3

DevFeed: [Data governance with annotations in Amazon S3](<https://devfeed.tech/articles/data-governance-with-annotations-in-amazon-s3-101933.md>)

Original publisher: [Read original article](<https://aws.amazon.com/blogs/architecture/data-governance-with-annotations-in-amazon-s3/>)

Author: Aditya Jain

Published: 2026-10-26T18:00:26Z

Content type: article

Language: en

Sources: [AWS Architecture Blog](<https://devfeed.tech/sources/aws-architecture-blog.md>)

Topics: [Amazon S3](<https://devfeed.tech/topics/amazon-s3.md>), [Amazon S3 Tables](<https://devfeed.tech/topics/amazon-s3-tables.md>), [Authorization](<https://devfeed.tech/topics/authorization.md>), [pii](<https://devfeed.tech/topics/pii.md>), [ai-governance](<https://devfeed.tech/topics/ai-governance.md>), [Publish-subscribe pattern](<https://devfeed.tech/topics/pubsub.md>), [AI Chat](<https://devfeed.tech/topics/ai-chat.md>)

Tags: [amazon-athena](<https://devfeed.tech/tags/amazon-athena.md>), [amazon-bedrock](<https://devfeed.tech/tags/amazon-bedrock.md>), [amazon-eventbridge](<https://devfeed.tech/tags/amazon-eventbridge.md>), [amazon-s3](<https://devfeed.tech/tags/amazon-s3.md>), [amazon-s3-tables](<https://devfeed.tech/tags/amazon-s3-tables.md>), [amazon-simple-storage-service-s3](<https://devfeed.tech/tags/amazon-simple-storage-service-s3.md>), [amazon-sqs](<https://devfeed.tech/tags/amazon-sqs.md>), [annotations](<https://devfeed.tech/tags/annotations.md>), [apache](<https://devfeed.tech/tags/apache.md>), [apache-iceberg](<https://devfeed.tech/tags/apache-iceberg.md>), [api](<https://devfeed.tech/tags/api.md>), [apis](<https://devfeed.tech/tags/apis.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [athena](<https://devfeed.tech/tags/athena.md>), [audit](<https://devfeed.tech/tags/audit.md>), [audit-trail](<https://devfeed.tech/tags/audit-trail.md>), [classification](<https://devfeed.tech/tags/classification.md>), [data-governance](<https://devfeed.tech/tags/data-governance.md>), [governance](<https://devfeed.tech/tags/governance.md>), [intermediate-200](<https://devfeed.tech/tags/intermediate-200.md>), [pii](<https://devfeed.tech/tags/pii.md>), [retention](<https://devfeed.tech/tags/retention.md>), [technical-how-to](<https://devfeed.tech/tags/technical-how-to.md>)

## AI overview

Amazon S3 annotations keep structured governance context on a specific object version, where it can be updated without rewriting the object and read through annotation APIs or queried at scale with an S3 Metadata Iceberg table and Athena. The pattern uses an enrichment process for new uploads, scheduled updates with an ETag condition, and S3 Batch Operations for backfill; generated labels need validation before they drive consequential actions. Key constraints shape deployment: in versioned buckets, ordinary deletes leave annotations on prior versions; Object Lock blocks annotation changes during retention; multipart copies require an opt-in to preserve annotations; annotation overwrites and deletes have no history; and SSE-C objects are unsupported. Separate read, write, and delete permissions, configure annotation replication explicitly, and account for asynchronous table refresh and annotation replication, as well as storage and request costs. Annotations suit rich, mutable context, but not relational queries, policy or lifecycle filtering on annotation values, or very high write rates to one object.

## Source excerpt

Attach governance context such as classification, retention, residency, and PII flags directly to your Amazon S3 objects with S3 annotations. This post walks through the end-to-end pattern and the handful of S3 behaviors that decide whether your governance design is correct.