Class: AWSCDK::QuickSight::CfnDashboard::PieChartFieldWellsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::PieChartFieldWellsProperty
- Defined in:
- quick_sight/cfn_dashboard.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.
22320 22321 22322 22323 |
# File 'quick_sight/cfn_dashboard.rb', line 22320 def initialize(pie_chart_aggregated_field_wells: nil) @pie_chart_aggregated_field_wells = pie_chart_aggregated_field_wells.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::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("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5QaWVDaGFydEFnZ3JlZ2F0ZWRGaWVsZFdlbGxzUHJvcGVydHkifV19fQ==")), "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.
22329 22330 22331 |
# File 'quick_sight/cfn_dashboard.rb', line 22329 def pie_chart_aggregated_field_wells @pie_chart_aggregated_field_wells end |
Class Method Details
.jsii_properties ⇒ Object
22331 22332 22333 22334 22335 |
# File 'quick_sight/cfn_dashboard.rb', line 22331 def self.jsii_properties { :pie_chart_aggregated_field_wells => "pieChartAggregatedFieldWells", } end |
Instance Method Details
#to_jsii ⇒ Object
22337 22338 22339 22340 22341 22342 22343 |
# File 'quick_sight/cfn_dashboard.rb', line 22337 def to_jsii result = {} result.merge!({ "pieChartAggregatedFieldWells" => @pie_chart_aggregated_field_wells, }) result.compact end |