Skip to content
v2.278.0

WebCrawlerLimitsProperty Struct ​

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

You should be authorized to crawl the URLs.

Example ​

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
# 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
// 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();
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
};
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 ​

maxPagesoptionalnumbermax_pagesoptionalint | floatmaxPagesoptionalNumberMaxPagesoptionaldoubleMaxPagesoptional*float64 #
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.

rateLimitoptionalnumberrate_limitoptionalint | floatrateLimitoptionalNumberRateLimitoptionaldoubleRateLimitoptional*float64 #
The max rate at which pages are crawled, up to 300 per minute per host.