All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.bedrock.kotlin.outputs.AgentDataSourceVectorIngestionConfigurationParsingConfiguration.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.57.0.0
Show newest version
@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