Class: AWSCDK::QuickSight::CfnAnalysis::GeospatialHeatmapDataColorProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnAnalysis::GeospatialHeatmapDataColorProperty
- Defined in:
- quick_sight/cfn_analysis.rb
Overview
The color to be used in the heatmap point style.
Instance Attribute Summary collapse
-
#color ⇒ String
readonly
The hex color to be used in the heatmap point style.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(color:) ⇒ GeospatialHeatmapDataColorProperty
constructor
A new instance of GeospatialHeatmapDataColorProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(color:) ⇒ GeospatialHeatmapDataColorProperty
Returns a new instance of GeospatialHeatmapDataColorProperty.
13180 13181 13182 13183 |
# File 'quick_sight/cfn_analysis.rb', line 13180 def initialize(color:) @color = color Jsii::Type.check_type(@color, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "color") end |
Instance Attribute Details
#color ⇒ String (readonly)
The hex color to be used in the heatmap point style.
13189 13190 13191 |
# File 'quick_sight/cfn_analysis.rb', line 13189 def color @color end |
Class Method Details
.jsii_properties ⇒ Object
13191 13192 13193 13194 13195 |
# File 'quick_sight/cfn_analysis.rb', line 13191 def self.jsii_properties { :color => "color", } end |
Instance Method Details
#to_jsii ⇒ Object
13197 13198 13199 13200 13201 13202 13203 |
# File 'quick_sight/cfn_analysis.rb', line 13197 def to_jsii result = {} result.merge!({ "color" => @color, }) result.compact end |