View a markdown version of this page

Connecting data sources - AWS Context

Connecting data sources

This chapter describes how to connect your data sources to AWS Context. You create a Connection to a source once, then bind it into one or more Agent Contexts through connectionMappings to control what AWS Context ingests and how. A Connection is a top-level resource: the same connection can be reused across Agent Contexts, and a single Agent Context can bind up to 20 connections.

AWS Context handles a source according to whether its data is structured or unstructured:

  • Structured sources, such as data catalogs, are ingested directly as database, table, and column nodes. This is deterministic schema ingestion, and no extraction is required.

  • Unstructured sources, such as knowledge bases and uploaded documents, go through ontology-guided extraction: AWS Context analyzes their text to extract entities and relationships before they become part of the Agent Context.

Access to source data is identity-aware. Where a source enforces its own permissions, such as AWS Lake Formation fine-grained access control, AWS Context respects those permissions so that an agent receives only the context the requesting identity is authorized to see.