Class: AWSCDK::QuickSight::CfnAnalysis::DataPathSortProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnAnalysis::DataPathSortProperty
- Defined in:
- quick_sight/cfn_analysis.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::CfnAnalysis::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.
6643 6644 6645 6646 6647 6648 |
# File 'quick_sight/cfn_analysis.rb', line 6643 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("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5BbmFseXNpcy5EYXRhUGF0aFZhbHVlUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "sortPaths") end |
Instance Attribute Details
#direction ⇒ String (readonly)
Determines the sort direction.
6654 6655 6656 |
# File 'quick_sight/cfn_analysis.rb', line 6654 def direction @direction end |
#sort_paths ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::QuickSight::CfnAnalysis::DataPathValueProperty> (readonly)
The list of data paths that need to be sorted.
6659 6660 6661 |
# File 'quick_sight/cfn_analysis.rb', line 6659 def sort_paths @sort_paths end |
Class Method Details
.jsii_properties ⇒ Object
6661 6662 6663 6664 6665 6666 |
# File 'quick_sight/cfn_analysis.rb', line 6661 def self.jsii_properties { :direction => "direction", :sort_paths => "sortPaths", } end |
Instance Method Details
#to_jsii ⇒ Object
6668 6669 6670 6671 6672 6673 6674 6675 |
# File 'quick_sight/cfn_analysis.rb', line 6668 def to_jsii result = {} result.merge!({ "direction" => @direction, "sortPaths" => @sort_paths, }) result.compact end |