Class: AWSCDK::QuickSight::CfnAnalysis::PieChartFieldWellsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnAnalysis::PieChartFieldWellsProperty
- Defined in:
- quick_sight/cfn_analysis.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
-
#pie_chart_aggregated_field_wells ⇒ AWSCDK::IResolvable, ...
readonly
The field well configuration of a pie chart.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(pie_chart_aggregated_field_wells: nil) ⇒ PieChartFieldWellsProperty
constructor
A new instance of PieChartFieldWellsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(pie_chart_aggregated_field_wells: nil) ⇒ PieChartFieldWellsProperty
Returns a new instance of PieChartFieldWellsProperty.
21348 21349 21350 21351 |
# File 'quick_sight/cfn_analysis.rb', line 21348 def initialize(pie_chart_aggregated_field_wells: nil) @pie_chart_aggregated_field_wells = pie_chart_aggregated_field_wells.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::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("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLlBpZUNoYXJ0QWdncmVnYXRlZEZpZWxkV2VsbHNQcm9wZXJ0eSJ9XX19")), "pieChartAggregatedFieldWells") unless @pie_chart_aggregated_field_wells.nil? end |
Instance Attribute Details
#pie_chart_aggregated_field_wells ⇒ AWSCDK::IResolvable, ... (readonly)
The field well configuration of a pie chart.
21357 21358 21359 |
# File 'quick_sight/cfn_analysis.rb', line 21357 def pie_chart_aggregated_field_wells @pie_chart_aggregated_field_wells end |
Class Method Details
.jsii_properties ⇒ Object
21359 21360 21361 21362 21363 |
# File 'quick_sight/cfn_analysis.rb', line 21359 def self.jsii_properties { :pie_chart_aggregated_field_wells => "pieChartAggregatedFieldWells", } end |
Instance Method Details
#to_jsii ⇒ Object
21365 21366 21367 21368 21369 21370 21371 |
# File 'quick_sight/cfn_analysis.rb', line 21365 def to_jsii result = {} result.merge!({ "pieChartAggregatedFieldWells" => @pie_chart_aggregated_field_wells, }) result.compact end |