Class: AWSCDK::QuickSight::CfnDashboard::GeospatialHeatmapDataColorProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
quick_sight/cfn_dashboard.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.



13963
13964
13965
13966
# File 'quick_sight/cfn_dashboard.rb', line 13963

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.



13972
13973
13974
# File 'quick_sight/cfn_dashboard.rb', line 13972

def color
  @color
end

Class Method Details

.jsii_propertiesObject



13974
13975
13976
13977
13978
# File 'quick_sight/cfn_dashboard.rb', line 13974

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

Instance Method Details

#to_jsiiObject



13980
13981
13982
13983
13984
13985
13986
# File 'quick_sight/cfn_dashboard.rb', line 13980

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