Class: AWSCDK::QuickSight::CfnTemplate::TreeMapConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::TreeMapConfigurationProperty
- Defined in:
- quick_sight/cfn_template.rb
Overview
The configuration of a tree map.
Instance Attribute Summary collapse
-
#color_label_options ⇒ AWSCDK::IResolvable, ...
readonly
The label options (label text, label visibility) for the colors displayed in a tree map.
-
#color_scale ⇒ AWSCDK::IResolvable, ...
readonly
The color options (gradient color, point of divergence) of a tree map.
-
#data_labels ⇒ AWSCDK::IResolvable, ...
readonly
The options that determine if visual data labels are displayed.
-
#field_wells ⇒ AWSCDK::IResolvable, ...
readonly
The field wells of the visual.
-
#group_label_options ⇒ AWSCDK::IResolvable, ...
readonly
The label options (label text, label visibility) of the groups that are displayed in a tree map.
-
#interactions ⇒ AWSCDK::IResolvable, ...
readonly
The general visual interactions setup for a visual.
-
#legend ⇒ AWSCDK::IResolvable, ...
readonly
The legend display setup of the visual.
-
#size_label_options ⇒ AWSCDK::IResolvable, ...
readonly
The label options (label text, label visibility) of the sizes that are displayed in a tree map.
-
#sort_configuration ⇒ AWSCDK::IResolvable, ...
readonly
The sort configuration of a tree map.
-
#tooltip ⇒ AWSCDK::IResolvable, ...
readonly
The tooltip display setup of the visual.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(color_label_options: nil, color_scale: nil, data_labels: nil, field_wells: nil, group_label_options: nil, interactions: nil, legend: nil, size_label_options: nil, sort_configuration: nil, tooltip: nil) ⇒ TreeMapConfigurationProperty
constructor
A new instance of TreeMapConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(color_label_options: nil, color_scale: nil, data_labels: nil, field_wells: nil, group_label_options: nil, interactions: nil, legend: nil, size_label_options: nil, sort_configuration: nil, tooltip: nil) ⇒ TreeMapConfigurationProperty
Returns a new instance of TreeMapConfigurationProperty.
28716 28717 28718 28719 28720 28721 28722 28723 28724 28725 28726 28727 28728 28729 28730 28731 28732 28733 28734 28735 28736 28737 |
# File 'quick_sight/cfn_template.rb', line 28716 def initialize(color_label_options: nil, color_scale: nil, data_labels: nil, field_wells: nil, group_label_options: nil, interactions: nil, legend: nil, size_label_options: nil, sort_configuration: nil, tooltip: nil) @color_label_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::ChartAxisLabelOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@color_label_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkNoYXJ0QXhpc0xhYmVsT3B0aW9uc1Byb3BlcnR5In1dfX0=")), "colorLabelOptions") unless @color_label_options.nil? @color_scale = color_scale.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::ColorScaleProperty.new(**color_scale.transform_keys(&:to_sym)) : color_scale Jsii::Type.check_type(@color_scale, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkNvbG9yU2NhbGVQcm9wZXJ0eSJ9XX19")), "colorScale") unless @color_scale.nil? @data_labels = data_labels.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::DataLabelOptionsProperty.new(**data_labels.transform_keys(&:to_sym)) : data_labels Jsii::Type.check_type(@data_labels, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkRhdGFMYWJlbE9wdGlvbnNQcm9wZXJ0eSJ9XX19")), "dataLabels") unless @data_labels.nil? @field_wells = field_wells.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::TreeMapFieldWellsProperty.new(**field_wells.transform_keys(&:to_sym)) : field_wells Jsii::Type.check_type(@field_wells, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLlRyZWVNYXBGaWVsZFdlbGxzUHJvcGVydHkifV19fQ==")), "fieldWells") unless @field_wells.nil? @group_label_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::ChartAxisLabelOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@group_label_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkNoYXJ0QXhpc0xhYmVsT3B0aW9uc1Byb3BlcnR5In1dfX0=")), "groupLabelOptions") unless @group_label_options.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? @legend = legend.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::LegendOptionsProperty.new(**legend.transform_keys(&:to_sym)) : legend Jsii::Type.check_type(@legend, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkxlZ2VuZE9wdGlvbnNQcm9wZXJ0eSJ9XX19")), "legend") unless @legend.nil? @size_label_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::ChartAxisLabelOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@size_label_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkNoYXJ0QXhpc0xhYmVsT3B0aW9uc1Byb3BlcnR5In1dfX0=")), "sizeLabelOptions") unless @size_label_options.nil? @sort_configuration = sort_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::TreeMapSortConfigurationProperty.new(**sort_configuration.transform_keys(&:to_sym)) : sort_configuration Jsii::Type.check_type(@sort_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLlRyZWVNYXBTb3J0Q29uZmlndXJhdGlvblByb3BlcnR5In1dfX0=")), "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? end |
Instance Attribute Details
#color_label_options ⇒ AWSCDK::IResolvable, ... (readonly)
The label options (label text, label visibility) for the colors displayed in a tree map.
28743 28744 28745 |
# File 'quick_sight/cfn_template.rb', line 28743 def @color_label_options end |
#color_scale ⇒ AWSCDK::IResolvable, ... (readonly)
The color options (gradient color, point of divergence) of a tree map.
28748 28749 28750 |
# File 'quick_sight/cfn_template.rb', line 28748 def color_scale @color_scale end |
#data_labels ⇒ AWSCDK::IResolvable, ... (readonly)
The options that determine if visual data labels are displayed.
28753 28754 28755 |
# File 'quick_sight/cfn_template.rb', line 28753 def data_labels @data_labels end |
#field_wells ⇒ AWSCDK::IResolvable, ... (readonly)
The field wells of the visual.
28758 28759 28760 |
# File 'quick_sight/cfn_template.rb', line 28758 def field_wells @field_wells end |
#group_label_options ⇒ AWSCDK::IResolvable, ... (readonly)
The label options (label text, label visibility) of the groups that are displayed in a tree map.
28763 28764 28765 |
# File 'quick_sight/cfn_template.rb', line 28763 def @group_label_options end |
#interactions ⇒ AWSCDK::IResolvable, ... (readonly)
The general visual interactions setup for a visual.
28768 28769 28770 |
# File 'quick_sight/cfn_template.rb', line 28768 def interactions @interactions end |
#legend ⇒ AWSCDK::IResolvable, ... (readonly)
The legend display setup of the visual.
28773 28774 28775 |
# File 'quick_sight/cfn_template.rb', line 28773 def legend @legend end |
#size_label_options ⇒ AWSCDK::IResolvable, ... (readonly)
The label options (label text, label visibility) of the sizes that are displayed in a tree map.
28778 28779 28780 |
# File 'quick_sight/cfn_template.rb', line 28778 def @size_label_options end |
#sort_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
The sort configuration of a tree map.
28783 28784 28785 |
# File 'quick_sight/cfn_template.rb', line 28783 def sort_configuration @sort_configuration end |
#tooltip ⇒ AWSCDK::IResolvable, ... (readonly)
The tooltip display setup of the visual.
28788 28789 28790 |
# File 'quick_sight/cfn_template.rb', line 28788 def tooltip @tooltip end |
Class Method Details
.jsii_properties ⇒ Object
28790 28791 28792 28793 28794 28795 28796 28797 28798 28799 28800 28801 28802 28803 |
# File 'quick_sight/cfn_template.rb', line 28790 def self.jsii_properties { :color_label_options => "colorLabelOptions", :color_scale => "colorScale", :data_labels => "dataLabels", :field_wells => "fieldWells", :group_label_options => "groupLabelOptions", :interactions => "interactions", :legend => "legend", :size_label_options => "sizeLabelOptions", :sort_configuration => "sortConfiguration", :tooltip => "tooltip", } end |
Instance Method Details
#to_jsii ⇒ Object
28805 28806 28807 28808 28809 28810 28811 28812 28813 28814 28815 28816 28817 28818 28819 28820 |
# File 'quick_sight/cfn_template.rb', line 28805 def to_jsii result = {} result.merge!({ "colorLabelOptions" => @color_label_options, "colorScale" => @color_scale, "dataLabels" => @data_labels, "fieldWells" => @field_wells, "groupLabelOptions" => @group_label_options, "interactions" => @interactions, "legend" => @legend, "sizeLabelOptions" => @size_label_options, "sortConfiguration" => @sort_configuration, "tooltip" => @tooltip, }) result.compact end |