Class: AWSCDK::QuickSight::CfnDashboard::VisualPaletteProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::VisualPaletteProperty
- Defined in:
- quick_sight/cfn_dashboard.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.
32225 32226 32227 32228 32229 32230 |
# File 'quick_sight/cfn_dashboard.rb', line 32225 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("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5EYXNoYm9hcmQuRGF0YVBhdGhDb2xvclByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "colorMap") unless @color_map.nil? end |
Instance Attribute Details
#chart_color ⇒ String? (readonly)
The chart color options for the visual palette.
32236 32237 32238 |
# File 'quick_sight/cfn_dashboard.rb', line 32236 def chart_color @chart_color end |
#color_map ⇒ AWSCDK::IResolvable, ... (readonly)
The color map options for the visual palette.
32241 32242 32243 |
# File 'quick_sight/cfn_dashboard.rb', line 32241 def color_map @color_map end |
Class Method Details
.jsii_properties ⇒ Object
32243 32244 32245 32246 32247 32248 |
# File 'quick_sight/cfn_dashboard.rb', line 32243 def self.jsii_properties { :chart_color => "chartColor", :color_map => "colorMap", } end |
Instance Method Details
#to_jsii ⇒ Object
32250 32251 32252 32253 32254 32255 32256 32257 |
# File 'quick_sight/cfn_dashboard.rb', line 32250 def to_jsii result = {} result.merge!({ "chartColor" => @chart_color, "colorMap" => @color_map, }) result.compact end |