Class: AWSCDK::QuickSight::CfnTemplate::GeospatialHeatmapDataColorProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::GeospatialHeatmapDataColorProperty
- Defined in:
- quick_sight/cfn_template.rb
Overview
The color to be used in the heatmap point style.
Instance Attribute Summary collapse
-
#color ⇒ String
readonly
The hex color to be used in the heatmap point style.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(color:) ⇒ GeospatialHeatmapDataColorProperty
constructor
A new instance of GeospatialHeatmapDataColorProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(color:) ⇒ GeospatialHeatmapDataColorProperty
Returns a new instance of GeospatialHeatmapDataColorProperty.
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
#color ⇒ String (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_properties ⇒ Object
12604 12605 12606 12607 12608 |
# File 'quick_sight/cfn_template.rb', line 12604 def self.jsii_properties { :color => "color", } end |
Instance Method Details
#to_jsii ⇒ Object
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 |