Class: AWSCDK::QuickSight::CfnDashboard::TransposedTableOptionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::TransposedTableOptionProperty
- Defined in:
- quick_sight/cfn_dashboard.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.
31348 31349 31350 31351 31352 31353 31354 31355 |
# File 'quick_sight/cfn_dashboard.rb', line 31348 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.
31371 31372 31373 |
# File 'quick_sight/cfn_dashboard.rb', line 31371 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.
31364 31365 31366 |
# File 'quick_sight/cfn_dashboard.rb', line 31364 def column_type @column_type end |
#column_width ⇒ String? (readonly)
The width of a column in a transposed table.
31376 31377 31378 |
# File 'quick_sight/cfn_dashboard.rb', line 31376 def column_width @column_width end |
Class Method Details
.jsii_properties ⇒ Object
31378 31379 31380 31381 31382 31383 31384 |
# File 'quick_sight/cfn_dashboard.rb', line 31378 def self.jsii_properties { :column_type => "columnType", :column_index => "columnIndex", :column_width => "columnWidth", } end |
Instance Method Details
#to_jsii ⇒ Object
31386 31387 31388 31389 31390 31391 31392 31393 31394 |
# File 'quick_sight/cfn_dashboard.rb', line 31386 def to_jsii result = {} result.merge!({ "columnType" => @column_type, "columnIndex" => @column_index, "columnWidth" => @column_width, }) result.compact end |