Class: AWSCDK::QuickSight::CfnTemplate::PieChartFieldWellsProperty

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

Overview

The field well configuration of a pie chart.

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(pie_chart_aggregated_field_wells: nil) ⇒ PieChartFieldWellsProperty

Returns a new instance of PieChartFieldWellsProperty.

Parameters:



19474
19475
19476
19477
# File 'quick_sight/cfn_template.rb', line 19474

def initialize(pie_chart_aggregated_field_wells: nil)
  @pie_chart_aggregated_field_wells = pie_chart_aggregated_field_wells.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::PieChartAggregatedFieldWellsProperty.new(**pie_chart_aggregated_field_wells.transform_keys(&:to_sym)) : pie_chart_aggregated_field_wells
  Jsii::Type.check_type(@pie_chart_aggregated_field_wells, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLlBpZUNoYXJ0QWdncmVnYXRlZEZpZWxkV2VsbHNQcm9wZXJ0eSJ9XX19")), "pieChartAggregatedFieldWells") unless @pie_chart_aggregated_field_wells.nil?
end

Instance Attribute Details

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

The field well configuration of a pie chart.



19483
19484
19485
# File 'quick_sight/cfn_template.rb', line 19483

def pie_chart_aggregated_field_wells
  @pie_chart_aggregated_field_wells
end

Class Method Details

.jsii_propertiesObject



19485
19486
19487
19488
19489
# File 'quick_sight/cfn_template.rb', line 19485

def self.jsii_properties
  {
    :pie_chart_aggregated_field_wells => "pieChartAggregatedFieldWells",
  }
end

Instance Method Details

#to_jsiiObject



19491
19492
19493
19494
19495
19496
19497
# File 'quick_sight/cfn_template.rb', line 19491

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