Class: Aws::BedrockAgent::Types::WebCrawlerConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockAgent::Types::WebCrawlerConfiguration
- Defined in:
- gems/aws-sdk-bedrockagent/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, :user_agent, :user_agent_header]
Instance Attribute Summary collapse
-
#crawler_limits ⇒ Types::WebCrawlerLimits
The configuration of crawl limits for the web URLs.
-
#exclusion_filters ⇒ Array<String>
A list of one or more exclusion regular expression patterns to exclude certain URLs.
-
#inclusion_filters ⇒ Array<String>
A list of one or more inclusion regular expression patterns to include certain URLs.
-
#scope ⇒ String
The scope of what is crawled for your URLs.
-
#user_agent ⇒ String
Returns the user agent suffix for your web crawler.
-
#user_agent_header ⇒ String
A string used for identifying the crawler or bot when it accesses a web server.
Instance Attribute Details
#crawler_limits ⇒ Types::WebCrawlerLimits
The configuration of crawl limits for the web URLs.
11664 11665 11666 11667 11668 11669 11670 11671 11672 11673 |
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 11664 class WebCrawlerConfiguration < Struct.new( :crawler_limits, :exclusion_filters, :inclusion_filters, :scope, :user_agent, :user_agent_header) SENSITIVE = [:exclusion_filters, :inclusion_filters, :user_agent, :user_agent_header] include Aws::Structure end |
#exclusion_filters ⇒ Array<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.
11664 11665 11666 11667 11668 11669 11670 11671 11672 11673 |
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 11664 class WebCrawlerConfiguration < Struct.new( :crawler_limits, :exclusion_filters, :inclusion_filters, :scope, :user_agent, :user_agent_header) SENSITIVE = [:exclusion_filters, :inclusion_filters, :user_agent, :user_agent_header] include Aws::Structure end |
#inclusion_filters ⇒ Array<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.
11664 11665 11666 11667 11668 11669 11670 11671 11672 11673 |
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 11664 class WebCrawlerConfiguration < Struct.new( :crawler_limits, :exclusion_filters, :inclusion_filters, :scope, :user_agent, :user_agent_header) SENSITIVE = [:exclusion_filters, :inclusion_filters, :user_agent, :user_agent_header] include Aws::Structure end |
#scope ⇒ String
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 "https://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".
11664 11665 11666 11667 11668 11669 11670 11671 11672 11673 |
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 11664 class WebCrawlerConfiguration < Struct.new( :crawler_limits, :exclusion_filters, :inclusion_filters, :scope, :user_agent, :user_agent_header) SENSITIVE = [:exclusion_filters, :inclusion_filters, :user_agent, :user_agent_header] include Aws::Structure end |
#user_agent ⇒ String
Returns the user agent suffix for your web crawler.
11664 11665 11666 11667 11668 11669 11670 11671 11672 11673 |
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 11664 class WebCrawlerConfiguration < Struct.new( :crawler_limits, :exclusion_filters, :inclusion_filters, :scope, :user_agent, :user_agent_header) SENSITIVE = [:exclusion_filters, :inclusion_filters, :user_agent, :user_agent_header] include Aws::Structure end |
#user_agent_header ⇒ String
A string used for identifying the crawler or bot when it accesses a
web server. The user agent header value consists of the
bedrockbot
, UUID, and a user agent suffix for your crawler (if one
is provided). By default, it is set to bedrockbot_UUID
. You can
optionally append a custom suffix to bedrockbot_UUID
to allowlist
a specific user agent permitted to access your source URLs.
11664 11665 11666 11667 11668 11669 11670 11671 11672 11673 |
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 11664 class WebCrawlerConfiguration < Struct.new( :crawler_limits, :exclusion_filters, :inclusion_filters, :scope, :user_agent, :user_agent_header) SENSITIVE = [:exclusion_filters, :inclusion_filters, :user_agent, :user_agent_header] include Aws::Structure end |