Class: AWSCDK::EntityResolution::CfnIdMappingWorkflowProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EntityResolution::CfnIdMappingWorkflowProps
- Defined in:
- entity_resolution/cfn_id_mapping_workflow_props.rb
Overview
Properties for defining a CfnIdMappingWorkflow.
Instance Attribute Summary collapse
-
#description ⇒ String?
readonly
A description of the workflow.
- #id_mapping_incremental_run_config ⇒ AWSCDK::IResolvable, ... readonly
-
#id_mapping_techniques ⇒ AWSCDK::IResolvable, AWSCDK::EntityResolution::CfnIdMappingWorkflow::IdMappingTechniquesProperty
readonly
An object which defines the ID mapping technique and any additional configurations.
-
#input_source_config ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::EntityResolution::CfnIdMappingWorkflow::IdMappingWorkflowInputSourceProperty>
readonly
A list of
InputSourceobjects, which have the fieldsInputSourceARNandSchemaName. -
#output_source_config ⇒ AWSCDK::IResolvable, ...
readonly
A list of
IdMappingWorkflowOutputSourceobjects, each of which contains fieldsoutputS3PathandKMSArn. -
#role_arn ⇒ String
readonly
The Amazon Resource Name (ARN) of the IAM role.
-
#tags ⇒ Array<AWSCDK::CfnTag>?
readonly
The tags used to organize, track, or control access for this resource.
-
#workflow_name ⇒ String
readonly
The name of the workflow.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(id_mapping_techniques:, input_source_config:, role_arn:, workflow_name:, description: nil, id_mapping_incremental_run_config: nil, output_source_config: nil, tags: nil) ⇒ CfnIdMappingWorkflowProps
constructor
A new instance of CfnIdMappingWorkflowProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(id_mapping_techniques:, input_source_config:, role_arn:, workflow_name:, description: nil, id_mapping_incremental_run_config: nil, output_source_config: nil, tags: nil) ⇒ CfnIdMappingWorkflowProps
Returns a new instance of CfnIdMappingWorkflowProps.
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
# File 'entity_resolution/cfn_id_mapping_workflow_props.rb', line 17 def initialize(id_mapping_techniques:, input_source_config:, role_arn:, workflow_name:, description: nil, id_mapping_incremental_run_config: nil, output_source_config: nil, tags: nil) @id_mapping_techniques = id_mapping_techniques.is_a?(Hash) ? ::AWSCDK::EntityResolution::CfnIdMappingWorkflow::IdMappingTechniquesProperty.new(**id_mapping_techniques.transform_keys(&:to_sym)) : id_mapping_techniques Jsii::Type.check_type(@id_mapping_techniques, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19lbnRpdHlyZXNvbHV0aW9uLkNmbklkTWFwcGluZ1dvcmtmbG93LklkTWFwcGluZ1RlY2huaXF1ZXNQcm9wZXJ0eSJ9XX19")), "idMappingTechniques") @input_source_config = input_source_config Jsii::Type.check_type(@input_source_config, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZW50aXR5cmVzb2x1dGlvbi5DZm5JZE1hcHBpbmdXb3JrZmxvdy5JZE1hcHBpbmdXb3JrZmxvd0lucHV0U291cmNlUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "inputSourceConfig") @role_arn = role_arn Jsii::Type.check_type(@role_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "roleArn") @workflow_name = workflow_name Jsii::Type.check_type(@workflow_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "workflowName") @description = description Jsii::Type.check_type(@description, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "description") unless @description.nil? @id_mapping_incremental_run_config = id_mapping_incremental_run_config.is_a?(Hash) ? ::AWSCDK::EntityResolution::CfnIdMappingWorkflow::IdMappingIncrementalRunConfigProperty.new(**id_mapping_incremental_run_config.transform_keys(&:to_sym)) : id_mapping_incremental_run_config Jsii::Type.check_type(@id_mapping_incremental_run_config, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19lbnRpdHlyZXNvbHV0aW9uLkNmbklkTWFwcGluZ1dvcmtmbG93LklkTWFwcGluZ0luY3JlbWVudGFsUnVuQ29uZmlnUHJvcGVydHkifV19fQ==")), "idMappingIncrementalRunConfig") unless @id_mapping_incremental_run_config.nil? @output_source_config = output_source_config Jsii::Type.check_type(@output_source_config, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZW50aXR5cmVzb2x1dGlvbi5DZm5JZE1hcHBpbmdXb3JrZmxvdy5JZE1hcHBpbmdXb3JrZmxvd091dHB1dFNvdXJjZVByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "outputSourceConfig") unless @output_source_config.nil? @tags = .is_a?(Array) ? .map { |jsii_v0| jsii_v0.is_a?(Hash) ? ::AWSCDK::CfnTag.new(**jsii_v0.transform_keys(&:to_sym)) : jsii_v0 } : Jsii::Type.check_type(@tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7ImZxbiI6ImF3cy1jZGstbGliLkNmblRhZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "tags") unless @tags.nil? end |
Instance Attribute Details
#description ⇒ String? (readonly)
A description of the workflow.
64 65 66 |
# File 'entity_resolution/cfn_id_mapping_workflow_props.rb', line 64 def description @description end |
#id_mapping_incremental_run_config ⇒ AWSCDK::IResolvable, ... (readonly)
67 68 69 |
# File 'entity_resolution/cfn_id_mapping_workflow_props.rb', line 67 def id_mapping_incremental_run_config @id_mapping_incremental_run_config end |
#id_mapping_techniques ⇒ AWSCDK::IResolvable, AWSCDK::EntityResolution::CfnIdMappingWorkflow::IdMappingTechniquesProperty (readonly)
An object which defines the ID mapping technique and any additional configurations.
40 41 42 |
# File 'entity_resolution/cfn_id_mapping_workflow_props.rb', line 40 def id_mapping_techniques @id_mapping_techniques end |
#input_source_config ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::EntityResolution::CfnIdMappingWorkflow::IdMappingWorkflowInputSourceProperty> (readonly)
A list of InputSource objects, which have the fields InputSourceARN and SchemaName .
45 46 47 |
# File 'entity_resolution/cfn_id_mapping_workflow_props.rb', line 45 def input_source_config @input_source_config end |
#output_source_config ⇒ AWSCDK::IResolvable, ... (readonly)
A list of IdMappingWorkflowOutputSource objects, each of which contains fields outputS3Path and KMSArn .
72 73 74 |
# File 'entity_resolution/cfn_id_mapping_workflow_props.rb', line 72 def output_source_config @output_source_config end |
#role_arn ⇒ String (readonly)
The Amazon Resource Name (ARN) of the IAM role.
AWS Entity Resolution assumes this role to create resources on your behalf as part of workflow execution.
52 53 54 |
# File 'entity_resolution/cfn_id_mapping_workflow_props.rb', line 52 def role_arn @role_arn end |
#tags ⇒ Array<AWSCDK::CfnTag>? (readonly)
The tags used to organize, track, or control access for this resource.
77 78 79 |
# File 'entity_resolution/cfn_id_mapping_workflow_props.rb', line 77 def @tags end |
#workflow_name ⇒ String (readonly)
The name of the workflow.
There can't be multiple IdMappingWorkflows with the same name.
59 60 61 |
# File 'entity_resolution/cfn_id_mapping_workflow_props.rb', line 59 def workflow_name @workflow_name end |
Class Method Details
.jsii_properties ⇒ Object
79 80 81 82 83 84 85 86 87 88 89 90 |
# File 'entity_resolution/cfn_id_mapping_workflow_props.rb', line 79 def self.jsii_properties { :id_mapping_techniques => "idMappingTechniques", :input_source_config => "inputSourceConfig", :role_arn => "roleArn", :workflow_name => "workflowName", :description => "description", :id_mapping_incremental_run_config => "idMappingIncrementalRunConfig", :output_source_config => "outputSourceConfig", :tags => "tags", } end |
Instance Method Details
#to_jsii ⇒ Object
92 93 94 95 96 97 98 99 100 101 102 103 104 105 |
# File 'entity_resolution/cfn_id_mapping_workflow_props.rb', line 92 def to_jsii result = {} result.merge!({ "idMappingTechniques" => @id_mapping_techniques, "inputSourceConfig" => @input_source_config, "roleArn" => @role_arn, "workflowName" => @workflow_name, "description" => @description, "idMappingIncrementalRunConfig" => @id_mapping_incremental_run_config, "outputSourceConfig" => @output_source_config, "tags" => @tags, }) result.compact end |