Show / Hide Table of Contents

Class CfnDataSource.InlineCustomDocumentEnrichmentConfigurationProperty

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

Inheritance
System.Object
CfnDataSource.InlineCustomDocumentEnrichmentConfigurationProperty
Implements
CfnDataSource.IInlineCustomDocumentEnrichmentConfigurationProperty
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 .

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-inlinecustomdocumentenrichmentconfiguration.html

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

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

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

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-inlinecustomdocumentenrichmentconfiguration.html#cfn-kendra-datasource-inlinecustomdocumentenrichmentconfiguration-condition

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

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-inlinecustomdocumentenrichmentconfiguration.html#cfn-kendra-datasource-inlinecustomdocumentenrichmentconfiguration-documentcontentdeletion

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

Remarks

You can also include a value.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-inlinecustomdocumentenrichmentconfiguration.html#cfn-kendra-datasource-inlinecustomdocumentenrichmentconfiguration-target

Implements

CfnDataSource.IInlineCustomDocumentEnrichmentConfigurationProperty
Back to top Generated by DocFX