Class: AWSCDK::QuickSight::CfnAnalysis::GeospatialHeatmapDataColorProperty

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

Overview

The color to be used in the heatmap point style.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(color:) ⇒ GeospatialHeatmapDataColorProperty

Returns a new instance of GeospatialHeatmapDataColorProperty.

Parameters:

  • color (String)

    The hex color to be used in the heatmap point style.



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

#colorString (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_propertiesObject



13191
13192
13193
13194
13195
# File 'quick_sight/cfn_analysis.rb', line 13191

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

Instance Method Details

#to_jsiiObject



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