Class: AWSCDK::QuickSight::CfnDashboard::GaugeChartArcConditionalFormattingProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::GaugeChartArcConditionalFormattingProperty
- Defined in:
- quick_sight/cfn_dashboard.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.
12938 12939 12940 12941 |
# File 'quick_sight/cfn_dashboard.rb', line 12938 def initialize(foreground_color: nil) @foreground_color = foreground_color.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::ConditionalFormattingColorProperty.new(**foreground_color.transform_keys(&:to_sym)) : foreground_color Jsii::Type.check_type(@foreground_color, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5Db25kaXRpb25hbEZvcm1hdHRpbmdDb2xvclByb3BlcnR5In1dfX0=")), "foregroundColor") unless @foreground_color.nil? end |
Instance Attribute Details
#foreground_color ⇒ AWSCDK::IResolvable, ... (readonly)
The conditional formatting of the arc foreground color.
12947 12948 12949 |
# File 'quick_sight/cfn_dashboard.rb', line 12947 def foreground_color @foreground_color end |
Class Method Details
.jsii_properties ⇒ Object
12949 12950 12951 12952 12953 |
# File 'quick_sight/cfn_dashboard.rb', line 12949 def self.jsii_properties { :foreground_color => "foregroundColor", } end |
Instance Method Details
#to_jsii ⇒ Object
12955 12956 12957 12958 12959 12960 12961 |
# File 'quick_sight/cfn_dashboard.rb', line 12955 def to_jsii result = {} result.merge!({ "foregroundColor" => @foreground_color, }) result.compact end |