Class CfnDataSourcePropsMixin.InlineCustomDocumentEnrichmentConfigurationProperty
Provides the configuration information for applying basic logic to alter document metadata and content when ingesting documents into Amazon Kendra.
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.Kendra
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnDataSourcePropsMixin.InlineCustomDocumentEnrichmentConfigurationProperty : CfnDataSourcePropsMixin.IInlineCustomDocumentEnrichmentConfigurationProperty
Syntax (vb)
Public Class CfnDataSourcePropsMixin.InlineCustomDocumentEnrichmentConfigurationProperty Implements CfnDataSourcePropsMixin.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.CfnPropertyMixins.AWS.Kendra;
var inlineCustomDocumentEnrichmentConfigurationProperty = new InlineCustomDocumentEnrichmentConfigurationProperty {
Condition = new DocumentAttributeConditionProperty {
ConditionDocumentAttributeKey = "conditionDocumentAttributeKey",
ConditionOnValue = new DocumentAttributeValueProperty {
DateValue = "dateValue",
LongValue = 123,
StringListValue = new [] { "stringListValue" },
StringValue = "stringValue"
},
Operator = "operator"
},
DocumentContentDeletion = false,
Target = new DocumentAttributeTargetProperty {
TargetDocumentAttributeKey = "targetDocumentAttributeKey",
TargetDocumentAttributeValue = new DocumentAttributeValueProperty {
DateValue = "dateValue",
LongValue = 123,
StringListValue = new [] { "stringListValue" },
StringValue = "stringValue"
},
TargetDocumentAttributeValueDeletion = false
}
};
Synopsis
Constructors
| InlineCustomDocumentEnrichmentConfigurationProperty() | Provides the configuration information for applying basic logic to alter document metadata and content when ingesting documents into Amazon Kendra. |
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()
Provides the configuration information for applying basic logic to alter document metadata and content when ingesting documents into Amazon Kendra.
public InlineCustomDocumentEnrichmentConfigurationProperty()
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.CfnPropertyMixins.AWS.Kendra;
var inlineCustomDocumentEnrichmentConfigurationProperty = new InlineCustomDocumentEnrichmentConfigurationProperty {
Condition = new DocumentAttributeConditionProperty {
ConditionDocumentAttributeKey = "conditionDocumentAttributeKey",
ConditionOnValue = new DocumentAttributeValueProperty {
DateValue = "dateValue",
LongValue = 123,
StringListValue = new [] { "stringListValue" },
StringValue = "stringValue"
},
Operator = "operator"
},
DocumentContentDeletion = false,
Target = new DocumentAttributeTargetProperty {
TargetDocumentAttributeKey = "targetDocumentAttributeKey",
TargetDocumentAttributeValue = new DocumentAttributeValueProperty {
DateValue = "dateValue",
LongValue = 123,
StringListValue = new [] { "stringListValue" },
StringValue = "stringValue"
},
TargetDocumentAttributeValueDeletion = false
}
};
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
Remarks
Type union: either IResolvable or CfnDataSourcePropsMixin.IDocumentAttributeConditionProperty
DocumentContentDeletion
TRUE to delete content if the condition used for the target attribute is met.
public object? DocumentContentDeletion { get; set; }
Property Value
Remarks
Target
Configuration of the target document attribute or metadata field when ingesting documents into Amazon Kendra.
public object? Target { get; set; }
Property Value
Remarks
You can also include a value.
Type union: either IResolvable or CfnDataSourcePropsMixin.IDocumentAttributeTargetProperty