Class: AWSCDK::QuickSight::CfnDashboard::TreeMapConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::TreeMapConfigurationProperty
- Defined in:
- quick_sight/cfn_dashboard.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.
31472 31473 31474 31475 31476 31477 31478 31479 31480 31481 31482 31483 31484 31485 31486 31487 31488 31489 31490 31491 31492 31493 |
# File 'quick_sight/cfn_dashboard.rb', line 31472 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::CfnDashboard::ChartAxisLabelOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@color_label_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5DaGFydEF4aXNMYWJlbE9wdGlvbnNQcm9wZXJ0eSJ9XX19")), "colorLabelOptions") unless @color_label_options.nil? @color_scale = color_scale.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::ColorScaleProperty.new(**color_scale.transform_keys(&:to_sym)) : color_scale Jsii::Type.check_type(@color_scale, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5Db2xvclNjYWxlUHJvcGVydHkifV19fQ==")), "colorScale") unless @color_scale.nil? @data_labels = data_labels.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::DataLabelOptionsProperty.new(**data_labels.transform_keys(&:to_sym)) : data_labels Jsii::Type.check_type(@data_labels, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5EYXRhTGFiZWxPcHRpb25zUHJvcGVydHkifV19fQ==")), "dataLabels") unless @data_labels.nil? @field_wells = field_wells.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::TreeMapFieldWellsProperty.new(**field_wells.transform_keys(&:to_sym)) : field_wells Jsii::Type.check_type(@field_wells, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5UcmVlTWFwRmllbGRXZWxsc1Byb3BlcnR5In1dfX0=")), "fieldWells") unless @field_wells.nil? @group_label_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::ChartAxisLabelOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@group_label_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5DaGFydEF4aXNMYWJlbE9wdGlvbnNQcm9wZXJ0eSJ9XX19")), "groupLabelOptions") unless @group_label_options.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? @legend = legend.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::LegendOptionsProperty.new(**legend.transform_keys(&:to_sym)) : legend Jsii::Type.check_type(@legend, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5MZWdlbmRPcHRpb25zUHJvcGVydHkifV19fQ==")), "legend") unless @legend.nil? @size_label_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::ChartAxisLabelOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@size_label_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5DaGFydEF4aXNMYWJlbE9wdGlvbnNQcm9wZXJ0eSJ9XX19")), "sizeLabelOptions") unless @size_label_options.nil? @sort_configuration = sort_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::TreeMapSortConfigurationProperty.new(**sort_configuration.transform_keys(&:to_sym)) : sort_configuration Jsii::Type.check_type(@sort_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5UcmVlTWFwU29ydENvbmZpZ3VyYXRpb25Qcm9wZXJ0eSJ9XX19")), "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? 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.
31499 31500 31501 |
# File 'quick_sight/cfn_dashboard.rb', line 31499 def @color_label_options end |
#color_scale ⇒ AWSCDK::IResolvable, ... (readonly)
The color options (gradient color, point of divergence) of a tree map.
31504 31505 31506 |
# File 'quick_sight/cfn_dashboard.rb', line 31504 def color_scale @color_scale end |
#data_labels ⇒ AWSCDK::IResolvable, ... (readonly)
The options that determine if visual data labels are displayed.
31509 31510 31511 |
# File 'quick_sight/cfn_dashboard.rb', line 31509 def data_labels @data_labels end |
#field_wells ⇒ AWSCDK::IResolvable, ... (readonly)
The field wells of the visual.
31514 31515 31516 |
# File 'quick_sight/cfn_dashboard.rb', line 31514 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.
31519 31520 31521 |
# File 'quick_sight/cfn_dashboard.rb', line 31519 def @group_label_options end |
#interactions ⇒ AWSCDK::IResolvable, ... (readonly)
The general visual interactions setup for a visual.
31524 31525 31526 |
# File 'quick_sight/cfn_dashboard.rb', line 31524 def interactions @interactions end |
#legend ⇒ AWSCDK::IResolvable, ... (readonly)
The legend display setup of the visual.
31529 31530 31531 |
# File 'quick_sight/cfn_dashboard.rb', line 31529 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.
31534 31535 31536 |
# File 'quick_sight/cfn_dashboard.rb', line 31534 def @size_label_options end |
#sort_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
The sort configuration of a tree map.
31539 31540 31541 |
# File 'quick_sight/cfn_dashboard.rb', line 31539 def sort_configuration @sort_configuration end |
#tooltip ⇒ AWSCDK::IResolvable, ... (readonly)
The tooltip display setup of the visual.
31544 31545 31546 |
# File 'quick_sight/cfn_dashboard.rb', line 31544 def tooltip @tooltip end |
Class Method Details
.jsii_properties ⇒ Object
31546 31547 31548 31549 31550 31551 31552 31553 31554 31555 31556 31557 31558 31559 |
# File 'quick_sight/cfn_dashboard.rb', line 31546 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
31561 31562 31563 31564 31565 31566 31567 31568 31569 31570 31571 31572 31573 31574 31575 31576 |
# File 'quick_sight/cfn_dashboard.rb', line 31561 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 |