Interface CfnDataSource.DataSourceConfigurationProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnDataSource.DataSourceConfigurationProperty.Jsii$Proxy
Enclosing class:
CfnDataSource

@Stability(Stable) public static interface CfnDataSource.DataSourceConfigurationProperty extends software.amazon.jsii.JsiiSerializable
The connection configuration for the 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.*;
 DataSourceConfigurationProperty dataSourceConfigurationProperty = DataSourceConfigurationProperty.builder()
         .type("type")
         // the properties below are optional
         .confluenceConfiguration(ConfluenceDataSourceConfigurationProperty.builder()
                 .sourceConfiguration(ConfluenceSourceConfigurationProperty.builder()
                         .authType("authType")
                         .credentialsSecretArn("credentialsSecretArn")
                         .hostType("hostType")
                         .hostUrl("hostUrl")
                         .build())
                 // the properties below are optional
                 .crawlerConfiguration(ConfluenceCrawlerConfigurationProperty.builder()
                         .filterConfiguration(CrawlFilterConfigurationProperty.builder()
                                 .type("type")
                                 // the properties below are optional
                                 .patternObjectFilter(PatternObjectFilterConfigurationProperty.builder()
                                         .filters(List.of(PatternObjectFilterProperty.builder()
                                                 .objectType("objectType")
                                                 // the properties below are optional
                                                 .exclusionFilters(List.of("exclusionFilters"))
                                                 .inclusionFilters(List.of("inclusionFilters"))
                                                 .build()))
                                         .build())
                                 .build())
                         .build())
                 .build())
         .s3Configuration(S3DataSourceConfigurationProperty.builder()
                 .bucketArn("bucketArn")
                 // the properties below are optional
                 .bucketOwnerAccountId("bucketOwnerAccountId")
                 .inclusionPrefixes(List.of("inclusionPrefixes"))
                 .build())
         .salesforceConfiguration(SalesforceDataSourceConfigurationProperty.builder()
                 .sourceConfiguration(SalesforceSourceConfigurationProperty.builder()
                         .authType("authType")
                         .credentialsSecretArn("credentialsSecretArn")
                         .hostUrl("hostUrl")
                         .build())
                 // the properties below are optional
                 .crawlerConfiguration(SalesforceCrawlerConfigurationProperty.builder()
                         .filterConfiguration(CrawlFilterConfigurationProperty.builder()
                                 .type("type")
                                 // the properties below are optional
                                 .patternObjectFilter(PatternObjectFilterConfigurationProperty.builder()
                                         .filters(List.of(PatternObjectFilterProperty.builder()
                                                 .objectType("objectType")
                                                 // the properties below are optional
                                                 .exclusionFilters(List.of("exclusionFilters"))
                                                 .inclusionFilters(List.of("inclusionFilters"))
                                                 .build()))
                                         .build())
                                 .build())
                         .build())
                 .build())
         .sharePointConfiguration(SharePointDataSourceConfigurationProperty.builder()
                 .sourceConfiguration(SharePointSourceConfigurationProperty.builder()
                         .authType("authType")
                         .credentialsSecretArn("credentialsSecretArn")
                         .domain("domain")
                         .hostType("hostType")
                         .siteUrls(List.of("siteUrls"))
                         // the properties below are optional
                         .tenantId("tenantId")
                         .build())
                 // the properties below are optional
                 .crawlerConfiguration(SharePointCrawlerConfigurationProperty.builder()
                         .filterConfiguration(CrawlFilterConfigurationProperty.builder()
                                 .type("type")
                                 // the properties below are optional
                                 .patternObjectFilter(PatternObjectFilterConfigurationProperty.builder()
                                         .filters(List.of(PatternObjectFilterProperty.builder()
                                                 .objectType("objectType")
                                                 // the properties below are optional
                                                 .exclusionFilters(List.of("exclusionFilters"))
                                                 .inclusionFilters(List.of("inclusionFilters"))
                                                 .build()))
                                         .build())
                                 .build())
                         .build())
                 .build())
         .webConfiguration(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()
                                 .rateLimit(123)
                                 .build())
                         .exclusionFilters(List.of("exclusionFilters"))
                         .inclusionFilters(List.of("inclusionFilters"))
                         .scope("scope")
                         .build())
                 .build())
         .build();
 

See Also: