CustomDocumentEnrichmentConfiguration
Provides the configuration information for altering document metadata and content during the document ingestion process.
For more information, see Customizing document metadata during the ingestion process.
Contents
- InlineConfigurations
-
Configuration information to alter document attributes or metadata fields and content when ingesting documents into Amazon Kendra.
Type: Array of InlineCustomDocumentEnrichmentConfiguration objects
Array Members: Minimum number of 0 items. Maximum number of 100 items.
Required: No
- PostExtractionHookConfiguration
-
Configuration information for invoking a Lambda function in AWS Lambda on the structured documents with their metadata and text extracted. You can use a Lambda function to apply advanced logic for creating, modifying, or deleting document metadata and content. For more information, see Advanced data manipulation.
Type: HookConfiguration object
Required: No
- PreExtractionHookConfiguration
-
Configuration information for invoking a Lambda function in AWS Lambda on the original or raw documents before extracting their metadata and text. You can use a Lambda function to apply advanced logic for creating, modifying, or deleting document metadata and content. For more information, see Advanced data manipulation.
Type: HookConfiguration object
Required: No
- RoleArn
-
The Amazon Resource Name (ARN) of an IAM role with permission to run
PreExtractionHookConfiguration
andPostExtractionHookConfiguration
for altering document metadata and content during the document ingestion process. For more information, see an IAM roles for Amazon Kendra.Type: String
Length Constraints: Minimum length of 0. Maximum length of 1284.
Pattern:
arn:[a-z0-9-\.]{1,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[^/].{0,1023}
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: