SharePointDataSourceConfigurationProperty Struct
The configuration information to connect to SharePoint as your data source.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrock as bedrock } from 'aws-cdk-lib';
const sharePointDataSourceConfigurationProperty: bedrock.CfnDataSource.SharePointDataSourceConfigurationProperty = {
sourceConfiguration: {
authType: 'authType',
credentialsSecretArn: 'credentialsSecretArn',
domain: 'domain',
hostType: 'hostType',
siteUrls: ['siteUrls'],
// the properties below are optional
tenantId: 'tenantId',
},
// the properties below are optional
crawlerConfiguration: {
filterConfiguration: {
type: 'type',
// the properties below are optional
patternObjectFilter: {
filters: [{
objectType: 'objectType',
// the properties below are optional
exclusionFilters: ['exclusionFilters'],
inclusionFilters: ['inclusionFilters'],
}],
},
},
},
};
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_bedrock as bedrock
share_point_data_source_configuration_property = bedrock.CfnDataSource.SharePointDataSourceConfigurationProperty(
source_configuration=bedrock.CfnDataSource.SharePointSourceConfigurationProperty(
auth_type="authType",
credentials_secret_arn="credentialsSecretArn",
domain="domain",
host_type="hostType",
site_urls=["siteUrls"],
# the properties below are optional
tenant_id="tenantId"
),
# the properties below are optional
crawler_configuration=bedrock.CfnDataSource.SharePointCrawlerConfigurationProperty(
filter_configuration=bedrock.CfnDataSource.CrawlFilterConfigurationProperty(
type="type",
# the properties below are optional
pattern_object_filter=bedrock.CfnDataSource.PatternObjectFilterConfigurationProperty(
filters=[bedrock.CfnDataSource.PatternObjectFilterProperty(
object_type="objectType",
# the properties below are optional
exclusion_filters=["exclusionFilters"],
inclusion_filters=["inclusionFilters"]
)]
)
)
)
)
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.bedrock.*;
SharePointDataSourceConfigurationProperty sharePointDataSourceConfigurationProperty = 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();
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.Bedrock;
var sharePointDataSourceConfigurationProperty = 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" }
} }
}
}
}
};
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"
sharePointDataSourceConfigurationProperty := &SharePointDataSourceConfigurationProperty{
SourceConfiguration: &SharePointSourceConfigurationProperty{
AuthType: jsii.String("authType"),
CredentialsSecretArn: jsii.String("credentialsSecretArn"),
Domain: jsii.String("domain"),
HostType: jsii.String("hostType"),
SiteUrls: []*string{
jsii.String("siteUrls"),
},
// the properties below are optional
TenantId: jsii.String("tenantId"),
},
// the properties below are optional
CrawlerConfiguration: &SharePointCrawlerConfigurationProperty{
FilterConfiguration: &CrawlFilterConfigurationProperty{
Type: jsii.String("type"),
// the properties below are optional
PatternObjectFilter: &PatternObjectFilterConfigurationProperty{
Filters: []interface{}{
&PatternObjectFilterProperty{
ObjectType: jsii.String("objectType"),
// the properties below are optional
ExclusionFilters: []*string{
jsii.String("exclusionFilters"),
},
InclusionFilters: []*string{
jsii.String("inclusionFilters"),
},
},
},
},
},
},
}
Properties
crawlerConfigurationoptionalIResolvable | CfnDataSource.crawler_configurationoptionaltyping.Union[IResolvable, SharePointCrawlerConfigurationProperty]crawlerConfigurationoptionalIResolvableCrawlerConfigurationoptionalIResolvableCrawlerConfigurationoptionalinterface{} #The configuration of the SharePoint content.
For example, configuring specific types of SharePoint content.
sourceConfigurationIResolvable | CfnDataSource.source_configurationtyping.Union[IResolvable, SharePointSourceConfigurationProperty]sourceConfigurationIResolvableSourceConfigurationIResolvableSourceConfigurationinterface{} required #The endpoint information to connect to your SharePoint data source.