@Stability(value=Stable)
public static interface CfnDataSource.InlineCustomDocumentEnrichmentConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.kendra.*;
InlineCustomDocumentEnrichmentConfigurationProperty inlineCustomDocumentEnrichmentConfigurationProperty = InlineCustomDocumentEnrichmentConfigurationProperty.builder()
.condition(DocumentAttributeConditionProperty.builder()
.conditionDocumentAttributeKey("conditionDocumentAttributeKey")
.operator("operator")
// the properties below are optional
.conditionOnValue(DocumentAttributeValueProperty.builder()
.dateValue("dateValue")
.longValue(123)
.stringListValue(List.of("stringListValue"))
.stringValue("stringValue")
.build())
.build())
.documentContentDeletion(false)
.target(DocumentAttributeTargetProperty.builder()
.targetDocumentAttributeKey("targetDocumentAttributeKey")
// the properties below are optional
.targetDocumentAttributeValue(DocumentAttributeValueProperty.builder()
.dateValue("dateValue")
.longValue(123)
.stringListValue(List.of("stringListValue"))
.stringValue("stringValue")
.build())
.targetDocumentAttributeValueDeletion(false)
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDataSource.InlineCustomDocumentEnrichmentConfigurationProperty.Builder
|
static class |
CfnDataSource.InlineCustomDocumentEnrichmentConfigurationProperty.Jsii$Proxy
An implementation for
CfnDataSource.InlineCustomDocumentEnrichmentConfigurationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnDataSource.InlineCustomDocumentEnrichmentConfigurationProperty.Builder |
builder() |
default Object |
getCondition()
Configuration of the condition used for the target document attribute or metadata field when ingesting documents into Amazon Kendra.
|
default Object |
getDocumentContentDeletion()
`TRUE` to delete content if the condition used for the target attribute is met.
|
default Object |
getTarget()
Configuration of the target document attribute or metadata field when ingesting documents into Amazon Kendra.
|
@Stability(value=Stable) @Nullable default Object getCondition()
@Stability(value=Stable) @Nullable default Object getDocumentContentDeletion()
@Stability(value=Stable) @Nullable default Object getTarget()
You can also include a value.
@Stability(value=Stable) static CfnDataSource.InlineCustomDocumentEnrichmentConfigurationProperty.Builder builder()
Copyright © 2022. All rights reserved.