Class: AWSCDK::CustomerProfiles::CfnDomain::MatchingRuleProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
customer_profiles/cfn_domain.rb

Overview

Specifies how the rule-based matching process should match profiles.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(rule:) ⇒ MatchingRuleProperty

Returns a new instance of MatchingRuleProperty.

Parameters:

  • rule (Array<String>)

    A single rule level of the MatchRules .



1123
1124
1125
1126
# File 'customer_profiles/cfn_domain.rb', line 1123

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

Instance Attribute Details

#ruleArray<String> (readonly)

A single rule level of the MatchRules .

Configures how the rule-based matching process should match profiles.



1134
1135
1136
# File 'customer_profiles/cfn_domain.rb', line 1134

def rule
  @rule
end

Class Method Details

.jsii_propertiesObject



1136
1137
1138
1139
1140
# File 'customer_profiles/cfn_domain.rb', line 1136

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

Instance Method Details

#to_jsiiObject



1142
1143
1144
1145
1146
1147
1148
# File 'customer_profiles/cfn_domain.rb', line 1142

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