Class: AWSCDK::QuickSight::CfnTemplate::DataPathSortProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::DataPathSortProperty
- Defined in:
- quick_sight/cfn_template.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::CfnTemplate::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.
6494 6495 6496 6497 6498 6499 |
# File 'quick_sight/cfn_template.rb', line 6494 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("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5UZW1wbGF0ZS5EYXRhUGF0aFZhbHVlUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "sortPaths") end |
Instance Attribute Details
#direction ⇒ String (readonly)
Determines the sort direction.
6505 6506 6507 |
# File 'quick_sight/cfn_template.rb', line 6505 def direction @direction end |
#sort_paths ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::QuickSight::CfnTemplate::DataPathValueProperty> (readonly)
The list of data paths that need to be sorted.
6510 6511 6512 |
# File 'quick_sight/cfn_template.rb', line 6510 def sort_paths @sort_paths end |
Class Method Details
.jsii_properties ⇒ Object
6512 6513 6514 6515 6516 6517 |
# File 'quick_sight/cfn_template.rb', line 6512 def self.jsii_properties { :direction => "direction", :sort_paths => "sortPaths", } end |
Instance Method Details
#to_jsii ⇒ Object
6519 6520 6521 6522 6523 6524 6525 6526 |
# File 'quick_sight/cfn_template.rb', line 6519 def to_jsii result = {} result.merge!({ "direction" => @direction, "sortPaths" => @sort_paths, }) result.compact end |