Class: AWSCDK::QuickSight::CfnTemplate::LineChartAggregatedFieldWellsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::LineChartAggregatedFieldWellsProperty
- Defined in:
- quick_sight/cfn_template.rb
Overview
The field well configuration of a line chart.
Instance Attribute Summary collapse
-
#category ⇒ AWSCDK::IResolvable, ...
readonly
The category field wells of a line chart.
-
#colors ⇒ AWSCDK::IResolvable, ...
readonly
The color field wells of a line chart.
-
#small_multiples ⇒ AWSCDK::IResolvable, ...
readonly
The small multiples field well of a line chart.
-
#values ⇒ AWSCDK::IResolvable, ...
readonly
The value field wells of a line chart.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(category: nil, colors: nil, small_multiples: nil, values: nil) ⇒ LineChartAggregatedFieldWellsProperty
constructor
A new instance of LineChartAggregatedFieldWellsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(category: nil, colors: nil, small_multiples: nil, values: nil) ⇒ LineChartAggregatedFieldWellsProperty
Returns a new instance of LineChartAggregatedFieldWellsProperty.
15779 15780 15781 15782 15783 15784 15785 15786 15787 15788 |
# File 'quick_sight/cfn_template.rb', line 15779 def initialize(category: nil, colors: nil, small_multiples: nil, values: nil) @category = category Jsii::Type.check_type(@category, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5UZW1wbGF0ZS5EaW1lbnNpb25GaWVsZFByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "category") unless @category.nil? @colors = colors Jsii::Type.check_type(@colors, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5UZW1wbGF0ZS5EaW1lbnNpb25GaWVsZFByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "colors") unless @colors.nil? @small_multiples = small_multiples Jsii::Type.check_type(@small_multiples, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5UZW1wbGF0ZS5EaW1lbnNpb25GaWVsZFByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "smallMultiples") unless @small_multiples.nil? @values = values Jsii::Type.check_type(@values, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5UZW1wbGF0ZS5NZWFzdXJlRmllbGRQcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "values") unless @values.nil? end |
Instance Attribute Details
#category ⇒ AWSCDK::IResolvable, ... (readonly)
The category field wells of a line chart.
Values are grouped by category fields.
15796 15797 15798 |
# File 'quick_sight/cfn_template.rb', line 15796 def category @category end |
#colors ⇒ AWSCDK::IResolvable, ... (readonly)
The color field wells of a line chart.
Values are grouped by category fields.
15803 15804 15805 |
# File 'quick_sight/cfn_template.rb', line 15803 def colors @colors end |
#small_multiples ⇒ AWSCDK::IResolvable, ... (readonly)
The small multiples field well of a line chart.
15808 15809 15810 |
# File 'quick_sight/cfn_template.rb', line 15808 def small_multiples @small_multiples end |
#values ⇒ AWSCDK::IResolvable, ... (readonly)
The value field wells of a line chart.
Values are aggregated based on categories.
15815 15816 15817 |
# File 'quick_sight/cfn_template.rb', line 15815 def values @values end |
Class Method Details
.jsii_properties ⇒ Object
15817 15818 15819 15820 15821 15822 15823 15824 |
# File 'quick_sight/cfn_template.rb', line 15817 def self.jsii_properties { :category => "category", :colors => "colors", :small_multiples => "smallMultiples", :values => "values", } end |
Instance Method Details
#to_jsii ⇒ Object
15826 15827 15828 15829 15830 15831 15832 15833 15834 15835 |
# File 'quick_sight/cfn_template.rb', line 15826 def to_jsii result = {} result.merge!({ "category" => @category, "colors" => @colors, "smallMultiples" => @small_multiples, "values" => @values, }) result.compact end |