Class: AWSCDK::EntityResolution::CfnIdMappingWorkflow::IdMappingWorkflowInputSourceProperty

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

Overview

An object containing inputSourceARN , schemaName , and type .

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(input_source_arn:, schema_arn: nil, type: nil) ⇒ IdMappingWorkflowInputSourceProperty

Returns a new instance of IdMappingWorkflowInputSourceProperty.

Parameters:

  • input_source_arn (String)

    An AWS Glue table Amazon Resource Name (ARN) or a matching workflow ARN for the input source table.

  • schema_arn (String, nil) (defaults to: nil)

    The ARN (Amazon Resource Name) that AWS Entity Resolution generated for the SchemaMapping .

  • type (String, nil) (defaults to: nil)

    The type of ID namespace. There are two types: SOURCE and TARGET .



806
807
808
809
810
811
812
813
# File 'entity_resolution/cfn_id_mapping_workflow.rb', line 806

def initialize(input_source_arn:, schema_arn: nil, type: 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") unless @schema_arn.nil?
  @type = type
  Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type") unless @type.nil?
end

Instance Attribute Details

#input_source_arnString (readonly)

An AWS Glue table Amazon Resource Name (ARN) or a matching workflow ARN for the input source table.



819
820
821
# File 'entity_resolution/cfn_id_mapping_workflow.rb', line 819

def input_source_arn
  @input_source_arn
end

#schema_arnString? (readonly)

The ARN (Amazon Resource Name) that AWS Entity Resolution generated for the SchemaMapping .



824
825
826
# File 'entity_resolution/cfn_id_mapping_workflow.rb', line 824

def schema_arn
  @schema_arn
end

#typeString? (readonly)

The type of ID namespace. There are two types: SOURCE and TARGET .

The SOURCE contains configurations for source_id data that will be processed in an ID mapping workflow.

The TARGET contains a configuration of target_id which all source_ids will resolve to.



833
834
835
# File 'entity_resolution/cfn_id_mapping_workflow.rb', line 833

def type
  @type
end

Class Method Details

.jsii_propertiesObject



835
836
837
838
839
840
841
# File 'entity_resolution/cfn_id_mapping_workflow.rb', line 835

def self.jsii_properties
  {
    :input_source_arn => "inputSourceArn",
    :schema_arn => "schemaArn",
    :type => "type",
  }
end

Instance Method Details

#to_jsiiObject



843
844
845
846
847
848
849
850
851
# File 'entity_resolution/cfn_id_mapping_workflow.rb', line 843

def to_jsii
  result = {}
  result.merge!({
    "inputSourceArn" => @input_source_arn,
    "schemaArn" => @schema_arn,
    "type" => @type,
  })
  result.compact
end