Class: AWSCDK::CustomerProfiles::CfnDomain::MatchingRuleProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CustomerProfiles::CfnDomain::MatchingRuleProperty
- Defined in:
- customer_profiles/cfn_domain.rb
Overview
Specifies how the rule-based matching process should match profiles.
Instance Attribute Summary collapse
-
#rule ⇒ Array<String>
readonly
A single rule level of the
MatchRules.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(rule:) ⇒ MatchingRuleProperty
constructor
A new instance of MatchingRuleProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(rule:) ⇒ MatchingRuleProperty
Returns a new instance of MatchingRuleProperty.
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
#rule ⇒ Array<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_properties ⇒ Object
1136 1137 1138 1139 1140 |
# File 'customer_profiles/cfn_domain.rb', line 1136 def self.jsii_properties { :rule => "rule", } end |
Instance Method Details
#to_jsii ⇒ Object
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 |