com.pulumi.aws.kendra.kotlin.outputs.DataSourceConfiguration.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.kendra.kotlin.outputs
import kotlin.Suppress
/**
*
* @property s3Configuration A block that provides the configuration information to connect to an Amazon S3 bucket as your data source. Detailed below.
* @property webCrawlerConfiguration A block that provides the configuration information required for Amazon Kendra Web Crawler. Detailed below.
*/
public data class DataSourceConfiguration(
public val s3Configuration: DataSourceConfigurationS3Configuration? = null,
public val webCrawlerConfiguration: DataSourceConfigurationWebCrawlerConfiguration? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.aws.kendra.outputs.DataSourceConfiguration): DataSourceConfiguration = DataSourceConfiguration(
s3Configuration = javaType.s3Configuration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.aws.kendra.kotlin.outputs.DataSourceConfigurationS3Configuration.Companion.toKotlin(args0)
})
}).orElse(null),
webCrawlerConfiguration = javaType.webCrawlerConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.aws.kendra.kotlin.outputs.DataSourceConfigurationWebCrawlerConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy