Skip to content
v2.276.0

CrawlFilterConfigurationProperty Struct ​

The configuration of filtering the data source content.

For example, configuring regular expression patterns to include or exclude certain content.

Example ​

ts
// 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 ​

patternObjectFilteroptionalIResolvable | CfnDataSource.PatternObjectFilterConfigurationPropertypattern_object_filteroptionaltyping.Union[IResolvable, PatternObjectFilterConfigurationProperty]patternObjectFilteroptionalIResolvablePatternObjectFilteroptionalIResolvablePatternObjectFilteroptionalinterface{}#
The configuration of filtering certain objects or content types of the data source.
typestringtypestrtypeStringTypestringType*stringrequired#
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.