Class: AWSCDK::QuickSight::CfnTemplate::DataPathTypeProperty

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

Overview

The type of the data path value.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(pivot_table_data_path_type: nil) ⇒ DataPathTypeProperty

Returns a new instance of DataPathTypeProperty.

Parameters:

  • pivot_table_data_path_type (String, nil) (defaults to: nil)

    The type of data path value utilized in a pivot table. Choose one of the following options:.



6536
6537
6538
6539
# File 'quick_sight/cfn_template.rb', line 6536

def initialize(pivot_table_data_path_type: nil)
  @pivot_table_data_path_type = pivot_table_data_path_type
  Jsii::Type.check_type(@pivot_table_data_path_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "pivotTableDataPathType") unless @pivot_table_data_path_type.nil?
end

Instance Attribute Details

#pivot_table_data_path_typeString? (readonly)

The type of data path value utilized in a pivot table. Choose one of the following options:.

  • HIERARCHY_ROWS_LAYOUT_COLUMN - The type of data path for the rows layout column, when RowsLayout is set to HIERARCHY .
  • MULTIPLE_ROW_METRICS_COLUMN - The type of data path for the metric column when the row is set to Metric Placement.
  • EMPTY_COLUMN_HEADER - The type of data path for the column with empty column header, when there is no field in ColumnsFieldWell and the row is set to Metric Placement.
  • COUNT_METRIC_COLUMN - The type of data path for the column with COUNT as the metric, when there is no field in the ValuesFieldWell .


6550
6551
6552
# File 'quick_sight/cfn_template.rb', line 6550

def pivot_table_data_path_type
  @pivot_table_data_path_type
end

Class Method Details

.jsii_propertiesObject



6552
6553
6554
6555
6556
# File 'quick_sight/cfn_template.rb', line 6552

def self.jsii_properties
  {
    :pivot_table_data_path_type => "pivotTableDataPathType",
  }
end

Instance Method Details

#to_jsiiObject



6558
6559
6560
6561
6562
6563
6564
# File 'quick_sight/cfn_template.rb', line 6558

def to_jsii
  result = {}
  result.merge!({
    "pivotTableDataPathType" => @pivot_table_data_path_type,
  })
  result.compact
end