ManagedSourceConfigurationProperty Struct
Source configuration for managed resources.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_wisdom as wisdom } from 'aws-cdk-lib';
const managedSourceConfigurationProperty: wisdom.CfnKnowledgeBase.ManagedSourceConfigurationProperty = {
webCrawlerConfiguration: {
urlConfiguration: {
seedUrls: [{
url: 'url',
}],
},
// the properties below are optional
crawlerLimits: {
rateLimit: 123,
},
exclusionFilters: ['exclusionFilters'],
inclusionFilters: ['inclusionFilters'],
scope: 'scope',
},
};
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_wisdom as wisdom
managed_source_configuration_property = wisdom.CfnKnowledgeBase.ManagedSourceConfigurationProperty(
web_crawler_configuration=wisdom.CfnKnowledgeBase.WebCrawlerConfigurationProperty(
url_configuration=wisdom.CfnKnowledgeBase.UrlConfigurationProperty(
seed_urls=[wisdom.CfnKnowledgeBase.SeedUrlProperty(
url="url"
)]
),
# the properties below are optional
crawler_limits=wisdom.CfnKnowledgeBase.CrawlerLimitsProperty(
rate_limit=123
),
exclusion_filters=["exclusionFilters"],
inclusion_filters=["inclusionFilters"],
scope="scope"
)
)
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.wisdom.*;
ManagedSourceConfigurationProperty managedSourceConfigurationProperty = ManagedSourceConfigurationProperty.builder()
.webCrawlerConfiguration(WebCrawlerConfigurationProperty.builder()
.urlConfiguration(UrlConfigurationProperty.builder()
.seedUrls(List.of(SeedUrlProperty.builder()
.url("url")
.build()))
.build())
// the properties below are optional
.crawlerLimits(CrawlerLimitsProperty.builder()
.rateLimit(123)
.build())
.exclusionFilters(List.of("exclusionFilters"))
.inclusionFilters(List.of("inclusionFilters"))
.scope("scope")
.build())
.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.Wisdom;
var managedSourceConfigurationProperty = new ManagedSourceConfigurationProperty {
WebCrawlerConfiguration = new WebCrawlerConfigurationProperty {
UrlConfiguration = new UrlConfigurationProperty {
SeedUrls = new [] { new SeedUrlProperty {
Url = "url"
} }
},
// the properties below are optional
CrawlerLimits = new CrawlerLimitsProperty {
RateLimit = 123
},
ExclusionFilters = new [] { "exclusionFilters" },
InclusionFilters = new [] { "inclusionFilters" },
Scope = "scope"
}
};
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"
managedSourceConfigurationProperty := &ManagedSourceConfigurationProperty{
WebCrawlerConfiguration: &WebCrawlerConfigurationProperty{
UrlConfiguration: &UrlConfigurationProperty{
SeedUrls: []interface{}{
&SeedUrlProperty{
Url: jsii.String("url"),
},
},
},
// the properties below are optional
CrawlerLimits: &CrawlerLimitsProperty{
RateLimit: jsii.Number(123),
},
ExclusionFilters: []*string{
jsii.String("exclusionFilters"),
},
InclusionFilters: []*string{
jsii.String("inclusionFilters"),
},
Scope: jsii.String("scope"),
},
}
Properties
webCrawlerConfigurationIResolvable | CfnKnowledgeBase.web_crawler_configurationtyping.Union[IResolvable, WebCrawlerConfigurationProperty]webCrawlerConfigurationIResolvableWebCrawlerConfigurationIResolvableWebCrawlerConfigurationinterface{} required #Configuration data for web crawler data source.