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

com.pulumi.awsnative.kendra.kotlin.outputs.DataSourceWebCrawlerSeedUrlConfiguration.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.kendra.kotlin.outputs

import com.pulumi.awsnative.kendra.kotlin.enums.DataSourceWebCrawlerSeedUrlConfigurationWebCrawlerMode
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property seedUrls The list of seed or starting point URLs of the websites you want to crawl.
 * The list can include a maximum of 100 seed URLs.
 * @property webCrawlerMode You can choose one of the following modes:
 * - `HOST_ONLY` —crawl only the website host names. For example, if the seed URL is "abc.example.com", then only URLs with host name "abc.example.com" are crawled.
 * - `SUBDOMAINS` —crawl the website host names with subdomains. For example, if the seed URL is "abc.example.com", then "a.abc.example.com" and "b.abc.example.com" are also crawled.
 * - `EVERYTHING` —crawl the website host names with subdomains and other domains that the web pages link to.
 * The default mode is set to `HOST_ONLY` .
 */
public data class DataSourceWebCrawlerSeedUrlConfiguration(
    public val seedUrls: List,
    public val webCrawlerMode: DataSourceWebCrawlerSeedUrlConfigurationWebCrawlerMode? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.kendra.outputs.DataSourceWebCrawlerSeedUrlConfiguration): DataSourceWebCrawlerSeedUrlConfiguration = DataSourceWebCrawlerSeedUrlConfiguration(
            seedUrls = javaType.seedUrls().map({ args0 -> args0 }),
            webCrawlerMode = javaType.webCrawlerMode().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.kendra.kotlin.enums.DataSourceWebCrawlerSeedUrlConfigurationWebCrawlerMode.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy