Class: AWSCDK::EntityResolution::CfnIdNamespace::IdNamespaceIdMappingWorkflowPropertiesProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EntityResolution::CfnIdNamespace::IdNamespaceIdMappingWorkflowPropertiesProperty
- Defined in:
- entity_resolution/cfn_id_namespace.rb
Overview
An object containing idMappingType , providerProperties , and ruleBasedProperties .
Instance Attribute Summary collapse
-
#id_mapping_type ⇒ String
readonly
The type of ID mapping.
-
#provider_properties ⇒ AWSCDK::IResolvable, ...
readonly
An object which defines any additional configurations required by the provider service.
-
#rule_based_properties ⇒ AWSCDK::IResolvable, ...
readonly
An object which defines any additional configurations required by rule-based matching.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(id_mapping_type:, provider_properties: nil, rule_based_properties: nil) ⇒ IdNamespaceIdMappingWorkflowPropertiesProperty
constructor
A new instance of IdNamespaceIdMappingWorkflowPropertiesProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(id_mapping_type:, provider_properties: nil, rule_based_properties: nil) ⇒ IdNamespaceIdMappingWorkflowPropertiesProperty
Returns a new instance of IdNamespaceIdMappingWorkflowPropertiesProperty.
643 644 645 646 647 648 649 650 |
# File 'entity_resolution/cfn_id_namespace.rb', line 643 def initialize(id_mapping_type:, provider_properties: nil, rule_based_properties: nil) @id_mapping_type = id_mapping_type Jsii::Type.check_type(@id_mapping_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "idMappingType") @provider_properties = provider_properties.is_a?(Hash) ? ::AWSCDK::EntityResolution::CfnIdNamespace::NamespaceProviderPropertiesProperty.new(**provider_properties.transform_keys(&:to_sym)) : provider_properties Jsii::Type.check_type(@provider_properties, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19lbnRpdHlyZXNvbHV0aW9uLkNmbklkTmFtZXNwYWNlLk5hbWVzcGFjZVByb3ZpZGVyUHJvcGVydGllc1Byb3BlcnR5In1dfX0=")), "providerProperties") unless @provider_properties.nil? @rule_based_properties = rule_based_properties.is_a?(Hash) ? ::AWSCDK::EntityResolution::CfnIdNamespace::NamespaceRuleBasedPropertiesProperty.new(**rule_based_properties.transform_keys(&:to_sym)) : rule_based_properties Jsii::Type.check_type(@rule_based_properties, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19lbnRpdHlyZXNvbHV0aW9uLkNmbklkTmFtZXNwYWNlLk5hbWVzcGFjZVJ1bGVCYXNlZFByb3BlcnRpZXNQcm9wZXJ0eSJ9XX19")), "ruleBasedProperties") unless @rule_based_properties.nil? end |
Instance Attribute Details
#id_mapping_type ⇒ String (readonly)
The type of ID mapping.
656 657 658 |
# File 'entity_resolution/cfn_id_namespace.rb', line 656 def id_mapping_type @id_mapping_type end |
#provider_properties ⇒ AWSCDK::IResolvable, ... (readonly)
An object which defines any additional configurations required by the provider service.
661 662 663 |
# File 'entity_resolution/cfn_id_namespace.rb', line 661 def provider_properties @provider_properties end |
#rule_based_properties ⇒ AWSCDK::IResolvable, ... (readonly)
An object which defines any additional configurations required by rule-based matching.
666 667 668 |
# File 'entity_resolution/cfn_id_namespace.rb', line 666 def rule_based_properties @rule_based_properties end |
Class Method Details
.jsii_properties ⇒ Object
668 669 670 671 672 673 674 |
# File 'entity_resolution/cfn_id_namespace.rb', line 668 def self.jsii_properties { :id_mapping_type => "idMappingType", :provider_properties => "providerProperties", :rule_based_properties => "ruleBasedProperties", } end |
Instance Method Details
#to_jsii ⇒ Object
676 677 678 679 680 681 682 683 684 |
# File 'entity_resolution/cfn_id_namespace.rb', line 676 def to_jsii result = {} result.merge!({ "idMappingType" => @id_mapping_type, "providerProperties" => @provider_properties, "ruleBasedProperties" => @rule_based_properties, }) result.compact end |