generative-ai-cdk-constructs

@cdklabs/generative-ai-cdk-constructs


@cdklabs/generative-ai-cdk-constructs / bedrock / ConfluenceCrawlingFilters

Interface: ConfluenceCrawlingFilters

Defines filters for crawling Confluence content. These filters allow you to include or exclude specific content based on object types and patterns.

Remarks

Example

{
 *   objectType: ConfluenceObjectType.ATTACHMENT,
 *   excludePatterns: [".*private.*\\.pdf"]
 * }

Properties

excludePatterns?

readonly optional excludePatterns: string[]

Regular expression patterns to exclude content. Content matching these patterns will not be crawled, even if it matches an include pattern.


includePatterns?

readonly optional includePatterns: string[]

Regular expression patterns to include content. If specified, only content matching these patterns will be crawled.


objectType

readonly objectType: ConfluenceObjectType

The type of Confluence object to apply the filters to.