Class: AWSCDK::RTBFabric::CfnLink::FilterCriterionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::RTBFabric::CfnLink::FilterCriterionProperty
- Defined in:
- rtb_fabric/cfn_link.rb
Overview
Describes the criteria for a filter.
Instance Attribute Summary collapse
-
#path ⇒ String
readonly
The path to filter.
-
#values ⇒ Array<String>
readonly
The value to filter.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(path:, values:) ⇒ FilterCriterionProperty
constructor
A new instance of FilterCriterionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(path:, values:) ⇒ FilterCriterionProperty
Returns a new instance of FilterCriterionProperty.
704 705 706 707 708 709 |
# File 'rtb_fabric/cfn_link.rb', line 704 def initialize(path:, values:) @path = path Jsii::Type.check_type(@path, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "path") @values = values Jsii::Type.check_type(@values, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "values") end |
Instance Attribute Details
#path ⇒ String (readonly)
The path to filter.
715 716 717 |
# File 'rtb_fabric/cfn_link.rb', line 715 def path @path end |
#values ⇒ Array<String> (readonly)
The value to filter.
720 721 722 |
# File 'rtb_fabric/cfn_link.rb', line 720 def values @values end |
Class Method Details
.jsii_properties ⇒ Object
722 723 724 725 726 727 |
# File 'rtb_fabric/cfn_link.rb', line 722 def self.jsii_properties { :path => "path", :values => "values", } end |
Instance Method Details
#to_jsii ⇒ Object
729 730 731 732 733 734 735 736 |
# File 'rtb_fabric/cfn_link.rb', line 729 def to_jsii result = {} result.merge!({ "path" => @path, "values" => @values, }) result.compact end |