Class: AWSCDK::EntityResolution::CfnSchemaMappingProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EntityResolution::CfnSchemaMappingProps
- Defined in:
- entity_resolution/cfn_schema_mapping_props.rb
Overview
Properties for defining a CfnSchemaMapping.
Instance Attribute Summary collapse
-
#description ⇒ String?
readonly
A description of the schema.
-
#mapped_input_fields ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::EntityResolution::CfnSchemaMapping::SchemaInputAttributeProperty>
readonly
A list of
MappedInputFields. -
#schema_name ⇒ String
readonly
The name of the schema.
-
#tags ⇒ Array<AWSCDK::CfnTag>?
readonly
The tags used to organize, track, or control access for this resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(mapped_input_fields:, schema_name:, description: nil, tags: nil) ⇒ CfnSchemaMappingProps
constructor
A new instance of CfnSchemaMappingProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(mapped_input_fields:, schema_name:, description: nil, tags: nil) ⇒ CfnSchemaMappingProps
Returns a new instance of CfnSchemaMappingProps.
13 14 15 16 17 18 19 20 21 22 |
# File 'entity_resolution/cfn_schema_mapping_props.rb', line 13 def initialize(mapped_input_fields:, schema_name:, description: nil, tags: nil) @mapped_input_fields = mapped_input_fields Jsii::Type.check_type(@mapped_input_fields, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZW50aXR5cmVzb2x1dGlvbi5DZm5TY2hlbWFNYXBwaW5nLlNjaGVtYUlucHV0QXR0cmlidXRlUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "mappedInputFields") @schema_name = schema_name Jsii::Type.check_type(@schema_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "schemaName") @description = description Jsii::Type.check_type(@description, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "description") unless @description.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 schema.
42 43 44 |
# File 'entity_resolution/cfn_schema_mapping_props.rb', line 42 def description @description end |
#mapped_input_fields ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::EntityResolution::CfnSchemaMapping::SchemaInputAttributeProperty> (readonly)
A list of MappedInputFields .
Each MappedInputField corresponds to a column the source data table, and contains column name plus additional information that AWS Entity Resolution uses for matching.
30 31 32 |
# File 'entity_resolution/cfn_schema_mapping_props.rb', line 30 def mapped_input_fields @mapped_input_fields end |
#schema_name ⇒ String (readonly)
The name of the schema.
There can't be multiple SchemaMappings with the same name.
37 38 39 |
# File 'entity_resolution/cfn_schema_mapping_props.rb', line 37 def schema_name @schema_name end |
#tags ⇒ Array<AWSCDK::CfnTag>? (readonly)
The tags used to organize, track, or control access for this resource.
47 48 49 |
# File 'entity_resolution/cfn_schema_mapping_props.rb', line 47 def @tags end |
Class Method Details
.jsii_properties ⇒ Object
49 50 51 52 53 54 55 56 |
# File 'entity_resolution/cfn_schema_mapping_props.rb', line 49 def self.jsii_properties { :mapped_input_fields => "mappedInputFields", :schema_name => "schemaName", :description => "description", :tags => "tags", } end |
Instance Method Details
#to_jsii ⇒ Object
58 59 60 61 62 63 64 65 66 67 |
# File 'entity_resolution/cfn_schema_mapping_props.rb', line 58 def to_jsii result = {} result.merge!({ "mappedInputFields" => @mapped_input_fields, "schemaName" => @schema_name, "description" => @description, "tags" => @tags, }) result.compact end |