Class: AWSCDK::Bedrock::CfnDataSource::PatternObjectFilterConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
bedrock/cfn_data_source.rb

Overview

The configuration of filtering certain objects or content types of the data source.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(filters:) ⇒ PatternObjectFilterConfigurationProperty

Returns a new instance of PatternObjectFilterConfigurationProperty.

Parameters:



1732
1733
1734
1735
# File 'bedrock/cfn_data_source.rb', line 1732

def initialize(filters:)
  @filters = filters
  Jsii::Type.check_type(@filters, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfYmVkcm9jay5DZm5EYXRhU291cmNlLlBhdHRlcm5PYmplY3RGaWx0ZXJQcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "filters")
end

Instance Attribute Details

#filtersAWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::Bedrock::CfnDataSource::PatternObjectFilterProperty> (readonly)

The configuration of specific filters applied to your data source content.

You can filter out or include certain content.



1743
1744
1745
# File 'bedrock/cfn_data_source.rb', line 1743

def filters
  @filters
end

Class Method Details

.jsii_propertiesObject



1745
1746
1747
1748
1749
# File 'bedrock/cfn_data_source.rb', line 1745

def self.jsii_properties
  {
    :filters => "filters",
  }
end

Instance Method Details

#to_jsiiObject



1751
1752
1753
1754
1755
1756
1757
# File 'bedrock/cfn_data_source.rb', line 1751

def to_jsii
  result = {}
  result.merge!({
    "filters" => @filters,
  })
  result.compact
end