Class: AWSCDK::QuickSight::CfnTemplate::PivotTableRowsLabelOptionsProperty

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

Overview

The options for the label thta is located above the row headers.

This option is only applicable when RowsLayout is set to HIERARCHY .

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(custom_label: nil, visibility: nil) ⇒ PivotTableRowsLabelOptionsProperty

Returns a new instance of PivotTableRowsLabelOptionsProperty.

Parameters:

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

    The custom label string for the rows label.

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

    The visibility of the rows label.



20547
20548
20549
20550
20551
20552
# File 'quick_sight/cfn_template.rb', line 20547

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

Instance Attribute Details

#custom_labelString? (readonly)

The custom label string for the rows label.



20558
20559
20560
# File 'quick_sight/cfn_template.rb', line 20558

def custom_label
  @custom_label
end

#visibilityString? (readonly)

The visibility of the rows label.



20563
20564
20565
# File 'quick_sight/cfn_template.rb', line 20563

def visibility
  @visibility
end

Class Method Details

.jsii_propertiesObject



20565
20566
20567
20568
20569
20570
# File 'quick_sight/cfn_template.rb', line 20565

def self.jsii_properties
  {
    :custom_label => "customLabel",
    :visibility => "visibility",
  }
end

Instance Method Details

#to_jsiiObject



20572
20573
20574
20575
20576
20577
20578
20579
# File 'quick_sight/cfn_template.rb', line 20572

def to_jsii
  result = {}
  result.merge!({
    "customLabel" => @custom_label,
    "visibility" => @visibility,
  })
  result.compact
end