# 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](https://docs.aws.amazon.com/aup/) 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: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```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 webCrawlerSeedUrlConfigurationProperty: kendra.CfnDataSource.WebCrawlerSeedUrlConfigurationProperty = {
  seedUrls: ['seedUrls'],

  // the properties below are optional
  webCrawlerMode: 'webCrawlerMode',
};
```

Python:

```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_seed_url_configuration_property = kendra.CfnDataSource.WebCrawlerSeedUrlConfigurationProperty(
    seed_urls=["seedUrls"],

    # the properties below are optional
    web_crawler_mode="webCrawlerMode"
)
```

Java:

```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.*;

WebCrawlerSeedUrlConfigurationProperty webCrawlerSeedUrlConfigurationProperty = WebCrawlerSeedUrlConfigurationProperty.builder()
        .seedUrls(List.of("seedUrls"))

        // the properties below are optional
        .webCrawlerMode("webCrawlerMode")
        .build();
```

C# / .NET:

```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 webCrawlerSeedUrlConfigurationProperty = new WebCrawlerSeedUrlConfigurationProperty {
    SeedUrls = new [] { "seedUrls" },

    // the properties below are optional
    WebCrawlerMode = "webCrawlerMode"
};
```

Golang:

```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"

webCrawlerSeedUrlConfigurationProperty := &WebCrawlerSeedUrlConfigurationProperty{
	SeedUrls: []*string{
		jsii.String("seedUrls"),
	},

	// the properties below are optional
	WebCrawlerMode: jsii.String("webCrawlerMode"),
}
```

## Properties

- `seedUrls`: string[] (required) — 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`: string — 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` .
