Class CfnDataSourcePropsMixin.PatternObjectFilterProperty
The specific filters applied to your data source content.
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.Bedrock.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnDataSourcePropsMixin.PatternObjectFilterProperty : CfnDataSourcePropsMixin.IPatternObjectFilterProperty
Syntax (vb)
Public Class CfnDataSourcePropsMixin.PatternObjectFilterProperty Implements CfnDataSourcePropsMixin.IPatternObjectFilterProperty
Remarks
You can filter out or include 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.Mixins.Preview.AWS.Bedrock.Mixins;
var patternObjectFilterProperty = new PatternObjectFilterProperty {
ExclusionFilters = new [] { "exclusionFilters" },
InclusionFilters = new [] { "inclusionFilters" },
ObjectType = "objectType"
};
Synopsis
Constructors
| PatternObjectFilterProperty() | The specific filters applied to your data source content. |
Properties
| ExclusionFilters | A list of one or more exclusion regular expression patterns to exclude certain object types that adhere to the pattern. |
| InclusionFilters | A list of one or more inclusion regular expression patterns to include certain object types that adhere to the pattern. |
| ObjectType | The supported object type or content type of the data source. |
Constructors
PatternObjectFilterProperty()
The specific filters applied to your data source content.
public PatternObjectFilterProperty()
Remarks
You can filter out or include 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.Mixins.Preview.AWS.Bedrock.Mixins;
var patternObjectFilterProperty = new PatternObjectFilterProperty {
ExclusionFilters = new [] { "exclusionFilters" },
InclusionFilters = new [] { "inclusionFilters" },
ObjectType = "objectType"
};
Properties
ExclusionFilters
A list of one or more exclusion regular expression patterns to exclude certain object types that adhere to the pattern.
public string[]? ExclusionFilters { get; set; }
Property Value
string[]
Remarks
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
A list of one or more inclusion regular expression patterns to include certain object types that adhere to the pattern.
public string[]? InclusionFilters { get; set; }
Property Value
string[]
Remarks
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
The supported object type or content type of the data source.
public string? ObjectType { get; set; }