# SourceConfigurationProperty

Configuration information about the external data source.

- 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 sourceConfigurationProperty: wisdom.CfnKnowledgeBase.SourceConfigurationProperty = {
  appIntegrations: {
    appIntegrationArn: 'appIntegrationArn',

    // the properties below are optional
    objectFields: ['objectFields'],
  },
  managedSourceConfiguration: {
    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

source_configuration_property = wisdom.CfnKnowledgeBase.SourceConfigurationProperty(
    app_integrations=wisdom.CfnKnowledgeBase.AppIntegrationsConfigurationProperty(
        app_integration_arn="appIntegrationArn",

        # the properties below are optional
        object_fields=["objectFields"]
    ),
    managed_source_configuration=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.*;

SourceConfigurationProperty sourceConfigurationProperty = SourceConfigurationProperty.builder()
        .appIntegrations(AppIntegrationsConfigurationProperty.builder()
                .appIntegrationArn("appIntegrationArn")

                // the properties below are optional
                .objectFields(List.of("objectFields"))
                .build())
        .managedSourceConfiguration(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())
        .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 sourceConfigurationProperty = new SourceConfigurationProperty {
    AppIntegrations = new AppIntegrationsConfigurationProperty {
        AppIntegrationArn = "appIntegrationArn",

        // the properties below are optional
        ObjectFields = new [] { "objectFields" }
    },
    ManagedSourceConfiguration = 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"

sourceConfigurationProperty := &SourceConfigurationProperty{
	AppIntegrations: &AppIntegrationsConfigurationProperty{
		AppIntegrationArn: jsii.String("appIntegrationArn"),

		// the properties below are optional
		ObjectFields: []*string{
			jsii.String("objectFields"),
		},
	},
	ManagedSourceConfiguration: &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

- `appIntegrations`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnKnowledgeBase.AppIntegrationsConfigurationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_wisdom.CfnKnowledgeBase.AppIntegrationsConfigurationProperty.html) — Configuration information for Amazon AppIntegrations to automatically ingest content.

- `managedSourceConfiguration`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnKnowledgeBase.ManagedSourceConfigurationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_wisdom.CfnKnowledgeBase.ManagedSourceConfigurationProperty.html) — Source configuration for managed resources.
