Class: AWSCDK::EntityResolution::CfnIdMappingWorkflow::RuleProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EntityResolution::CfnIdMappingWorkflow::RuleProperty
- Defined in:
- entity_resolution/cfn_id_mapping_workflow.rb
Overview
An object containing the ruleName and matchingKeys .
Instance Attribute Summary collapse
-
#matching_keys ⇒ Array<String>
readonly
A list of
MatchingKeys. -
#rule_name ⇒ String
readonly
A name for the matching rule.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(matching_keys:, rule_name:) ⇒ RuleProperty
constructor
A new instance of RuleProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(matching_keys:, rule_name:) ⇒ RuleProperty
Returns a new instance of RuleProperty.
999 1000 1001 1002 1003 1004 |
# File 'entity_resolution/cfn_id_mapping_workflow.rb', line 999 def initialize(matching_keys:, rule_name:) @matching_keys = matching_keys Jsii::Type.check_type(@matching_keys, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "matchingKeys") @rule_name = rule_name Jsii::Type.check_type(@rule_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "ruleName") end |
Instance Attribute Details
#matching_keys ⇒ Array<String> (readonly)
A list of MatchingKeys .
The MatchingKeys must have been defined in the SchemaMapping . Two records are considered to match according to this rule if all of the MatchingKeys match.
1012 1013 1014 |
# File 'entity_resolution/cfn_id_mapping_workflow.rb', line 1012 def matching_keys @matching_keys end |
#rule_name ⇒ String (readonly)
A name for the matching rule.
1017 1018 1019 |
# File 'entity_resolution/cfn_id_mapping_workflow.rb', line 1017 def rule_name @rule_name end |
Class Method Details
.jsii_properties ⇒ Object
1019 1020 1021 1022 1023 1024 |
# File 'entity_resolution/cfn_id_mapping_workflow.rb', line 1019 def self.jsii_properties { :matching_keys => "matchingKeys", :rule_name => "ruleName", } end |
Instance Method Details
#to_jsii ⇒ Object
1026 1027 1028 1029 1030 1031 1032 1033 |
# File 'entity_resolution/cfn_id_mapping_workflow.rb', line 1026 def to_jsii result = {} result.merge!({ "matchingKeys" => @matching_keys, "ruleName" => @rule_name, }) result.compact end |