aws-cdk-lib.aws_kendra.CfnDataSource.InlineCustomDocumentEnrichmentConfigurationProperty

interface InlineCustomDocumentEnrichmentConfigurationProperty

LanguageType name
.NETAmazon.CDK.AWS.Kendra.CfnDataSource.InlineCustomDocumentEnrichmentConfigurationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awskendra#CfnDataSource_InlineCustomDocumentEnrichmentConfigurationProperty
Javasoftware.amazon.awscdk.services.kendra.CfnDataSource.InlineCustomDocumentEnrichmentConfigurationProperty
Pythonaws_cdk.aws_kendra.CfnDataSource.InlineCustomDocumentEnrichmentConfigurationProperty
TypeScript aws-cdk-lib » aws_kendra » CfnDataSource » InlineCustomDocumentEnrichmentConfigurationProperty

Provides the configuration information for applying basic logic to alter document metadata and content when ingesting documents into Amazon Kendra.

To apply advanced logic, to go beyond what you can do with basic logic, see HookConfiguration .

For more information, see Customizing document metadata during the ingestion process .

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_kendra as kendra } from 'aws-cdk-lib';
const inlineCustomDocumentEnrichmentConfigurationProperty: kendra.CfnDataSource.InlineCustomDocumentEnrichmentConfigurationProperty = {
  condition: {
    conditionDocumentAttributeKey: 'conditionDocumentAttributeKey',
    operator: 'operator',

    // the properties below are optional
    conditionOnValue: {
      dateValue: 'dateValue',
      longValue: 123,
      stringListValue: ['stringListValue'],
      stringValue: 'stringValue',
    },
  },
  documentContentDeletion: false,
  target: {
    targetDocumentAttributeKey: 'targetDocumentAttributeKey',

    // the properties below are optional
    targetDocumentAttributeValue: {
      dateValue: 'dateValue',
      longValue: 123,
      stringListValue: ['stringListValue'],
      stringValue: 'stringValue',
    },
    targetDocumentAttributeValueDeletion: false,
  },
};

Properties

NameTypeDescription
condition?IResolvable | DocumentAttributeConditionPropertyConfiguration of the condition used for the target document attribute or metadata field when ingesting documents into Amazon Kendra.
documentContentDeletion?boolean | IResolvableTRUE to delete content if the condition used for the target attribute is met.
target?IResolvable | DocumentAttributeTargetPropertyConfiguration of the target document attribute or metadata field when ingesting documents into Amazon Kendra.

condition?

Type: IResolvable | DocumentAttributeConditionProperty (optional)

Configuration of the condition used for the target document attribute or metadata field when ingesting documents into Amazon Kendra.


documentContentDeletion?

Type: boolean | IResolvable (optional)

TRUE to delete content if the condition used for the target attribute is met.


target?

Type: IResolvable | DocumentAttributeTargetProperty (optional)

Configuration of the target document attribute or metadata field when ingesting documents into Amazon Kendra.

You can also include a value.