Class: AWSCDK::QuickSight::CfnDashboard::FunnelChartConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::FunnelChartConfigurationProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
The configuration of a FunnelChartVisual .
Instance Attribute Summary collapse
-
#category_label_options ⇒ AWSCDK::IResolvable, ...
readonly
The label options of the categories that are displayed in a
FunnelChartVisual. -
#data_label_options ⇒ AWSCDK::IResolvable, ...
readonly
The options that determine the presentation of the data labels.
-
#field_wells ⇒ AWSCDK::IResolvable, ...
readonly
The field well configuration of a
FunnelChartVisual. -
#interactions ⇒ AWSCDK::IResolvable, ...
readonly
The general visual interactions setup for a visual.
-
#sort_configuration ⇒ AWSCDK::IResolvable, ...
readonly
The sort configuration of a
FunnelChartVisual. -
#tooltip ⇒ AWSCDK::IResolvable, ...
readonly
The tooltip configuration of a
FunnelChartVisual. -
#value_label_options ⇒ AWSCDK::IResolvable, ...
readonly
The label options for the values that are displayed in a
FunnelChartVisual. -
#visual_palette ⇒ AWSCDK::IResolvable, ...
readonly
The visual palette configuration of a
FunnelChartVisual.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(category_label_options: nil, data_label_options: nil, field_wells: nil, interactions: nil, sort_configuration: nil, tooltip: nil, value_label_options: nil, visual_palette: nil) ⇒ FunnelChartConfigurationProperty
constructor
A new instance of FunnelChartConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(category_label_options: nil, data_label_options: nil, field_wells: nil, interactions: nil, sort_configuration: nil, tooltip: nil, value_label_options: nil, visual_palette: nil) ⇒ FunnelChartConfigurationProperty
Returns a new instance of FunnelChartConfigurationProperty.
12572 12573 12574 12575 12576 12577 12578 12579 12580 12581 12582 12583 12584 12585 12586 12587 12588 12589 |
# File 'quick_sight/cfn_dashboard.rb', line 12572 def initialize(category_label_options: nil, data_label_options: nil, field_wells: nil, interactions: nil, sort_configuration: nil, tooltip: nil, value_label_options: nil, visual_palette: nil) @category_label_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::ChartAxisLabelOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@category_label_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5DaGFydEF4aXNMYWJlbE9wdGlvbnNQcm9wZXJ0eSJ9XX19")), "categoryLabelOptions") unless @category_label_options.nil? @data_label_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::FunnelChartDataLabelOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@data_label_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5GdW5uZWxDaGFydERhdGFMYWJlbE9wdGlvbnNQcm9wZXJ0eSJ9XX19")), "dataLabelOptions") unless @data_label_options.nil? @field_wells = field_wells.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::FunnelChartFieldWellsProperty.new(**field_wells.transform_keys(&:to_sym)) : field_wells Jsii::Type.check_type(@field_wells, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5GdW5uZWxDaGFydEZpZWxkV2VsbHNQcm9wZXJ0eSJ9XX19")), "fieldWells") unless @field_wells.nil? @interactions = interactions.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::VisualInteractionOptionsProperty.new(**interactions.transform_keys(&:to_sym)) : interactions Jsii::Type.check_type(@interactions, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5WaXN1YWxJbnRlcmFjdGlvbk9wdGlvbnNQcm9wZXJ0eSJ9XX19")), "interactions") unless @interactions.nil? @sort_configuration = sort_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::FunnelChartSortConfigurationProperty.new(**sort_configuration.transform_keys(&:to_sym)) : sort_configuration Jsii::Type.check_type(@sort_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5GdW5uZWxDaGFydFNvcnRDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "sortConfiguration") unless @sort_configuration.nil? @tooltip = tooltip.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::TooltipOptionsProperty.new(**tooltip.transform_keys(&:to_sym)) : tooltip Jsii::Type.check_type(@tooltip, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5Ub29sdGlwT3B0aW9uc1Byb3BlcnR5In1dfX0=")), "tooltip") unless @tooltip.nil? @value_label_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::ChartAxisLabelOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@value_label_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5DaGFydEF4aXNMYWJlbE9wdGlvbnNQcm9wZXJ0eSJ9XX19")), "valueLabelOptions") unless @value_label_options.nil? @visual_palette = visual_palette.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::VisualPaletteProperty.new(**visual_palette.transform_keys(&:to_sym)) : visual_palette Jsii::Type.check_type(@visual_palette, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5WaXN1YWxQYWxldHRlUHJvcGVydHkifV19fQ==")), "visualPalette") unless @visual_palette.nil? end |
Instance Attribute Details
#category_label_options ⇒ AWSCDK::IResolvable, ... (readonly)
The label options of the categories that are displayed in a FunnelChartVisual .
12595 12596 12597 |
# File 'quick_sight/cfn_dashboard.rb', line 12595 def @category_label_options end |
#data_label_options ⇒ AWSCDK::IResolvable, ... (readonly)
The options that determine the presentation of the data labels.
12600 12601 12602 |
# File 'quick_sight/cfn_dashboard.rb', line 12600 def @data_label_options end |
#field_wells ⇒ AWSCDK::IResolvable, ... (readonly)
The field well configuration of a FunnelChartVisual .
12605 12606 12607 |
# File 'quick_sight/cfn_dashboard.rb', line 12605 def field_wells @field_wells end |
#interactions ⇒ AWSCDK::IResolvable, ... (readonly)
The general visual interactions setup for a visual.
12610 12611 12612 |
# File 'quick_sight/cfn_dashboard.rb', line 12610 def interactions @interactions end |
#sort_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
The sort configuration of a FunnelChartVisual .
12615 12616 12617 |
# File 'quick_sight/cfn_dashboard.rb', line 12615 def sort_configuration @sort_configuration end |
#tooltip ⇒ AWSCDK::IResolvable, ... (readonly)
The tooltip configuration of a FunnelChartVisual .
12620 12621 12622 |
# File 'quick_sight/cfn_dashboard.rb', line 12620 def tooltip @tooltip end |
#value_label_options ⇒ AWSCDK::IResolvable, ... (readonly)
The label options for the values that are displayed in a FunnelChartVisual .
12625 12626 12627 |
# File 'quick_sight/cfn_dashboard.rb', line 12625 def @value_label_options end |
#visual_palette ⇒ AWSCDK::IResolvable, ... (readonly)
The visual palette configuration of a FunnelChartVisual .
12630 12631 12632 |
# File 'quick_sight/cfn_dashboard.rb', line 12630 def visual_palette @visual_palette end |
Class Method Details
.jsii_properties ⇒ Object
12632 12633 12634 12635 12636 12637 12638 12639 12640 12641 12642 12643 |
# File 'quick_sight/cfn_dashboard.rb', line 12632 def self.jsii_properties { :category_label_options => "categoryLabelOptions", :data_label_options => "dataLabelOptions", :field_wells => "fieldWells", :interactions => "interactions", :sort_configuration => "sortConfiguration", :tooltip => "tooltip", :value_label_options => "valueLabelOptions", :visual_palette => "visualPalette", } end |
Instance Method Details
#to_jsii ⇒ Object
12645 12646 12647 12648 12649 12650 12651 12652 12653 12654 12655 12656 12657 12658 |
# File 'quick_sight/cfn_dashboard.rb', line 12645 def to_jsii result = {} result.merge!({ "categoryLabelOptions" => @category_label_options, "dataLabelOptions" => @data_label_options, "fieldWells" => @field_wells, "interactions" => @interactions, "sortConfiguration" => @sort_configuration, "tooltip" => @tooltip, "valueLabelOptions" => @value_label_options, "visualPalette" => @visual_palette, }) result.compact end |