Class: AWSCDK::QuickSight::CfnTemplate::GeospatialHeatmapColorScaleProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::GeospatialHeatmapColorScaleProperty
- Defined in:
- quick_sight/cfn_template.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.
12527 12528 12529 12530 |
# File 'quick_sight/cfn_template.rb', line 12527 def initialize(colors: nil) @colors = colors Jsii::Type.check_type(@colors, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5UZW1wbGF0ZS5HZW9zcGF0aWFsSGVhdG1hcERhdGFDb2xvclByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "colors") unless @colors.nil? end |
Instance Attribute Details
#colors ⇒ AWSCDK::IResolvable, ... (readonly)
The list of colors to be used in heatmap point style.
12536 12537 12538 |
# File 'quick_sight/cfn_template.rb', line 12536 def colors @colors end |
Class Method Details
.jsii_properties ⇒ Object
12538 12539 12540 12541 12542 |
# File 'quick_sight/cfn_template.rb', line 12538 def self.jsii_properties { :colors => "colors", } end |
Instance Method Details
#to_jsii ⇒ Object
12544 12545 12546 12547 12548 12549 12550 |
# File 'quick_sight/cfn_template.rb', line 12544 def to_jsii result = {} result.merge!({ "colors" => @colors, }) result.compact end |