Class: AWSCDK::DataZone::CfnDataSource::FilterExpressionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::DataZone::CfnDataSource::FilterExpressionProperty
- Defined in:
- data_zone/cfn_data_source.rb
Overview
A filter expression in Amazon DataZone.
Instance Attribute Summary collapse
-
#expression ⇒ String
readonly
The search filter expression.
-
#type ⇒ String
readonly
The search filter explresison type.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(expression:, type:) ⇒ FilterExpressionProperty
constructor
A new instance of FilterExpressionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(expression:, type:) ⇒ FilterExpressionProperty
Returns a new instance of FilterExpressionProperty.
800 801 802 803 804 805 |
# File 'data_zone/cfn_data_source.rb', line 800 def initialize(expression:, type:) @expression = expression Jsii::Type.check_type(@expression, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "expression") @type = type Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type") end |
Instance Attribute Details
#expression ⇒ String (readonly)
The search filter expression.
811 812 813 |
# File 'data_zone/cfn_data_source.rb', line 811 def expression @expression end |
#type ⇒ String (readonly)
The search filter explresison type.
816 817 818 |
# File 'data_zone/cfn_data_source.rb', line 816 def type @type end |
Class Method Details
.jsii_properties ⇒ Object
818 819 820 821 822 823 |
# File 'data_zone/cfn_data_source.rb', line 818 def self.jsii_properties { :expression => "expression", :type => "type", } end |
Instance Method Details
#to_jsii ⇒ Object
825 826 827 828 829 830 831 832 |
# File 'data_zone/cfn_data_source.rb', line 825 def to_jsii result = {} result.merge!({ "expression" => @expression, "type" => @type, }) result.compact end |