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:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnDataSource.DataSourceConfigurationProperty
static final class
An implementation forCfnDataSource.DataSourceConfigurationProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
The configuration information to connect to Confluence as your data source.default Object
The configuration information to connect to Amazon S3 as your data source.default Object
The configuration information to connect to Salesforce as your data source.default Object
The configuration information to connect to SharePoint as your data source.getType()
The type of data source.default Object
The configuration of web URLs to crawl for your data source.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getType
The type of data source.- See Also:
-
getConfluenceConfiguration
The configuration information to connect to Confluence as your data source.Confluence data source connector is in preview release and is subject to change.
- See Also:
-
getS3Configuration
The configuration information to connect to Amazon S3 as your data source.- See Also:
-
getSalesforceConfiguration
The configuration information to connect to Salesforce as your data source.Salesforce data source connector is in preview release and is subject to change.
- See Also:
-
getWebConfiguration
The configuration of web URLs to crawl for your data source. You should be authorized to crawl the URLs.Crawling web URLs as your data source is in preview release and is subject to change.
- See Also:
-
builder
-