Class: AWSCDK::QuickSight::CfnTemplate::PieChartAggregatedFieldWellsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::PieChartAggregatedFieldWellsProperty
- Defined in:
- quick_sight/cfn_template.rb
Overview
The field well configuration of a pie chart.
Instance Attribute Summary collapse
-
#category ⇒ AWSCDK::IResolvable, ...
readonly
The category (group/color) field wells of a pie chart.
-
#small_multiples ⇒ AWSCDK::IResolvable, ...
readonly
The small multiples field well of a pie chart.
-
#values ⇒ AWSCDK::IResolvable, ...
readonly
The value field wells of a pie chart.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(category: nil, small_multiples: nil, values: nil) ⇒ PieChartAggregatedFieldWellsProperty
constructor
A new instance of PieChartAggregatedFieldWellsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(category: nil, small_multiples: nil, values: nil) ⇒ PieChartAggregatedFieldWellsProperty
Returns a new instance of PieChartAggregatedFieldWellsProperty.
19274 19275 19276 19277 19278 19279 19280 19281 |
# File 'quick_sight/cfn_template.rb', line 19274 def initialize(category: nil, small_multiples: nil, values: nil) @category = category Jsii::Type.check_type(@category, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5UZW1wbGF0ZS5EaW1lbnNpb25GaWVsZFByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "category") unless @category.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 (group/color) field wells of a pie chart.
19287 19288 19289 |
# File 'quick_sight/cfn_template.rb', line 19287 def category @category end |
#small_multiples ⇒ AWSCDK::IResolvable, ... (readonly)
The small multiples field well of a pie chart.
19292 19293 19294 |
# File 'quick_sight/cfn_template.rb', line 19292 def small_multiples @small_multiples end |
#values ⇒ AWSCDK::IResolvable, ... (readonly)
The value field wells of a pie chart.
Values are aggregated based on categories.
19299 19300 19301 |
# File 'quick_sight/cfn_template.rb', line 19299 def values @values end |
Class Method Details
.jsii_properties ⇒ Object
19301 19302 19303 19304 19305 19306 19307 |
# File 'quick_sight/cfn_template.rb', line 19301 def self.jsii_properties { :category => "category", :small_multiples => "smallMultiples", :values => "values", } end |
Instance Method Details
#to_jsii ⇒ Object
19309 19310 19311 19312 19313 19314 19315 19316 19317 |
# File 'quick_sight/cfn_template.rb', line 19309 def to_jsii result = {} result.merge!({ "category" => @category, "smallMultiples" => @small_multiples, "values" => @values, }) result.compact end |