Class: Aws::BedrockAgent::Types::WebCrawlerConfiguration

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-bedrockagent/types.rb

Overview

The configuration of web URLs that you want to crawl. You should be authorized to crawl the URLs.

Constant Summary collapse

SENSITIVE =
[:exclusion_filters, :inclusion_filters]

Instance Attribute Summary collapse

Instance Attribute Details

#crawler_limitsTypes::WebCrawlerLimits

The configuration of crawl limits for the web URLs.



7821
7822
7823
7824
7825
7826
7827
7828
# File 'lib/aws-sdk-bedrockagent/types.rb', line 7821

class WebCrawlerConfiguration < Struct.new(
  :crawler_limits,
  :exclusion_filters,
  :inclusion_filters,
  :scope)
  SENSITIVE = [:exclusion_filters, :inclusion_filters]
  include Aws::Structure
end

#exclusion_filtersArray<String>

A list of one or more exclusion regular expression patterns to exclude certain URLs. If you specify an inclusion and exclusion filter/pattern and both match a URL, the exclusion filter takes precedence and the web content of the URL isn’t crawled.

Returns:

  • (Array<String>)


7821
7822
7823
7824
7825
7826
7827
7828
# File 'lib/aws-sdk-bedrockagent/types.rb', line 7821

class WebCrawlerConfiguration < Struct.new(
  :crawler_limits,
  :exclusion_filters,
  :inclusion_filters,
  :scope)
  SENSITIVE = [:exclusion_filters, :inclusion_filters]
  include Aws::Structure
end

#inclusion_filtersArray<String>

A list of one or more inclusion regular expression patterns to include certain URLs. If you specify an inclusion and exclusion filter/pattern and both match a URL, the exclusion filter takes precedence and the web content of the URL isn’t crawled.

Returns:

  • (Array<String>)


7821
7822
7823
7824
7825
7826
7827
7828
# File 'lib/aws-sdk-bedrockagent/types.rb', line 7821

class WebCrawlerConfiguration < Struct.new(
  :crawler_limits,
  :exclusion_filters,
  :inclusion_filters,
  :scope)
  SENSITIVE = [:exclusion_filters, :inclusion_filters]
  include Aws::Structure
end

#scopeString

The scope of what is crawled for your URLs.

You can choose to crawl only web pages that belong to the same host or primary domain. For example, only web pages that contain the seed URL “docs.aws.amazon.com/bedrock/latest/userguide/” and no other domains. You can choose to include sub domains in addition to the host or primary domain. For example, web pages that contain “aws.amazon.com” can also include sub domain “docs.aws.amazon.com”.

Returns:

  • (String)


7821
7822
7823
7824
7825
7826
7827
7828
# File 'lib/aws-sdk-bedrockagent/types.rb', line 7821

class WebCrawlerConfiguration < Struct.new(
  :crawler_limits,
  :exclusion_filters,
  :inclusion_filters,
  :scope)
  SENSITIVE = [:exclusion_filters, :inclusion_filters]
  include Aws::Structure
end