Class: AWSCDK::QuickSight::CfnAnalysis::GaugeChartArcConditionalFormattingProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnAnalysis::GaugeChartArcConditionalFormattingProperty
- Defined in:
- quick_sight/cfn_analysis.rb
Overview
The options that determine the presentation of the arc of a GaugeChartVisual .
Instance Attribute Summary collapse
-
#foreground_color ⇒ AWSCDK::IResolvable, ...
readonly
The conditional formatting of the arc foreground color.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(foreground_color: nil) ⇒ GaugeChartArcConditionalFormattingProperty
constructor
A new instance of GaugeChartArcConditionalFormattingProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(foreground_color: nil) ⇒ GaugeChartArcConditionalFormattingProperty
Returns a new instance of GaugeChartArcConditionalFormattingProperty.
12155 12156 12157 12158 |
# File 'quick_sight/cfn_analysis.rb', line 12155 def initialize(foreground_color: nil) @foreground_color = foreground_color.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::ConditionalFormattingColorProperty.new(**foreground_color.transform_keys(&:to_sym)) : foreground_color Jsii::Type.check_type(@foreground_color, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLkNvbmRpdGlvbmFsRm9ybWF0dGluZ0NvbG9yUHJvcGVydHkifV19fQ==")), "foregroundColor") unless @foreground_color.nil? end |
Instance Attribute Details
#foreground_color ⇒ AWSCDK::IResolvable, ... (readonly)
The conditional formatting of the arc foreground color.
12164 12165 12166 |
# File 'quick_sight/cfn_analysis.rb', line 12164 def foreground_color @foreground_color end |
Class Method Details
.jsii_properties ⇒ Object
12166 12167 12168 12169 12170 |
# File 'quick_sight/cfn_analysis.rb', line 12166 def self.jsii_properties { :foreground_color => "foregroundColor", } end |
Instance Method Details
#to_jsii ⇒ Object
12172 12173 12174 12175 12176 12177 12178 |
# File 'quick_sight/cfn_analysis.rb', line 12172 def to_jsii result = {} result.merge!({ "foregroundColor" => @foreground_color, }) result.compact end |