Class: AWSCDK::QuickSight::CfnDashboard::TableFieldWellsProperty

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



29513
29514
29515
29516
29517
29518
# File 'quick_sight/cfn_dashboard.rb', line 29513

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

Instance Attribute Details

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

The aggregated field well for the table.



29524
29525
29526
# File 'quick_sight/cfn_dashboard.rb', line 29524

def table_aggregated_field_wells
  @table_aggregated_field_wells
end

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

The unaggregated field well for the table.



29529
29530
29531
# File 'quick_sight/cfn_dashboard.rb', line 29529

def table_unaggregated_field_wells
  @table_unaggregated_field_wells
end

Class Method Details

.jsii_propertiesObject



29531
29532
29533
29534
29535
29536
# File 'quick_sight/cfn_dashboard.rb', line 29531

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

Instance Method Details

#to_jsiiObject



29538
29539
29540
29541
29542
29543
29544
29545
# File 'quick_sight/cfn_dashboard.rb', line 29538

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