Class: AWSCDK::QuickSight::CfnTemplate::DataPathSortProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
quick_sight/cfn_template.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:



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

#directionString (readonly)

Determines the sort direction.



6505
6506
6507
# File 'quick_sight/cfn_template.rb', line 6505

def direction
  @direction
end

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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