# ManagedSourceConfigurationProperty

Source configuration for managed resources.

- Source: Generated at build time
- Type last changed: v2.172.0 · 7 Dec 2024

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
    }
};
```

Golang:

```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

- `webCrawlerConfiguration`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnKnowledgeBase.WebCrawlerConfigurationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_wisdom.CfnKnowledgeBase.WebCrawlerConfigurationProperty.html) (required) — Configuration data for web crawler data source.
