Class: AWSCDK::QuickSight::CfnTemplate::GeospatialHeatmapDataColorProperty

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



12593
12594
12595
12596
# File 'quick_sight/cfn_template.rb', line 12593

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.



12602
12603
12604
# File 'quick_sight/cfn_template.rb', line 12602

def color
  @color
end

Class Method Details

.jsii_propertiesObject



12604
12605
12606
12607
12608
# File 'quick_sight/cfn_template.rb', line 12604

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

Instance Method Details

#to_jsiiObject



12610
12611
12612
12613
12614
12615
12616
# File 'quick_sight/cfn_template.rb', line 12610

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