com.pulumi.aws.bedrock.kotlin.outputs.AgentDataSourceVectorIngestionConfigurationParsingConfiguration.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-kotlin Show documentation
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.aws.bedrock.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property bedrockFoundationModelConfiguration Settings for a foundation model used to parse documents in a data source. See `bedrock_foundation_model_configuration` block for details.
* @property parsingStrategy Currently only `BEDROCK_FOUNDATION_MODEL` is supported
*/
public data class AgentDataSourceVectorIngestionConfigurationParsingConfiguration(
public val bedrockFoundationModelConfiguration: AgentDataSourceVectorIngestionConfigurationParsingConfigurationBedrockFoundationModelConfiguration? =
null,
public val parsingStrategy: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.aws.bedrock.outputs.AgentDataSourceVectorIngestionConfigurationParsingConfiguration): AgentDataSourceVectorIngestionConfigurationParsingConfiguration =
AgentDataSourceVectorIngestionConfigurationParsingConfiguration(
bedrockFoundationModelConfiguration = javaType.bedrockFoundationModelConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.aws.bedrock.kotlin.outputs.AgentDataSourceVectorIngestionConfigurationParsingConfigurationBedrockFoundationModelConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
parsingStrategy = javaType.parsingStrategy(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy