Class: AWSCDK::QuickSight::CfnAnalysis::PivotTableDataPathOptionProperty

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



21908
21909
21910
21911
21912
21913
# File 'quick_sight/cfn_analysis.rb', line 21908

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("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5BbmFseXNpcy5EYXRhUGF0aFZhbHVlUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "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.



21924
21925
21926
# File 'quick_sight/cfn_analysis.rb', line 21924

def width
  @width
end

Class Method Details

.jsii_propertiesObject



21926
21927
21928
21929
21930
21931
# File 'quick_sight/cfn_analysis.rb', line 21926

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

Instance Method Details

#to_jsiiObject



21933
21934
21935
21936
21937
21938
21939
21940
# File 'quick_sight/cfn_analysis.rb', line 21933

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