Class: AWSCDK::QuickSight::CfnDashboard::HeatMapConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::HeatMapConfigurationProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
The configuration of a heat map.
Instance Attribute Summary collapse
-
#color_scale ⇒ AWSCDK::IResolvable, ...
readonly
The color options (gradient color, point of divergence) in a heat map.
-
#column_label_options ⇒ AWSCDK::IResolvable, ...
readonly
The label options of the column that is displayed in a heat 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.
-
#interactions ⇒ AWSCDK::IResolvable, ...
readonly
The general visual interactions setup for a visual.
-
#legend ⇒ AWSCDK::IResolvable, ...
readonly
The legend display setup of the visual.
-
#row_label_options ⇒ AWSCDK::IResolvable, ...
readonly
The label options of the row that is displayed in a
heat map. -
#sort_configuration ⇒ AWSCDK::IResolvable, ...
readonly
The sort configuration of a heat map.
-
#tooltip ⇒ AWSCDK::IResolvable, ...
readonly
The tooltip display setup of the visual.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(color_scale: nil, column_label_options: nil, data_labels: nil, field_wells: nil, interactions: nil, legend: nil, row_label_options: nil, sort_configuration: nil, tooltip: nil) ⇒ HeatMapConfigurationProperty
constructor
A new instance of HeatMapConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(color_scale: nil, column_label_options: nil, data_labels: nil, field_wells: nil, interactions: nil, legend: nil, row_label_options: nil, sort_configuration: nil, tooltip: nil) ⇒ HeatMapConfigurationProperty
Returns a new instance of HeatMapConfigurationProperty.
16004 16005 16006 16007 16008 16009 16010 16011 16012 16013 16014 16015 16016 16017 16018 16019 16020 16021 16022 16023 |
# File 'quick_sight/cfn_dashboard.rb', line 16004 def initialize(color_scale: nil, column_label_options: nil, data_labels: nil, field_wells: nil, interactions: nil, legend: nil, row_label_options: nil, sort_configuration: nil, tooltip: 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? @column_label_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::ChartAxisLabelOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@column_label_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5DaGFydEF4aXNMYWJlbE9wdGlvbnNQcm9wZXJ0eSJ9XX19")), "columnLabelOptions") unless @column_label_options.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::HeatMapFieldWellsProperty.new(**field_wells.transform_keys(&:to_sym)) : field_wells Jsii::Type.check_type(@field_wells, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5IZWF0TWFwRmllbGRXZWxsc1Byb3BlcnR5In1dfX0=")), "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? @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? @row_label_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::ChartAxisLabelOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@row_label_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5DaGFydEF4aXNMYWJlbE9wdGlvbnNQcm9wZXJ0eSJ9XX19")), "rowLabelOptions") unless @row_label_options.nil? @sort_configuration = sort_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::HeatMapSortConfigurationProperty.new(**sort_configuration.transform_keys(&:to_sym)) : sort_configuration Jsii::Type.check_type(@sort_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5IZWF0TWFwU29ydENvbmZpZ3VyYXRpb25Qcm9wZXJ0eSJ9XX19")), "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_scale ⇒ AWSCDK::IResolvable, ... (readonly)
The color options (gradient color, point of divergence) in a heat map.
16029 16030 16031 |
# File 'quick_sight/cfn_dashboard.rb', line 16029 def color_scale @color_scale end |
#column_label_options ⇒ AWSCDK::IResolvable, ... (readonly)
The label options of the column that is displayed in a heat map.
16034 16035 16036 |
# File 'quick_sight/cfn_dashboard.rb', line 16034 def @column_label_options end |
#data_labels ⇒ AWSCDK::IResolvable, ... (readonly)
The options that determine if visual data labels are displayed.
16039 16040 16041 |
# File 'quick_sight/cfn_dashboard.rb', line 16039 def data_labels @data_labels end |
#field_wells ⇒ AWSCDK::IResolvable, ... (readonly)
The field wells of the visual.
16044 16045 16046 |
# File 'quick_sight/cfn_dashboard.rb', line 16044 def field_wells @field_wells end |
#interactions ⇒ AWSCDK::IResolvable, ... (readonly)
The general visual interactions setup for a visual.
16049 16050 16051 |
# File 'quick_sight/cfn_dashboard.rb', line 16049 def interactions @interactions end |
#legend ⇒ AWSCDK::IResolvable, ... (readonly)
The legend display setup of the visual.
16054 16055 16056 |
# File 'quick_sight/cfn_dashboard.rb', line 16054 def legend @legend end |
#row_label_options ⇒ AWSCDK::IResolvable, ... (readonly)
The label options of the row that is displayed in a heat map .
16059 16060 16061 |
# File 'quick_sight/cfn_dashboard.rb', line 16059 def @row_label_options end |
#sort_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
The sort configuration of a heat map.
16064 16065 16066 |
# File 'quick_sight/cfn_dashboard.rb', line 16064 def sort_configuration @sort_configuration end |
#tooltip ⇒ AWSCDK::IResolvable, ... (readonly)
The tooltip display setup of the visual.
16069 16070 16071 |
# File 'quick_sight/cfn_dashboard.rb', line 16069 def tooltip @tooltip end |
Class Method Details
.jsii_properties ⇒ Object
16071 16072 16073 16074 16075 16076 16077 16078 16079 16080 16081 16082 16083 |
# File 'quick_sight/cfn_dashboard.rb', line 16071 def self.jsii_properties { :color_scale => "colorScale", :column_label_options => "columnLabelOptions", :data_labels => "dataLabels", :field_wells => "fieldWells", :interactions => "interactions", :legend => "legend", :row_label_options => "rowLabelOptions", :sort_configuration => "sortConfiguration", :tooltip => "tooltip", } end |
Instance Method Details
#to_jsii ⇒ Object
16085 16086 16087 16088 16089 16090 16091 16092 16093 16094 16095 16096 16097 16098 16099 |
# File 'quick_sight/cfn_dashboard.rb', line 16085 def to_jsii result = {} result.merge!({ "colorScale" => @color_scale, "columnLabelOptions" => @column_label_options, "dataLabels" => @data_labels, "fieldWells" => @field_wells, "interactions" => @interactions, "legend" => @legend, "rowLabelOptions" => @row_label_options, "sortConfiguration" => @sort_configuration, "tooltip" => @tooltip, }) result.compact end |