Skip to content
v2.275.0

WebDataSourceConfigurationProperty Struct ​

The configuration details for the web data source.

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 webDataSourceConfigurationProperty: bedrock.CfnDataSource.WebDataSourceConfigurationProperty = {
  sourceConfiguration: {
    urlConfiguration: {
      seedUrls: [{
        url: 'url',
      }],
    },
  },

  // the properties below are optional
  crawlerConfiguration: {
    crawlerLimits: {
      maxPages: 123,
      rateLimit: 123,
    },
    exclusionFilters: ['exclusionFilters'],
    inclusionFilters: ['inclusionFilters'],
    scope: 'scope',
    userAgent: 'userAgent',
    userAgentHeader: 'userAgentHeader',
  },
};

Properties ​

crawlerConfigurationoptionalIResolvable | CfnDataSource.WebCrawlerConfigurationPropertycrawler_configurationoptionaltyping.Union[IResolvable, WebCrawlerConfigurationProperty]crawlerConfigurationoptionalIResolvableCrawlerConfigurationoptionalIResolvableCrawlerConfigurationoptionalinterface{}#
The Web Crawler configuration details for the web data source.
sourceConfigurationIResolvable | CfnDataSource.WebSourceConfigurationPropertysource_configurationtyping.Union[IResolvable, WebSourceConfigurationProperty]sourceConfigurationIResolvableSourceConfigurationIResolvableSourceConfigurationinterface{}required#
The source configuration details for the web data source.