Class: AWSCDK::QuickSight::CfnDashboard::DataPathSortProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::DataPathSortProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
Allows data paths to be sorted by a specific data value.
Instance Attribute Summary collapse
-
#direction ⇒ String
readonly
Determines the sort direction.
-
#sort_paths ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::QuickSight::CfnDashboard::DataPathValueProperty>
readonly
The list of data paths that need to be sorted.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(direction:, sort_paths:) ⇒ DataPathSortProperty
constructor
A new instance of DataPathSortProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(direction:, sort_paths:) ⇒ DataPathSortProperty
Returns a new instance of DataPathSortProperty.
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
#direction ⇒ String (readonly)
Determines the sort direction.
7108 7109 7110 |
# File 'quick_sight/cfn_dashboard.rb', line 7108 def direction @direction end |
#sort_paths ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::QuickSight::CfnDashboard::DataPathValueProperty> (readonly)
The list of data paths that need to be sorted.
7113 7114 7115 |
# File 'quick_sight/cfn_dashboard.rb', line 7113 def sort_paths @sort_paths end |
Class Method Details
.jsii_properties ⇒ Object
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_jsii ⇒ Object
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 |