Class: AWSCDK::QuickSight::CfnAnalysis::TableFieldWellsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
quick_sight/cfn_analysis.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:



28475
28476
28477
28478
28479
28480
# File 'quick_sight/cfn_analysis.rb', line 28475

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::CfnAnalysis::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("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLlRhYmxlQWdncmVnYXRlZEZpZWxkV2VsbHNQcm9wZXJ0eSJ9XX19")), "tableAggregatedFieldWells") unless @table_aggregated_field_wells.nil?
  @table_unaggregated_field_wells = table_unaggregated_field_wells.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::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("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLlRhYmxlVW5hZ2dyZWdhdGVkRmllbGRXZWxsc1Byb3BlcnR5In1dfX0=")), "tableUnaggregatedFieldWells") unless @table_unaggregated_field_wells.nil?
end

Instance Attribute Details

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

The aggregated field well for the table.



28486
28487
28488
# File 'quick_sight/cfn_analysis.rb', line 28486

def table_aggregated_field_wells
  @table_aggregated_field_wells
end

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

The unaggregated field well for the table.



28491
28492
28493
# File 'quick_sight/cfn_analysis.rb', line 28491

def table_unaggregated_field_wells
  @table_unaggregated_field_wells
end

Class Method Details

.jsii_propertiesObject



28493
28494
28495
28496
28497
28498
# File 'quick_sight/cfn_analysis.rb', line 28493

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

Instance Method Details

#to_jsiiObject



28500
28501
28502
28503
28504
28505
28506
28507
# File 'quick_sight/cfn_analysis.rb', line 28500

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