com.pulumi.awsnative.kendra.kotlin.outputs.DataSourceWebCrawlerUrls.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.kendra.kotlin.outputs
import kotlin.Suppress
/**
*
* @property seedUrlConfiguration Configuration of the seed or starting point URLs of the websites you want to crawl.
* You can choose to crawl only the website host names, or the website host names with subdomains, or the website host names with subdomains and other domains that the web pages link to.
* You can list up to 100 seed URLs.
* @property siteMapsConfiguration Configuration of the sitemap URLs of the websites you want to crawl.
* Only URLs belonging to the same website host names are crawled. You can list up to three sitemap URLs.
*/
public data class DataSourceWebCrawlerUrls(
public val seedUrlConfiguration: DataSourceWebCrawlerSeedUrlConfiguration? = null,
public val siteMapsConfiguration: DataSourceWebCrawlerSiteMapsConfiguration? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.kendra.outputs.DataSourceWebCrawlerUrls): DataSourceWebCrawlerUrls = DataSourceWebCrawlerUrls(
seedUrlConfiguration = javaType.seedUrlConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kendra.kotlin.outputs.DataSourceWebCrawlerSeedUrlConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
siteMapsConfiguration = javaType.siteMapsConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kendra.kotlin.outputs.DataSourceWebCrawlerSiteMapsConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}