Class: AWSCDK::QuickSight::CfnDashboard::WordCloudSortConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
quick_sight/cfn_dashboard.rb

Overview

The sort configuration of a word cloud visual.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(category_items_limit: nil, category_sort: nil) ⇒ WordCloudSortConfigurationProperty

Returns a new instance of WordCloudSortConfigurationProperty.

Parameters:



33497
33498
33499
33500
33501
33502
# File 'quick_sight/cfn_dashboard.rb', line 33497

def initialize(category_items_limit: nil, category_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?
end

Instance Attribute Details

#category_items_limitAWSCDK::IResolvable, ... (readonly)

The limit on the number of groups that are displayed in a word cloud.



33508
33509
33510
# File 'quick_sight/cfn_dashboard.rb', line 33508

def category_items_limit
  @category_items_limit
end

#category_sortAWSCDK::IResolvable, ... (readonly)

The sort configuration of group by fields.



33513
33514
33515
# File 'quick_sight/cfn_dashboard.rb', line 33513

def category_sort
  @category_sort
end

Class Method Details

.jsii_propertiesObject



33515
33516
33517
33518
33519
33520
# File 'quick_sight/cfn_dashboard.rb', line 33515

def self.jsii_properties
  {
    :category_items_limit => "categoryItemsLimit",
    :category_sort => "categorySort",
  }
end

Instance Method Details

#to_jsiiObject



33522
33523
33524
33525
33526
33527
33528
33529
# File 'quick_sight/cfn_dashboard.rb', line 33522

def to_jsii
  result = {}
  result.merge!({
    "categoryItemsLimit" => @category_items_limit,
    "categorySort" => @category_sort,
  })
  result.compact
end