Class: AWSCDK::EntityResolution::CfnMatchingWorkflow::InputSourceProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
entity_resolution/cfn_matching_workflow.rb

Overview

An object containing inputSourceARN , schemaName , and applyNormalization .

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(input_source_arn:, schema_arn:, apply_normalization: nil) ⇒ InputSourceProperty

Returns a new instance of InputSourceProperty.

Parameters:

  • input_source_arn (String)

    An object containing inputSourceARN , schemaName , and applyNormalization .

  • schema_arn (String)

    The name of the schema.

  • apply_normalization (Boolean, AWSCDK::IResolvable, nil) (defaults to: nil)

    Normalizes the attributes defined in the schema in the input data.



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_normalizationBoolean, ... (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_arnString (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_arnString (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_propertiesObject



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_jsiiObject



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