Class: AWSCDK::QuickSight::CfnDashboard::HeatMapSortConfigurationProperty

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

Overview

The sort configuration of a heat map.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(heat_map_column_items_limit_configuration: nil, heat_map_column_sort: nil, heat_map_row_items_limit_configuration: nil, heat_map_row_sort: nil) ⇒ HeatMapSortConfigurationProperty

Returns a new instance of HeatMapSortConfigurationProperty.

Parameters:



16147
16148
16149
16150
16151
16152
16153
16154
16155
16156
# File 'quick_sight/cfn_dashboard.rb', line 16147

def initialize(heat_map_column_items_limit_configuration: nil, heat_map_column_sort: nil, heat_map_row_items_limit_configuration: nil, heat_map_row_sort: nil)
  @heat_map_column_items_limit_configuration = heat_map_column_items_limit_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::ItemsLimitConfigurationProperty.new(**heat_map_column_items_limit_configuration.transform_keys(&:to_sym)) : heat_map_column_items_limit_configuration
  Jsii::Type.check_type(@heat_map_column_items_limit_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5JdGVtc0xpbWl0Q29uZmlndXJhdGlvblByb3BlcnR5In1dfX0=")), "heatMapColumnItemsLimitConfiguration") unless @heat_map_column_items_limit_configuration.nil?
  @heat_map_column_sort = heat_map_column_sort
  Jsii::Type.check_type(@heat_map_column_sort, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5EYXNoYm9hcmQuRmllbGRTb3J0T3B0aW9uc1Byb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "heatMapColumnSort") unless @heat_map_column_sort.nil?
  @heat_map_row_items_limit_configuration = heat_map_row_items_limit_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::ItemsLimitConfigurationProperty.new(**heat_map_row_items_limit_configuration.transform_keys(&:to_sym)) : heat_map_row_items_limit_configuration
  Jsii::Type.check_type(@heat_map_row_items_limit_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5JdGVtc0xpbWl0Q29uZmlndXJhdGlvblByb3BlcnR5In1dfX0=")), "heatMapRowItemsLimitConfiguration") unless @heat_map_row_items_limit_configuration.nil?
  @heat_map_row_sort = heat_map_row_sort
  Jsii::Type.check_type(@heat_map_row_sort, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5EYXNoYm9hcmQuRmllbGRTb3J0T3B0aW9uc1Byb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "heatMapRowSort") unless @heat_map_row_sort.nil?
end

Instance Attribute Details

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

The limit on the number of columns that are displayed in a heat map.



16162
16163
16164
# File 'quick_sight/cfn_dashboard.rb', line 16162

def heat_map_column_items_limit_configuration
  @heat_map_column_items_limit_configuration
end

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

The column sort configuration for heat map for columns that aren't a part of a field well.



16167
16168
16169
# File 'quick_sight/cfn_dashboard.rb', line 16167

def heat_map_column_sort
  @heat_map_column_sort
end

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

The limit on the number of rows that are displayed in a heat map.



16172
16173
16174
# File 'quick_sight/cfn_dashboard.rb', line 16172

def heat_map_row_items_limit_configuration
  @heat_map_row_items_limit_configuration
end

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

The field sort configuration of the rows fields.



16177
16178
16179
# File 'quick_sight/cfn_dashboard.rb', line 16177

def heat_map_row_sort
  @heat_map_row_sort
end

Class Method Details

.jsii_propertiesObject



16179
16180
16181
16182
16183
16184
16185
16186
# File 'quick_sight/cfn_dashboard.rb', line 16179

def self.jsii_properties
  {
    :heat_map_column_items_limit_configuration => "heatMapColumnItemsLimitConfiguration",
    :heat_map_column_sort => "heatMapColumnSort",
    :heat_map_row_items_limit_configuration => "heatMapRowItemsLimitConfiguration",
    :heat_map_row_sort => "heatMapRowSort",
  }
end

Instance Method Details

#to_jsiiObject



16188
16189
16190
16191
16192
16193
16194
16195
16196
16197
# File 'quick_sight/cfn_dashboard.rb', line 16188

def to_jsii
  result = {}
  result.merge!({
    "heatMapColumnItemsLimitConfiguration" => @heat_map_column_items_limit_configuration,
    "heatMapColumnSort" => @heat_map_column_sort,
    "heatMapRowItemsLimitConfiguration" => @heat_map_row_items_limit_configuration,
    "heatMapRowSort" => @heat_map_row_sort,
  })
  result.compact
end