Class: AWSCDK::QuickSight::CfnTemplate::PivotTableFieldWellsProperty

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



20308
20309
20310
20311
# File 'quick_sight/cfn_template.rb', line 20308

def initialize(pivot_table_aggregated_field_wells: nil)
  @pivot_table_aggregated_field_wells = pivot_table_aggregated_field_wells.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::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("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLlBpdm90VGFibGVBZ2dyZWdhdGVkRmllbGRXZWxsc1Byb3BlcnR5In1dfX0=")), "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.



20317
20318
20319
# File 'quick_sight/cfn_template.rb', line 20317

def pivot_table_aggregated_field_wells
  @pivot_table_aggregated_field_wells
end

Class Method Details

.jsii_propertiesObject



20319
20320
20321
20322
20323
# File 'quick_sight/cfn_template.rb', line 20319

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

Instance Method Details

#to_jsiiObject



20325
20326
20327
20328
20329
20330
20331
# File 'quick_sight/cfn_template.rb', line 20325

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