Class: AWSCDK::QuickSight::CfnAnalysis::GeospatialHeatmapColorScaleProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnAnalysis::GeospatialHeatmapColorScaleProperty
- Defined in:
- quick_sight/cfn_analysis.rb
Overview
The color scale specification for the heatmap point style.
Instance Attribute Summary collapse
-
#colors ⇒ AWSCDK::IResolvable, ...
readonly
The list of colors to be used in heatmap point style.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(colors: nil) ⇒ GeospatialHeatmapColorScaleProperty
constructor
A new instance of GeospatialHeatmapColorScaleProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(colors: nil) ⇒ GeospatialHeatmapColorScaleProperty
Returns a new instance of GeospatialHeatmapColorScaleProperty.
13114 13115 13116 13117 |
# File 'quick_sight/cfn_analysis.rb', line 13114 def initialize(colors: nil) @colors = colors Jsii::Type.check_type(@colors, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5BbmFseXNpcy5HZW9zcGF0aWFsSGVhdG1hcERhdGFDb2xvclByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "colors") unless @colors.nil? end |
Instance Attribute Details
#colors ⇒ AWSCDK::IResolvable, ... (readonly)
The list of colors to be used in heatmap point style.
13123 13124 13125 |
# File 'quick_sight/cfn_analysis.rb', line 13123 def colors @colors end |
Class Method Details
.jsii_properties ⇒ Object
13125 13126 13127 13128 13129 |
# File 'quick_sight/cfn_analysis.rb', line 13125 def self.jsii_properties { :colors => "colors", } end |
Instance Method Details
#to_jsii ⇒ Object
13131 13132 13133 13134 13135 13136 13137 |
# File 'quick_sight/cfn_analysis.rb', line 13131 def to_jsii result = {} result.merge!({ "colors" => @colors, }) result.compact end |