Class: AWSCDK::QuickSight::CfnDashboard::RadarChartSortConfigurationProperty

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

Overview

The sort configuration of a RadarChartVisual .

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(category_items_limit: nil, category_sort: nil, color_items_limit: nil, color_sort: nil) ⇒ RadarChartSortConfigurationProperty

Returns a new instance of RadarChartSortConfigurationProperty.

Parameters:



24625
24626
24627
24628
24629
24630
24631
24632
24633
24634
# File 'quick_sight/cfn_dashboard.rb', line 24625

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

Instance Attribute Details

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

The category items limit for a radar chart.



24640
24641
24642
# File 'quick_sight/cfn_dashboard.rb', line 24640

def category_items_limit
  @category_items_limit
end

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

The category sort options of a radar chart.



24645
24646
24647
# File 'quick_sight/cfn_dashboard.rb', line 24645

def category_sort
  @category_sort
end

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

The color items limit of a radar chart.



24650
24651
24652
# File 'quick_sight/cfn_dashboard.rb', line 24650

def color_items_limit
  @color_items_limit
end

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

The color sort configuration of a radar chart.



24655
24656
24657
# File 'quick_sight/cfn_dashboard.rb', line 24655

def color_sort
  @color_sort
end

Class Method Details

.jsii_propertiesObject



24657
24658
24659
24660
24661
24662
24663
24664
# File 'quick_sight/cfn_dashboard.rb', line 24657

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

Instance Method Details

#to_jsiiObject



24666
24667
24668
24669
24670
24671
24672
24673
24674
24675
# File 'quick_sight/cfn_dashboard.rb', line 24666

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