Class CfnDataSource.CrawlFilterConfigurationProperty
The configuration of filtering the data source content.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Bedrock
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnDataSource.CrawlFilterConfigurationProperty : CfnDataSource.ICrawlFilterConfigurationProperty
Syntax (vb)
Public Class CfnDataSource.CrawlFilterConfigurationProperty Implements CfnDataSource.ICrawlFilterConfigurationProperty
Remarks
For example, configuring regular expression patterns to include or exclude certain content.
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 crawlFilterConfigurationProperty = 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" }
} }
}
};
Synopsis
Constructors
| CrawlFilterConfigurationProperty() | The configuration of filtering the data source content. |
Properties
| PatternObjectFilter | The configuration of filtering certain objects or content types of the data source. |
| Type | The type of filtering that you want to apply to certain objects or content of the data source. |
Constructors
CrawlFilterConfigurationProperty()
The configuration of filtering the data source content.
public CrawlFilterConfigurationProperty()
Remarks
For example, configuring regular expression patterns to include or exclude certain content.
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 crawlFilterConfigurationProperty = 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" }
} }
}
};
Properties
PatternObjectFilter
The configuration of filtering certain objects or content types of the data source.
public object? PatternObjectFilter { get; set; }
Property Value
Remarks
Type
The type of filtering that you want to apply to certain objects or content of the data source.
public string Type { get; set; }
Property Value
Remarks
For example, the PATTERN type is regular expression patterns you can apply to filter your content.