CreateIndexRequest
import type { CreateIndexRequest } from "https://aws-api.deno.dev/v0.3/services/kendra.ts?docs=full";
§Properties
A token that you provide to identify the request to create an index.
Multiple calls to the CreateIndex
operation with the same client token will create only one index.
The Amazon Kendra edition to use for the index.
Choose DEVELOPER_EDITION
for indexes intended for development, testing, or proof of concept.
Use ENTERPRISE_EDITION
for your production databases.
Once you set the edition for an index, it can't be changed.
The Edition
parameter is optional.
If you don't supply a value, the default is ENTERPRISE_EDITION
.
For more information on quota limits for enterprise and developer editions, see Quotas.
An Identity and Access Management(IAM) role that gives Amazon Kendra permissions to access your Amazon CloudWatch logs and metrics.
This is also the role used when you use the BatchPutDocument
operation to index documents from an Amazon S3 bucket.
The identifier of the KMScustomer managed key (CMK) to use to encrypt data indexed by Amazon Kendra. Amazon Kendra doesn't support asymmetric CMKs.
The user context policy.
ATTRIBUTE_FILTER:
All indexed content is searchable and displayable for all users.
If you want to filter search results on user context, you can use the attribute filters of _user_id
and _group_ids
or you can provide user and group information in UserContext
.
USER_TOKEN: Enables token-based user access control to filter search results on user context. All documents with no access control and all documents accessible to the user will be searchable and displayable.
Enables fetching access levels of groups and users from an Amazon Web Services Single Sign On identity source. To configure this, see UserGroupResolutionConfiguration.
The user token configuration.