Class: AWSCDK::QuickSight::CfnTemplate::VisualPaletteProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::VisualPaletteProperty
- Defined in:
- quick_sight/cfn_template.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.
29436 29437 29438 29439 29440 29441 |
# File 'quick_sight/cfn_template.rb', line 29436 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("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5UZW1wbGF0ZS5EYXRhUGF0aENvbG9yUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "colorMap") unless @color_map.nil? end |
Instance Attribute Details
#chart_color ⇒ String? (readonly)
The chart color options for the visual palette.
29447 29448 29449 |
# File 'quick_sight/cfn_template.rb', line 29447 def chart_color @chart_color end |
#color_map ⇒ AWSCDK::IResolvable, ... (readonly)
The color map options for the visual palette.
29452 29453 29454 |
# File 'quick_sight/cfn_template.rb', line 29452 def color_map @color_map end |
Class Method Details
.jsii_properties ⇒ Object
29454 29455 29456 29457 29458 29459 |
# File 'quick_sight/cfn_template.rb', line 29454 def self.jsii_properties { :chart_color => "chartColor", :color_map => "colorMap", } end |
Instance Method Details
#to_jsii ⇒ Object
29461 29462 29463 29464 29465 29466 29467 29468 |
# File 'quick_sight/cfn_template.rb', line 29461 def to_jsii result = {} result.merge!({ "chartColor" => @chart_color, "colorMap" => @color_map, }) result.compact end |