Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.qbusiness.kotlin.inputs
import com.pulumi.awsnative.qbusiness.inputs.DataSourceDocumentEnrichmentConfigurationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property inlineConfigurations Configuration information to alter document attributes or metadata fields and content when ingesting documents into Amazon Q Business.
* @property postExtractionHookConfiguration Configuration information for invoking a Lambda function in AWS Lambda on the structured documents with their metadata and text extracted. 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](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/cde-lambda-operations.html) .
* @property preExtractionHookConfiguration Configuration information for invoking a Lambda function in AWS Lambda on the original or raw documents before extracting their metadata and text. 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](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/cde-lambda-operations.html) .
*/
public data class DataSourceDocumentEnrichmentConfigurationArgs(
public val inlineConfigurations: Output>? = null,
public val postExtractionHookConfiguration: Output? = null,
public val preExtractionHookConfiguration: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.qbusiness.inputs.DataSourceDocumentEnrichmentConfigurationArgs =
com.pulumi.awsnative.qbusiness.inputs.DataSourceDocumentEnrichmentConfigurationArgs.builder()
.inlineConfigurations(
inlineConfigurations?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.postExtractionHookConfiguration(
postExtractionHookConfiguration?.applyValue({ args0 ->
args0.let({ args0 -> args0.toJava() })
}),
)
.preExtractionHookConfiguration(
preExtractionHookConfiguration?.applyValue({ args0 ->
args0.let({ args0 -> args0.toJava() })
}),
).build()
}
/**
* Builder for [DataSourceDocumentEnrichmentConfigurationArgs].
*/
@PulumiTagMarker
public class DataSourceDocumentEnrichmentConfigurationArgsBuilder internal constructor() {
private var inlineConfigurations:
Output>? = null
private var postExtractionHookConfiguration: Output? = null
private var preExtractionHookConfiguration: Output? = null
/**
* @param value Configuration information to alter document attributes or metadata fields and content when ingesting documents into Amazon Q Business.
*/
@JvmName("pecdnpvrhtwbelak")
public suspend fun inlineConfigurations(`value`: Output>) {
this.inlineConfigurations = value
}
@JvmName("ijftjfmhdvspyqmj")
public suspend fun inlineConfigurations(vararg values: Output) {
this.inlineConfigurations = Output.all(values.asList())
}
/**
* @param values Configuration information to alter document attributes or metadata fields and content when ingesting documents into Amazon Q Business.
*/
@JvmName("pruimvyspinxmthv")
public suspend fun inlineConfigurations(values: List