Show / Hide Table of Contents

Interface CfnDataSourcePropsMixin.IDocumentEnrichmentConfigurationProperty

Provides the configuration information for altering document metadata and content during the document ingestion process.

Namespace: Amazon.CDK.CfnPropertyMixins.AWS.QBusiness
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public interface CfnDataSourcePropsMixin.IDocumentEnrichmentConfigurationProperty
Syntax (vb)
Public Interface CfnDataSourcePropsMixin.IDocumentEnrichmentConfigurationProperty
Remarks

For more information, see Custom document enrichment .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-documentenrichmentconfiguration.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.CfnPropertyMixins.AWS.QBusiness;

             var documentEnrichmentConfigurationProperty = new DocumentEnrichmentConfigurationProperty {
                 InlineConfigurations = new [] { new InlineDocumentEnrichmentConfigurationProperty {
                     Condition = new DocumentAttributeConditionProperty {
                         Key = "key",
                         Operator = "operator",
                         Value = new DocumentAttributeValueProperty {
                             DateValue = "dateValue",
                             LongValue = 123,
                             StringListValue = new [] { "stringListValue" },
                             StringValue = "stringValue"
                         }
                     },
                     DocumentContentOperator = "documentContentOperator",
                     Target = new DocumentAttributeTargetProperty {
                         AttributeValueOperator = "attributeValueOperator",
                         Key = "key",
                         Value = new DocumentAttributeValueProperty {
                             DateValue = "dateValue",
                             LongValue = 123,
                             StringListValue = new [] { "stringListValue" },
                             StringValue = "stringValue"
                         }
                     }
                 } },
                 PostExtractionHookConfiguration = new HookConfigurationProperty {
                     InvocationCondition = new DocumentAttributeConditionProperty {
                         Key = "key",
                         Operator = "operator",
                         Value = new DocumentAttributeValueProperty {
                             DateValue = "dateValue",
                             LongValue = 123,
                             StringListValue = new [] { "stringListValue" },
                             StringValue = "stringValue"
                         }
                     },
                     LambdaArn = "lambdaArn",
                     RoleArn = "roleArn",
                     S3BucketName = "s3BucketName"
                 },
                 PreExtractionHookConfiguration = new HookConfigurationProperty {
                     InvocationCondition = new DocumentAttributeConditionProperty {
                         Key = "key",
                         Operator = "operator",
                         Value = new DocumentAttributeValueProperty {
                             DateValue = "dateValue",
                             LongValue = 123,
                             StringListValue = new [] { "stringListValue" },
                             StringValue = "stringValue"
                         }
                     },
                     LambdaArn = "lambdaArn",
                     RoleArn = "roleArn",
                     S3BucketName = "s3BucketName"
                 }
             };

Synopsis

Properties

InlineConfigurations

Configuration information to alter document attributes or metadata fields and content when ingesting documents into Amazon Q Business.

PostExtractionHookConfiguration

Configuration information for invoking a Lambda function in AWS Lambda on the structured documents with their metadata and text extracted.

PreExtractionHookConfiguration

Configuration information for invoking a Lambda function in AWS Lambda on the original or raw documents before extracting their metadata and text.

Properties

InlineConfigurations

Configuration information to alter document attributes or metadata fields and content when ingesting documents into Amazon Q Business.

object? InlineConfigurations { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-documentenrichmentconfiguration.html#cfn-qbusiness-datasource-documentenrichmentconfiguration-inlineconfigurations

Type union: either IResolvable or (either IResolvable or CfnDataSourcePropsMixin.IInlineDocumentEnrichmentConfigurationProperty)[]

PostExtractionHookConfiguration

Configuration information for invoking a Lambda function in AWS Lambda on the structured documents with their metadata and text extracted.

object? PostExtractionHookConfiguration { get; }
Property Value

object

Remarks

You can use a Lambda function to apply advanced logic for creating, modifying, or deleting document metadata and content. For more information, see Using Lambda functions .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-documentenrichmentconfiguration.html#cfn-qbusiness-datasource-documentenrichmentconfiguration-postextractionhookconfiguration

Type union: either IResolvable or CfnDataSourcePropsMixin.IHookConfigurationProperty

PreExtractionHookConfiguration

Configuration information for invoking a Lambda function in AWS Lambda on the original or raw documents before extracting their metadata and text.

object? PreExtractionHookConfiguration { get; }
Property Value

object

Remarks

You can use a Lambda function to apply advanced logic for creating, modifying, or deleting document metadata and content. For more information, see Using Lambda functions .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-documentenrichmentconfiguration.html#cfn-qbusiness-datasource-documentenrichmentconfiguration-preextractionhookconfiguration

Type union: either IResolvable or CfnDataSourcePropsMixin.IHookConfigurationProperty

Back to top Generated by DocFX