
com.pulumi.awsnative.bedrock.kotlin.outputs.KnowledgeBaseRdsConfiguration.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.bedrock.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* Contains details about the storage configuration of the knowledge base in Amazon RDS. For more information, see Create a vector index in Amazon RDS.
* @property credentialsSecretArn The ARN of the secret that you created in AWS Secrets Manager that is linked to your Amazon RDS database.
* @property databaseName The name of your Amazon RDS database.
* @property fieldMapping Contains the names of the fields to which to map information about the vector store.
* @property resourceArn The ARN of the vector store.
* @property tableName The name of the table in the database.
*/
public data class KnowledgeBaseRdsConfiguration(
public val credentialsSecretArn: String,
public val databaseName: String,
public val fieldMapping: KnowledgeBaseRdsFieldMapping,
public val resourceArn: String,
public val tableName: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.bedrock.outputs.KnowledgeBaseRdsConfiguration): KnowledgeBaseRdsConfiguration = KnowledgeBaseRdsConfiguration(
credentialsSecretArn = javaType.credentialsSecretArn(),
databaseName = javaType.databaseName(),
fieldMapping = javaType.fieldMapping().let({ args0 ->
com.pulumi.awsnative.bedrock.kotlin.outputs.KnowledgeBaseRdsFieldMapping.Companion.toKotlin(args0)
}),
resourceArn = javaType.resourceArn(),
tableName = javaType.tableName(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy