AWS::QBusiness::DataSource DocumentEnrichmentConfiguration
Provides the configuration information for altering document metadata and content during the document ingestion process.
For more information, see Custom document enrichment.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "InlineConfigurations" :
[ InlineDocumentEnrichmentConfiguration, ... ]
, "PostExtractionHookConfiguration" :HookConfiguration
, "PreExtractionHookConfiguration" :HookConfiguration
}
YAML
InlineConfigurations:
- InlineDocumentEnrichmentConfiguration
PostExtractionHookConfiguration:HookConfiguration
PreExtractionHookConfiguration:HookConfiguration
Properties
InlineConfigurations
-
Configuration information to alter document attributes or metadata fields and content when ingesting documents into Amazon Q Business.
Required: No
Type: Array of InlineDocumentEnrichmentConfiguration
Minimum:
1
Maximum:
100
Update requires: No interruption
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 Using Lambda functions.
Required: No
Type: HookConfiguration
Update requires: No interruption
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 Using Lambda functions.
Required: No
Type: HookConfiguration
Update requires: No interruption