Class: AWSCDK::Glue::CfnTable::IcebergInputProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
glue/cfn_table.rb

Overview

Specifies an input structure that defines an Apache Iceberg metadata table.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(iceberg_table_input: nil, metadata_operation: nil, version: nil) ⇒ IcebergInputProperty

Returns a new instance of IcebergInputProperty.

Parameters:



607
608
609
610
611
612
613
614
# File 'glue/cfn_table.rb', line 607

def initialize(iceberg_table_input: nil, metadata_operation: nil, version: nil)
  @iceberg_table_input = iceberg_table_input.is_a?(Hash) ? ::AWSCDK::Glue::CfnTable::IcebergTableInputProperty.new(**iceberg_table_input.transform_keys(&:to_sym)) : iceberg_table_input
  Jsii::Type.check_type(@iceberg_table_input, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19nbHVlLkNmblRhYmxlLkljZWJlcmdUYWJsZUlucHV0UHJvcGVydHkifV19fQ==")), "icebergTableInput") unless @iceberg_table_input.nil?
  @metadata_operation = 
  Jsii::Type.check_type(@metadata_operation, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "metadataOperation") unless @metadata_operation.nil?
  @version = version
  Jsii::Type.check_type(@version, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "version") unless @version.nil?
end

Instance Attribute Details

#iceberg_table_inputAWSCDK::IResolvable, ... (readonly)



618
619
620
# File 'glue/cfn_table.rb', line 618

def iceberg_table_input
  @iceberg_table_input
end

#metadata_operationString? (readonly)

A required metadata operation.

Can only be set to CREATE.



625
626
627
# File 'glue/cfn_table.rb', line 625

def 
  @metadata_operation
end

#versionString? (readonly)

The table version for the Iceberg table.

Defaults to 2.



632
633
634
# File 'glue/cfn_table.rb', line 632

def version
  @version
end

Class Method Details

.jsii_propertiesObject



634
635
636
637
638
639
640
# File 'glue/cfn_table.rb', line 634

def self.jsii_properties
  {
    :iceberg_table_input => "icebergTableInput",
    :metadata_operation => "metadataOperation",
    :version => "version",
  }
end

Instance Method Details

#to_jsiiObject



642
643
644
645
646
647
648
649
650
# File 'glue/cfn_table.rb', line 642

def to_jsii
  result = {}
  result.merge!({
    "icebergTableInput" => @iceberg_table_input,
    "metadataOperation" => @metadata_operation,
    "version" => @version,
  })
  result.compact
end