Class: AWSCDK::QuickSight::CfnTemplate::TableFieldWellsProperty

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

Overview

The field wells for a table visual.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(table_aggregated_field_wells: nil, table_unaggregated_field_wells: nil) ⇒ TableFieldWellsProperty

Returns a new instance of TableFieldWellsProperty.

Parameters:



26343
26344
26345
26346
26347
26348
# File 'quick_sight/cfn_template.rb', line 26343

def initialize(table_aggregated_field_wells: nil, table_unaggregated_field_wells: nil)
  @table_aggregated_field_wells = table_aggregated_field_wells.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::TableAggregatedFieldWellsProperty.new(**table_aggregated_field_wells.transform_keys(&:to_sym)) : table_aggregated_field_wells
  Jsii::Type.check_type(@table_aggregated_field_wells, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLlRhYmxlQWdncmVnYXRlZEZpZWxkV2VsbHNQcm9wZXJ0eSJ9XX19")), "tableAggregatedFieldWells") unless @table_aggregated_field_wells.nil?
  @table_unaggregated_field_wells = table_unaggregated_field_wells.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::TableUnaggregatedFieldWellsProperty.new(**table_unaggregated_field_wells.transform_keys(&:to_sym)) : table_unaggregated_field_wells
  Jsii::Type.check_type(@table_unaggregated_field_wells, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLlRhYmxlVW5hZ2dyZWdhdGVkRmllbGRXZWxsc1Byb3BlcnR5In1dfX0=")), "tableUnaggregatedFieldWells") unless @table_unaggregated_field_wells.nil?
end

Instance Attribute Details

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

The aggregated field well for the table.



26354
26355
26356
# File 'quick_sight/cfn_template.rb', line 26354

def table_aggregated_field_wells
  @table_aggregated_field_wells
end

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

The unaggregated field well for the table.



26359
26360
26361
# File 'quick_sight/cfn_template.rb', line 26359

def table_unaggregated_field_wells
  @table_unaggregated_field_wells
end

Class Method Details

.jsii_propertiesObject



26361
26362
26363
26364
26365
26366
# File 'quick_sight/cfn_template.rb', line 26361

def self.jsii_properties
  {
    :table_aggregated_field_wells => "tableAggregatedFieldWells",
    :table_unaggregated_field_wells => "tableUnaggregatedFieldWells",
  }
end

Instance Method Details

#to_jsiiObject



26368
26369
26370
26371
26372
26373
26374
26375
# File 'quick_sight/cfn_template.rb', line 26368

def to_jsii
  result = {}
  result.merge!({
    "tableAggregatedFieldWells" => @table_aggregated_field_wells,
    "tableUnaggregatedFieldWells" => @table_unaggregated_field_wells,
  })
  result.compact
end