interface WebCrawlerSeedUrlConfigurationProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Kendra.CfnDataSource.WebCrawlerSeedUrlConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awskendra#CfnDataSource_WebCrawlerSeedUrlConfigurationProperty |
Java | software.amazon.awscdk.services.kendra.CfnDataSource.WebCrawlerSeedUrlConfigurationProperty |
Python | aws_cdk.aws_kendra.CfnDataSource.WebCrawlerSeedUrlConfigurationProperty |
TypeScript | aws-cdk-lib » aws_kendra » CfnDataSource » WebCrawlerSeedUrlConfigurationProperty |
Provides the configuration information of the seed or starting point URLs to crawl.
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 webCrawlerSeedUrlConfigurationProperty: kendra.CfnDataSource.WebCrawlerSeedUrlConfigurationProperty = {
seedUrls: ['seedUrls'],
// the properties below are optional
webCrawlerMode: 'webCrawlerMode',
};
Properties
Name | Type | Description |
---|---|---|
seed | string[] | The list of seed or starting point URLs of the websites you want to crawl. |
web | string | You can choose one of the following modes:. |
seedUrls
Type:
string[]
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.
webCrawlerMode?
Type:
string
(optional)
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
.