Class: AWSCDK::EntityResolution::CfnMatchingWorkflow::OutputAttributeProperty

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(name:, hashed: nil) ⇒ OutputAttributeProperty

Returns a new instance of OutputAttributeProperty.

Parameters:

  • name (String)

    A name of a column to be written to the output.

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

    Enables the ability to hash the column values in the output.



853
854
855
856
857
858
# File 'entity_resolution/cfn_matching_workflow.rb', line 853

def initialize(name:, hashed: nil)
  @name = name
  Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name")
  @hashed = hashed
  Jsii::Type.check_type(@hashed, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "hashed") unless @hashed.nil?
end

Instance Attribute Details

#hashedBoolean, ... (readonly)

Enables the ability to hash the column values in the output.



871
872
873
# File 'entity_resolution/cfn_matching_workflow.rb', line 871

def hashed
  @hashed
end

#nameString (readonly)

A name of a column to be written to the output.

This must be an InputField name in the schema mapping.



866
867
868
# File 'entity_resolution/cfn_matching_workflow.rb', line 866

def name
  @name
end

Class Method Details

.jsii_propertiesObject



873
874
875
876
877
878
# File 'entity_resolution/cfn_matching_workflow.rb', line 873

def self.jsii_properties
  {
    :name => "name",
    :hashed => "hashed",
  }
end

Instance Method Details

#to_jsiiObject



880
881
882
883
884
885
886
887
# File 'entity_resolution/cfn_matching_workflow.rb', line 880

def to_jsii
  result = {}
  result.merge!({
    "name" => @name,
    "hashed" => @hashed,
  })
  result.compact
end