interface CrawlFilterConfigurationProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.aws_bedrock.CfnDataSource.CrawlFilterConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrock#CfnDataSource_CrawlFilterConfigurationProperty |
Java | software.amazon.awscdk.services.bedrock.CfnDataSource.CrawlFilterConfigurationProperty |
Python | aws_cdk.aws_bedrock.CfnDataSource.CrawlFilterConfigurationProperty |
TypeScript | aws-cdk-lib » aws_bedrock » CfnDataSource » CrawlFilterConfigurationProperty |
The configuration of filtering the data source content.
For example, configuring regular expression patterns to include or exclude certain content.
Example
// 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 crawlFilterConfigurationProperty: bedrock.CfnDataSource.CrawlFilterConfigurationProperty = {
type: 'type',
// the properties below are optional
patternObjectFilter: {
filters: [{
objectType: 'objectType',
// the properties below are optional
exclusionFilters: ['exclusionFilters'],
inclusionFilters: ['inclusionFilters'],
}],
},
};
Properties
Name | Type | Description |
---|---|---|
type | string | The type of filtering that you want to apply to certain objects or content of the data source. |
pattern | IResolvable | Pattern | The configuration of filtering certain objects or content types of the data source. |
type
Type:
string
The type of filtering that you want to apply to certain objects or content of the data source.
For example, the PATTERN
type is regular expression patterns you can apply to filter your content.
patternObjectFilter?
Type:
IResolvable
|
Pattern
(optional)
The configuration of filtering certain objects or content types of the data source.