Class: AWSCDK::QuickSight::CfnDashboard::DataPathTypeProperty

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



7139
7140
7141
7142
# File 'quick_sight/cfn_dashboard.rb', line 7139

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 .


7153
7154
7155
# File 'quick_sight/cfn_dashboard.rb', line 7153

def pivot_table_data_path_type
  @pivot_table_data_path_type
end

Class Method Details

.jsii_propertiesObject



7155
7156
7157
7158
7159
# File 'quick_sight/cfn_dashboard.rb', line 7155

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

Instance Method Details

#to_jsiiObject



7161
7162
7163
7164
7165
7166
7167
# File 'quick_sight/cfn_dashboard.rb', line 7161

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