Class: AWSCDK::QuickSight::CfnDataSet::ImportTableOperationSourceProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
quick_sight/cfn_data_set.rb

Overview

Specifies the source table and column mappings for an import table operation.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(source_table_id:, column_id_mappings: nil) ⇒ ImportTableOperationSourceProperty

Returns a new instance of ImportTableOperationSourceProperty.

Parameters:



3319
3320
3321
3322
3323
3324
# File 'quick_sight/cfn_data_set.rb', line 3319

def initialize(source_table_id:, column_id_mappings: nil)
  @source_table_id = source_table_id
  Jsii::Type.check_type(@source_table_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "sourceTableId")
  @column_id_mappings = column_id_mappings
  Jsii::Type.check_type(@column_id_mappings, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5EYXRhU2V0LkRhdGFTZXRDb2x1bW5JZE1hcHBpbmdQcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "columnIdMappings") unless @column_id_mappings.nil?
end

Instance Attribute Details

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

The mappings between source column identifiers and target column identifiers during the import.



3335
3336
3337
# File 'quick_sight/cfn_data_set.rb', line 3335

def column_id_mappings
  @column_id_mappings
end

#source_table_idString (readonly)

The identifier of the source table to import data from.



3330
3331
3332
# File 'quick_sight/cfn_data_set.rb', line 3330

def source_table_id
  @source_table_id
end

Class Method Details

.jsii_propertiesObject



3337
3338
3339
3340
3341
3342
# File 'quick_sight/cfn_data_set.rb', line 3337

def self.jsii_properties
  {
    :source_table_id => "sourceTableId",
    :column_id_mappings => "columnIdMappings",
  }
end

Instance Method Details

#to_jsiiObject



3344
3345
3346
3347
3348
3349
3350
3351
# File 'quick_sight/cfn_data_set.rb', line 3344

def to_jsii
  result = {}
  result.merge!({
    "sourceTableId" => @source_table_id,
    "columnIdMappings" => @column_id_mappings,
  })
  result.compact
end