Interface CfnDataSource.DocumentEnrichmentConfigurationProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnDataSource.DocumentEnrichmentConfigurationProperty.Jsii$Proxy
Enclosing class:
CfnDataSource

@Stability(Stable) public static interface CfnDataSource.DocumentEnrichmentConfigurationProperty extends software.amazon.jsii.JsiiSerializable
Provides the configuration information for altering document metadata and content during the document ingestion process.

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 software.amazon.awscdk.services.qbusiness.*;
 DocumentEnrichmentConfigurationProperty documentEnrichmentConfigurationProperty = DocumentEnrichmentConfigurationProperty.builder()
         .inlineConfigurations(List.of(InlineDocumentEnrichmentConfigurationProperty.builder()
                 .condition(DocumentAttributeConditionProperty.builder()
                         .key("key")
                         .operator("operator")
                         // the properties below are optional
                         .value(DocumentAttributeValueProperty.builder()
                                 .dateValue("dateValue")
                                 .longValue(123)
                                 .stringListValue(List.of("stringListValue"))
                                 .stringValue("stringValue")
                                 .build())
                         .build())
                 .documentContentOperator("documentContentOperator")
                 .target(DocumentAttributeTargetProperty.builder()
                         .key("key")
                         // the properties below are optional
                         .attributeValueOperator("attributeValueOperator")
                         .value(DocumentAttributeValueProperty.builder()
                                 .dateValue("dateValue")
                                 .longValue(123)
                                 .stringListValue(List.of("stringListValue"))
                                 .stringValue("stringValue")
                                 .build())
                         .build())
                 .build()))
         .postExtractionHookConfiguration(HookConfigurationProperty.builder()
                 .invocationCondition(DocumentAttributeConditionProperty.builder()
                         .key("key")
                         .operator("operator")
                         // the properties below are optional
                         .value(DocumentAttributeValueProperty.builder()
                                 .dateValue("dateValue")
                                 .longValue(123)
                                 .stringListValue(List.of("stringListValue"))
                                 .stringValue("stringValue")
                                 .build())
                         .build())
                 .lambdaArn("lambdaArn")
                 .roleArn("roleArn")
                 .s3BucketName("s3BucketName")
                 .build())
         .preExtractionHookConfiguration(HookConfigurationProperty.builder()
                 .invocationCondition(DocumentAttributeConditionProperty.builder()
                         .key("key")
                         .operator("operator")
                         // the properties below are optional
                         .value(DocumentAttributeValueProperty.builder()
                                 .dateValue("dateValue")
                                 .longValue(123)
                                 .stringListValue(List.of("stringListValue"))
                                 .stringValue("stringValue")
                                 .build())
                         .build())
                 .lambdaArn("lambdaArn")
                 .roleArn("roleArn")
                 .s3BucketName("s3BucketName")
                 .build())
         .build();
 

See Also: