Class: AWSCDK::EntityResolution::CfnMatchingWorkflow::OutputSourceProperty

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

Overview

A list of OutputAttribute objects, each of which have the fields Name and Hashed .

Each of these objects selects a column to be included in the output table, and whether the values of the column should be hashed.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(output:, apply_normalization: nil, customer_profiles_integration_config: nil, kms_arn: nil, output_s3_path: nil) ⇒ OutputSourceProperty

Returns a new instance of OutputSourceProperty.

Parameters:



903
904
905
906
907
908
909
910
911
912
913
914
# File 'entity_resolution/cfn_matching_workflow.rb', line 903

def initialize(output:, apply_normalization: nil, customer_profiles_integration_config: nil, kms_arn: nil, output_s3_path: nil)
  @output = output
  Jsii::Type.check_type(@output, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZW50aXR5cmVzb2x1dGlvbi5DZm5NYXRjaGluZ1dvcmtmbG93Lk91dHB1dEF0dHJpYnV0ZVByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "output")
  @apply_normalization = apply_normalization
  Jsii::Type.check_type(@apply_normalization, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "applyNormalization") unless @apply_normalization.nil?
  @customer_profiles_integration_config = customer_profiles_integration_config.is_a?(Hash) ? ::AWSCDK::EntityResolution::CfnMatchingWorkflow::CustomerProfilesIntegrationConfigProperty.new(**customer_profiles_integration_config.transform_keys(&:to_sym)) : customer_profiles_integration_config
  Jsii::Type.check_type(@customer_profiles_integration_config, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19lbnRpdHlyZXNvbHV0aW9uLkNmbk1hdGNoaW5nV29ya2Zsb3cuQ3VzdG9tZXJQcm9maWxlc0ludGVncmF0aW9uQ29uZmlnUHJvcGVydHkifV19fQ==")), "customerProfilesIntegrationConfig") unless @customer_profiles_integration_config.nil?
  @kms_arn = kms_arn
  Jsii::Type.check_type(@kms_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "kmsArn") unless @kms_arn.nil?
  @output_s3_path = output_s3_path
  Jsii::Type.check_type(@output_s3_path, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "outputS3Path") unless @output_s3_path.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.



929
930
931
# File 'entity_resolution/cfn_matching_workflow.rb', line 929

def apply_normalization
  @apply_normalization
end

#customer_profiles_integration_configAWSCDK::IResolvable, ... (readonly)

The Customer Profiles integration configuration for the output source.



934
935
936
# File 'entity_resolution/cfn_matching_workflow.rb', line 934

def customer_profiles_integration_config
  @customer_profiles_integration_config
end

#kms_arnString? (readonly)

Customer KMS ARN for encryption at rest.

If not provided, system will use an AWS Entity Resolution managed KMS key.



941
942
943
# File 'entity_resolution/cfn_matching_workflow.rb', line 941

def kms_arn
  @kms_arn
end

#outputAWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::EntityResolution::CfnMatchingWorkflow::OutputAttributeProperty> (readonly)

A list of OutputAttribute objects, each of which have the fields Name and Hashed .

Each of these objects selects a column to be included in the output table, and whether the values of the column should be hashed.



922
923
924
# File 'entity_resolution/cfn_matching_workflow.rb', line 922

def output
  @output
end

#output_s3_pathString? (readonly)

The S3 path to which AWS Entity Resolution will write the output table.



946
947
948
# File 'entity_resolution/cfn_matching_workflow.rb', line 946

def output_s3_path
  @output_s3_path
end

Class Method Details

.jsii_propertiesObject



948
949
950
951
952
953
954
955
956
# File 'entity_resolution/cfn_matching_workflow.rb', line 948

def self.jsii_properties
  {
    :output => "output",
    :apply_normalization => "applyNormalization",
    :customer_profiles_integration_config => "customerProfilesIntegrationConfig",
    :kms_arn => "kmsArn",
    :output_s3_path => "outputS3Path",
  }
end

Instance Method Details

#to_jsiiObject



958
959
960
961
962
963
964
965
966
967
968
# File 'entity_resolution/cfn_matching_workflow.rb', line 958

def to_jsii
  result = {}
  result.merge!({
    "output" => @output,
    "applyNormalization" => @apply_normalization,
    "customerProfilesIntegrationConfig" => @customer_profiles_integration_config,
    "kmsArn" => @kms_arn,
    "outputS3Path" => @output_s3_path,
  })
  result.compact
end