Class: AWSCDK::Glue::CfnTable::IcebergPartitionSpecProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Glue::CfnTable::IcebergPartitionSpecProperty
- Defined in:
- glue/cfn_table.rb
Overview
Instance Attribute Summary collapse
- #fields ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::Glue::CfnTable::IcebergPartitionFieldProperty> readonly
- #spec_id ⇒ Numeric? readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(fields:, spec_id: nil) ⇒ IcebergPartitionSpecProperty
constructor
A new instance of IcebergPartitionSpecProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(fields:, spec_id: nil) ⇒ IcebergPartitionSpecProperty
Returns a new instance of IcebergPartitionSpecProperty.
712 713 714 715 716 717 |
# File 'glue/cfn_table.rb', line 712 def initialize(fields:, spec_id: nil) @fields = fields Jsii::Type.check_type(@fields, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZ2x1ZS5DZm5UYWJsZS5JY2ViZXJnUGFydGl0aW9uRmllbGRQcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "fields") @spec_id = spec_id Jsii::Type.check_type(@spec_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "specId") unless @spec_id.nil? end |
Instance Attribute Details
#fields ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::Glue::CfnTable::IcebergPartitionFieldProperty> (readonly)
721 722 723 |
# File 'glue/cfn_table.rb', line 721 def fields @fields end |
#spec_id ⇒ Numeric? (readonly)
724 725 726 |
# File 'glue/cfn_table.rb', line 724 def spec_id @spec_id end |
Class Method Details
.jsii_properties ⇒ Object
726 727 728 729 730 731 |
# File 'glue/cfn_table.rb', line 726 def self.jsii_properties { :fields => "fields", :spec_id => "specId", } end |
Instance Method Details
#to_jsii ⇒ Object
733 734 735 736 737 738 739 740 |
# File 'glue/cfn_table.rb', line 733 def to_jsii result = {} result.merge!({ "fields" => @fields, "specId" => @spec_id, }) result.compact end |