Class: AWSCDK::QuickSight::CfnAnalysis::GeospatialHeatmapConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
quick_sight/cfn_analysis.rb

Overview

The heatmap configuration of the geospatial point style.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(heatmap_color: nil) ⇒ GeospatialHeatmapConfigurationProperty

Returns a new instance of GeospatialHeatmapConfigurationProperty.

Parameters:



13147
13148
13149
13150
# File 'quick_sight/cfn_analysis.rb', line 13147

def initialize(heatmap_color: nil)
  @heatmap_color = heatmap_color.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::GeospatialHeatmapColorScaleProperty.new(**heatmap_color.transform_keys(&:to_sym)) : heatmap_color
  Jsii::Type.check_type(@heatmap_color, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLkdlb3NwYXRpYWxIZWF0bWFwQ29sb3JTY2FsZVByb3BlcnR5In1dfX0=")), "heatmapColor") unless @heatmap_color.nil?
end

Instance Attribute Details

#heatmap_colorAWSCDK::IResolvable, ... (readonly)

The color scale specification for the heatmap point style.



13156
13157
13158
# File 'quick_sight/cfn_analysis.rb', line 13156

def heatmap_color
  @heatmap_color
end

Class Method Details

.jsii_propertiesObject



13158
13159
13160
13161
13162
# File 'quick_sight/cfn_analysis.rb', line 13158

def self.jsii_properties
  {
    :heatmap_color => "heatmapColor",
  }
end

Instance Method Details

#to_jsiiObject



13164
13165
13166
13167
13168
13169
13170
# File 'quick_sight/cfn_analysis.rb', line 13164

def to_jsii
  result = {}
  result.merge!({
    "heatmapColor" => @heatmap_color,
  })
  result.compact
end