@cdklabs/generative-ai-cdk-constructs • Docs
@cdklabs/generative-ai-cdk-constructs / bedrock / ConfluenceDataSourceAssociationProps
Interface to add a new data source to an existing KB.
readonly
authSecret:ISecret
The AWS Secrets Manager secret that stores your authentication credentials for your Confluence instance URL. Secret must start with “AmazonBedrock-“.
readonly
optional
authType:ConfluenceDataSourceAuthType
The supported authentication method to connect to the data source.
ConfluenceDataSourceAuthType.OAUTH2_CLIENT_CREDENTIALS
readonly
optional
chunkingStrategy: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
DataSourceAssociationProps
.chunkingStrategy
readonly
confluenceUrl:string
The Confluence host URL or instance URL.
https://example.atlassian.net
readonly
optional
customTransformation:CustomTransformation
The custom transformation strategy to use.
- No custom transformation is used.
DataSourceAssociationProps
.customTransformation
readonly
optional
dataDeletionPolicy:DataDeletionPolicy
The data deletion policy to apply to the data source.
- Sets the data deletion policy to the default of the data source type.
DataSourceAssociationProps
.dataDeletionPolicy
readonly
optional
dataSourceName:string
The name of the data source.
- A new name will be generated.
DataSourceAssociationProps
.dataSourceName
readonly
optional
description:string
A description of the data source.
- No description is provided.
DataSourceAssociationProps
.description
readonly
optional
filters:ConfluenceCrawlingFilters
[]
The filters (regular expression patterns) for the crawling. If there’s a conflict, the exclude pattern takes precedence.
None - all your content is crawled.
readonly
optional
kmsKey:IKey
The KMS key to use to encrypt the data source.
- Service owned and managed key.
DataSourceAssociationProps
.kmsKey
readonly
optional
parsingStrategy:ParsingStategy
The parsing strategy to use.
- No Parsing Stategy is used.