interface PatternObjectFilterProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Bedrock.Mixins.CfnDataSourcePropsMixin.PatternObjectFilterProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsbedrock/mixins#CfnDataSourcePropsMixin_PatternObjectFilterProperty |
Java | software.amazon.awscdk.mixins.preview.services.bedrock.mixins.CfnDataSourcePropsMixin.PatternObjectFilterProperty |
Python | aws_cdk.mixins_preview.aws_bedrock.mixins.CfnDataSourcePropsMixin.PatternObjectFilterProperty |
TypeScript | @aws-cdk/mixins-preview » aws_bedrock » mixins » CfnDataSourcePropsMixin » PatternObjectFilterProperty |
The specific filters applied to your data source content.
You can filter out or include certain content.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as bedrock_mixins } from '@aws-cdk/mixins-preview/aws-bedrock';
const patternObjectFilterProperty: bedrock_mixins.CfnDataSourcePropsMixin.PatternObjectFilterProperty = {
exclusionFilters: ['exclusionFilters'],
inclusionFilters: ['inclusionFilters'],
objectType: 'objectType',
};
Properties
| Name | Type | Description |
|---|---|---|
| exclusion | string[] | A list of one or more exclusion regular expression patterns to exclude certain object types that adhere to the pattern. |
| inclusion | string[] | A list of one or more inclusion regular expression patterns to include certain object types that adhere to the pattern. |
| object | string | The supported object type or content type of the data source. |
exclusionFilters?
Type:
string[]
(optional)
A list of one or more exclusion regular expression patterns to exclude certain object types that adhere to the pattern.
If you specify an inclusion and exclusion filter/pattern and both match a document, the exclusion filter takes precedence and the document isn’t crawled.
inclusionFilters?
Type:
string[]
(optional)
A list of one or more inclusion regular expression patterns to include certain object types that adhere to the pattern.
If you specify an inclusion and exclusion filter/pattern and both match a document, the exclusion filter takes precedence and the document isn’t crawled.
objectType?
Type:
string
(optional)
The supported object type or content type of the data source.

.NET
Go
Java
Python
TypeScript