Class: AWSCDK::QuickSight::CfnAnalysis::ColorsConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnAnalysis::ColorsConfigurationProperty
- Defined in:
- quick_sight/cfn_analysis.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.
3964 3965 3966 3967 |
# File 'quick_sight/cfn_analysis.rb', line 3964 def initialize(custom_colors: nil) @custom_colors = custom_colors Jsii::Type.check_type(@custom_colors, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5BbmFseXNpcy5DdXN0b21Db2xvclByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "customColors") unless @custom_colors.nil? end |
Instance Attribute Details
#custom_colors ⇒ AWSCDK::IResolvable, ... (readonly)
A list of up to 50 custom colors.
3973 3974 3975 |
# File 'quick_sight/cfn_analysis.rb', line 3973 def custom_colors @custom_colors end |
Class Method Details
.jsii_properties ⇒ Object
3975 3976 3977 3978 3979 |
# File 'quick_sight/cfn_analysis.rb', line 3975 def self.jsii_properties { :custom_colors => "customColors", } end |
Instance Method Details
#to_jsii ⇒ Object
3981 3982 3983 3984 3985 3986 3987 |
# File 'quick_sight/cfn_analysis.rb', line 3981 def to_jsii result = {} result.merge!({ "customColors" => @custom_colors, }) result.compact end |