Skip to content

Index

Source: src/AWS/QBusiness/SearchIndex.ts

An Amazon Q Business index — the document store that data sources sync content into and retrievers query.

Starter Index

import * as AWS from "alchemy/AWS";
const index = yield* AWS.QBusiness.Index("Docs", {
applicationId: app.applicationId,
});

Enterprise Index with Extra Capacity

const index = yield* AWS.QBusiness.Index("Docs", {
applicationId: app.applicationId,
type: "ENTERPRISE",
capacityConfiguration: { units: 2 },
});