Amazon Bedrock Knowledge Bases

awsSearch indexaws-bedrock-knowledge-base

Managed retrieval-augmented generation index over your data sources.

Provider
aws
Category
Data
Properties · 3 set by this component
propertytypevaluesrequiredkind defaultthis component
chunkSizeTokens · component propertyinteger—no300inherited
chunkingStrategy · component propertyenumdefault | fixed-size | hierarchical | semantic | nonenodefaultinherited
documentLevelPermissions · component propertyboolean—nofalseinherited
geoScheme · advancedenumnone | s2 | h3 | geohash | quadtreenononeinherited
indexingenumsync | async | batchnoasync▸ batch
knowledgeBaseType · component propertyenummanaged | customer-managedno—inherited
managedboolean—nofalse▸ true
rebuildCadenceHours · advancedinteger—no—inherited
replicasinteger—no—inherited
shardingStrategy · advancedenumnone | hash | geo | time | prefix-rangenononeinherited
structureenuminverted | trie | vector | geo-cellnoinverted▸ vector
vectorStore · component propertyenumopensearch-serverless | aurora | neptune-analytics | s3-vectors | kendra-genai-indexno—inherited
Rules that apply · 1

Every rule whose selector covers this component's kind or its category. Whether a rule fires depends on the design: its properties, its edges and its groups.

derived-store-without-cdc-or-rebuild

A search index is derived data and needs an asynchronous feed from a stream, change data capture or an indexing worker. Without one it is written inline on the request path, and it can never be rebuilt after it drifts.

  • — this does not hold:
  • — the node has at least one asynchronous incoming edge from a stream, change-data-capture or worker
Use it in a design
nodes:
  - { id: "bedrock-knowledge-base", component: "aws-bedrock-knowledge-base" }
Other Search index products · 31
Source
# yaml-language-server: $schema=../../schema/component.schema.json
# Amazon Bedrock Knowledge Bases: managed RAG index that chunks and embeds source documents into a
# vector store and serves retrieval queries. Per "How content chunking works for knowledge bases" the
# default chunking strategy splits content into chunks of approximately 300 tokens on sentence
# boundaries; data sources are loaded by ingestion jobs.
schemaVersion: "1"
type: "component"
id: "aws-bedrock-knowledge-base"
kind: "search-index"
provider: "aws"
docs: "https://docs.aws.amazon.com/bedrock/latest/userguide/kb-chunking-parsing.html"
defaults:
  managed: true
  structure: "vector"
  indexing: "batch"
properties:
  knowledgeBaseType:
    type: "enum"
    values: ["managed", "customer-managed"]
  vectorStore:
    type: "enum"
    values: ["opensearch-serverless", "aurora", "neptune-analytics", "s3-vectors", "kendra-genai-index"]
  chunkingStrategy:
    type: "enum"
    values: ["default", "fixed-size", "hierarchical", "semantic", "none"]
    default: "default"
  chunkSizeTokens:
    type: "integer"
    default: 300
  documentLevelPermissions:
    type: "boolean"
    default: false

The same page as markdown, for an agent: /catalogue/components/aws-bedrock-knowledge-base.md