Class: AWSCDK::QuickSight::CfnAnalysis::HeatMapConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnAnalysis::HeatMapConfigurationProperty
- Defined in:
- quick_sight/cfn_analysis.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.
15065 15066 15067 15068 15069 15070 15071 15072 15073 15074 15075 15076 15077 15078 15079 15080 15081 15082 15083 15084 |
# File 'quick_sight/cfn_analysis.rb', line 15065 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::CfnAnalysis::ColorScaleProperty.new(**color_scale.transform_keys(&:to_sym)) : color_scale Jsii::Type.check_type(@color_scale, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLkNvbG9yU2NhbGVQcm9wZXJ0eSJ9XX19")), "colorScale") unless @color_scale.nil? @column_label_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::ChartAxisLabelOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@column_label_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLkNoYXJ0QXhpc0xhYmVsT3B0aW9uc1Byb3BlcnR5In1dfX0=")), "columnLabelOptions") unless @column_label_options.nil? @data_labels = data_labels.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::DataLabelOptionsProperty.new(**data_labels.transform_keys(&:to_sym)) : data_labels Jsii::Type.check_type(@data_labels, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLkRhdGFMYWJlbE9wdGlvbnNQcm9wZXJ0eSJ9XX19")), "dataLabels") unless @data_labels.nil? @field_wells = field_wells.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::HeatMapFieldWellsProperty.new(**field_wells.transform_keys(&:to_sym)) : field_wells Jsii::Type.check_type(@field_wells, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLkhlYXRNYXBGaWVsZFdlbGxzUHJvcGVydHkifV19fQ==")), "fieldWells") unless @field_wells.nil? @interactions = interactions.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::VisualInteractionOptionsProperty.new(**interactions.transform_keys(&:to_sym)) : interactions Jsii::Type.check_type(@interactions, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLlZpc3VhbEludGVyYWN0aW9uT3B0aW9uc1Byb3BlcnR5In1dfX0=")), "interactions") unless @interactions.nil? @legend = legend.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::LegendOptionsProperty.new(**legend.transform_keys(&:to_sym)) : legend Jsii::Type.check_type(@legend, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLkxlZ2VuZE9wdGlvbnNQcm9wZXJ0eSJ9XX19")), "legend") unless @legend.nil? @row_label_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::ChartAxisLabelOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@row_label_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLkNoYXJ0QXhpc0xhYmVsT3B0aW9uc1Byb3BlcnR5In1dfX0=")), "rowLabelOptions") unless @row_label_options.nil? @sort_configuration = sort_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::HeatMapSortConfigurationProperty.new(**sort_configuration.transform_keys(&:to_sym)) : sort_configuration Jsii::Type.check_type(@sort_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLkhlYXRNYXBTb3J0Q29uZmlndXJhdGlvblByb3BlcnR5In1dfX0=")), "sortConfiguration") unless @sort_configuration.nil? @tooltip = tooltip.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::TooltipOptionsProperty.new(**tooltip.transform_keys(&:to_sym)) : tooltip Jsii::Type.check_type(@tooltip, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLlRvb2x0aXBPcHRpb25zUHJvcGVydHkifV19fQ==")), "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.
15090 15091 15092 |
# File 'quick_sight/cfn_analysis.rb', line 15090 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.
15095 15096 15097 |
# File 'quick_sight/cfn_analysis.rb', line 15095 def @column_label_options end |
#data_labels ⇒ AWSCDK::IResolvable, ... (readonly)
The options that determine if visual data labels are displayed.
15100 15101 15102 |
# File 'quick_sight/cfn_analysis.rb', line 15100 def data_labels @data_labels end |
#field_wells ⇒ AWSCDK::IResolvable, ... (readonly)
The field wells of the visual.
15105 15106 15107 |
# File 'quick_sight/cfn_analysis.rb', line 15105 def field_wells @field_wells end |
#interactions ⇒ AWSCDK::IResolvable, ... (readonly)
The general visual interactions setup for a visual.
15110 15111 15112 |
# File 'quick_sight/cfn_analysis.rb', line 15110 def interactions @interactions end |
#legend ⇒ AWSCDK::IResolvable, ... (readonly)
The legend display setup of the visual.
15115 15116 15117 |
# File 'quick_sight/cfn_analysis.rb', line 15115 def legend @legend end |
#row_label_options ⇒ AWSCDK::IResolvable, ... (readonly)
The label options of the row that is displayed in a heat map .
15120 15121 15122 |
# File 'quick_sight/cfn_analysis.rb', line 15120 def @row_label_options end |
#sort_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
The sort configuration of a heat map.
15125 15126 15127 |
# File 'quick_sight/cfn_analysis.rb', line 15125 def sort_configuration @sort_configuration end |
#tooltip ⇒ AWSCDK::IResolvable, ... (readonly)
The tooltip display setup of the visual.
15130 15131 15132 |
# File 'quick_sight/cfn_analysis.rb', line 15130 def tooltip @tooltip end |
Class Method Details
.jsii_properties ⇒ Object
15132 15133 15134 15135 15136 15137 15138 15139 15140 15141 15142 15143 15144 |
# File 'quick_sight/cfn_analysis.rb', line 15132 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
15146 15147 15148 15149 15150 15151 15152 15153 15154 15155 15156 15157 15158 15159 15160 |
# File 'quick_sight/cfn_analysis.rb', line 15146 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 |