Class: AWSCDK::QuickSight::CfnDashboard::DataPathSortProperty

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

Overview

Allows data paths to be sorted by a specific data value.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(direction:, sort_paths:) ⇒ DataPathSortProperty

Returns a new instance of DataPathSortProperty.

Parameters:



7097
7098
7099
7100
7101
7102
# File 'quick_sight/cfn_dashboard.rb', line 7097

def initialize(direction:, sort_paths:)
  @direction = direction
  Jsii::Type.check_type(@direction, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "direction")
  @sort_paths = sort_paths
  Jsii::Type.check_type(@sort_paths, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5EYXNoYm9hcmQuRGF0YVBhdGhWYWx1ZVByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "sortPaths")
end

Instance Attribute Details

#directionString (readonly)

Determines the sort direction.



7108
7109
7110
# File 'quick_sight/cfn_dashboard.rb', line 7108

def direction
  @direction
end

Class Method Details

.jsii_propertiesObject



7115
7116
7117
7118
7119
7120
# File 'quick_sight/cfn_dashboard.rb', line 7115

def self.jsii_properties
  {
    :direction => "direction",
    :sort_paths => "sortPaths",
  }
end

Instance Method Details

#to_jsiiObject



7122
7123
7124
7125
7126
7127
7128
7129
# File 'quick_sight/cfn_dashboard.rb', line 7122

def to_jsii
  result = {}
  result.merge!({
    "direction" => @direction,
    "sortPaths" => @sort_paths,
  })
  result.compact
end