interface WebCrawlerUrlsProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Kendra.CfnDataSource.WebCrawlerUrlsProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awskendra#CfnDataSource_WebCrawlerUrlsProperty |
![]() | software.amazon.awscdk.services.kendra.CfnDataSource.WebCrawlerUrlsProperty |
![]() | aws_cdk.aws_kendra.CfnDataSource.WebCrawlerUrlsProperty |
![]() | aws-cdk-lib » aws_kendra » CfnDataSource » WebCrawlerUrlsProperty |
Specifies the seed or starting point URLs of the websites or the sitemap URLs of the websites you want to crawl.
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 { aws_kendra as kendra } from 'aws-cdk-lib';
const webCrawlerUrlsProperty: kendra.CfnDataSource.WebCrawlerUrlsProperty = {
seedUrlConfiguration: {
seedUrls: ['seedUrls'],
// the properties below are optional
webCrawlerMode: 'webCrawlerMode',
},
siteMapsConfiguration: {
siteMaps: ['siteMaps'],
},
};
Properties
Name | Type | Description |
---|---|---|
seed | IResolvable | Web | Configuration of the seed or starting point URLs of the websites you want to crawl. |
site | IResolvable | Web | Configuration of the sitemap URLs of the websites you want to crawl. |
seedUrlConfiguration?
Type:
IResolvable
|
Web
(optional)
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.
siteMapsConfiguration?
Type:
IResolvable
|
Web
(optional)
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.