Class: AWSCDK::QuickSight::CfnAnalysis::VisualPaletteProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnAnalysis::VisualPaletteProperty
- Defined in:
- quick_sight/cfn_analysis.rb
Overview
The visual display options for the visual palette.
Instance Attribute Summary collapse
-
#chart_color ⇒ String?
readonly
The chart color options for the visual palette.
-
#color_map ⇒ AWSCDK::IResolvable, ...
readonly
The color map options for the visual palette.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(chart_color: nil, color_map: nil) ⇒ VisualPaletteProperty
constructor
A new instance of VisualPaletteProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(chart_color: nil, color_map: nil) ⇒ VisualPaletteProperty
Returns a new instance of VisualPaletteProperty.
31154 31155 31156 31157 31158 31159 |
# File 'quick_sight/cfn_analysis.rb', line 31154 def initialize(chart_color: nil, color_map: nil) @chart_color = chart_color Jsii::Type.check_type(@chart_color, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "chartColor") unless @chart_color.nil? @color_map = color_map Jsii::Type.check_type(@color_map, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5BbmFseXNpcy5EYXRhUGF0aENvbG9yUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "colorMap") unless @color_map.nil? end |
Instance Attribute Details
#chart_color ⇒ String? (readonly)
The chart color options for the visual palette.
31165 31166 31167 |
# File 'quick_sight/cfn_analysis.rb', line 31165 def chart_color @chart_color end |
#color_map ⇒ AWSCDK::IResolvable, ... (readonly)
The color map options for the visual palette.
31170 31171 31172 |
# File 'quick_sight/cfn_analysis.rb', line 31170 def color_map @color_map end |
Class Method Details
.jsii_properties ⇒ Object
31172 31173 31174 31175 31176 31177 |
# File 'quick_sight/cfn_analysis.rb', line 31172 def self.jsii_properties { :chart_color => "chartColor", :color_map => "colorMap", } end |
Instance Method Details
#to_jsii ⇒ Object
31179 31180 31181 31182 31183 31184 31185 31186 |
# File 'quick_sight/cfn_analysis.rb', line 31179 def to_jsii result = {} result.merge!({ "chartColor" => @chart_color, "colorMap" => @color_map, }) result.compact end |