@Stability(value=Stable)
public static interface CfnDataSource.WebCrawlerUrlsProperty
extends software.amazon.jsii.JsiiSerializable
You can include website subdomains. You can list up to 100 seed URLs and up to three sitemap URLs.
You can only crawl websites that use the secure communication protocol, Hypertext Transfer Protocol Secure (HTTPS). If you receive an error when crawling a website, it could be that the website is blocked from crawling.
When selecting websites to index, you must adhere to the Amazon Acceptable Use Policy and all other Amazon terms. Remember that you must only use the Amazon Kendra web crawler to index your own webpages, or webpages that you have authorization to index.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.kendra.*;
WebCrawlerUrlsProperty webCrawlerUrlsProperty = WebCrawlerUrlsProperty.builder()
.seedUrlConfiguration(WebCrawlerSeedUrlConfigurationProperty.builder()
.seedUrls(List.of("seedUrls"))
// the properties below are optional
.webCrawlerMode("webCrawlerMode")
.build())
.siteMapsConfiguration(WebCrawlerSiteMapsConfigurationProperty.builder()
.siteMaps(List.of("siteMaps"))
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDataSource.WebCrawlerUrlsProperty.Builder
A builder for
CfnDataSource.WebCrawlerUrlsProperty |
static class |
CfnDataSource.WebCrawlerUrlsProperty.Jsii$Proxy
An implementation for
CfnDataSource.WebCrawlerUrlsProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnDataSource.WebCrawlerUrlsProperty.Builder |
builder() |
default Object |
getSeedUrlConfiguration()
Configuration of the seed or starting point URLs of the websites you want to crawl.
|
default Object |
getSiteMapsConfiguration()
Configuration of the sitemap URLs of the websites you want to crawl.
|
@Stability(value=Stable) @Nullable default Object getSeedUrlConfiguration()
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 webpages link to.
You can list up to 100 seed URLs.
@Stability(value=Stable) @Nullable default Object getSiteMapsConfiguration()
Only URLs belonging to the same website host names are crawled. You can list up to three sitemap URLs.
@Stability(value=Stable) static CfnDataSource.WebCrawlerUrlsProperty.Builder builder()
Copyright © 2022. All rights reserved.