Class CfnDataSource.InlineCustomDocumentEnrichmentConfigurationProperty
Provides the configuration information for applying basic logic to alter document metadata and content when ingesting documents into Amazon Kendra.
Inheritance
Namespace: Amazon.CDK.AWS.Kendra
Assembly: Amazon.CDK.AWS.Kendra.dll
Syntax (csharp)
public class InlineCustomDocumentEnrichmentConfigurationProperty : Object, CfnDataSource.IInlineCustomDocumentEnrichmentConfigurationProperty
Syntax (vb)
Public Class InlineCustomDocumentEnrichmentConfigurationProperty
Inherits Object
Implements CfnDataSource.IInlineCustomDocumentEnrichmentConfigurationProperty
Remarks
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 .
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Kendra;
var inlineCustomDocumentEnrichmentConfigurationProperty = new InlineCustomDocumentEnrichmentConfigurationProperty {
Condition = new DocumentAttributeConditionProperty {
ConditionDocumentAttributeKey = "conditionDocumentAttributeKey",
Operator = "operator",
// the properties below are optional
ConditionOnValue = new DocumentAttributeValueProperty {
DateValue = "dateValue",
LongValue = 123,
StringListValue = new [] { "stringListValue" },
StringValue = "stringValue"
}
},
DocumentContentDeletion = false,
Target = new DocumentAttributeTargetProperty {
TargetDocumentAttributeKey = "targetDocumentAttributeKey",
// the properties below are optional
TargetDocumentAttributeValue = new DocumentAttributeValueProperty {
DateValue = "dateValue",
LongValue = 123,
StringListValue = new [] { "stringListValue" },
StringValue = "stringValue"
},
TargetDocumentAttributeValueDeletion = false
}
};
Synopsis
Constructors
InlineCustomDocumentEnrichmentConfigurationProperty() |
Properties
Condition | Configuration of the condition used for the target document attribute or metadata field when ingesting documents into Amazon Kendra. |
DocumentContentDeletion |
|
Target | Configuration of the target document attribute or metadata field when ingesting documents into Amazon Kendra. |
Constructors
InlineCustomDocumentEnrichmentConfigurationProperty()
public InlineCustomDocumentEnrichmentConfigurationProperty()
Properties
Condition
Configuration of the condition used for the target document attribute or metadata field when ingesting documents into Amazon Kendra.
public object Condition { get; set; }
Property Value
System.Object
Remarks
DocumentContentDeletion
TRUE
to delete content if the condition used for the target attribute is met.
public object DocumentContentDeletion { get; set; }
Property Value
System.Object
Remarks
Target
Configuration of the target document attribute or metadata field when ingesting documents into Amazon Kendra.
public object Target { get; set; }
Property Value
System.Object