interface InlineDocumentEnrichmentConfigurationProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.aws_qbusiness.CfnDataSource.InlineDocumentEnrichmentConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsqbusiness#CfnDataSource_InlineDocumentEnrichmentConfigurationProperty |
Java | software.amazon.awscdk.services.qbusiness.CfnDataSource.InlineDocumentEnrichmentConfigurationProperty |
Python | aws_cdk.aws_qbusiness.CfnDataSource.InlineDocumentEnrichmentConfigurationProperty |
TypeScript | aws-cdk-lib » aws_qbusiness » CfnDataSource » InlineDocumentEnrichmentConfigurationProperty |
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
// 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
Name | Type | Description |
---|---|---|
condition? | IResolvable | Document | Configuration of the condition used for the target document attribute or metadata field when ingesting documents into Amazon Q Business . |
document | string | TRUE to delete content if the condition used for the target attribute is met. |
target? | IResolvable | Document | Configuration of the target document attribute or metadata field when ingesting documents into Amazon Q Business . |
condition?
Type:
IResolvable
|
Document
(optional)
Configuration of the condition used for the target document attribute or metadata field when ingesting documents into Amazon Q Business .
documentContentOperator?
Type:
string
(optional)
TRUE
to delete content if the condition used for the target attribute is met.
target?
Type:
IResolvable
|
Document
(optional)
Configuration of the target document attribute or metadata field when ingesting documents into Amazon Q Business .
You can also include a value.