Class: AWSCDK::Glue::CfnTable::IcebergSchemaProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Glue::CfnTable::IcebergSchemaProperty
- Defined in:
- glue/cfn_table.rb
Overview
Instance Attribute Summary collapse
- #fields ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::Glue::CfnTable::IcebergStructFieldProperty> readonly
- #identifier_field_ids ⇒ Array<Numeric>, ... readonly
- #schema_id ⇒ Numeric? readonly
- #type ⇒ String? readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(fields:, identifier_field_ids: nil, schema_id: nil, type: nil) ⇒ IcebergSchemaProperty
constructor
A new instance of IcebergSchemaProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(fields:, identifier_field_ids: nil, schema_id: nil, type: nil) ⇒ IcebergSchemaProperty
Returns a new instance of IcebergSchemaProperty.
751 752 753 754 755 756 757 758 759 760 |
# File 'glue/cfn_table.rb', line 751 def initialize(fields:, identifier_field_ids: nil, schema_id: nil, type: nil) @fields = fields Jsii::Type.check_type(@fields, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZ2x1ZS5DZm5UYWJsZS5JY2ViZXJnU3RydWN0RmllbGRQcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "fields") @identifier_field_ids = identifier_field_ids Jsii::Type.check_type(@identifier_field_ids, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siY29sbGVjdGlvbiI6eyJlbGVtZW50dHlwZSI6eyJwcmltaXRpdmUiOiJudW1iZXIifSwia2luZCI6ImFycmF5In19LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "identifierFieldIds") unless @identifier_field_ids.nil? @schema_id = schema_id Jsii::Type.check_type(@schema_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "schemaId") unless @schema_id.nil? @type = type Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type") unless @type.nil? end |
Instance Attribute Details
#fields ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::Glue::CfnTable::IcebergStructFieldProperty> (readonly)
764 765 766 |
# File 'glue/cfn_table.rb', line 764 def fields @fields end |
#identifier_field_ids ⇒ Array<Numeric>, ... (readonly)
767 768 769 |
# File 'glue/cfn_table.rb', line 767 def identifier_field_ids @identifier_field_ids end |
#schema_id ⇒ Numeric? (readonly)
770 771 772 |
# File 'glue/cfn_table.rb', line 770 def schema_id @schema_id end |
#type ⇒ String? (readonly)
773 774 775 |
# File 'glue/cfn_table.rb', line 773 def type @type end |
Class Method Details
.jsii_properties ⇒ Object
775 776 777 778 779 780 781 782 |
# File 'glue/cfn_table.rb', line 775 def self.jsii_properties { :fields => "fields", :identifier_field_ids => "identifierFieldIds", :schema_id => "schemaId", :type => "type", } end |
Instance Method Details
#to_jsii ⇒ Object
784 785 786 787 788 789 790 791 792 793 |
# File 'glue/cfn_table.rb', line 784 def to_jsii result = {} result.merge!({ "fields" => @fields, "identifierFieldIds" => @identifier_field_ids, "schemaId" => @schema_id, "type" => @type, }) result.compact end |