Class: AWSCDK::QuickSight::CfnDashboard::PivotTableFieldWellsProperty

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

Overview

The field wells for a pivot 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(pivot_table_aggregated_field_wells: nil) ⇒ PivotTableFieldWellsProperty

Returns a new instance of PivotTableFieldWellsProperty.

Parameters:



23154
23155
23156
23157
# File 'quick_sight/cfn_dashboard.rb', line 23154

def initialize(pivot_table_aggregated_field_wells: nil)
  @pivot_table_aggregated_field_wells = pivot_table_aggregated_field_wells.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::PivotTableAggregatedFieldWellsProperty.new(**pivot_table_aggregated_field_wells.transform_keys(&:to_sym)) : pivot_table_aggregated_field_wells
  Jsii::Type.check_type(@pivot_table_aggregated_field_wells, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5QaXZvdFRhYmxlQWdncmVnYXRlZEZpZWxkV2VsbHNQcm9wZXJ0eSJ9XX19")), "pivotTableAggregatedFieldWells") unless @pivot_table_aggregated_field_wells.nil?
end

Instance Attribute Details

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

The aggregated field well for the pivot table.



23163
23164
23165
# File 'quick_sight/cfn_dashboard.rb', line 23163

def pivot_table_aggregated_field_wells
  @pivot_table_aggregated_field_wells
end

Class Method Details

.jsii_propertiesObject



23165
23166
23167
23168
23169
# File 'quick_sight/cfn_dashboard.rb', line 23165

def self.jsii_properties
  {
    :pivot_table_aggregated_field_wells => "pivotTableAggregatedFieldWells",
  }
end

Instance Method Details

#to_jsiiObject



23171
23172
23173
23174
23175
23176
23177
# File 'quick_sight/cfn_dashboard.rb', line 23171

def to_jsii
  result = {}
  result.merge!({
    "pivotTableAggregatedFieldWells" => @pivot_table_aggregated_field_wells,
  })
  result.compact
end