DataSourceHookConfigurationArgs

data class DataSourceHookConfigurationArgs(val invocationCondition: Output<DataSourceDocumentAttributeConditionArgs>? = null, val lambdaArn: Output<String>? = null, val roleArn: Output<String>? = null, val s3BucketName: Output<String>? = null) : ConvertibleToJava<DataSourceHookConfigurationArgs>

Constructors

Link copied to clipboard
constructor(invocationCondition: Output<DataSourceDocumentAttributeConditionArgs>? = null, lambdaArn: Output<String>? = null, roleArn: Output<String>? = null, s3BucketName: Output<String>? = null)

Properties

Link copied to clipboard

The condition used for when a Lambda function should be invoked. For example, you can specify a condition that if there are empty date-time values, then Amazon Q Business should invoke a function that inserts the current date-time.

Link copied to clipboard
val lambdaArn: Output<String>? = null

The Amazon Resource Name (ARN) of the Lambda function sduring ingestion. For more information, see Using Lambda functions for Amazon Q Business document enrichment .

Link copied to clipboard
val roleArn: Output<String>? = null

The Amazon Resource Name (ARN) of a role with permission to run PreExtractionHookConfiguration and PostExtractionHookConfiguration for altering document metadata and content during the document ingestion process.

Link copied to clipboard
val s3BucketName: Output<String>? = null

Stores the original, raw documents or the structured, parsed documents before and after altering them. For more information, see Data contracts for Lambda functions .

Functions

Link copied to clipboard
open override fun toJava(): DataSourceHookConfigurationArgs