Class: AWSCDK::QuickSight::CfnTemplate::PivotTableDataPathOptionProperty

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



20034
20035
20036
20037
20038
20039
# File 'quick_sight/cfn_template.rb', line 20034

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



20050
20051
20052
# File 'quick_sight/cfn_template.rb', line 20050

def width
  @width
end

Class Method Details

.jsii_propertiesObject



20052
20053
20054
20055
20056
20057
# File 'quick_sight/cfn_template.rb', line 20052

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

Instance Method Details

#to_jsiiObject



20059
20060
20061
20062
20063
20064
20065
20066
# File 'quick_sight/cfn_template.rb', line 20059

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