Class: AWSCDK::RTBFabric::CfnLink::FilterCriterionProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
rtb_fabric/cfn_link.rb

Overview

Describes the criteria for a filter.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path:, values:) ⇒ FilterCriterionProperty

Returns a new instance of FilterCriterionProperty.

Parameters:

  • path (String)

    The path to filter.

  • values (Array<String>)

    The value to filter.



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

#pathString (readonly)

The path to filter.



715
716
717
# File 'rtb_fabric/cfn_link.rb', line 715

def path
  @path
end

#valuesArray<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_propertiesObject



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_jsiiObject



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