Class: AWSCDK::QuickSight::CfnDashboard::LineChartSortConfigurationProperty

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

Overview

The sort configuration of a line chart.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(category_items_limit_configuration: nil, category_sort: nil, color_items_limit_configuration: nil, small_multiples_limit_configuration: nil, small_multiples_sort: nil) ⇒ LineChartSortConfigurationProperty

Returns a new instance of LineChartSortConfigurationProperty.

Parameters:



19099
19100
19101
19102
19103
19104
19105
19106
19107
19108
19109
19110
# File 'quick_sight/cfn_dashboard.rb', line 19099

def initialize(category_items_limit_configuration: nil, category_sort: nil, color_items_limit_configuration: nil, small_multiples_limit_configuration: nil, small_multiples_sort: nil)
  @category_items_limit_configuration = category_items_limit_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::ItemsLimitConfigurationProperty.new(**category_items_limit_configuration.transform_keys(&:to_sym)) : category_items_limit_configuration
  Jsii::Type.check_type(@category_items_limit_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5JdGVtc0xpbWl0Q29uZmlndXJhdGlvblByb3BlcnR5In1dfX0=")), "categoryItemsLimitConfiguration") unless @category_items_limit_configuration.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_configuration = color_items_limit_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::ItemsLimitConfigurationProperty.new(**color_items_limit_configuration.transform_keys(&:to_sym)) : color_items_limit_configuration
  Jsii::Type.check_type(@color_items_limit_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5JdGVtc0xpbWl0Q29uZmlndXJhdGlvblByb3BlcnR5In1dfX0=")), "colorItemsLimitConfiguration") unless @color_items_limit_configuration.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_configurationAWSCDK::IResolvable, ... (readonly)

The limit on the number of categories that are displayed in a line chart.



19116
19117
19118
# File 'quick_sight/cfn_dashboard.rb', line 19116

def category_items_limit_configuration
  @category_items_limit_configuration
end

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

The sort configuration of the category fields.



19121
19122
19123
# File 'quick_sight/cfn_dashboard.rb', line 19121

def category_sort
  @category_sort
end

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

The limit on the number of lines that are displayed in a line chart.



19126
19127
19128
# File 'quick_sight/cfn_dashboard.rb', line 19126

def color_items_limit_configuration
  @color_items_limit_configuration
end

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

The limit on the number of small multiples panels that are displayed.



19131
19132
19133
# File 'quick_sight/cfn_dashboard.rb', line 19131

def small_multiples_limit_configuration
  @small_multiples_limit_configuration
end

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

The sort configuration of the small multiples field.



19136
19137
19138
# File 'quick_sight/cfn_dashboard.rb', line 19136

def small_multiples_sort
  @small_multiples_sort
end

Class Method Details

.jsii_propertiesObject



19138
19139
19140
19141
19142
19143
19144
19145
19146
# File 'quick_sight/cfn_dashboard.rb', line 19138

def self.jsii_properties
  {
    :category_items_limit_configuration => "categoryItemsLimitConfiguration",
    :category_sort => "categorySort",
    :color_items_limit_configuration => "colorItemsLimitConfiguration",
    :small_multiples_limit_configuration => "smallMultiplesLimitConfiguration",
    :small_multiples_sort => "smallMultiplesSort",
  }
end

Instance Method Details

#to_jsiiObject



19148
19149
19150
19151
19152
19153
19154
19155
19156
19157
19158
# File 'quick_sight/cfn_dashboard.rb', line 19148

def to_jsii
  result = {}
  result.merge!({
    "categoryItemsLimitConfiguration" => @category_items_limit_configuration,
    "categorySort" => @category_sort,
    "colorItemsLimitConfiguration" => @color_items_limit_configuration,
    "smallMultiplesLimitConfiguration" => @small_multiples_limit_configuration,
    "smallMultiplesSort" => @small_multiples_sort,
  })
  result.compact
end