Interface CfnDataSource.WebDataSourceConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDataSource.WebDataSourceConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnDataSource
@Stability(Stable)
public static interface CfnDataSource.WebDataSourceConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
The configuration details for the web data source.
Example:
// 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.*;
WebDataSourceConfigurationProperty webDataSourceConfigurationProperty = WebDataSourceConfigurationProperty.builder()
.sourceConfiguration(WebSourceConfigurationProperty.builder()
.urlConfiguration(UrlConfigurationProperty.builder()
.seedUrls(List.of(SeedUrlProperty.builder()
.url("url")
.build()))
.build())
.build())
// the properties below are optional
.crawlerConfiguration(WebCrawlerConfigurationProperty.builder()
.crawlerLimits(WebCrawlerLimitsProperty.builder()
.maxPages(123)
.rateLimit(123)
.build())
.exclusionFilters(List.of("exclusionFilters"))
.inclusionFilters(List.of("inclusionFilters"))
.scope("scope")
.userAgent("userAgent")
.userAgentHeader("userAgentHeader")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDataSource.WebDataSourceConfigurationPropertystatic final classAn implementation forCfnDataSource.WebDataSourceConfigurationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSourceConfiguration
The source configuration details for the web data source.Returns union: either
IResolvableorCfnDataSource.WebSourceConfigurationProperty- See Also:
-
getCrawlerConfiguration
The Web Crawler configuration details for the web data source.Returns union: either
IResolvableorCfnDataSource.WebCrawlerConfigurationProperty- See Also:
-
builder
-