Class: AWSCDK::QuickSight::CfnDashboard::BarChartSortConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::BarChartSortConfigurationProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
sort-configuration-description.
Instance Attribute Summary collapse
-
#category_items_limit ⇒ AWSCDK::IResolvable, ...
readonly
The limit on the number of categories displayed in a bar chart.
-
#category_sort ⇒ AWSCDK::IResolvable, ...
readonly
The sort configuration of category fields.
-
#color_items_limit ⇒ AWSCDK::IResolvable, ...
readonly
The limit on the number of values displayed in a bar chart.
-
#color_sort ⇒ AWSCDK::IResolvable, ...
readonly
The sort configuration of color fields in a bar chart.
-
#small_multiples_limit_configuration ⇒ AWSCDK::IResolvable, ...
readonly
The limit on the number of small multiples panels that are displayed.
-
#small_multiples_sort ⇒ AWSCDK::IResolvable, ...
readonly
The sort configuration of the small multiples field.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(category_items_limit: nil, category_sort: nil, color_items_limit: nil, color_sort: nil, small_multiples_limit_configuration: nil, small_multiples_sort: nil) ⇒ BarChartSortConfigurationProperty
constructor
A new instance of BarChartSortConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(category_items_limit: nil, category_sort: nil, color_items_limit: nil, color_sort: nil, small_multiples_limit_configuration: nil, small_multiples_sort: nil) ⇒ BarChartSortConfigurationProperty
Returns a new instance of BarChartSortConfigurationProperty.
2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 |
# File 'quick_sight/cfn_dashboard.rb', line 2091 def initialize(category_items_limit: nil, category_sort: nil, color_items_limit: nil, color_sort: nil, small_multiples_limit_configuration: nil, small_multiples_sort: nil) @category_items_limit = category_items_limit.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::ItemsLimitConfigurationProperty.new(**category_items_limit.transform_keys(&:to_sym)) : category_items_limit Jsii::Type.check_type(@category_items_limit, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5JdGVtc0xpbWl0Q29uZmlndXJhdGlvblByb3BlcnR5In1dfX0=")), "categoryItemsLimit") unless @category_items_limit.nil? @category_sort = category_sort Jsii::Type.check_type(@category_sort, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5EYXNoYm9hcmQuRmllbGRTb3J0T3B0aW9uc1Byb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "categorySort") unless @category_sort.nil? @color_items_limit = color_items_limit.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::ItemsLimitConfigurationProperty.new(**color_items_limit.transform_keys(&:to_sym)) : color_items_limit Jsii::Type.check_type(@color_items_limit, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5JdGVtc0xpbWl0Q29uZmlndXJhdGlvblByb3BlcnR5In1dfX0=")), "colorItemsLimit") unless @color_items_limit.nil? @color_sort = color_sort Jsii::Type.check_type(@color_sort, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5EYXNoYm9hcmQuRmllbGRTb3J0T3B0aW9uc1Byb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "colorSort") unless @color_sort.nil? @small_multiples_limit_configuration = small_multiples_limit_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::ItemsLimitConfigurationProperty.new(**small_multiples_limit_configuration.transform_keys(&:to_sym)) : small_multiples_limit_configuration Jsii::Type.check_type(@small_multiples_limit_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5JdGVtc0xpbWl0Q29uZmlndXJhdGlvblByb3BlcnR5In1dfX0=")), "smallMultiplesLimitConfiguration") unless @small_multiples_limit_configuration.nil? @small_multiples_sort = small_multiples_sort Jsii::Type.check_type(@small_multiples_sort, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5EYXNoYm9hcmQuRmllbGRTb3J0T3B0aW9uc1Byb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "smallMultiplesSort") unless @small_multiples_sort.nil? end |
Instance Attribute Details
#category_items_limit ⇒ AWSCDK::IResolvable, ... (readonly)
The limit on the number of categories displayed in a bar chart.
2110 2111 2112 |
# File 'quick_sight/cfn_dashboard.rb', line 2110 def category_items_limit @category_items_limit end |
#category_sort ⇒ AWSCDK::IResolvable, ... (readonly)
The sort configuration of category fields.
2115 2116 2117 |
# File 'quick_sight/cfn_dashboard.rb', line 2115 def category_sort @category_sort end |
#color_items_limit ⇒ AWSCDK::IResolvable, ... (readonly)
The limit on the number of values displayed in a bar chart.
2120 2121 2122 |
# File 'quick_sight/cfn_dashboard.rb', line 2120 def color_items_limit @color_items_limit end |
#color_sort ⇒ AWSCDK::IResolvable, ... (readonly)
The sort configuration of color fields in a bar chart.
2125 2126 2127 |
# File 'quick_sight/cfn_dashboard.rb', line 2125 def color_sort @color_sort end |
#small_multiples_limit_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
The limit on the number of small multiples panels that are displayed.
2130 2131 2132 |
# File 'quick_sight/cfn_dashboard.rb', line 2130 def small_multiples_limit_configuration @small_multiples_limit_configuration end |
#small_multiples_sort ⇒ AWSCDK::IResolvable, ... (readonly)
The sort configuration of the small multiples field.
2135 2136 2137 |
# File 'quick_sight/cfn_dashboard.rb', line 2135 def small_multiples_sort @small_multiples_sort end |
Class Method Details
.jsii_properties ⇒ Object
2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 |
# File 'quick_sight/cfn_dashboard.rb', line 2137 def self.jsii_properties { :category_items_limit => "categoryItemsLimit", :category_sort => "categorySort", :color_items_limit => "colorItemsLimit", :color_sort => "colorSort", :small_multiples_limit_configuration => "smallMultiplesLimitConfiguration", :small_multiples_sort => "smallMultiplesSort", } end |
Instance Method Details
#to_jsii ⇒ Object
2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 |
# File 'quick_sight/cfn_dashboard.rb', line 2148 def to_jsii result = {} result.merge!({ "categoryItemsLimit" => @category_items_limit, "categorySort" => @category_sort, "colorItemsLimit" => @color_items_limit, "colorSort" => @color_sort, "smallMultiplesLimitConfiguration" => @small_multiples_limit_configuration, "smallMultiplesSort" => @small_multiples_sort, }) result.compact end |