Class: AWSCDK::QuickSight::CfnDashboard::ShapeConditionalFormatProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::ShapeConditionalFormatProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
The shape conditional formatting of a filled map visual.
Instance Attribute Summary collapse
-
#background_color ⇒ AWSCDK::IResolvable, AWSCDK::QuickSight::CfnDashboard::ConditionalFormattingColorProperty
readonly
The conditional formatting for the shape background color of a filled map visual.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(background_color:) ⇒ ShapeConditionalFormatProperty
constructor
A new instance of ShapeConditionalFormatProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(background_color:) ⇒ ShapeConditionalFormatProperty
Returns a new instance of ShapeConditionalFormatProperty.
26899 26900 26901 26902 |
# File 'quick_sight/cfn_dashboard.rb', line 26899 def initialize(background_color:) @background_color = background_color.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::ConditionalFormattingColorProperty.new(**background_color.transform_keys(&:to_sym)) : background_color Jsii::Type.check_type(@background_color, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5Db25kaXRpb25hbEZvcm1hdHRpbmdDb2xvclByb3BlcnR5In1dfX0=")), "backgroundColor") end |
Instance Attribute Details
#background_color ⇒ AWSCDK::IResolvable, AWSCDK::QuickSight::CfnDashboard::ConditionalFormattingColorProperty (readonly)
The conditional formatting for the shape background color of a filled map visual.
26908 26909 26910 |
# File 'quick_sight/cfn_dashboard.rb', line 26908 def background_color @background_color end |
Class Method Details
.jsii_properties ⇒ Object
26910 26911 26912 26913 26914 |
# File 'quick_sight/cfn_dashboard.rb', line 26910 def self.jsii_properties { :background_color => "backgroundColor", } end |
Instance Method Details
#to_jsii ⇒ Object
26916 26917 26918 26919 26920 26921 26922 |
# File 'quick_sight/cfn_dashboard.rb', line 26916 def to_jsii result = {} result.merge!({ "backgroundColor" => @background_color, }) result.compact end |