Class: AWSCDK::QuickSight::CfnTemplate::ColorsConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::ColorsConfigurationProperty
- Defined in:
- quick_sight/cfn_template.rb
Overview
The color configurations for a column.
Instance Attribute Summary collapse
-
#custom_colors ⇒ AWSCDK::IResolvable, ...
readonly
A list of up to 50 custom colors.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(custom_colors: nil) ⇒ ColorsConfigurationProperty
constructor
A new instance of ColorsConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(custom_colors: nil) ⇒ ColorsConfigurationProperty
Returns a new instance of ColorsConfigurationProperty.
3686 3687 3688 3689 |
# File 'quick_sight/cfn_template.rb', line 3686 def initialize(custom_colors: nil) @custom_colors = custom_colors Jsii::Type.check_type(@custom_colors, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5UZW1wbGF0ZS5DdXN0b21Db2xvclByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "customColors") unless @custom_colors.nil? end |
Instance Attribute Details
#custom_colors ⇒ AWSCDK::IResolvable, ... (readonly)
A list of up to 50 custom colors.
3695 3696 3697 |
# File 'quick_sight/cfn_template.rb', line 3695 def custom_colors @custom_colors end |
Class Method Details
.jsii_properties ⇒ Object
3697 3698 3699 3700 3701 |
# File 'quick_sight/cfn_template.rb', line 3697 def self.jsii_properties { :custom_colors => "customColors", } end |
Instance Method Details
#to_jsii ⇒ Object
3703 3704 3705 3706 3707 3708 3709 |
# File 'quick_sight/cfn_template.rb', line 3703 def to_jsii result = {} result.merge!({ "customColors" => @custom_colors, }) result.compact end |