Interface CfnDataSource.IDataSourceConfigurationProperty
The connection configuration for the data source.
Namespace: Amazon.CDK.AwsBedrock
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IDataSourceConfigurationProperty
Syntax (vb)
Public Interface IDataSourceConfigurationProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Aws_bedrock;
var dataSourceConfigurationProperty = new DataSourceConfigurationProperty {
Type = "type",
// the properties below are optional
ConfluenceConfiguration = new ConfluenceDataSourceConfigurationProperty {
SourceConfiguration = new ConfluenceSourceConfigurationProperty {
AuthType = "authType",
CredentialsSecretArn = "credentialsSecretArn",
HostType = "hostType",
HostUrl = "hostUrl"
},
// the properties below are optional
CrawlerConfiguration = new ConfluenceCrawlerConfigurationProperty {
FilterConfiguration = new CrawlFilterConfigurationProperty {
Type = "type",
// the properties below are optional
PatternObjectFilter = new PatternObjectFilterConfigurationProperty {
Filters = new [] { new PatternObjectFilterProperty {
ObjectType = "objectType",
// the properties below are optional
ExclusionFilters = new [] { "exclusionFilters" },
InclusionFilters = new [] { "inclusionFilters" }
} }
}
}
}
},
S3Configuration = new S3DataSourceConfigurationProperty {
BucketArn = "bucketArn",
// the properties below are optional
BucketOwnerAccountId = "bucketOwnerAccountId",
InclusionPrefixes = new [] { "inclusionPrefixes" }
},
SalesforceConfiguration = new SalesforceDataSourceConfigurationProperty {
SourceConfiguration = new SalesforceSourceConfigurationProperty {
AuthType = "authType",
CredentialsSecretArn = "credentialsSecretArn",
HostUrl = "hostUrl"
},
// the properties below are optional
CrawlerConfiguration = new SalesforceCrawlerConfigurationProperty {
FilterConfiguration = new CrawlFilterConfigurationProperty {
Type = "type",
// the properties below are optional
PatternObjectFilter = new PatternObjectFilterConfigurationProperty {
Filters = new [] { new PatternObjectFilterProperty {
ObjectType = "objectType",
// the properties below are optional
ExclusionFilters = new [] { "exclusionFilters" },
InclusionFilters = new [] { "inclusionFilters" }
} }
}
}
}
},
SharePointConfiguration = new SharePointDataSourceConfigurationProperty {
SourceConfiguration = new SharePointSourceConfigurationProperty {
AuthType = "authType",
CredentialsSecretArn = "credentialsSecretArn",
Domain = "domain",
HostType = "hostType",
SiteUrls = new [] { "siteUrls" },
// the properties below are optional
TenantId = "tenantId"
},
// the properties below are optional
CrawlerConfiguration = new SharePointCrawlerConfigurationProperty {
FilterConfiguration = new CrawlFilterConfigurationProperty {
Type = "type",
// the properties below are optional
PatternObjectFilter = new PatternObjectFilterConfigurationProperty {
Filters = new [] { new PatternObjectFilterProperty {
ObjectType = "objectType",
// the properties below are optional
ExclusionFilters = new [] { "exclusionFilters" },
InclusionFilters = new [] { "inclusionFilters" }
} }
}
}
}
},
WebConfiguration = new WebDataSourceConfigurationProperty {
SourceConfiguration = new WebSourceConfigurationProperty {
UrlConfiguration = new UrlConfigurationProperty {
SeedUrls = new [] { new SeedUrlProperty {
Url = "url"
} }
}
},
// the properties below are optional
CrawlerConfiguration = new WebCrawlerConfigurationProperty {
CrawlerLimits = new WebCrawlerLimitsProperty {
RateLimit = 123
},
ExclusionFilters = new [] { "exclusionFilters" },
InclusionFilters = new [] { "inclusionFilters" },
Scope = "scope"
}
}
};
Synopsis
Properties
Confluence |
The configuration information to connect to Confluence as your data source. |
S3Configuration | The configuration information to connect to Amazon S3 as your data source. |
Salesforce |
The configuration information to connect to Salesforce as your data source. |
Share |
The configuration information to connect to SharePoint as your data source. |
Type | The type of data source. |
Web |
The configuration of web URLs to crawl for your data source. You should be authorized to crawl the URLs. |
Properties
ConfluenceConfiguration
The configuration information to connect to Confluence as your data source.
virtual object ConfluenceConfiguration { get; }
Property Value
System.
Remarks
Confluence data source connector is in preview release and is subject to change.
S3Configuration
The configuration information to connect to Amazon S3 as your data source.
virtual object S3Configuration { get; }
Property Value
System.
Remarks
SalesforceConfiguration
The configuration information to connect to Salesforce as your data source.
virtual object SalesforceConfiguration { get; }
Property Value
System.
Remarks
Salesforce data source connector is in preview release and is subject to change.
SharePointConfiguration
The configuration information to connect to SharePoint as your data source.
virtual object SharePointConfiguration { get; }
Property Value
System.
Remarks
SharePoint data source connector is in preview release and is subject to change.
Type
The type of data source.
string Type { get; }
Property Value
System.
Remarks
WebConfiguration
The configuration of web URLs to crawl for your data source. You should be authorized to crawl the URLs.
virtual object WebConfiguration { get; }
Property Value
System.
Remarks
Crawling web URLs as your data source is in preview release and is subject to change.