Class: AWSCDK::QuickSight::CfnTemplate::FunnelChartConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::FunnelChartConfigurationProperty
- Defined in:
- quick_sight/cfn_template.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.
11597 11598 11599 11600 11601 11602 11603 11604 11605 11606 11607 11608 11609 11610 11611 11612 11613 11614 |
# File 'quick_sight/cfn_template.rb', line 11597 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::CfnTemplate::ChartAxisLabelOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@category_label_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkNoYXJ0QXhpc0xhYmVsT3B0aW9uc1Byb3BlcnR5In1dfX0=")), "categoryLabelOptions") unless @category_label_options.nil? @data_label_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::FunnelChartDataLabelOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@data_label_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkZ1bm5lbENoYXJ0RGF0YUxhYmVsT3B0aW9uc1Byb3BlcnR5In1dfX0=")), "dataLabelOptions") unless @data_label_options.nil? @field_wells = field_wells.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::FunnelChartFieldWellsProperty.new(**field_wells.transform_keys(&:to_sym)) : field_wells Jsii::Type.check_type(@field_wells, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkZ1bm5lbENoYXJ0RmllbGRXZWxsc1Byb3BlcnR5In1dfX0=")), "fieldWells") unless @field_wells.nil? @interactions = interactions.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::VisualInteractionOptionsProperty.new(**interactions.transform_keys(&:to_sym)) : interactions Jsii::Type.check_type(@interactions, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLlZpc3VhbEludGVyYWN0aW9uT3B0aW9uc1Byb3BlcnR5In1dfX0=")), "interactions") unless @interactions.nil? @sort_configuration = sort_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::FunnelChartSortConfigurationProperty.new(**sort_configuration.transform_keys(&:to_sym)) : sort_configuration Jsii::Type.check_type(@sort_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkZ1bm5lbENoYXJ0U29ydENvbmZpZ3VyYXRpb25Qcm9wZXJ0eSJ9XX19")), "sortConfiguration") unless @sort_configuration.nil? @tooltip = tooltip.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::TooltipOptionsProperty.new(**tooltip.transform_keys(&:to_sym)) : tooltip Jsii::Type.check_type(@tooltip, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLlRvb2x0aXBPcHRpb25zUHJvcGVydHkifV19fQ==")), "tooltip") unless @tooltip.nil? @value_label_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::ChartAxisLabelOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@value_label_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkNoYXJ0QXhpc0xhYmVsT3B0aW9uc1Byb3BlcnR5In1dfX0=")), "valueLabelOptions") unless @value_label_options.nil? @visual_palette = visual_palette.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::VisualPaletteProperty.new(**visual_palette.transform_keys(&:to_sym)) : visual_palette Jsii::Type.check_type(@visual_palette, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLlZpc3VhbFBhbGV0dGVQcm9wZXJ0eSJ9XX19")), "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 .
11620 11621 11622 |
# File 'quick_sight/cfn_template.rb', line 11620 def @category_label_options end |
#data_label_options ⇒ AWSCDK::IResolvable, ... (readonly)
The options that determine the presentation of the data labels.
11625 11626 11627 |
# File 'quick_sight/cfn_template.rb', line 11625 def @data_label_options end |
#field_wells ⇒ AWSCDK::IResolvable, ... (readonly)
The field well configuration of a FunnelChartVisual .
11630 11631 11632 |
# File 'quick_sight/cfn_template.rb', line 11630 def field_wells @field_wells end |
#interactions ⇒ AWSCDK::IResolvable, ... (readonly)
The general visual interactions setup for a visual.
11635 11636 11637 |
# File 'quick_sight/cfn_template.rb', line 11635 def interactions @interactions end |
#sort_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
The sort configuration of a FunnelChartVisual .
11640 11641 11642 |
# File 'quick_sight/cfn_template.rb', line 11640 def sort_configuration @sort_configuration end |
#tooltip ⇒ AWSCDK::IResolvable, ... (readonly)
The tooltip configuration of a FunnelChartVisual .
11645 11646 11647 |
# File 'quick_sight/cfn_template.rb', line 11645 def tooltip @tooltip end |
#value_label_options ⇒ AWSCDK::IResolvable, ... (readonly)
The label options for the values that are displayed in a FunnelChartVisual .
11650 11651 11652 |
# File 'quick_sight/cfn_template.rb', line 11650 def @value_label_options end |
#visual_palette ⇒ AWSCDK::IResolvable, ... (readonly)
The visual palette configuration of a FunnelChartVisual .
11655 11656 11657 |
# File 'quick_sight/cfn_template.rb', line 11655 def visual_palette @visual_palette end |
Class Method Details
.jsii_properties ⇒ Object
11657 11658 11659 11660 11661 11662 11663 11664 11665 11666 11667 11668 |
# File 'quick_sight/cfn_template.rb', line 11657 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
11670 11671 11672 11673 11674 11675 11676 11677 11678 11679 11680 11681 11682 11683 |
# File 'quick_sight/cfn_template.rb', line 11670 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 |