Class: AWSCDK::QuickSight::CfnDashboard::PivotTableDataPathOptionProperty

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

Overview

The data path options for the pivot table field options.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data_path_list:, width: nil) ⇒ PivotTableDataPathOptionProperty

Returns a new instance of PivotTableDataPathOptionProperty.

Parameters:



22880
22881
22882
22883
22884
22885
# File 'quick_sight/cfn_dashboard.rb', line 22880

def initialize(data_path_list:, width: nil)
  @data_path_list = data_path_list
  Jsii::Type.check_type(@data_path_list, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5EYXNoYm9hcmQuRGF0YVBhdGhWYWx1ZVByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "dataPathList")
  @width = width
  Jsii::Type.check_type(@width, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "width") unless @width.nil?
end

Instance Attribute Details

#widthString? (readonly)

The width of the data path option.



22896
22897
22898
# File 'quick_sight/cfn_dashboard.rb', line 22896

def width
  @width
end

Class Method Details

.jsii_propertiesObject



22898
22899
22900
22901
22902
22903
# File 'quick_sight/cfn_dashboard.rb', line 22898

def self.jsii_properties
  {
    :data_path_list => "dataPathList",
    :width => "width",
  }
end

Instance Method Details

#to_jsiiObject



22905
22906
22907
22908
22909
22910
22911
22912
# File 'quick_sight/cfn_dashboard.rb', line 22905

def to_jsii
  result = {}
  result.merge!({
    "dataPathList" => @data_path_list,
    "width" => @width,
  })
  result.compact
end