# WebCrawlerLimitsProperty

The rate limits for the URLs that you want to crawl.

You should be authorized to crawl the URLs.

- Source: Generated at build time
- Type last changed: v2.186.0 · 27 Mar 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrock as bedrock } from 'aws-cdk-lib';
const webCrawlerLimitsProperty: bedrock.CfnDataSource.WebCrawlerLimitsProperty = {
  maxPages: 123,
  rateLimit: 123,
};
```

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_bedrock as bedrock

web_crawler_limits_property = bedrock.CfnDataSource.WebCrawlerLimitsProperty(
    max_pages=123,
    rate_limit=123
)
```

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

WebCrawlerLimitsProperty webCrawlerLimitsProperty = WebCrawlerLimitsProperty.builder()
        .maxPages(123)
        .rateLimit(123)
        .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.Bedrock;

var webCrawlerLimitsProperty = new WebCrawlerLimitsProperty {
    MaxPages = 123,
    RateLimit = 123
};
```

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"

webCrawlerLimitsProperty := &WebCrawlerLimitsProperty{
	MaxPages: jsii.Number(123),
	RateLimit: jsii.Number(123),
}
```

## Properties

- `maxPages`: number — The max number of web pages crawled from your source URLs, up to 25,000 pages.

  If the web pages exceed this limit, the data source sync will fail and no web pages will be ingested.

- `rateLimit`: number — The max rate at which pages are crawled, up to 300 per minute per host.
