Class: AWSCDK::EntityResolution::CfnMatchingWorkflow::InputSourceProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EntityResolution::CfnMatchingWorkflow::InputSourceProperty
- Defined in:
- entity_resolution/cfn_matching_workflow.rb
Overview
An object containing inputSourceARN , schemaName , and applyNormalization .
Instance Attribute Summary collapse
-
#apply_normalization ⇒ Boolean, ...
readonly
Normalizes the attributes defined in the schema in the input data.
-
#input_source_arn ⇒ String
readonly
An object containing
inputSourceARN,schemaName, andapplyNormalization. -
#schema_arn ⇒ String
readonly
The name of the schema.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(input_source_arn:, schema_arn:, apply_normalization: nil) ⇒ InputSourceProperty
constructor
A new instance of InputSourceProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(input_source_arn:, schema_arn:, apply_normalization: nil) ⇒ InputSourceProperty
Returns a new instance of InputSourceProperty.
727 728 729 730 731 732 733 734 |
# File 'entity_resolution/cfn_matching_workflow.rb', line 727 def initialize(input_source_arn:, schema_arn:, apply_normalization: nil) @input_source_arn = input_source_arn Jsii::Type.check_type(@input_source_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "inputSourceArn") @schema_arn = schema_arn Jsii::Type.check_type(@schema_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "schemaArn") @apply_normalization = apply_normalization Jsii::Type.check_type(@apply_normalization, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "applyNormalization") unless @apply_normalization.nil? end |
Instance Attribute Details
#apply_normalization ⇒ Boolean, ... (readonly)
Normalizes the attributes defined in the schema in the input data.
For example, if an attribute has an AttributeType of PHONE_NUMBER , and the data in the input table is in a format of 1234567890, AWS Entity Resolution will normalize this field in the output to (123)-456-7890.
752 753 754 |
# File 'entity_resolution/cfn_matching_workflow.rb', line 752 def apply_normalization @apply_normalization end |
#input_source_arn ⇒ String (readonly)
An object containing inputSourceARN , schemaName , and applyNormalization .
740 741 742 |
# File 'entity_resolution/cfn_matching_workflow.rb', line 740 def input_source_arn @input_source_arn end |
#schema_arn ⇒ String (readonly)
The name of the schema.
745 746 747 |
# File 'entity_resolution/cfn_matching_workflow.rb', line 745 def schema_arn @schema_arn end |
Class Method Details
.jsii_properties ⇒ Object
754 755 756 757 758 759 760 |
# File 'entity_resolution/cfn_matching_workflow.rb', line 754 def self.jsii_properties { :input_source_arn => "inputSourceArn", :schema_arn => "schemaArn", :apply_normalization => "applyNormalization", } end |
Instance Method Details
#to_jsii ⇒ Object
762 763 764 765 766 767 768 769 770 |
# File 'entity_resolution/cfn_matching_workflow.rb', line 762 def to_jsii result = {} result.merge!({ "inputSourceArn" => @input_source_arn, "schemaArn" => @schema_arn, "applyNormalization" => @apply_normalization, }) result.compact end |