WebCrawlerSiteMapsConfigurationProperty Struct
Provides the configuration information of the sitemap 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.
| Source | |
|---|---|
| Type last changed |
Example
ts
// 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 webCrawlerSiteMapsConfigurationProperty: kendra.CfnDataSource.WebCrawlerSiteMapsConfigurationProperty = {
siteMaps: ['siteMaps'],
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_kendra as kendra
web_crawler_site_maps_configuration_property = kendra.CfnDataSource.WebCrawlerSiteMapsConfigurationProperty(
site_maps=["siteMaps"]
)
java
// 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.*;
WebCrawlerSiteMapsConfigurationProperty webCrawlerSiteMapsConfigurationProperty = WebCrawlerSiteMapsConfigurationProperty.builder()
.siteMaps(List.of("siteMaps"))
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Kendra;
var webCrawlerSiteMapsConfigurationProperty = new WebCrawlerSiteMapsConfigurationProperty {
SiteMaps = new [] { "siteMaps" }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
webCrawlerSiteMapsConfigurationProperty := &WebCrawlerSiteMapsConfigurationProperty{
SiteMaps: []*string{
jsii.String("siteMaps"),
},
}
Properties
siteMapsstring[]site_mapstyping.List[str]siteMapsList<String>SiteMapsstring[]SiteMaps*[]*string required #The list of sitemap URLs of the websites you want to crawl.
The list can include a maximum of three sitemap URLs.