Class: AWSCDK::QuickSight::CfnTemplate::WordCloudSortConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::WordCloudSortConfigurationProperty
- Defined in:
- quick_sight/cfn_template.rb
Overview
The sort configuration of a word cloud visual.
Instance Attribute Summary collapse
-
#category_items_limit ⇒ AWSCDK::IResolvable, ...
readonly
The limit on the number of groups that are displayed in a word cloud.
-
#category_sort ⇒ AWSCDK::IResolvable, ...
readonly
The sort configuration of group by fields.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(category_items_limit: nil, category_sort: nil) ⇒ WordCloudSortConfigurationProperty
constructor
A new instance of WordCloudSortConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(category_items_limit: nil, category_sort: nil) ⇒ WordCloudSortConfigurationProperty
Returns a new instance of WordCloudSortConfigurationProperty.
30698 30699 30700 30701 30702 30703 |
# File 'quick_sight/cfn_template.rb', line 30698 def initialize(category_items_limit: nil, category_sort: nil) @category_items_limit = category_items_limit.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::ItemsLimitConfigurationProperty.new(**category_items_limit.transform_keys(&:to_sym)) : category_items_limit Jsii::Type.check_type(@category_items_limit, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkl0ZW1zTGltaXRDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "categoryItemsLimit") unless @category_items_limit.nil? @category_sort = category_sort Jsii::Type.check_type(@category_sort, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5UZW1wbGF0ZS5GaWVsZFNvcnRPcHRpb25zUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "categorySort") unless @category_sort.nil? end |
Instance Attribute Details
#category_items_limit ⇒ AWSCDK::IResolvable, ... (readonly)
The limit on the number of groups that are displayed in a word cloud.
30709 30710 30711 |
# File 'quick_sight/cfn_template.rb', line 30709 def category_items_limit @category_items_limit end |
#category_sort ⇒ AWSCDK::IResolvable, ... (readonly)
The sort configuration of group by fields.
30714 30715 30716 |
# File 'quick_sight/cfn_template.rb', line 30714 def category_sort @category_sort end |
Class Method Details
.jsii_properties ⇒ Object
30716 30717 30718 30719 30720 30721 |
# File 'quick_sight/cfn_template.rb', line 30716 def self.jsii_properties { :category_items_limit => "categoryItemsLimit", :category_sort => "categorySort", } end |
Instance Method Details
#to_jsii ⇒ Object
30723 30724 30725 30726 30727 30728 30729 30730 |
# File 'quick_sight/cfn_template.rb', line 30723 def to_jsii result = {} result.merge!({ "categoryItemsLimit" => @category_items_limit, "categorySort" => @category_sort, }) result.compact end |