InlineDocumentEnrichmentConfigurationProperty Struct
Provides the configuration information for applying basic logic to alter document metadata and content when ingesting documents into Amazon Q Business.
To apply advanced logic, to go beyond what you can do with basic logic, see HookConfiguration .
For more information, see Custom document enrichment .
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_qbusiness as qbusiness } from 'aws-cdk-lib';
const inlineDocumentEnrichmentConfigurationProperty: qbusiness.CfnDataSource.InlineDocumentEnrichmentConfigurationProperty = {
condition: {
key: 'key',
operator: 'operator',
// the properties below are optional
value: {
dateValue: 'dateValue',
longValue: 123,
stringListValue: ['stringListValue'],
stringValue: 'stringValue',
},
},
documentContentOperator: 'documentContentOperator',
target: {
key: 'key',
// the properties below are optional
attributeValueOperator: 'attributeValueOperator',
value: {
dateValue: 'dateValue',
longValue: 123,
stringListValue: ['stringListValue'],
stringValue: 'stringValue',
},
},
};
Properties
conditionIResolvable | CfnDataSource.DocumentAttributeConditionPropertyconditiontyping.Union[IResolvable, DocumentAttributeConditionProperty]conditionIResolvableConditionIResolvableConditioninterface{}#Configuration of the condition used for the target document attribute or metadata field when ingesting documents into Amazon Q Business .
documentContentOperatorstringdocument_content_operatorstrdocumentContentOperatorStringDocumentContentOperatorstringDocumentContentOperator*string#`TRUE` to delete content if the condition used for the target attribute is met.
targetIResolvable | CfnDataSource.DocumentAttributeTargetPropertytargettyping.Union[IResolvable, DocumentAttributeTargetProperty]targetIResolvableTargetIResolvableTargetinterface{}#Configuration of the target document attribute or metadata field when ingesting documents into Amazon Q Business .
You can also include a value.