Class: AWSCDK::QuickSight::CfnTemplate::GeospatialHeatmapConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::GeospatialHeatmapConfigurationProperty
- Defined in:
- quick_sight/cfn_template.rb
Overview
The heatmap configuration of the geospatial point style.
Instance Attribute Summary collapse
-
#heatmap_color ⇒ AWSCDK::IResolvable, ...
readonly
The color scale specification for the heatmap point style.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(heatmap_color: nil) ⇒ GeospatialHeatmapConfigurationProperty
constructor
A new instance of GeospatialHeatmapConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(heatmap_color: nil) ⇒ GeospatialHeatmapConfigurationProperty
Returns a new instance of GeospatialHeatmapConfigurationProperty.
12560 12561 12562 12563 |
# File 'quick_sight/cfn_template.rb', line 12560 def initialize(heatmap_color: nil) @heatmap_color = heatmap_color.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::GeospatialHeatmapColorScaleProperty.new(**heatmap_color.transform_keys(&:to_sym)) : heatmap_color Jsii::Type.check_type(@heatmap_color, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkdlb3NwYXRpYWxIZWF0bWFwQ29sb3JTY2FsZVByb3BlcnR5In1dfX0=")), "heatmapColor") unless @heatmap_color.nil? end |
Instance Attribute Details
#heatmap_color ⇒ AWSCDK::IResolvable, ... (readonly)
The color scale specification for the heatmap point style.
12569 12570 12571 |
# File 'quick_sight/cfn_template.rb', line 12569 def heatmap_color @heatmap_color end |
Class Method Details
.jsii_properties ⇒ Object
12571 12572 12573 12574 12575 |
# File 'quick_sight/cfn_template.rb', line 12571 def self.jsii_properties { :heatmap_color => "heatmapColor", } end |
Instance Method Details
#to_jsii ⇒ Object
12577 12578 12579 12580 12581 12582 12583 |
# File 'quick_sight/cfn_template.rb', line 12577 def to_jsii result = {} result.merge!({ "heatmapColor" => @heatmap_color, }) result.compact end |