Class: AWSCDK::QuickSight::CfnTemplate::TransposedTableOptionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::TransposedTableOptionProperty
- Defined in:
- quick_sight/cfn_template.rb
Overview
The column option of the transposed table.
Instance Attribute Summary collapse
-
#column_index ⇒ Numeric?
readonly
The index of a columns in a transposed table.
-
#column_type ⇒ String
readonly
The column type of the column in a transposed table.
-
#column_width ⇒ String?
readonly
The width of a column in a transposed table.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(column_type:, column_index: nil, column_width: nil) ⇒ TransposedTableOptionProperty
constructor
A new instance of TransposedTableOptionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(column_type:, column_index: nil, column_width: nil) ⇒ TransposedTableOptionProperty
Returns a new instance of TransposedTableOptionProperty.
28592 28593 28594 28595 28596 28597 28598 28599 |
# File 'quick_sight/cfn_template.rb', line 28592 def initialize(column_type:, column_index: nil, column_width: nil) @column_type = column_type Jsii::Type.check_type(@column_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "columnType") @column_index = column_index Jsii::Type.check_type(@column_index, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "columnIndex") unless @column_index.nil? @column_width = column_width Jsii::Type.check_type(@column_width, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "columnWidth") unless @column_width.nil? end |
Instance Attribute Details
#column_index ⇒ Numeric? (readonly)
The index of a columns in a transposed table.
The index range is 0-9999.
28615 28616 28617 |
# File 'quick_sight/cfn_template.rb', line 28615 def column_index @column_index end |
#column_type ⇒ String (readonly)
The column type of the column in a transposed table. Choose one of the following options:.
ROW_HEADER_COLUMN: Refers to the leftmost column of the row header in the transposed table.VALUE_COLUMN: Refers to all value columns in the transposed table.
28608 28609 28610 |
# File 'quick_sight/cfn_template.rb', line 28608 def column_type @column_type end |
#column_width ⇒ String? (readonly)
The width of a column in a transposed table.
28620 28621 28622 |
# File 'quick_sight/cfn_template.rb', line 28620 def column_width @column_width end |
Class Method Details
.jsii_properties ⇒ Object
28622 28623 28624 28625 28626 28627 28628 |
# File 'quick_sight/cfn_template.rb', line 28622 def self.jsii_properties { :column_type => "columnType", :column_index => "columnIndex", :column_width => "columnWidth", } end |
Instance Method Details
#to_jsii ⇒ Object
28630 28631 28632 28633 28634 28635 28636 28637 28638 |
# File 'quick_sight/cfn_template.rb', line 28630 def to_jsii result = {} result.merge!({ "columnType" => @column_type, "columnIndex" => @column_index, "columnWidth" => @column_width, }) result.compact end |