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

com.pulumi.awsnative.kendra.kotlin.outputs.DataSourceWebCrawlerUrls.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: 1.11.0.0
Show newest version
@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),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy