generative-ai-cdk-constructs

@cdklabs/generative-ai-cdk-constructs


@cdklabs/generative-ai-cdk-constructs / kendra / KendraGenAiIndexProps

Interface: KendraGenAiIndexProps

Properties for creating a GenAI Index.

Properties

documentCapacityUnits?

readonly optional documentCapacityUnits: number

The document capacity units. Every unit increases the baseline capacity by 20,000 documents. E.g. documentCapacityUnits: 1 means Baseline + 20,000 documents = 40,000 documents

Default

0 - baseline capacity of 20,000 documents

kmsKey?

readonly optional kmsKey: IKey

The identifier of the AWS KMS customer managed key (CMK) to use to encrypt data indexed by Amazon Kendra. Amazon Kendra doesn’t support asymmetric CMKs.

Default

- AWS managed encryption key is used.

name?

readonly optional name: string

The name of the index.

Default

- A name is generated by CDK.

queryCapacityUnits?

readonly optional queryCapacityUnits: number

The query capacity units. Every unit increases the baseline capacity by 0.1 QPS. E.g. queryCapacityUnits: 7 means Baseline + 0.1 QPS * 7 = 0.8 QPS

Default

0 - baseline capacity of 0.1 QPS