@cdklabs/generative-ai-cdk-constructs
@cdklabs/generative-ai-cdk-constructs / bedrock / SharePointDataSourceProps
Interface to create a new standalone data source object
readonlyauthSecret:ISecret
The AWS Secrets Manager secret that stores your authentication credentials for your Sharepoint instance URL. Secret must start with “AmazonBedrock-“.
SharePointDataSourceAssociationProps.authSecret
readonlyoptionalchunkingStrategy:ChunkingStrategy
The chunking stategy to use for splitting your documents or content. The chunks are then converted to embeddings and written to the vector index allowing for similarity search and retrieval of the content.
ChunkingStrategy.DEFAULT
SharePointDataSourceAssociationProps.chunkingStrategy
readonlyoptionalcontextEnrichment:ContextEnrichment
The context enrichment configuration to use.
- No context enrichment is used.
SharePointDataSourceAssociationProps.contextEnrichment
readonlyoptionalcustomTransformation:CustomTransformation
The custom transformation strategy to use.
- No custom transformation is used.
SharePointDataSourceAssociationProps.customTransformation
readonlyoptionaldataDeletionPolicy:DataDeletionPolicy
The data deletion policy to apply to the data source.
- Sets the data deletion policy to the default of the data source type.
SharePointDataSourceAssociationProps.dataDeletionPolicy
readonlyoptionaldataSourceName:string
The name of the data source.
- A new name will be generated.
SharePointDataSourceAssociationProps.dataSourceName
readonlyoptionaldescription:string
A description of the data source.
- No description is provided.
SharePointDataSourceAssociationProps.description
readonlydomain:string
The domain of your SharePoint instance or site URL/URLs.
"yourdomain"
SharePointDataSourceAssociationProps.domain
readonlyoptionalfilters:SharePointCrawlingFilters[]
The filters (regular expression patterns) for the crawling. If there’s a conflict, the exclude pattern takes precedence.
None - all your content is crawled.
SharePointDataSourceAssociationProps.filters
readonlyoptionalkmsKey:IKey
The KMS key to use to encrypt the data source.
- Service owned and managed key.
SharePointDataSourceAssociationProps.kmsKey
readonlyknowledgeBase:IKnowledgeBase
The knowledge base to associate with the data source.
readonlyoptionalparsingStrategy:ParsingStrategy
The parsing strategy to use.
- No Parsing Stategy is used.
SharePointDataSourceAssociationProps.parsingStrategy
readonlysiteUrls:string[]
The SharePoint site URL/URLs. Must start with “https”. All URLs must start with same protocol.
["https://yourdomain.sharepoint.com/sites/mysite"]
SharePointDataSourceAssociationProps.siteUrls
readonlytenantId:string
The identifier of your Microsoft 365 tenant.
"d1c035a6-1dcf-457d-97e3"